Lines Matching refs:ethhdr

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