Lines Matching refs:eth_hdr
3067 struct ieee8023_hdr *eth_hdr;
3080 eth_hdr = (struct ieee8023_hdr *) buf;
3081 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1);
3086 MAC2STR(eth_hdr->dest), MAC2STR(eth_hdr->src),
3087 be_to_host16(eth_hdr->ethertype));
3090 if (os_memcmp(eth_hdr->dest, pae_group_addr, ETH_ALEN) != 0) {
3402 struct ieee8023_hdr *eth_hdr;
3409 if (len < sizeof(*eth_hdr) + sizeof(*eapol_hdr)) {
3415 eth_hdr = (struct ieee8023_hdr *) buf;
3416 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1);
3417 calc_len = sizeof(*eth_hdr) + sizeof(*eapol_hdr) +
3438 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE ||