Searched refs:ethertype (Results 1 – 11 of 11) sorted by relevance
/hostap-latest/src/drivers/ |
D | driver_wired.c | 39 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()
|
D | driver_hostap.c | 62 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()
|
D | driver_macsec_qca.c | 153 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()
|
D | driver_macsec_linux.c | 1493 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()
|
D | driver_nl80211_event.c | 3672 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/ |
D | wired.c | 280 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()
|
D | rx_data.c | 57 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/ |
D | eapol_common.h | 28 be16 ethertype; member
|
/hostap-latest/src/pae/ |
D | ieee802_1x_kay.c | 2474 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/ |
D | ctrl_iface.c | 2047 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/ |
D | ctrl_iface.c | 10152 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()
|