summaryrefslogtreecommitdiff
path: root/net/rarp.h
blob: de4504e5d83d6751ebc504bc211d94856de9aace (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
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * (C) Copyright 2000
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 */

#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