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.
|
|
|
|
*/
|
|
|
|
|
2015-04-08 06:41:11 +00:00
|
|
|
extern int rarp_try;
|
2002-07-20 20:14:13 +00:00
|
|
|
|
2012-05-23 07:58:03 +00:00
|
|
|
/* Process the receipt of a RARP packet */
|
2015-04-08 06:41:11 +00:00
|
|
|
void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
|
|
|
|
void rarp_request(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
|