Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Deth_p_oui.c55 const struct l2_ethhdr *ethhdr; in eth_p_rx()
62 ethhdr = (struct l2_ethhdr *) buf; in eth_p_rx()
168 struct l2_ethhdr *ethhdr; in eth_p_oui_send()
176 ethhdr = (struct l2_ethhdr *) packet; in eth_p_oui_send()
Dpreauth_auth.c48 struct l2_ethhdr *ethhdr; in rsn_preauth_receive()
58 ethhdr = (struct l2_ethhdr *) buf; in rsn_preauth_receive()
235 struct l2_ethhdr *ethhdr; in rsn_preauth_send()
Dwpa_auth_glue.c681 struct l2_ethhdr *buf; in hostapd_wpa_auth_send_ether()
1354 struct l2_ethhdr *ethhdr; in hostapd_rrb_receive()
1357 ethhdr = (struct l2_ethhdr *) buf; in hostapd_rrb_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Deth_p_oui.c55 const struct l2_ethhdr *ethhdr; in eth_p_rx()
62 ethhdr = (struct l2_ethhdr *) buf; in eth_p_rx()
168 struct l2_ethhdr *ethhdr; in eth_p_oui_send()
176 ethhdr = (struct l2_ethhdr *) packet; in eth_p_oui_send()
Dpreauth_auth.c48 struct l2_ethhdr *ethhdr; in rsn_preauth_receive()
58 ethhdr = (struct l2_ethhdr *) buf; in rsn_preauth_receive()
235 struct l2_ethhdr *ethhdr; in rsn_preauth_send()
Dwpa_auth_glue.c588 struct l2_ethhdr *buf; in hostapd_wpa_auth_send_ether()
1170 struct l2_ethhdr *ethhdr; in hostapd_rrb_receive()
1173 ethhdr = (struct l2_ethhdr *) buf; in hostapd_rrb_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_pcap.c82 struct l2_ethhdr *eth; in l2_packet_send()
124 struct l2_ethhdr *ethhdr; in l2_packet_receive()
133 ethhdr = (struct l2_ethhdr *) packet; in l2_packet_receive()
151 struct l2_ethhdr *ethhdr; in l2_packet_receive_cb()
158 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
Dl2_packet_freebsd.c60 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); in l2_packet_send()
81 struct l2_ethhdr *ethhdr; in l2_packet_receive()
90 ethhdr = (struct l2_ethhdr *) packet; in l2_packet_receive()
Dl2_packet_winpcap.c76 struct l2_ethhdr *eth; in l2_packet_send()
106 struct l2_ethhdr *ethhdr; in l2_packet_receive_cb()
111 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
Dl2_packet_ndis.c96 struct l2_ethhdr *eth; in l2_packet_send()
283 struct l2_ethhdr *ethhdr = (struct l2_ethhdr *) l2->rx_buf; in l2_packet_callback()
Dl2_packet.h32 struct l2_ethhdr { struct
Dl2_packet_linux.c185 const struct l2_ethhdr *eth = (const struct l2_ethhdr *) buf; in l2_packet_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_pcap.c82 struct l2_ethhdr *eth; in l2_packet_send()
124 struct l2_ethhdr *ethhdr; in l2_packet_receive()
133 ethhdr = (struct l2_ethhdr *) packet; in l2_packet_receive()
151 struct l2_ethhdr *ethhdr; in l2_packet_receive_cb()
158 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
Dl2_packet_freebsd.c60 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); in l2_packet_send()
81 struct l2_ethhdr *ethhdr; in l2_packet_receive()
90 ethhdr = (struct l2_ethhdr *) packet; in l2_packet_receive()
Dl2_packet_winpcap.c76 struct l2_ethhdr *eth; in l2_packet_send()
106 struct l2_ethhdr *ethhdr; in l2_packet_receive_cb()
111 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
Dl2_packet_ndis.c96 struct l2_ethhdr *eth; in l2_packet_send()
283 struct l2_ethhdr *ethhdr = (struct l2_ethhdr *) l2->rx_buf; in l2_packet_callback()
Dl2_packet.h32 struct l2_ethhdr { struct
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dwpa_hal.c414 if ((ctx == NULL) || (srcAddr == NULL) || (buf == NULL) || (len < sizeof(struct l2_ethhdr))) { in WifiWpaReceiveEapol()
418 …v_event_eapol_rx(drv->ctx, srcAddr, buf + sizeof(struct l2_ethhdr), len - sizeof(struct l2_ethhdr)… in WifiWpaReceiveEapol()
1006 struct l2_ethhdr *l2_ethhdr = NULL; in WifiWpaWpaSendEapol() local
1013 frameLen = dataLen + sizeof(struct l2_ethhdr); in WifiWpaWpaSendEapol()
1019 l2_ethhdr = (struct l2_ethhdr *)frame; in WifiWpaWpaSendEapol()
1020 rc = memcpy_s(l2_ethhdr->h_dest, ETH_ADDR_LEN, dest, ETH_ADDR_LEN); in WifiWpaWpaSendEapol()
1026 rc = memcpy_s(l2_ethhdr->h_source, ETH_ADDR_LEN, drv->ownAddr, ETH_ADDR_LEN); in WifiWpaWpaSendEapol()
1032 l2_ethhdr->h_proto = host_to_be16(proto); in WifiWpaWpaSendEapol()
1034 payload = (uint8_t *)(l2_ethhdr + 1); in WifiWpaWpaSendEapol()
1758 struct l2_ethhdr *ethhdr = NULL; in WifiWpaHapdSendEapol()
[all …]
Ddriver_atheros.c1653 struct l2_ethhdr *eth; in atheros_send_eapol()
1663 len = data_len + sizeof(struct l2_ethhdr); in atheros_send_eapol()
1673 eth = (struct l2_ethhdr *) bp; in atheros_send_eapol()
1692 drv_event_eapol_rx(drv->hapd, src_addr, buf + sizeof(struct l2_ethhdr), in handle_read()
1693 len - sizeof(struct l2_ethhdr)); in handle_read()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dwpa_hal.c411 if ((ctx == NULL) || (srcAddr == NULL) || (buf == NULL) || (len < sizeof(struct l2_ethhdr))) { in WifiWpaReceiveEapol()
415 …v_event_eapol_rx(drv->ctx, srcAddr, buf + sizeof(struct l2_ethhdr), len - sizeof(struct l2_ethhdr)… in WifiWpaReceiveEapol()
1003 struct l2_ethhdr *l2_ethhdr = NULL; in WifiWpaWpaSendEapol() local
1010 frameLen = dataLen + sizeof(struct l2_ethhdr); in WifiWpaWpaSendEapol()
1016 l2_ethhdr = (struct l2_ethhdr *)frame; in WifiWpaWpaSendEapol()
1017 rc = memcpy_s(l2_ethhdr->h_dest, ETH_ADDR_LEN, dest, ETH_ADDR_LEN); in WifiWpaWpaSendEapol()
1023 rc = memcpy_s(l2_ethhdr->h_source, ETH_ADDR_LEN, drv->ownAddr, ETH_ADDR_LEN); in WifiWpaWpaSendEapol()
1029 l2_ethhdr->h_proto = host_to_be16(proto); in WifiWpaWpaSendEapol()
1031 payload = (uint8_t *)(l2_ethhdr + 1); in WifiWpaWpaSendEapol()
1753 struct l2_ethhdr *ethhdr = NULL; in WifiWpaHapdSendEapol()
[all …]
Ddriver_atheros.c1664 struct l2_ethhdr *eth; in atheros_send_eapol()
1674 len = data_len + sizeof(struct l2_ethhdr); in atheros_send_eapol()
1684 eth = (struct l2_ethhdr *) bp; in atheros_send_eapol()
1703 drv_event_eapol_rx(drv->hapd, src_addr, buf + sizeof(struct l2_ethhdr), in handle_read()
1704 len - sizeof(struct l2_ethhdr)); in handle_read()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpa_supplicant.c4388 const struct l2_ethhdr *eth;
4392 eth = (const struct l2_ethhdr *) buf;
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpa_supplicant.c5231 const struct l2_ethhdr *eth;
5235 eth = (const struct l2_ethhdr *) buf;