Lines Matching defs:ethhdr

807 	struct l2_ethhdr *ethhdr;
823 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply);
829 ethhdr = (struct l2_ethhdr *)rbuf;
830 (void) memcpy(ethhdr->h_dest, bssid, IEEE80211_ADDR_LEN);
831 (void) memcpy(ethhdr->h_source, wpa_s->own_addr, IEEE80211_ADDR_LEN);
832 ethhdr->h_proto = htons(ETHERTYPE_EAPOL);
834 hdr = (struct ieee802_1x_hdr *)(ethhdr + 1);
859 rlen - sizeof (*ethhdr), reply->key_mic);
878 struct l2_ethhdr *ethhdr;
934 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply) + wpa_ie_len;
940 ethhdr = (struct l2_ethhdr *)rbuf;
941 (void) memcpy(ethhdr->h_dest, src_addr, IEEE80211_ADDR_LEN);
942 (void) memcpy(ethhdr->h_source, wpa_s->own_addr, IEEE80211_ADDR_LEN);
943 ethhdr->h_proto = htons(ETHERTYPE_EAPOL);
945 hdr = (struct ieee802_1x_hdr *)(ethhdr + 1);
988 rlen - sizeof (*ethhdr), reply->key_mic);
1111 struct l2_ethhdr *ethhdr;
1204 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply);
1210 ethhdr = (struct l2_ethhdr *)rbuf;
1211 (void) memcpy(ethhdr->h_dest, src_addr, IEEE80211_ADDR_LEN);
1212 (void) memcpy(ethhdr->h_source, wpa_s->own_addr, IEEE80211_ADDR_LEN);
1213 ethhdr->h_proto = htons(ETHERTYPE_EAPOL);
1215 hdr = (struct ieee802_1x_hdr *)(ethhdr + 1);
1233 rlen - sizeof (*ethhdr), reply->key_mic);
1304 struct l2_ethhdr *ethhdr;
1484 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply);
1490 ethhdr = (struct l2_ethhdr *)rbuf;
1491 (void) memcpy(ethhdr->h_dest, src_addr, IEEE80211_ADDR_LEN);
1492 (void) memcpy(ethhdr->h_source, wpa_s->own_addr, IEEE80211_ADDR_LEN);
1493 ethhdr->h_proto = htons(ETHERTYPE_EAPOL);
1495 hdr = (struct ieee802_1x_hdr *)(ethhdr + 1);
1513 rlen - sizeof (*ethhdr), reply->key_mic);