blob: 1ca8833ce5288c7796153dd5f7f9e23b675c848c [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 Hershberger698d78e2015-04-08 01:41:11 -050020extern int rarp_try;
wdenkefee1702002-07-20 20:14:13 +000021
Joe Hershberger8b9c5322012-05-23 07:58:03 +000022/* Process the receipt of a RARP packet */
Joe Hershberger698d78e2015-04-08 01:41:11 -050023void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
24void rarp_request(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