u-boot/net/rarp.h

29 lines
608 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0+ */
2002-07-21 04:14:13 +08:00
/*
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#if defined(CONFIG_CMD_RARP)
2002-07-21 04:14:13 +08:00
#ifndef __RARP_H__
#define __RARP_H__
#include <net.h>
/**********************************************************************/
/*
* Global functions and variables.
*/
extern int rarp_try;
2002-07-21 04:14:13 +08:00
/* Process the receipt of a RARP packet */
void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
void rarp_request(void); /* Send a RARP request */
2002-07-21 04:14:13 +08:00
/**********************************************************************/
#endif /* __RARP_H__ */
#endif