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 | 1a45966 | 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 | 8b9c532 | 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 | c2faf4f | 2012-05-15 08:59:10 +0000 | [diff] [blame] | 20 | extern int RarpTry; |
wdenk | efee170 | 2002-07-20 20:14:13 +0000 | [diff] [blame] | 21 | |
Joe Hershberger | 8b9c532 | 2012-05-23 07:58:03 +0000 | [diff] [blame] | 22 | /* Process the receipt of a RARP packet */ |
Joe Hershberger | 594c26f | 2012-05-23 07:58:04 +0000 | [diff] [blame] | 23 | extern void rarp_receive(struct ip_udp_hdr *ip, unsigned len); |
Joe Hershberger | c2faf4f | 2012-05-15 08:59:10 +0000 | [diff] [blame] | 24 | extern void RarpRequest(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 | 8b9c532 | 2012-05-23 07:58:03 +0000 | [diff] [blame] | 29 | #endif |