summaryrefslogtreecommitdiff
path: root/net/sntp.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/sntp.c
parent0adb5b761f4c789ae47d8abb015f5e017263d3f2 (diff)
downloadu-boot-1203fcceec113d502995f7242d7e1be09d373e80.tar.gz
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/sntp.c')
-rw-r--r--net/sntp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sntp.c b/net/sntp.c
index b99aa3ed67..1e2b67840f 100644
--- a/net/sntp.c
+++ b/net/sntp.c
@@ -31,14 +31,14 @@ SntpSend(void)
pkt.vn = NTP_VERSION;
pkt.mode = NTP_MODE_CLIENT;
- memcpy((char *)NetTxPacket + NetEthHdrSize() + IP_UDP_HDR_SIZE,
- (char *)&pkt, pktlen);
+ memcpy((char *)net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE,
+ (char *)&pkt, pktlen);
SntpOurPort = 10000 + (get_timer(0) % 4096);
sport = NTP_SERVICE_PORT;
- NetSendUDPPacket(net_server_ethaddr, net_ntp_server, sport, SntpOurPort,
- pktlen);
+ net_send_udp_packet(net_server_ethaddr, net_ntp_server, sport,
+ SntpOurPort, pktlen);
}
static void