Home
last modified time | relevance | path

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

/u-boot/net/
A Dping.c42 int eth_hdr_size; in ping_send() local
50 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()
56 arp_wait_tx_packet_size = eth_hdr_size + IP_ICMP_HDR_SIZE; in ping_send()
83 int eth_hdr_size; in ping_receive() local
96 eth_hdr_size = net_update_ether(et, et->et_src, PROT_IP); in ping_receive()
100 eth_hdr_size + len); in ping_receive()
113 memcpy(tx_packet, et, eth_hdr_size + len); in ping_receive()
114 net_send_packet(tx_packet, eth_hdr_size + len); in ping_receive()
A Darp.c60 int eth_hdr_size; in arp_raw_request() local
66 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_ARP); in arp_raw_request()
67 pkt += eth_hdr_size; in arp_raw_request()
82 net_send_packet(arp_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in arp_raw_request()
131 int eth_hdr_size; in arp_receive() local
169 eth_hdr_size = net_update_ether(et, et->et_src, PROT_ARP); in arp_receive()
190 memcpy(tx_packet, et, eth_hdr_size + ARP_HDR_SIZE); in arp_receive()
191 net_send_packet(tx_packet, eth_hdr_size + ARP_HDR_SIZE); in arp_receive()
A Drarp.c74 int eth_hdr_size; in rarp_request() local
79 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_RARP); in rarp_request()
80 pkt += eth_hdr_size; in rarp_request()
96 net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in rarp_request()
A Dbootp.c727 int eth_hdr_size; in bootp_request() local
765 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_IP); in bootp_request()
766 pkt += eth_hdr_size; in bootp_request()
824 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in bootp_request()
986 int eth_hdr_size; in dhcp_send_request_packet() local
995 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_IP); in dhcp_send_request_packet()
996 pkt += eth_hdr_size; in dhcp_send_request_packet()
1036 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in dhcp_send_request_packet()
A Dnet.c824 int eth_hdr_size; in net_send_ip_packet() local
842 eth_hdr_size = net_set_ether(pkt, ether, PROT_IP); in net_send_ip_packet()
846 net_set_udp_header(pkt + eth_hdr_size, dest, dport, sport, in net_send_ip_packet()
848 pkt_hdr_size = eth_hdr_size + IP_UDP_HDR_SIZE; in net_send_ip_packet()
/u-boot/common/
A Dlog_syslog.c37 int eth_hdr_size; in log_syslog_emit() local
60 eth_hdr_size = net_set_ether((uchar *)ptr, net_bcast_ethaddr, PROT_IP); in log_syslog_emit()
61 ptr += eth_hdr_size; in log_syslog_emit()
/u-boot/drivers/net/phy/
A Dncsi.c523 int eth_hdr_size; in ncsi_send_command() local
533 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_NCSI); in ncsi_send_command()
534 pkt += eth_hdr_size; in ncsi_send_command()
563 final_len = eth_hdr_size + sizeof(struct ncsi_cmd_pkt_hdr) + len + 4; in ncsi_send_command()

Completed in 61 milliseconds