Lines Matching defs:xhdr
46 struct ieee802_1x_hdr *xhdr;
50 len = sizeof(*xhdr) + datalen;
59 xhdr = (struct ieee802_1x_hdr *) buf;
60 xhdr->version = hapd->conf->eapol_version;
61 xhdr->type = type;
62 xhdr->length = host_to_be16(datalen);
65 os_memcpy(xhdr + 1, data, datalen);
2095 const struct ieee802_1x_hdr *xhdr =
2097 const u8 *pos = buf + sizeof(*xhdr);
2100 if (len < (int) sizeof(*xhdr))
2104 MAC2STR(sta->addr), xhdr->version, xhdr->type,
2105 be_to_host16(xhdr->length), ack);
2107 if (xhdr->type != IEEE802_1X_TYPE_EAPOL_KEY)