xref: /openbmc/u-boot/net/rarp.h (revision ae485b54)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2000
4  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5  */
6 
7 #if defined(CONFIG_CMD_RARP)
8 
9 #ifndef __RARP_H__
10 #define __RARP_H__
11 
12 #include <net.h>
13 
14 /**********************************************************************/
15 /*
16  *	Global functions and variables.
17  */
18 
19 extern int rarp_try;
20 
21 /* Process the receipt of a RARP packet */
22 void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
23 void rarp_request(void);	/* Send a RARP request */
24 
25 /**********************************************************************/
26 
27 #endif /* __RARP_H__ */
28 #endif
29