]>
Commit | Line | Data |
---|---|---|
d280d3f4 JH |
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, [email protected] | |
2ea91039 | 9 | * SPDX-License-Identifier: GPL-2.0 |
d280d3f4 JH |
10 | */ |
11 | ||
12 | #ifndef __ARP_H__ | |
13 | #define __ARP_H__ | |
14 | ||
15 | #include <common.h> | |
16 | ||
049a95a7 | 17 | extern struct in_addr net_arp_wait_packet_ip; |
d280d3f4 JH |
18 | /* MAC address of waiting packet's destination */ |
19 | extern uchar *NetArpWaitPacketMAC; | |
d280d3f4 JH |
20 | extern int NetArpWaitTxPacketSize; |
21 | extern ulong NetArpWaitTimerStart; | |
22 | extern int NetArpWaitTry; | |
23 | ||
24 | void ArpInit(void); | |
25 | void ArpRequest(void); | |
049a95a7 JH |
26 | void arp_raw_request(struct in_addr source_ip, const uchar *targetEther, |
27 | struct in_addr target_ip); | |
d280d3f4 | 28 | void ArpTimeoutCheck(void); |
cb487f56 | 29 | void ArpReceive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); |
d280d3f4 JH |
30 | |
31 | #endif /* __ARP_H__ */ |