diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-04-08 01:41:08 -0500 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:33 -0600 |
commit | 85d25e0e7630a61bdbf2d4e8b1991e3cc6c96d65 (patch) | |
tree | d849a32ce0e623fed5e436f91b0e9bb6fc659573 /net/arp.h | |
parent | 8885c5fe90ef43d087c9b2cc3a0f907aff90bd76 (diff) | |
download | u-boot-85d25e0e7630a61bdbf2d4e8b1991e3cc6c96d65.tar.gz u-boot-85d25e0e7630a61bdbf2d4e8b1991e3cc6c96d65.tar.bz2 u-boot-85d25e0e7630a61bdbf2d4e8b1991e3cc6c96d65.zip |
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>
Diffstat (limited to 'net/arp.h')
-rw-r--r-- | net/arp.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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__ */ |