Lines Matching refs:hdr
34 struct eap_hdr *hdr;
37 hdr = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, resp_len,
39 if (hdr == NULL)
55 return (u8 *) hdr;
71 struct eap_hdr *hdr;
74 hdr = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, resp_len,
76 if (hdr == NULL)
87 return (u8 *) hdr;
95 * @hdr: EAP-TLV request to be processed. The caller must have validated that
96 * the buffer is large enough to contain full request (hdr->length bytes) and
106 const struct eap_hdr *hdr, u8 **resp, size_t *resp_len,
116 left = be_to_host16(hdr->length) - sizeof(struct eap_hdr) - 1;
117 pos = (const u8 *) (hdr + 1);
146 *resp = eap_tlv_build_nak(hdr->identifier,
199 *resp = eap_tlv_build_result(hdr->identifier, resp_status,