blob: 93e18899c308be762ace2b867753edad82710575 [file] [log] [blame]
wdenkefee1702002-07-20 20:14:13 +00001/*
2 * (C) Copyright 2000
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
wdenkefee1702002-07-20 20:14:13 +00006 */
7
Joe Hershberger8b9c5322012-05-23 07:58:03 +00008#if defined(CONFIG_CMD_RARP)
wdenkefee1702002-07-20 20:14:13 +00009
10#ifndef __RARP_H__
11#define __RARP_H__
12
wdenkefee1702002-07-20 20:14:13 +000013#include <net.h>
wdenkefee1702002-07-20 20:14:13 +000014
15/**********************************************************************/
16/*
17 * Global functions and variables.
18 */
19
Joe Hershbergerc2faf4f2012-05-15 08:59:10 +000020extern int RarpTry;
wdenkefee1702002-07-20 20:14:13 +000021
Joe Hershberger8b9c5322012-05-23 07:58:03 +000022/* Process the receipt of a RARP packet */
Joe Hershberger594c26f2012-05-23 07:58:04 +000023extern void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
Joe Hershbergerc2faf4f2012-05-15 08:59:10 +000024extern void RarpRequest(void); /* Send a RARP request */
wdenkefee1702002-07-20 20:14:13 +000025
26/**********************************************************************/
27
28#endif /* __RARP_H__ */
Joe Hershberger8b9c5322012-05-23 07:58:03 +000029#endif