]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - net/tftp.c
net: cosmetic: Cleanup internal packet buffer names
[karo-tx-uboot.git] / net / tftp.c
index 8ddc7be3653e51c10049e5a698ac995fc6fb6cae..f25abaab49229bf30de5d33dff7424650ca948ce 100644 (file)
@@ -337,7 +337,7 @@ TftpSend(void)
         *      We will always be sending some sort of packet, so
         *      cobble together the packet headers now.
         */
-       pkt = NetTxPacket + NetEthHdrSize() + IP_UDP_HDR_SIZE;
+       pkt = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE;
 
        switch (TftpState) {
        case STATE_SEND_RRQ:
@@ -435,8 +435,8 @@ TftpSend(void)
                break;
        }
 
-       NetSendUDPPacket(net_server_ethaddr, tftp_remote_ip, TftpRemotePort,
-                        TftpOurPort, len);
+       net_send_udp_packet(net_server_ethaddr, tftp_remote_ip, TftpRemotePort,
+                           TftpOurPort, len);
 }
 
 #ifdef CONFIG_CMD_TFTPPUT