Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:hdr

622 	struct ieee802_1x_hdr *hdr;
641 hdr = (struct ieee802_1x_hdr *) sm->last_rx_key;
642 key = (struct ieee802_1x_eapol_key *) (hdr + 1);
643 if (sizeof(*hdr) + be_to_host16(hdr->length) > sm->last_rx_key_len) {
650 hdrhdr->type, be_to_host16(hdr->length),
697 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length),
709 key_len = be_to_host16(hdr->length) - sizeof(*key);
1124 const struct ieee802_1x_hdr *hdr;
1133 if (len < sizeof(*hdr)) {
1137 hdr = (const struct ieee802_1x_hdr *) buf;
1138 sm->dot1xSuppLastEapolFrameVersion = hdr->version;
1140 if (hdr->version < EAPOL_VERSION) {
1143 plen = be_to_host16(hdr->length);
1144 if (plen > len - sizeof(*hdr)) {
1148 data_len = plen + sizeof(*hdr);
1150 switch (hdr->type) {
1165 os_memcpy(sm->eapReqData, (u8 *) (hdr + 1),
1177 key = (const struct ieee802_1x_eapol_key *) (hdr + 1);
1204 hdr->type);