mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Simon Glass
parent
0adb5b761f
commit
1203fcceec
@@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user