Home
last modified time | relevance | path

Searched refs:ether_type (Results 1 – 38 of 38) sorted by relevance

/linux-4.4.14/arch/m68k/mac/
Dconfig.c415 .ether_type = MAC_ETHER_SONIC,
426 .ether_type = MAC_ETHER_SONIC,
436 .ether_type = MAC_ETHER_SONIC,
448 .ether_type = MAC_ETHER_SONIC,
458 .ether_type = MAC_ETHER_SONIC,
468 .ether_type = MAC_ETHER_MACE,
478 .ether_type = MAC_ETHER_SONIC,
488 .ether_type = MAC_ETHER_SONIC,
551 .ether_type = MAC_ETHER_SONIC,
562 .ether_type = MAC_ETHER_SONIC,
[all …]
/linux-4.4.14/drivers/net/ethernet/sfc/
Dfilter.h141 __be16 ether_type; member
190 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local()
215 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
Drx.c847 __be16 ether_type; in efx_filter_rfs() local
865 ether_type = vh->h_vlan_encapsulated_proto; in efx_filter_rfs()
868 ether_type = skb->protocol; in efx_filter_rfs()
872 if (ether_type != htons(ETH_P_IP) && ether_type != htons(ETH_P_IPV6)) in efx_filter_rfs()
882 spec.ether_type = ether_type; in efx_filter_rfs()
884 if (ether_type == htons(ETH_P_IP)) { in efx_filter_rfs()
920 if (ether_type == htons(ETH_P_IP)) in efx_filter_rfs()
988 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
991 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
Dethtool.c810 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
855 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
984 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1036 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
Dfarch.c2076 if (gen_spec->ether_type != htons(ETH_P_IP)) in efx_farch_filter_from_gen_spec()
2179 gen_spec->ether_type = htons(ETH_P_IP); in efx_farch_filter_to_gen_spec()
Def10.c2884 if (spec->ether_type == htons(ETH_P_IP) && in efx_ef10_filter_is_exclusive()
2887 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_ef10_filter_is_exclusive()
2966 COPY_FIELD(ETHER_TYPE, ether_type, ETHER_TYPE); in efx_ef10_filter_push_prep()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dlibipw_tx.c264 __be16 ether_type; in libipw_xmit() local
295 ether_type = ((struct ethhdr *)skb->data)->h_proto; in libipw_xmit()
299 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit()
306 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { in libipw_xmit()
365 ether_type); in libipw_xmit()
491 ether_type); in libipw_xmit()
/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c254 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
255 (pattrib->ether_type != 0x0806) && in update_txdesc()
256 (pattrib->ether_type != 0x88b4) && in update_txdesc()
361 (pxmitframe->attrib.ether_type != 0x0806) && in rtw_dump_xframe()
362 (pxmitframe->attrib.ether_type != 0x888e) && in rtw_dump_xframe()
363 (pxmitframe->attrib.ether_type != 0x88b4) && in rtw_dump_xframe()
589 if ((pfirstframe->attrib.ether_type != 0x0806) && in rtl8188eu_xmitframe_complete()
590 (pfirstframe->attrib.ether_type != 0x888e) && in rtl8188eu_xmitframe_complete()
591 (pfirstframe->attrib.ether_type != 0x88b4) && in rtl8188eu_xmitframe_complete()
/linux-4.4.14/drivers/firewire/
Dnet.c88 unsigned ether_type) in fwnet_make_uf_hdr() argument
91 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_uf_hdr()
95 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument
99 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_ff_hdr()
126 u16 ether_type; member
484 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument
490 switch (ether_type) { in fwnet_finish_incoming_packet()
511 if (dev_hard_header(skb, net, ether_type, in fwnet_finish_incoming_packet()
579 u16 ether_type; in fwnet_incoming_packet() local
589 ether_type = fwnet_get_hdr_ether_type(&hdr); in fwnet_incoming_packet()
[all …]
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_tx.c573 int ether_type = 0, encrypt; in rtllib_xmit_inter() local
615 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in rtllib_xmit_inter()
634 if (ether_type == ETH_P_IP) { in rtllib_xmit_inter()
650 } else if (ether_type == ETH_P_ARP) { in rtllib_xmit_inter()
661 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in rtllib_xmit_inter()
664 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in rtllib_xmit_inter()
668 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
849 sizeof(u16)), ether_type); in rtllib_xmit_inter()
907 if (ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
/linux-4.4.14/drivers/staging/rtl8712/
Drtl8712_xmit.c309 if (pxmitframe->attrib.ether_type != 0x0806) { in r8712_append_mpdu_unit()
310 if ((pxmitframe->attrib.ether_type != 0x888e) && in r8712_append_mpdu_unit()
541 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
542 (pattrib->ether_type != 0x0806) && in update_txdesc()
716 if (pxmitframe->attrib.ether_type != 0x0806) { in dump_xframe()
717 if (pxmitframe->attrib.ether_type != 0x888e) in dump_xframe()
Dxmit_linux.c90 if (pattrib->ether_type == 0x0800) { in r8712_set_qos()
99 if (pattrib->ether_type == 0x888e) in r8712_set_qos()
Drtl871x_recv.c258 u16 ether_type; in r8712_portctrl() local
269 memcpy(&ether_type, ptr, 2); in r8712_portctrl()
270 ether_type = ntohs((unsigned short)ether_type); in r8712_portctrl()
275 if (ether_type == 0x888e) { in r8712_portctrl()
289 if (ether_type == 0x888e) { in r8712_portctrl()
Drtl871x_xmit.c203 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib()
208 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib()
232 if (pattrib->ether_type != 0x8712) in r8712_update_attrib()
244 if (ETH_P_IP == pattrib->ether_type) { in r8712_update_attrib()
253 if (ETH_P_IP == pattrib->ether_type) {/* IP header*/ in r8712_update_attrib()
305 if ((pattrib->ether_type != 0x888e) && in r8712_update_attrib()
616 if (pattrib->ether_type == 0x8712) { in r8712_xmitframe_coalesce()
667 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); in r8712_xmitframe_coalesce()
Drtl871x_xmit.h106 u16 ether_type; member
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c605 int ether_type = 0, encrypt; in ieee80211_xmit() local
640 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit()
644 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in ieee80211_xmit()
648 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in ieee80211_xmit()
653 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in ieee80211_xmit()
817 ether_type); in ieee80211_xmit()
Dieee80211.h1312 u16 ether_type; member
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Drtl8723au_xmit.c179 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
180 (pattrib->ether_type != 0x0806) && in update_txdesc()
300 pxmitframe->attrib.ether_type != ETH_P_ARP && in rtw_dump_xframe()
301 pxmitframe->attrib.ether_type != ETH_P_PAE && in rtw_dump_xframe()
/linux-4.4.14/arch/m68k/include/asm/
Dmacintosh.h34 char ether_type; member
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_xmit.c415 if (pattrib->ether_type == 0x0800) { in set_qos()
419 } else if (pattrib->ether_type == 0x888e) { in set_qos()
447 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
468 if (ETH_P_IP == pattrib->ether_type) { in update_attrib()
475 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib()
486 } else if (0x888e == pattrib->ether_type) { in update_attrib()
490 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
494 if ((pattrib->ether_type == 0x0806) || (pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
550 if ((pattrib->ether_type != 0x888e) && !check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in update_attrib()
551 …"\npsta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != 0x888e\n", pattrib->ether_type)); in update_attrib()
[all …]
Drtw_recv.c482 u16 ether_type; in portctrl() local
505 ether_type = ntohs(be_tmp); in portctrl()
512 if (ether_type == eapol_type) { in portctrl()
532 if (ether_type == eapol_type) { in portctrl()
538 …T_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########portctrl:ether_type=0x%04x\n", ether_type)); in portctrl()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_xmit.c401 if (pattrib->ether_type == ETH_P_IP) { in set_qos()
404 } else if (pattrib->ether_type == ETH_P_PAE) { in set_qos()
427 pattrib->ether_type = ntohs(ehdr->h_proto); in update_attrib()
448 if (pattrib->ether_type == ETH_P_IP) { in update_attrib()
455 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib()
471 } else if (pattrib->ether_type == ETH_P_PAE) { in update_attrib()
475 if ((pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt == 1)) { in update_attrib()
480 if ((pattrib->ether_type == ETH_P_ARP) || in update_attrib()
481 (pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt == 1)) { in update_attrib()
549 if ((pattrib->ether_type != ETH_P_PAE) && in update_attrib()
[all …]
Drtw_recv.c539 u16 ether_type; in portctrl() local
562 ether_type = (ptr[6] << 8) | ptr[7]; in portctrl()
570 if (ether_type != eapol_type) { in portctrl()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1322 u16 ether_type; in rtl_is_special_data() local
1349 ether_type = be16_to_cpup((__be16 *)(skb->data + offset)); in rtl_is_special_data()
1351 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
1373 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data()
1378 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data()
1390 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dtxrx.c111 u16 ether_type; in ath6kl_process_uapsdq() local
133 ether_type = be16_to_cpu(datap->h_proto); in ath6kl_process_uapsdq()
134 if (is_ethertype(ether_type)) { in ath6kl_process_uapsdq()
141 ether_type = be16_to_cpu(llc_hdr->eth_type); in ath6kl_process_uapsdq()
145 if (ether_type == IP_ETHERTYPE) in ath6kl_process_uapsdq()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c854 rule_hw->eth.ether_type = spec->eth.ether_type; in parse_trans_rule()
917 if (cur->eth.ether_type) in mlx4_err_rule()
920 be16_to_cpu(cur->eth.ether_type)); in mlx4_err_rule()
Den_ethtool.c1472 spec_l2->eth.ether_type = eth_spec->h_proto; in mlx4_en_ethtool_to_net_trans_rule()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Drtw_xmit.h119 u16 ether_type; member
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtw_xmit.h120 u16 ether_type; member
/linux-4.4.14/drivers/staging/slicoss/
Dslic.h284 ushort ether_type; member
/linux-4.4.14/include/linux/mlx4/
Ddevice.h1171 __be16 ether_type; member
1268 __be16 ether_type; member
/linux-4.4.14/include/uapi/rdma/
Dib_user_verbs.h801 __be16 ether_type; member
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1936 u16 ether_type = ntohs(hdr->h_proto); in bnx2x_select_queue() local
1939 if (ether_type == ETH_P_8021Q) { in bnx2x_select_queue()
1943 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto); in bnx2x_select_queue()
1947 if ((ether_type == ETH_P_FCOE) || (ether_type == ETH_P_FIP)) in bnx2x_select_queue()
/linux-4.4.14/include/linux/
Dieee80211.h1097 __be16 ether_type; member
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dtdls.c450 tf->ether_type = cpu_to_be16(ETH_P_TDLS); in mwifiex_prep_tdls_encap_data()
/linux-4.4.14/include/rdma/
Dib_verbs.h1429 __be16 ether_type; member
/linux-4.4.14/net/mac80211/
Dtdls.c751 tf->ether_type = cpu_to_be16(ETH_P_TDLS); in ieee80211_prep_tdls_encap_data()
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c2924 u64 ether_type)
2931 (ether_type & ~(u64)0xffff) != 0)
2937 val |= (ether_type << L2_CLS_ETYPE_SHIFT);