Home
last modified time | relevance | path

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

/third_party/lwip/src/netif/
Dethernet.c83 struct eth_hdr *ethhdr;
104 ethhdr = (struct eth_hdr *)p->payload;
273 struct eth_hdr *ethhdr;
301 ethhdr = (struct eth_hdr *)p->payload;
/third_party/lwip/src/netif/ppp/
Dpppoe.c387 struct eth_hdr *ethhdr; in pppoe_disc_input()
397 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_disc_input()
406 off = sizeof(struct eth_hdr) + sizeof(struct pppoehdr); in pppoe_disc_input()
659 MEMCPY(shost, ((struct eth_hdr *)pb->payload)->src.addr, sizeof(shost)); in pppoe_data_input()
661 if (pbuf_remove_header(pb, sizeof(struct eth_hdr)) != 0) { in pppoe_data_input()
720 struct eth_hdr *ethhdr; in pppoe_output()
725 if (pbuf_add_header(pb, sizeof(struct eth_hdr)) != 0) { in pppoe_output()
732 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_output()
774 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padi()
997 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padr()
[all …]
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c80 struct eth_hdr *ethhdr; in create_arp_response()
82 …struct pbuf *p = pbuf_alloc(PBUF_RAW, sizeof(struct eth_hdr) + sizeof(struct etharp_hdr), PBUF_RAM… in create_arp_response()
86 ethhdr = (struct eth_hdr*)p->payload; in create_arp_response()
/third_party/lwip/src/include/lwip/prot/
Dethernet.h76 struct eth_hdr { struct
/third_party/lwip/
Dbackport-fix-compiling-ETHARP_SUPPORT_VLAN.patch16 struct eth_hdr *ethhdr;
Dbackport-Add-outgoing-VLAN-PCP-support.patch125 struct eth_hdr *ethhdr;
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_kay.c3030 struct ieee8023_hdr *eth_hdr; in ieee802_1x_kay_mkpdu_sanity_check() local
3043 eth_hdr = (struct ieee8023_hdr *) buf; in ieee802_1x_kay_mkpdu_sanity_check()
3044 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in ieee802_1x_kay_mkpdu_sanity_check()
3049 MAC2STR(eth_hdr->dest), MAC2STR(eth_hdr->src), in ieee802_1x_kay_mkpdu_sanity_check()
3050 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_sanity_check()
3053 if (os_memcmp(eth_hdr->dest, pae_group_addr, ETH_ALEN) != 0) { in ieee802_1x_kay_mkpdu_sanity_check()
3365 struct ieee8023_hdr *eth_hdr; in kay_l2_receive() local
3372 if (len < sizeof(*eth_hdr) + sizeof(*eapol_hdr)) { in kay_l2_receive()
3378 eth_hdr = (struct ieee8023_hdr *) buf; in kay_l2_receive()
3379 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in kay_l2_receive()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_kay.c3067 struct ieee8023_hdr *eth_hdr; in ieee802_1x_kay_mkpdu_validity_check() local
3080 eth_hdr = (struct ieee8023_hdr *) buf; in ieee802_1x_kay_mkpdu_validity_check()
3081 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in ieee802_1x_kay_mkpdu_validity_check()
3086 MAC2STR_SEC(eth_hdr->dest), MAC2STR_SEC(eth_hdr->src), in ieee802_1x_kay_mkpdu_validity_check()
3087 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_validity_check()
3090 if (os_memcmp(eth_hdr->dest, pae_group_addr, ETH_ALEN) != 0) { in ieee802_1x_kay_mkpdu_validity_check()
3402 struct ieee8023_hdr *eth_hdr; in kay_l2_receive() local
3409 if (len < sizeof(*eth_hdr) + sizeof(*eapol_hdr)) { in kay_l2_receive()
3415 eth_hdr = (struct ieee8023_hdr *) buf; in kay_l2_receive()
3416 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1); in kay_l2_receive()
[all …]
/third_party/lwip/src/include/lwip/
Dopt.h3020 #define LWIP_HOOK_VLAN_CHECK(netif, eth_hdr, vlan_hdr) argument
/third_party/NuttX/drivers/usbdev/gadget/
Drndis.c1106 priv->current_rx_datagram_size <= (sizeof(struct eth_hdr) + 4)) in rndis_recvpacket()