Lines Matching refs:hdr
1207 const struct eap_hdr *hdr;
1217 if (req == NULL || wpabuf_len(req) < sizeof(*hdr))
1220 hdr = wpabuf_head(req);
1221 plen = be_to_host16(hdr->length);
1230 sm->reqId = hdr->identifier;
1238 switch (hdr->code) {
1240 if (plen < sizeof(*hdr) + 1) {
1246 pos = (const u8 *) (hdr + 1);
1249 if (plen < sizeof(*hdr) + 8) {
1271 if (plen < sizeof(*hdr) + 1) {
1277 pos = (const u8 *) (hdr + 1);
1298 "code %d", hdr->code);