Searched refs:l2_ethhdr (Results 1 – 2 of 2) sorted by relevance
26 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()
32 struct l2_ethhdr { struct