xref: /openbmc/u-boot/net/rarp.h (revision ebce73f0)
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 rarp_try;
21 
22 /* Process the receipt of a RARP packet */
23 void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
24 void rarp_request(void);	/* Send a RARP request */
25 
26 /**********************************************************************/
27 
28 #endif /* __RARP_H__ */
29 #endif
30