summaryrefslogtreecommitdiff
path: root/net/arp.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:08 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:33 -0600
commit85d25e0e7630a61bdbf2d4e8b1991e3cc6c96d65 (patch)
treed849a32ce0e623fed5e436f91b0e9bb6fc659573 /net/arp.h
parent8885c5fe90ef43d087c9b2cc3a0f907aff90bd76 (diff)
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.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/arp.h b/net/arp.h
index 718342bcf0..43c6296f7e 100644
--- a/net/arp.h
+++ b/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__ */