summaryrefslogtreecommitdiff
path: root/net/rarp.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:05 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:32 -0600
commit1203fcceec113d502995f7242d7e1be09d373e80 (patch)
tree57629eda7b55239ab81c15cbb5544ff2c5b7e6db /net/rarp.c
parent0adb5b761f4c789ae47d8abb015f5e017263d3f2 (diff)
downloadu-boot-imx-1203fcceec113d502995f7242d7e1be09d373e80.zip
u-boot-imx-1203fcceec113d502995f7242d7e1be09d373e80.tar.gz
u-boot-imx-1203fcceec113d502995f7242d7e1be09d373e80.tar.bz2
net: cosmetic: Cleanup internal packet buffer names
This patch cleans up the names of internal packet buffer names that are used within the network stack and the functions that use them. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/rarp.c')
-rw-r--r--net/rarp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rarp.c b/net/rarp.c
index 2f5c104..f50d2fb 100644
--- a/net/rarp.c
+++ b/net/rarp.c
@@ -75,9 +75,9 @@ void RarpRequest(void)
int eth_hdr_size;
printf("RARP broadcast %d\n", ++RarpTry);
- pkt = NetTxPacket;
+ pkt = net_tx_packet;
- eth_hdr_size = NetSetEther(pkt, net_bcast_ethaddr, PROT_RARP);
+ eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_RARP);
pkt += eth_hdr_size;
rarp = (struct arp_hdr *)pkt;
@@ -94,7 +94,7 @@ void RarpRequest(void)
/* dest IP addr set to broadcast */
memset(&rarp->ar_data[16], 0xff, 4);
- NetSendPacket(NetTxPacket, eth_hdr_size + ARP_HDR_SIZE);
+ net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE);
NetSetTimeout(TIMEOUT, RarpTimeout);
}