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