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