Lines Matching full:dot1x
681 struct ieee802_1x_hdr *dot1x;
682 dot1x = os_malloc(sizeof(*dot1x) + wpabuf_len(eap));
683 assert(dot1x != NULL);
684 dot1x->version = EAPOL_VERSION;
685 dot1x->type = IEEE802_1X_TYPE_EAP_PACKET;
686 dot1x->length = htons(wpabuf_len(eap));
687 os_memcpy((u8 *) (dot1x + 1), wpabuf_head(eap),
690 (u8 *) dot1x,
691 sizeof(*dot1x) + wpabuf_len(eap));
692 os_free(dot1x);