Home
last modified time | relevance | path

Searched refs:l2_ethhdr (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wpas_glue.c26 buffer = os_malloc(*msg_len + sizeof(struct l2_ethhdr)); in wpa_alloc_eapol()
33 hdr = (struct ieee802_1x_hdr *)((char *)buffer + sizeof(struct l2_ethhdr)); in wpa_alloc_eapol()
57 buffer = buffer - sizeof(struct l2_ethhdr); in wpa_free_eapol()
64 void *buffer = (void *)(data - sizeof(struct l2_ethhdr)); in wpa_ether_send()
65 struct l2_ethhdr *eth = (struct l2_ethhdr *)buffer; in wpa_ether_send()
71 return esp_wifi_internal_tx(WIFI_IF_STA, buffer, sizeof(struct l2_ethhdr) + data_len); in wpa_ether_send()
77 void *buffer = os_malloc(data_len + sizeof(struct l2_ethhdr)); in hostapd_send_eapol()
78 struct l2_ethhdr *eth = buffer; in hostapd_send_eapol()
89 memcpy((char *)buffer + sizeof(struct l2_ethhdr), data, data_len); in hostapd_send_eapol()
90 esp_wifi_internal_tx(WIFI_IF_AP, buffer, sizeof(struct l2_ethhdr) + data_len); in hostapd_send_eapol()
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dwpa.h32 struct l2_ethhdr { struct