]>
Commit | Line | Data |
---|---|---|
f739fcd8 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
d280d3f4 JH |
2 | /* |
3 | * Copied from Linux Monitor (LiMon) - Networking. | |
4 | * | |
5 | * Copyright 1994 - 2000 Neil Russell. | |
6 | * (See License) | |
7 | * Copyright 2000 Roland Borde | |
8 | * Copyright 2000 Paolo Scaffardi | |
9 | * Copyright 2000-2002 Wolfgang Denk, [email protected] | |
10 | */ | |
11 | ||
12 | #ifndef __ARP_H__ | |
13 | #define __ARP_H__ | |
14 | ||
049a95a7 | 15 | extern struct in_addr net_arp_wait_packet_ip; |
d280d3f4 | 16 | /* MAC address of waiting packet's destination */ |
85d25e0e JH |
17 | extern uchar *arp_wait_packet_ethaddr; |
18 | extern int arp_wait_tx_packet_size; | |
19 | extern ulong arp_wait_timer_start; | |
20 | extern int arp_wait_try; | |
ac3f26cc | 21 | extern uchar *arp_tx_packet; |
d280d3f4 | 22 | |
85d25e0e JH |
23 | void arp_init(void); |
24 | void arp_request(void); | |
049a95a7 JH |
25 | void arp_raw_request(struct in_addr source_ip, const uchar *targetEther, |
26 | struct in_addr target_ip); | |
45b47734 | 27 | int arp_timeout_check(void); |
85d25e0e | 28 | void arp_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); |
d280d3f4 JH |
29 | |
30 | #endif /* __ARP_H__ */ |