]>
Commit | Line | Data |
---|---|---|
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 | * SPDX-License-Identifier: GPL-2.0 | |
10 | */ | |
11 | ||
12 | #ifndef __ARP_H__ | |
13 | #define __ARP_H__ | |
14 | ||
15 | #include <common.h> | |
16 | ||
17 | extern struct in_addr net_arp_wait_packet_ip; | |
18 | /* MAC address of waiting packet's destination */ | |
19 | extern uchar *arp_wait_packet_ethaddr; | |
20 | extern int arp_wait_tx_packet_size; | |
21 | extern ulong arp_wait_timer_start; | |
22 | extern int arp_wait_try; | |
23 | ||
24 | void arp_init(void); | |
25 | void arp_request(void); | |
26 | void arp_raw_request(struct in_addr source_ip, const uchar *targetEther, | |
27 | struct in_addr target_ip); | |
28 | int arp_timeout_check(void); | |
29 | void arp_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); | |
30 | ||
31 | #endif /* __ARP_H__ */ |