Searched refs:eth_hdr_size (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/net/ |
H A D | ping.c | 40 int eth_hdr_size; in ping_send() local 48 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() 54 arp_wait_tx_packet_size = eth_hdr_size + IP_ICMP_HDR_SIZE; in ping_send() 81 int eth_hdr_size; in ping_receive() local 91 eth_hdr_size = net_update_ether(et, et->et_src, PROT_IP); in ping_receive() 95 eth_hdr_size + len); in ping_receive() 108 memcpy(tx_packet, et, eth_hdr_size + len); in ping_receive() 109 net_send_packet(tx_packet, eth_hdr_size + len); in ping_receive()
|
H A D | arp.c | 56 int eth_hdr_size; in arp_raw_request() local 62 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_ARP); in arp_raw_request() 63 pkt += eth_hdr_size; in arp_raw_request() 78 net_send_packet(arp_tx_packet, eth_hdr_size + ARP_HDR_SIZE); in arp_raw_request() 127 int eth_hdr_size; in arp_receive() local 165 eth_hdr_size = net_update_ether(et, et->et_src, PROT_ARP); in arp_receive() 186 memcpy(tx_packet, et, eth_hdr_size + ARP_HDR_SIZE); in arp_receive() 187 net_send_packet(tx_packet, eth_hdr_size + ARP_HDR_SIZE); in arp_receive()
|
H A D | rarp.c | 73 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()
|
H A D | bootp.c | 714 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()
|
H A D | net.c | 836 int eth_hdr_size; in net_send_ip_packet() local 854 eth_hdr_size = net_set_ether(pkt, ether, PROT_IP); in net_send_ip_packet() 858 net_set_udp_header(pkt + eth_hdr_size, dest, dport, sport, in net_send_ip_packet() 860 pkt_hdr_size = eth_hdr_size + IP_UDP_HDR_SIZE; in net_send_ip_packet()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | ncsi.c | 522 int eth_hdr_size; in ncsi_send_command() local 532 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_NCSI); in ncsi_send_command() 533 pkt += eth_hdr_size; in ncsi_send_command() 562 final_len = eth_hdr_size + sizeof(struct ncsi_cmd_pkt_hdr) + len + 4; in ncsi_send_command()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | cnic_defs.h | 3624 u8 eth_hdr_size; member 3628 u8 eth_hdr_size; member
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_hsi.h | 9581 u8 eth_hdr_size; member 9709 u8 eth_hdr_size; member
|