Lines Matching defs:eth_hdr
3105 struct ieee8023_hdr *eth_hdr;
3118 eth_hdr = (struct ieee8023_hdr *) buf;
3119 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1);
3124 MAC2STR(eth_hdr->dest), MAC2STR(eth_hdr->src),
3125 be_to_host16(eth_hdr->ethertype));
3128 if (!ether_addr_equal(eth_hdr->dest, pae_group_addr)) {
3440 struct ieee8023_hdr *eth_hdr;
3447 if (len < sizeof(*eth_hdr) + sizeof(*eapol_hdr)) {
3453 eth_hdr = (struct ieee8023_hdr *) buf;
3454 eapol_hdr = (struct ieee802_1x_hdr *) (eth_hdr + 1);
3455 calc_len = sizeof(*eth_hdr) + sizeof(*eapol_hdr) +
3476 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE ||