Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:hdr

483 static int eap_ttls_phase2_nak(struct eap_ttls_data *data, struct eap_hdr *hdr,
487 u8 *pos = (u8 *) (hdr + 1);
502 resp_hdr->identifier = hdr->identifier;
521 struct eap_hdr *hdr,
524 size_t len = be_to_host16(hdr->length);
534 pos = (u8 *) (hdr + 1);
538 *resp = eap_sm_buildIdentity(sm, hdr->identifier, resp_len, 1);
563 if (eap_ttls_phase2_nak(data, hdr, resp, resp_len))
587 &iret, (u8 *) hdr, len,
973 struct eap_hdr *hdr,
1002 res = eap_ttls_phase2_request_eap(sm, data, ret, hdr,
1081 struct eap_hdr *hdr = NULL;
1138 buf_len = sizeof(*hdr) + 1;
1146 hdr = (struct eap_hdr *) in_decrypted;
1147 hdr->code = EAP_CODE_REQUEST;
1148 hdr->identifier = 0;
1149 hdr->length = host_to_be16(sizeof(*hdr) + 1);
1150 in_decrypted[sizeof(*hdr)] = EAP_TYPE_IDENTITY;
1347 hdr = (struct eap_hdr *) eapdata;
1349 if (eap_len < sizeof(*hdr)) {
1353 (unsigned long) sizeof(*hdr));
1357 len = be_to_host16(hdr->length);
1360 "Phase 2 EAP frame (EAP hdr len=%lu, EAP "
1369 hdr->code, hdr->identifier, (unsigned long) len);
1371 switch (hdr->code) {
1373 if (eap_ttls_phase2_request(sm, data, ret, req, hdr,
1383 "Phase 2 EAP header", hdr->code);