Searched refs:eth_hdr (Results 1 – 6 of 6) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp_noinline.c | 221 struct eth_hdr { struct 229 __u64 off = sizeof(struct eth_hdr); in calc_offset() argument 293 struct eth_hdr *new_eth; in encap_v6() 294 struct eth_hdr *old_eth; in encap_v6() 305 ip6h = data + sizeof(struct eth_hdr); in encap_v6() 338 struct eth_hdr *new_eth; in encap_v4() 339 struct eth_hdr *old_eth; in encap_v4() 353 iph = data + sizeof(struct eth_hdr); in encap_v4() 388 struct eth_hdr *new_eth; in decap_v6() 389 struct eth_hdr *old_eth; in decap_v6() [all …]
|
D | test_l4lb_noinline.c | 162 struct eth_hdr { struct 329 struct eth_hdr *eth = pkt_start; in process_packet() 458 struct eth_hdr *eth = data; in balancer_ingress() 462 nh_off = sizeof(struct eth_hdr); in balancer_ingress()
|
D | test_l4lb.c | 166 struct eth_hdr { struct 329 struct eth_hdr *eth = pkt_start; in process_packet() 458 struct eth_hdr *eth = data; in balancer_ingress() 462 nh_off = sizeof(struct eth_hdr); in balancer_ingress()
|
/external/u-boot/lib/efi_selftest/ |
D | efi_selftest_snp.c | 60 struct ethernet_hdr eth_hdr; member 108 boottime->copy_mem(p.eth_hdr.et_dest, (void *)BROADCAST_MAC, ARP_HLEN); in send_dhcp_discover() 109 boottime->copy_mem(p.eth_hdr.et_src, &net->mode->current_address, in send_dhcp_discover() 111 p.eth_hdr.et_protlen = htons(PROT_IP); in send_dhcp_discover() 344 if (buffer.p.eth_hdr.et_protlen != ntohs(PROT_IP) || in execute()
|
/external/u-boot/lib/efi_loader/ |
D | efi_net.c | 236 struct ethernet_hdr *eth_hdr; in efi_net_receive() local 253 eth_hdr = (struct ethernet_hdr *)net_rx_packet; in efi_net_receive() 254 protlen = ntohs(eth_hdr->et_protlen); in efi_net_receive() 262 memcpy(dest_addr, eth_hdr->et_dest, ARP_HLEN); in efi_net_receive() 264 memcpy(src_addr, eth_hdr->et_src, ARP_HLEN); in efi_net_receive()
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.c | 3020 struct ieee8023_hdr *eth_hdr; in ieee802_1x_kay_mkpdu_sanity_check() local 3033 eth_hdr = (struct ieee8023_hdr *) buf; in ieee802_1x_kay_mkpdu_sanity_check() 3034 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in ieee802_1x_kay_mkpdu_sanity_check() 3039 MAC2STR(eth_hdr->dest), MAC2STR(eth_hdr->src), in ieee802_1x_kay_mkpdu_sanity_check() 3040 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_sanity_check() 3043 if (os_memcmp(eth_hdr->dest, pae_group_addr, ETH_ALEN) != 0) { in ieee802_1x_kay_mkpdu_sanity_check() 3355 struct ieee8023_hdr *eth_hdr; in kay_l2_receive() local 3362 if (len < sizeof(*eth_hdr) + sizeof(*eapol_hdr)) { in kay_l2_receive() 3368 eth_hdr = (struct ieee8023_hdr *) buf; in kay_l2_receive() 3369 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in kay_l2_receive() [all …]
|