Home
last modified time | relevance | path

Searched refs:ethertype (Results 1 – 17 of 17) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_wired.c39 u16 ethertype; member
98 switch (ntohs(hdr->ethertype)) { in handle_data()
113 ntohs(hdr->ethertype)); in handle_data()
308 hdr->ethertype = htons(ETH_P_PAE); in wired_send_eapol()
Ddriver_hostap.c62 u16 fc, ethertype; in handle_data() local
104 ethertype = WPA_GET_BE16(pos); in handle_data()
107 switch (ethertype) { in handle_data()
113 printf("Unknown ethertype 0x%04x in data frame\n", ethertype); in handle_data()
Ddriver_macsec_qca.c153 switch (ntohs(hdr->ethertype)) { in macsec_qca_handle_data()
167 ntohs(hdr->ethertype)); in macsec_qca_handle_data()
367 hdr->ethertype = htons(ETH_P_PAE); in macsec_qca_send_eapol()
Ddriver_macsec_linux.c1425 switch (ntohs(hdr->ethertype)) { in macsec_drv_handle_data()
1440 ntohs(hdr->ethertype)); in macsec_drv_handle_data()
1595 hdr->ethertype = htons(ETH_P_PAE); in macsec_drv_send_eapol()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_wired.c39 u16 ethertype; member
98 switch (ntohs(hdr->ethertype)) { in handle_data()
113 ntohs(hdr->ethertype)); in handle_data()
308 hdr->ethertype = htons(ETH_P_PAE); in wired_send_eapol()
Ddriver_hostap.c62 u16 fc, ethertype; in handle_data() local
104 ethertype = WPA_GET_BE16(pos); in handle_data()
107 switch (ethertype) { in handle_data()
113 printf("Unknown ethertype 0x%04x in data frame\n", ethertype); in handle_data()
Ddriver_macsec_qca.c153 switch (ntohs(hdr->ethertype)) { in macsec_qca_handle_data()
167 ntohs(hdr->ethertype)); in macsec_qca_handle_data()
367 hdr->ethertype = htons(ETH_P_PAE); in macsec_qca_send_eapol()
Ddriver_macsec_linux.c1425 switch (ntohs(hdr->ethertype)) { in macsec_drv_handle_data()
1440 ntohs(hdr->ethertype)); in macsec_drv_handle_data()
1595 hdr->ethertype = htons(ETH_P_PAE); in macsec_drv_send_eapol()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Deapol_common.h28 be16 ethertype; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Deapol_common.h28 be16 ethertype; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_kay.c2417 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); in ieee802_1x_kay_encode_mkpdu()
2421 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu()
3050 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_sanity_check()
3401 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_kay.c2417 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); in ieee802_1x_kay_encode_mkpdu()
2421 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu()
3050 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_sanity_check()
3401 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c1989 u16 ethertype; in hostapd_ctrl_iface_data_test_frame() local
2015 ethertype = ntohs(eth->ether_type); in hostapd_ctrl_iface_data_test_frame()
2017 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype, in hostapd_ctrl_iface_data_test_frame()
2022 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in hostapd_ctrl_iface_data_test_frame()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c1989 u16 ethertype; in hostapd_ctrl_iface_data_test_frame() local
2015 ethertype = ntohs(eth->ether_type); in hostapd_ctrl_iface_data_test_frame()
2017 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype, in hostapd_ctrl_iface_data_test_frame()
2022 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in hostapd_ctrl_iface_data_test_frame()
/third_party/uboot/u-boot-2020.01/drivers/net/
Dmvpp2.c1523 unsigned short ethertype) in mvpp2_prs_match_etype() argument
1525 mvpp2_prs_tcam_data_byte_set(pe, offset + 0, ethertype >> 8, 0xff); in mvpp2_prs_match_etype()
1526 mvpp2_prs_tcam_data_byte_set(pe, offset + 1, ethertype & 0xff, 0xff); in mvpp2_prs_match_etype()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface.c9063 u16 ethertype; in wpas_ctrl_iface_data_test_frame() local
9079 ethertype = ntohs(eth->ether_type); in wpas_ctrl_iface_data_test_frame()
9081 l2 = l2_packet_init(wpa_s->ifname, wpa_s->own_addr, ethertype, in wpas_ctrl_iface_data_test_frame()
9086 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in wpas_ctrl_iface_data_test_frame()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface.c9063 u16 ethertype; in wpas_ctrl_iface_data_test_frame() local
9079 ethertype = ntohs(eth->ether_type); in wpas_ctrl_iface_data_test_frame()
9081 l2 = l2_packet_init(wpa_s->ifname, wpa_s->own_addr, ethertype, in wpas_ctrl_iface_data_test_frame()
9086 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in wpas_ctrl_iface_data_test_frame()