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 16extern IPaddr_t NetArpWaitPacketIP; 17/* MAC address of waiting packet's destination */ 18extern uchar *NetArpWaitPacketMAC; 19extern int NetArpWaitTxPacketSize; 20extern ulong NetArpWaitTimerStart; 21extern int NetArpWaitTry; 22 23void ArpInit(void); 24void ArpRequest(void); 25void arp_raw_request(IPaddr_t sourceIP, const uchar *targetEther, 26 IPaddr_t targetIP); 27void ArpTimeoutCheck(void); 28void ArpReceive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); 29 30#endif /* __ARP_H__ */ 31