2002-07-20 20:14:13 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2000
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2002-07-20 20:14:13 +00:00
|
|
|
*/
|
|
|
|
|
2012-05-23 07:58:03 +00:00
|
|
|
#if defined(CONFIG_CMD_RARP)
|
2002-07-20 20:14:13 +00:00
|
|
|
|
|
|
|
#ifndef __RARP_H__
|
|
|
|
#define __RARP_H__
|
|
|
|
|
|
|
|
#include <net.h>
|
|
|
|
|
|
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
|
|
* Global functions and variables.
|
|
|
|
*/
|
|
|
|
|
2012-05-15 08:59:10 +00:00
|
|
|
extern int RarpTry;
|
2002-07-20 20:14:13 +00:00
|
|
|
|
2012-05-23 07:58:03 +00:00
|
|
|
/* Process the receipt of a RARP packet */
|
2012-05-23 07:58:04 +00:00
|
|
|
extern void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
|
2012-05-15 08:59:10 +00:00
|
|
|
extern void RarpRequest(void); /* Send a RARP request */
|
2002-07-20 20:14:13 +00:00
|
|
|
|
|
|
|
/**********************************************************************/
|
|
|
|
|
|
|
|
#endif /* __RARP_H__ */
|
2012-05-23 07:58:03 +00:00
|
|
|
#endif
|