xref: /rk3399_rockchip-uboot/net/rarp.h (revision 8b9c53221f6ce30ad132e3202e6d445bc21ed8aa)
1efee1709Swdenk /*
2efee1709Swdenk  * (C) Copyright 2000
3efee1709Swdenk  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4efee1709Swdenk  *
5efee1709Swdenk  * See file CREDITS for list of people who contributed to this
6efee1709Swdenk  * project.
7efee1709Swdenk  *
8efee1709Swdenk  * This program is free software; you can redistribute it and/or
9efee1709Swdenk  * modify it under the terms of the GNU General Public License as
10efee1709Swdenk  * published by the Free Software Foundation; either version 2 of
11efee1709Swdenk  * the License, or (at your option) any later version.
12efee1709Swdenk  *
13efee1709Swdenk  * This program is distributed in the hope that it will be useful,
14efee1709Swdenk  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15efee1709Swdenk  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16efee1709Swdenk  * GNU General Public License for more details.
17efee1709Swdenk  *
18efee1709Swdenk  * You should have received a copy of the GNU General Public License
19efee1709Swdenk  * along with this program; if not, write to the Free Software
20efee1709Swdenk  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21efee1709Swdenk  * MA 02111-1307 USA
22efee1709Swdenk  */
23efee1709Swdenk 
24*8b9c5322SJoe Hershberger #if defined(CONFIG_CMD_RARP)
25efee1709Swdenk 
26efee1709Swdenk #ifndef __RARP_H__
27efee1709Swdenk #define __RARP_H__
28efee1709Swdenk 
29efee1709Swdenk #include <net.h>
30efee1709Swdenk 
31efee1709Swdenk /**********************************************************************/
32efee1709Swdenk /*
33efee1709Swdenk  *	Global functions and variables.
34efee1709Swdenk  */
35efee1709Swdenk 
36efee1709Swdenk extern int RarpTry;
37efee1709Swdenk 
38*8b9c5322SJoe Hershberger /* Process the receipt of a RARP packet */
39*8b9c5322SJoe Hershberger extern void rarp_receive(IP_t *ip, unsigned len);
40efee1709Swdenk extern void RarpRequest(void);	/* Send a RARP request */
41efee1709Swdenk 
42efee1709Swdenk /**********************************************************************/
43efee1709Swdenk 
44efee1709Swdenk #endif /* __RARP_H__ */
45*8b9c5322SJoe Hershberger #endif
46