Searched refs:eth_hdr (Results 1 – 9 of 9) sorted by relevance
/external/syslinux/core/lwip/src/netif/ppp/ |
D | ppp_oe.c | 301 struct eth_hdr *ethhdr; in pppoe_dispatch_disc_pkt() 311 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_dispatch_disc_pkt() 571 MEMCPY(shost, ((struct eth_hdr *)pb->payload)->src.addr, sizeof(shost)); in pppoe_data_input() 573 if (pbuf_header(pb, -(int)sizeof(struct eth_hdr)) != 0) { in pppoe_data_input() 639 struct eth_hdr *ethhdr; in pppoe_output() 648 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_output() 694 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padi() 697 pb = pbuf_alloc(PBUF_LINK, (u16_t)(sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padi() 703 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_padi() 913 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padr() [all …]
|
/external/syslinux/core/lwip/src/netif/ |
D | etharp.c | 412 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; in etharp_send_ip() 621 struct eth_hdr *ethhdr; 628 ethhdr = (struct eth_hdr *)p->payload; 671 struct eth_hdr *ethhdr; 693 ethhdr = (struct eth_hdr *)p->payload; 842 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) { 877 sizeof(struct eth_hdr)); 1124 struct eth_hdr *ethhdr; 1142 ethhdr = (struct eth_hdr *)p->payload; 1218 struct eth_hdr* ethhdr; [all …]
|
D | undiif.c | 243 struct eth_hdr *ethhdr, char dir, char status, in snprintf_eth_hdr() 259 struct eth_hdr *ethhdr, char dir, in snprintf_arp_hdr() 290 struct eth_hdr *ethhdr, char dir, in snprintf_ip_hdr() 314 struct eth_hdr *ethhdr, char dir, in snprintf_icmp_hdr() 339 struct eth_hdr *ethhdr, char dir, in snprintf_tcp_hdr() 365 struct eth_hdr *ethhdr, char dir, in snprintf_udp_hdr() 481 struct eth_hdr *ethhdr = pbuf->payload; in undi_transmit() 1465 struct eth_hdr *ethhdr = p->payload; in undiif_input()
|
D | ethernetif.c | 227 struct eth_hdr *ethhdr;
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
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/syslinux/gpxe/src/drivers/net/ |
D | virtio-net.c | 37 struct eth_hdr { struct 44 struct eth_hdr hdr; argument
|
/external/syslinux/core/lwip/src/include/netif/ |
D | ppp_oe.h | 186 #define PPPOE_HDRLEN (sizeof(struct eth_hdr) + PPPOE_HEADERLEN)
|
D | etharp.h | 72 struct eth_hdr { struct
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.c | 2852 struct ieee8023_hdr *eth_hdr; in ieee802_1x_kay_mkpdu_sanity_check() local 2862 eth_hdr = (struct ieee8023_hdr *) buf; in ieee802_1x_kay_mkpdu_sanity_check() 2863 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in ieee802_1x_kay_mkpdu_sanity_check() 2867 if (os_memcmp(eth_hdr->dest, pae_group_addr, ETH_ALEN) != 0) { in ieee802_1x_kay_mkpdu_sanity_check() 3053 struct ieee8023_hdr *eth_hdr; in kay_l2_receive() local 3057 if (len < sizeof(*eth_hdr) + sizeof(*eapol_hdr)) { in kay_l2_receive() 3063 eth_hdr = (struct ieee8023_hdr *) buf; in kay_l2_receive() 3064 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in kay_l2_receive() 3065 if (len != sizeof(*eth_hdr) + sizeof(*eapol_hdr) + in kay_l2_receive() 3078 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
|