Home
last modified time | relevance | path

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

/hostap-latest/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()
389 hdr->ethertype = htons(ETH_P_PAE); in macsec_qca_send_eapol()
Ddriver_macsec_linux.c1493 switch (ntohs(hdr->ethertype)) { in macsec_drv_handle_data()
1508 ntohs(hdr->ethertype)); in macsec_drv_handle_data()
1663 hdr->ethertype = htons(ETH_P_PAE); in macsec_drv_send_eapol()
Ddriver_nl80211_event.c3672 u16 ethertype; in nl80211_control_port_frame() local
3682 ethertype = nla_get_u16(tb[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]); in nl80211_control_port_frame()
3691 switch (ethertype) { in nl80211_control_port_frame()
3707 ethertype, MAC2STR(src_addr)); in nl80211_control_port_frame()
/hostap-latest/wlantest/
Dwired.c280 u16 ethertype; in wlantest_process_wired() local
288 ethertype = be_to_host16(eth->ether_type); in wlantest_process_wired()
290 switch (ethertype) { in wlantest_process_wired()
Drx_data.c57 u16 ethertype, const u8 *data, size_t len, int prot,
80 u16 ethertype, const u8 *data, size_t len, int prot, in rx_data_eth() argument
83 switch (ethertype) { in rx_data_eth()
/hostap-latest/src/common/
Deapol_common.h28 be16 ethertype; member
/hostap-latest/src/pae/
Dieee802_1x_kay.c2474 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); in ieee802_1x_kay_encode_mkpdu()
2478 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu()
3125 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_validity_check()
3476 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
/hostap-latest/hostapd/
Dctrl_iface.c2047 u16 ethertype; in hostapd_ctrl_iface_data_test_frame() local
2073 ethertype = ntohs(eth->ether_type); in hostapd_ctrl_iface_data_test_frame()
2075 l2 = l2_packet_init(ifname, hapd->own_addr, ethertype, in hostapd_ctrl_iface_data_test_frame()
2080 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in hostapd_ctrl_iface_data_test_frame()
/hostap-latest/wpa_supplicant/
Dctrl_iface.c10152 u16 ethertype; in wpas_ctrl_iface_data_test_frame() local
10168 ethertype = ntohs(eth->ether_type); in wpas_ctrl_iface_data_test_frame()
10170 l2 = l2_packet_init(wpa_s->ifname, wpa_s->own_addr, ethertype, in wpas_ctrl_iface_data_test_frame()
10175 res = l2_packet_send(l2, eth->ether_dhost, ethertype, buf, len); in wpas_ctrl_iface_data_test_frame()