summaryrefslogtreecommitdiffstats
path: root/net/rarp.h
blob: 1ca8833ce5288c7796153dd5f7f9e23b675c848c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * (C) Copyright 2000
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#if defined(CONFIG_CMD_RARP)

#ifndef __RARP_H__
#define __RARP_H__

#include <net.h>

/**********************************************************************/
/*
 *	Global functions and variables.
 */

extern int rarp_try;

/* 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 */

/**********************************************************************/

#endif /* __RARP_H__ */
#endif
OpenPOWER on IntegriCloud