Home
last modified time | relevance | path

Searched refs:eth_hdr (Results 1 – 9 of 9) sorted by relevance

/external/syslinux/core/lwip/src/netif/ppp/
Dppp_oe.c301 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/
Detharp.c412 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 …]
Dundiif.c243 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()
Dethernetif.c227 struct eth_hdr *ethhdr;
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_l4lb.c166 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/
Dvirtio-net.c37 struct eth_hdr { struct
44 struct eth_hdr hdr; argument
/external/syslinux/core/lwip/src/include/netif/
Dppp_oe.h186 #define PPPOE_HDRLEN (sizeof(struct eth_hdr) + PPPOE_HEADERLEN)
Detharp.h72 struct eth_hdr { struct
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c2852 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()