Lines Matching refs:hdr
1556 struct ieee802_1x_hdr *hdr;
1567 if (len < sizeof(*hdr) + sizeof(*key)) {
1572 (unsigned long) sizeof(*hdr) + sizeof(*key));
1581 hdr = (struct ieee802_1x_hdr *) tmp;
1582 key = (struct wpa_eapol_key *) (hdr + 1);
1583 plen = be_to_host16(hdr->length);
1584 data_len = plen + sizeof(*hdr);
1587 hdr->version, hdr->type, (unsigned long) plen);
1589 if (hdr->version < EAPOL_VERSION) {
1592 if (hdr->type != IEEE802_1X_TYPE_EAPOL_KEY) {
1595 "not a Key frame", hdr->type);
1599 if (plen > len - sizeof(*hdr) || plen < sizeof(*key)) {
1755 extra_len = data_len - sizeof(*hdr) - sizeof(*key);