b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * (C) Copyright 2000 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #if defined(CONFIG_CMD_RARP) |
| 9 | |
| 10 | #ifndef __RARP_H__ |
| 11 | #define __RARP_H__ |
| 12 | |
| 13 | #include <net.h> |
| 14 | |
| 15 | /**********************************************************************/ |
| 16 | /* |
| 17 | * Global functions and variables. |
| 18 | */ |
| 19 | |
| 20 | extern int RarpTry; |
| 21 | |
| 22 | /* Process the receipt of a RARP packet */ |
| 23 | extern void rarp_receive(struct ip_udp_hdr *ip, unsigned len); |
| 24 | extern void RarpRequest(void); /* Send a RARP request */ |
| 25 | |
| 26 | /**********************************************************************/ |
| 27 | |
| 28 | #endif /* __RARP_H__ */ |
| 29 | #endif |