Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2000 |
| 4 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
Joe Hershberger | 61b4de6 | 2012-05-23 07:58:03 +0000 | [diff] [blame] | 7 | #if defined(CONFIG_CMD_RARP) |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 8 | |
| 9 | #ifndef __RARP_H__ |
| 10 | #define __RARP_H__ |
| 11 | |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 12 | #include <net.h> |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 13 | |
| 14 | /**********************************************************************/ |
| 15 | /* |
| 16 | * Global functions and variables. |
| 17 | */ |
| 18 | |
Joe Hershberger | 8e805bb | 2015-04-08 01:41:11 -0500 | [diff] [blame] | 19 | extern int rarp_try; |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 20 | |
Joe Hershberger | 61b4de6 | 2012-05-23 07:58:03 +0000 | [diff] [blame] | 21 | /* Process the receipt of a RARP packet */ |
Joe Hershberger | 8e805bb | 2015-04-08 01:41:11 -0500 | [diff] [blame] | 22 | void rarp_receive(struct ip_udp_hdr *ip, unsigned len); |
| 23 | void rarp_request(void); /* Send a RARP request */ |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 24 | |
| 25 | /**********************************************************************/ |
| 26 | |
| 27 | #endif /* __RARP_H__ */ |
Joe Hershberger | 61b4de6 | 2012-05-23 07:58:03 +0000 | [diff] [blame] | 28 | #endif |