blob: 4016a9099abdd3801bfda0acd9aa44e955fec4b0 [file] [log] [blame]
Joe Hershbergerd280d3f2012-05-23 07:58:01 +00001/*
2 * Copied from Linux Monitor (LiMon) - Networking.
3 *
4 * Copyright 1994 - 2000 Neil Russell.
5 * (See License)
6 * Copyright 2000 Roland Borde
7 * Copyright 2000 Paolo Scaffardi
8 * Copyright 2000-2002 Wolfgang Denk, wd@denx.de
9 */
10
11#ifndef __ARP_H__
12#define __ARP_H__
13
14#include <common.h>
15
16extern IPaddr_t NetArpWaitPacketIP;
17/* MAC address of waiting packet's destination */
18extern uchar *NetArpWaitPacketMAC;
19/* THE transmit packet */
20extern uchar *NetArpWaitTxPacket;
21extern int NetArpWaitTxPacketSize;
22extern ulong NetArpWaitTimerStart;
23extern int NetArpWaitTry;
24
25void ArpInit(void);
26void ArpRequest(void);
27void ArpTimeoutCheck(void);
28void ArpReceive(Ethernet_t *et, IP_t *ip, int len);
29
30#endif /* __ARP_H__ */