Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:hdr

242 static int eap_peap_phase2_nak(struct eap_peap_data *data, struct eap_hdr *hdr,
246 u8 *pos = (u8 *) (hdr + 1);
261 resp_hdr->identifier = hdr->identifier;
280 struct eap_hdr *hdr,
283 size_t len = be_to_host16(hdr->length);
293 pos = (u8 *) (hdr + 1);
297 *resp = eap_sm_buildIdentity(sm, hdr->identifier, resp_len, 1);
301 if (eap_tlv_process(sm, &iret, hdr, resp, resp_len,
338 if (eap_peap_phase2_nak(data, hdr, resp, resp_len))
364 &iret, (u8 *) hdr, len,
382 os_memcpy(data->pending_phase2_req, hdr, len);
399 struct eap_hdr *hdr, *rhdr;
473 hdr = (struct eap_hdr *) in_decrypted;
474 if (len_decrypted == 5 && hdr->code == EAP_CODE_REQUEST &&
475 be_to_host16(hdr->length) == 5 &&
481 if (len_decrypted >= 5 && hdr->code == EAP_CODE_REQUEST &&
503 hdr = (struct eap_hdr *) in_decrypted;
504 if (len_decrypted < sizeof(*hdr)) {
511 len = be_to_host16(hdr->length);
515 "Phase 2 EAP frame (len=%lu hdr->length=%lu)",
537 hdr->length = host_to_be16(len);
541 "identifier=%d length=%lu", hdr->code, hdr->identifier,
543 switch (hdr->code) {
545 if (eap_peap_phase2_request(sm, data, ret, hdr,
589 rhdr->identifier = hdr->identifier;
614 rhdr->identifier = hdr->identifier;
620 "Phase 2 EAP header", hdr->code);