Lines Matching refs:xhdr
49 struct ieee802_1x_hdr *xhdr; in ieee802_1x_send() local
53 len = sizeof(*xhdr) + datalen; in ieee802_1x_send()
62 xhdr = (struct ieee802_1x_hdr *) buf; in ieee802_1x_send()
63 xhdr->version = hapd->conf->eapol_version; in ieee802_1x_send()
64 xhdr->type = type; in ieee802_1x_send()
65 xhdr->length = host_to_be16(datalen); in ieee802_1x_send()
68 os_memcpy(xhdr + 1, data, datalen); in ieee802_1x_send()
2316 const struct ieee802_1x_hdr *xhdr = in ieee802_1x_eapol_tx_status() local
2318 const u8 *pos = buf + sizeof(*xhdr); in ieee802_1x_eapol_tx_status()
2321 if (len < (int) sizeof(*xhdr)) in ieee802_1x_eapol_tx_status()
2325 MAC2STR(sta->addr), xhdr->version, xhdr->type, in ieee802_1x_eapol_tx_status()
2326 be_to_host16(xhdr->length), ack); in ieee802_1x_eapol_tx_status()
2328 if (xhdr->type != IEEE802_1X_TYPE_EAPOL_KEY) in ieee802_1x_eapol_tx_status()