Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:hdr

793 			       struct eap_hdr *hdr,
797 u8 *pos = (u8 *) (hdr + 1);
812 resp_hdr->identifier = hdr->identifier;
1046 struct eap_hdr *hdr,
1049 size_t len = be_to_host16(hdr->length);
1058 pos = (u8 *) (hdr + 1);
1062 *resp = eap_sm_buildIdentity(sm, hdr->identifier, resp_len, 1);
1087 if (eap_fast_phase2_nak(data, hdr, resp, resp_len))
1124 &iret, (u8 *) hdr, len,
1381 struct pac_tlv_hdr *hdr;
1390 while (left > sizeof(*hdr)) {
1391 hdr = (struct pac_tlv_hdr *) pos;
1392 type = be_to_host16(hdr->type);
1393 len = be_to_host16(hdr->len);
1394 pos += sizeof(*hdr);
1395 left -= sizeof(*hdr);
1448 while (left > sizeof(*hdr)) {
1449 hdr = (struct pac_tlv_hdr *) pos;
1450 type = be_to_host16(hdr->type);
1451 len = be_to_host16(hdr->len);
1452 pos += sizeof(*hdr);
1453 left -= sizeof(*hdr);
1529 struct eap_hdr *hdr;
1710 if (eap_payload_tlv_len < sizeof(*hdr)) {
1717 hdr = (struct eap_hdr *) eap_payload_tlv;
1718 if (be_to_host16(hdr->length) > eap_payload_tlv_len) {
1724 if (hdr->code == EAP_CODE_REQUEST) {
1725 if (eap_fast_phase2_request(sm, data, ret, hdr,
1739 "Phase 2 EAP header", hdr->code);
1823 struct pac_tlv_hdr *hdr;
1835 if (left > sizeof(*hdr)) {
1837 hdr = (struct pac_tlv_hdr *) pos;
1838 tlen = be_to_host16(hdr->len);
1839 if (be_to_host16(hdr->type) == PAC_TYPE_A_ID &&
1840 sizeof(*hdr) + tlen <= left) {
1841 hdr + 1);