mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
net: cosmetic: Clean up ARP variables and functions
Make a thorough pass through all variables and function names contained within arp and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
8885c5fe90
commit
85d25e0e76
4 changed files with 54 additions and 55 deletions
16
net/arp.h
16
net/arp.h
|
@ -16,16 +16,16 @@
|
|||
|
||||
extern struct in_addr net_arp_wait_packet_ip;
|
||||
/* MAC address of waiting packet's destination */
|
||||
extern uchar *NetArpWaitPacketMAC;
|
||||
extern int NetArpWaitTxPacketSize;
|
||||
extern ulong NetArpWaitTimerStart;
|
||||
extern int NetArpWaitTry;
|
||||
extern uchar *arp_wait_packet_ethaddr;
|
||||
extern int arp_wait_tx_packet_size;
|
||||
extern ulong arp_wait_timer_start;
|
||||
extern int arp_wait_try;
|
||||
|
||||
void ArpInit(void);
|
||||
void ArpRequest(void);
|
||||
void arp_init(void);
|
||||
void arp_request(void);
|
||||
void arp_raw_request(struct in_addr source_ip, const uchar *targetEther,
|
||||
struct in_addr target_ip);
|
||||
void ArpTimeoutCheck(void);
|
||||
void ArpReceive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
|
||||
void arp_timeout_check(void);
|
||||
void arp_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
|
||||
|
||||
#endif /* __ARP_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue