Home
last modified time | relevance | path

Searched refs:net_tx_packet (Results 1 – 17 of 17) sorted by relevance

/u-boot/net/
A Dndisc.c120 pkt = (uchar *)net_tx_packet; in ip6_send_ns()
145 net_send_packet(net_tx_packet, (pkt - net_tx_packet)); in ip6_send_ns()
184 pkt = (uchar *)net_tx_packet; in ip6_send_rs()
212 net_send_packet(net_tx_packet, (pkt - net_tx_packet)); in ip6_send_rs()
233 pkt = (uchar *)net_tx_packet; in ip6_send_na()
259 net_send_packet(net_tx_packet, (pkt - net_tx_packet)); in ip6_send_na()
A Dcdp.c116 pkt = net_tx_packet; in cdp_send_trigger()
205 len = (uchar *)s - ((uchar *)net_tx_packet + ETHER_HDR_SIZE); in cdp_send_trigger()
209 chksum = cdp_compute_csum((uchar *)net_tx_packet + len, in cdp_send_trigger()
210 (uchar *)s - (net_tx_packet + len)); in cdp_send_trigger()
215 net_send_packet(net_tx_packet, (uchar *)s - net_tx_packet); in cdp_send_trigger()
A Drarp.c72 pkt = net_tx_packet; in rarp_request()
91 net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in rarp_request()
A Dping.c50 eth_hdr_size = net_set_ether(net_tx_packet, net_null_ethaddr, PROT_IP); in ping_send()
51 pkt = (uchar *)net_tx_packet + eth_hdr_size; in ping_send()
A Dnet.c208 uchar *net_tx_packet; variable
406 net_tx_packet = &net_pkt_buf[0] + (PKTALIGN - 1); in net_init()
407 net_tx_packet -= (ulong)net_tx_packet % PKTALIGN; in net_init()
409 net_rx_packets[i] = net_tx_packet + in net_init()
893 return net_tx_packet; in net_get_async_tx_pkt_buf()
922 assert(net_tx_packet != NULL); in net_send_ip_packet()
923 if (net_tx_packet == NULL) in net_send_ip_packet()
934 pkt = (uchar *)net_tx_packet; in net_send_ip_packet()
975 net_send_packet(net_tx_packet, pkt_hdr_size + payload_len); in net_send_ip_packet()
A Dnet6.c334 udp = (struct udp_hdr *)((uchar *)net_tx_packet + net_eth_hdr_size() + in net_send_udp_packet6()
371 pkt = (uchar *)net_tx_packet; in net_send_udp_packet6()
375 (void)eth_send(net_tx_packet, pkt - net_tx_packet + UDP_HDR_SIZE + len); in net_send_udp_packet6()
A Darp.c210 memcpy(((struct ethernet_hdr *)net_tx_packet)->et_dest, in arp_receive()
212 net_send_packet(net_tx_packet, arp_wait_tx_packet_size); in arp_receive()
A Dfastboot_udp.c61 packet = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in fastboot_udp_send_info()
131 packet = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in fastboot_send()
A Dsntp.c40 memcpy((char *)net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE, in sntp_send()
A Dbootp.c758 pkt = net_tx_packet; in bootp_request()
831 net_send_packet(net_tx_packet, pktlen); in bootp_request()
988 pkt = net_tx_packet; in dhcp_send_request_packet()
1037 net_send_packet(net_tx_packet, pktlen); in dhcp_send_request_packet()
A Ddns.c59 pkt = (uchar *)(net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE); in dns_send()
A Ddhcpv6.c181 pkt = net_tx_packet + net_eth_hdr_size() + IP6_HDR_SIZE + UDP_HDR_SIZE; in dhcp6_send_solicit_packet()
228 pkt = net_tx_packet + net_eth_hdr_size() + IP6_HDR_SIZE + UDP_HDR_SIZE; in dhcp6_send_request_packet()
A Dtftp.c327 pkt = net_tx_packet + net_eth_hdr_size() + in tftp_send()
330 pkt = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in tftp_send()
A Dwget.c108 ptr = net_tx_packet + net_eth_hdr_size() + in wget_send_stored()
A Dnfs.c245 memcpy((char *)net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE, in rpc_req()
/u-boot/drivers/net/
A Dnetconsole.c128 pkt = (uchar *)net_tx_packet + net_eth_hdr_size() + in nc_start()
210 pkt = (uchar *)net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in nc_send_packet()
/u-boot/include/
A Dnet.h494 extern uchar *net_tx_packet; /* THE transmit packet */

Completed in 63 milliseconds