Home
last modified time | relevance | path

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

/openbmc/u-boot/net/
H A Dcdp.c119 pkt = net_tx_packet; in cdp_send_trigger()
208 len = (uchar *)s - ((uchar *)net_tx_packet + ETHER_HDR_SIZE); in cdp_send_trigger()
212 chksum = cdp_compute_csum((uchar *)net_tx_packet + len, in cdp_send_trigger()
213 (uchar *)s - (net_tx_packet + len)); in cdp_send_trigger()
218 net_send_packet(net_tx_packet, (uchar *)s - net_tx_packet); in cdp_send_trigger()
H A Drarp.c76 pkt = net_tx_packet; in rarp_request()
95 net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in rarp_request()
H A Dnet.c206 uchar *net_tx_packet; variable
380 net_tx_packet = &net_pkt_buf[0] + (PKTALIGN - 1); in net_init()
381 net_tx_packet -= (ulong)net_tx_packet % PKTALIGN; in net_init()
383 net_rx_packets[i] = net_tx_packet + in net_init()
821 return net_tx_packet; in net_get_async_tx_pkt_buf()
840 assert(net_tx_packet != NULL); in net_send_ip_packet()
841 if (net_tx_packet == NULL) in net_send_ip_packet()
852 pkt = (uchar *)net_tx_packet; in net_send_ip_packet()
885 net_send_packet(net_tx_packet, pkt_hdr_size + payload_len); in net_send_ip_packet()
H A Dping.c48 eth_hdr_size = net_set_ether(net_tx_packet, net_null_ethaddr, PROT_IP); in ping_send()
49 pkt = (uchar *)net_tx_packet + eth_hdr_size; in ping_send()
H A Darp.c221 memcpy(((struct ethernet_hdr *)net_tx_packet)->et_dest, in arp_receive()
223 net_send_packet(net_tx_packet, arp_wait_tx_packet_size); in arp_receive()
H A Dfastboot.c66 packet = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in fastboot_udp_send_info()
137 packet = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in fastboot_send()
H A Dsntp.c34 memcpy((char *)net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE, in sntp_send()
H A Dbootp.c749 pkt = net_tx_packet; in bootp_request()
822 net_send_packet(net_tx_packet, pktlen); in bootp_request()
979 pkt = net_tx_packet; in dhcp_send_request_packet()
1031 net_send_packet(net_tx_packet, pktlen); in dhcp_send_request_packet()
H A Ddns.c47 pkt = (uchar *)(net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE); in dns_send()
H A Dtftp.c319 pkt = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in tftp_send()
H A Dnfs.c206 memcpy((char *)net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE, in rpc_req()
/openbmc/u-boot/drivers/net/
H A Dnetconsole.c126 pkt = (uchar *)net_tx_packet + net_eth_hdr_size() + in nc_start()
212 pkt = (uchar *)net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in nc_send_packet()
/openbmc/u-boot/include/
H A Dnet.h516 extern uchar *net_tx_packet; /* THE transmit packet */