]> git.ipfire.org Git - people/ms/u-boot.git/blame - net/arp.h
Merge git://www.denx.de/git/u-boot-cfi-flash
[people/ms/u-boot.git] / net / arp.h
CommitLineData
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, wd@denx.de
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 17extern struct in_addr net_arp_wait_packet_ip;
d280d3f4 18/* MAC address of waiting packet's destination */
85d25e0e
JH
19extern uchar *arp_wait_packet_ethaddr;
20extern int arp_wait_tx_packet_size;
21extern ulong arp_wait_timer_start;
22extern int arp_wait_try;
d280d3f4 23
85d25e0e
JH
24void arp_init(void);
25void arp_request(void);
049a95a7
JH
26void arp_raw_request(struct in_addr source_ip, const uchar *targetEther,
27 struct in_addr target_ip);
45b47734 28int arp_timeout_check(void);
85d25e0e 29void arp_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
d280d3f4
JH
30
31#endif /* __ARP_H__ */