Home
last modified time | relevance | path

Searched refs:eth_hdr_size (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/net/
Dping.c45 int eth_hdr_size; in ping_send() local
53 eth_hdr_size = net_set_ether(net_tx_packet, net_null_ethaddr, PROT_IP); in ping_send()
54 pkt = (uchar *)net_tx_packet + eth_hdr_size; in ping_send()
59 arp_wait_tx_packet_size = eth_hdr_size + IP_ICMP_HDR_SIZE; in ping_send()
86 int eth_hdr_size; in ping_receive() local
95 eth_hdr_size = net_update_ether(et, et->et_src, PROT_IP); in ping_receive()
99 eth_hdr_size + len); in ping_receive()
110 memcpy(net_tx_packet, et, eth_hdr_size + len); in ping_receive()
111 net_send_packet(net_tx_packet, eth_hdr_size + len); in ping_receive()
Darp.c57 int eth_hdr_size; in arp_raw_request() local
63 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_ARP); in arp_raw_request()
64 pkt += eth_hdr_size; in arp_raw_request()
79 net_send_packet(arp_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in arp_raw_request()
128 int eth_hdr_size; in arp_receive() local
165 eth_hdr_size = net_update_ether(et, et->et_src, PROT_ARP); in arp_receive()
185 memcpy(net_tx_packet, et, eth_hdr_size + ARP_HDR_SIZE); in arp_receive()
186 net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in arp_receive()
Drarp.c73 int eth_hdr_size; in rarp_request() local
78 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_RARP); in rarp_request()
79 pkt += eth_hdr_size; in rarp_request()
95 net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in rarp_request()
Dbootp.c714 int eth_hdr_size; in bootp_request() local
752 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_IP); in bootp_request()
753 pkt += eth_hdr_size; in bootp_request()
811 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in bootp_request()
973 int eth_hdr_size; in dhcp_send_request_packet() local
982 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_IP); in dhcp_send_request_packet()
983 pkt += eth_hdr_size; in dhcp_send_request_packet()
1023 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in dhcp_send_request_packet()
Dnet.c806 int eth_hdr_size; in net_send_udp_packet() local
824 eth_hdr_size = net_set_ether(pkt, ether, PROT_IP); in net_send_udp_packet()
825 pkt += eth_hdr_size; in net_send_udp_packet()
827 pkt_hdr_size = eth_hdr_size + IP_UDP_HDR_SIZE; in net_send_udp_packet()