Joe Hershberger | d280d3f | 2012-05-23 07:58:01 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
| 16 | extern IPaddr_t NetArpWaitPacketIP; |
| 17 | /* MAC address of waiting packet's destination */ |
| 18 | extern uchar *NetArpWaitPacketMAC; |
| 19 | /* THE transmit packet */ |
| 20 | extern uchar *NetArpWaitTxPacket; |
| 21 | extern int NetArpWaitTxPacketSize; |
| 22 | extern ulong NetArpWaitTimerStart; |
| 23 | extern int NetArpWaitTry; |
| 24 | |
| 25 | void ArpInit(void); |
| 26 | void ArpRequest(void); |
| 27 | void ArpTimeoutCheck(void); |
| 28 | void ArpReceive(Ethernet_t *et, IP_t *ip, int len); |
| 29 | |
| 30 | #endif /* __ARP_H__ */ |