Lines Matching refs:ethertype
2458 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_is_tdls_setup() local
2460 return ethertype == ETH_P_TDLS && in ieee80211_is_tdls_setup()
2597 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_build_hdr() local
2623 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_build_hdr()
2784 cpu_to_be16(ethertype) != sdata->control_port_protocol) { in ieee80211_build_hdr()
2856 (cpu_to_be16(ethertype) != sdata->control_port_protocol || in ieee80211_build_hdr()
2889 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_build_hdr()
2893 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_build_hdr()
3751 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_xmit_fast() local
3759 if (cpu_to_be16(ethertype) == sdata->control_port_protocol) in ieee80211_xmit_fast()
3763 if (ethertype < ETH_P_802_3_MIN) in ieee80211_xmit_fast()
4366 __be16 ethertype; in ieee80211_multicast_to_unicast() local
4385 ethertype = eth->h_proto; in ieee80211_multicast_to_unicast()
4386 if (ethertype == htons(ETH_P_8021Q) && skb->len >= VLAN_ETH_HLEN) in ieee80211_multicast_to_unicast()
4387 ethertype = ethvlan->h_vlan_encapsulated_proto; in ieee80211_multicast_to_unicast()
4388 switch (ethertype) { in ieee80211_multicast_to_unicast()