blob: de4504e5d83d6751ebc504bc211d94856de9aace [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenkefee1702002-07-20 20:14:13 +00002/*
3 * (C) Copyright 2000
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenkefee1702002-07-20 20:14:13 +00005 */
6
Joe Hershberger8b9c5322012-05-23 07:58:03 +00007#if defined(CONFIG_CMD_RARP)
wdenkefee1702002-07-20 20:14:13 +00008
9#ifndef __RARP_H__
10#define __RARP_H__
11
wdenkefee1702002-07-20 20:14:13 +000012#include <net.h>
wdenkefee1702002-07-20 20:14:13 +000013
14/**********************************************************************/
15/*
16 * Global functions and variables.
17 */
18
Joe Hershberger698d78e2015-04-08 01:41:11 -050019extern int rarp_try;
wdenkefee1702002-07-20 20:14:13 +000020
Joe Hershberger8b9c5322012-05-23 07:58:03 +000021/* Process the receipt of a RARP packet */
Joe Hershberger698d78e2015-04-08 01:41:11 -050022void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
23void rarp_request(void); /* Send a RARP request */
wdenkefee1702002-07-20 20:14:13 +000024
25/**********************************************************************/
26
27#endif /* __RARP_H__ */
Joe Hershberger8b9c5322012-05-23 07:58:03 +000028#endif