Home | History | Annotate | Download | only in ap

Lines Matching defs:xhdr

51 	struct ieee802_1x_hdr *xhdr;
55 len = sizeof(*xhdr) + datalen;
64 xhdr = (struct ieee802_1x_hdr *) buf;
65 xhdr->version = hapd->conf->eapol_version;
66 xhdr->type = type;
67 xhdr->length = host_to_be16(datalen);
70 os_memcpy(xhdr + 1, data, datalen);
2355 const struct ieee802_1x_hdr *xhdr =
2357 const u8 *pos = buf + sizeof(*xhdr);
2360 if (len < (int) sizeof(*xhdr))
2364 MAC2STR(sta->addr), xhdr->version, xhdr->type,
2365 be_to_host16(xhdr->length), ack);
2368 if (xhdr->type == IEEE802_1X_TYPE_EAP_PACKET && ack &&
2377 if (xhdr->type != IEEE802_1X_TYPE_EAPOL_KEY)