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
|
@ -56,12 +56,12 @@ static int ping_send(void)
|
|||
set_icmp_header(pkt, net_ping_ip);
|
||||
|
||||
/* size of the waiting packet */
|
||||
NetArpWaitTxPacketSize = eth_hdr_size + IP_ICMP_HDR_SIZE;
|
||||
arp_wait_tx_packet_size = eth_hdr_size + IP_ICMP_HDR_SIZE;
|
||||
|
||||
/* and do the ARP request */
|
||||
NetArpWaitTry = 1;
|
||||
NetArpWaitTimerStart = get_timer(0);
|
||||
ArpRequest();
|
||||
arp_wait_try = 1;
|
||||
arp_wait_timer_start = get_timer(0);
|
||||
arp_request();
|
||||
return 1; /* waiting */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue