diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-04-08 01:41:05 -0500 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:32 -0600 |
commit | 1203fcceec113d502995f7242d7e1be09d373e80 (patch) | |
tree | 57629eda7b55239ab81c15cbb5544ff2c5b7e6db /net/dns.c | |
parent | 0adb5b761f4c789ae47d8abb015f5e017263d3f2 (diff) | |
download | u-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/dns.c')
-rw-r--r-- | net/dns.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -45,7 +45,8 @@ DnsSend(void) enum dns_query_type qtype = DNS_A_RECORD; name = NetDNSResolve; - pkt = p = (uchar *)(NetTxPacket + NetEthHdrSize() + IP_UDP_HDR_SIZE); + pkt = (uchar *)(net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE); + p = pkt; /* Prepare DNS packet header */ header = (struct header *) pkt; @@ -89,8 +90,8 @@ DnsSend(void) DnsOurPort = random_port(); - NetSendUDPPacket(net_server_ethaddr, net_dns_server, DNS_SERVICE_PORT, - DnsOurPort, n); + net_send_udp_packet(net_server_ethaddr, net_dns_server, + DNS_SERVICE_PORT, DnsOurPort, n); debug("DNS packet sent\n"); } |