Searched refs:ether_type (Results 1 - 40 of 40) sorted by relevance

/linux-4.1.27/arch/m68k/mac/
H A 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,
597 .ether_type = MAC_ETHER_SONIC,
607 .ether_type = MAC_ETHER_SONIC,
617 .ether_type = MAC_ETHER_MACE,
727 .ether_type = MAC_ETHER_SONIC,
1129 switch (macintosh_config->ether_type) { mac_platform_init()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dfilter.h114 * @ether_type: Ether-type to match, if %EFX_FILTER_MATCH_ETHER_TYPE is set
141 __be16 ether_type; member in struct:efx_filter_spec
190 spec->ether_type = htons(ETH_P_IP); efx_filter_set_ipv4_local()
215 spec->ether_type = htons(ETH_P_IP); efx_filter_set_ipv4_full()
H A Drx.c847 __be16 ether_type; efx_filter_rfs() local
865 ether_type = vh->h_vlan_encapsulated_proto; efx_filter_rfs()
868 ether_type = skb->protocol; efx_filter_rfs()
872 if (ether_type != htons(ETH_P_IP) && ether_type != htons(ETH_P_IPV6)) efx_filter_rfs()
882 spec.ether_type = ether_type; efx_filter_rfs()
884 if (ether_type == htons(ETH_P_IP)) { efx_filter_rfs()
920 if (ether_type == htons(ETH_P_IP)) efx_filter_rfs()
988 if (spec->ether_type == htons(ETH_P_IP) && efx_filter_is_mc_recipient()
991 if (spec->ether_type == htons(ETH_P_IPV6) && efx_filter_is_mc_recipient()
H A Dethtool.c810 spec.ether_type == htons(ETH_P_IP) && efx_ethtool_get_class_rule()
855 mac_entry->h_proto = spec.ether_type; efx_ethtool_get_class_rule()
984 spec.ether_type = htons(ETH_P_IP); efx_ethtool_set_class_rule()
1036 spec.ether_type = mac_entry->h_proto; efx_ethtool_set_class_rule()
H A Def10.c2200 if (spec->ether_type == htons(ETH_P_IP) && efx_ef10_filter_is_exclusive()
2203 if (spec->ether_type == htons(ETH_P_IPV6) && efx_ef10_filter_is_exclusive()
2282 COPY_FIELD(ETHER_TYPE, ether_type, ETHER_TYPE); efx_ef10_filter_push_prep()
H A Dfarch.c2058 if (gen_spec->ether_type != htons(ETH_P_IP)) efx_farch_filter_from_gen_spec()
2161 gen_spec->ether_type = htons(ETH_P_IP); efx_farch_filter_to_gen_spec()
/linux-4.1.27/arch/m68k/include/asm/
H A Dmacintosh.h34 char ether_type; member in struct:mac_model
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_tx.c574 int ether_type = 0, encrypt; rtllib_xmit_inter() local
615 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); rtllib_xmit_inter()
634 if (ETH_P_IP == ether_type) { rtllib_xmit_inter()
650 } else if (ETH_P_ARP == ether_type) { rtllib_xmit_inter()
661 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && rtllib_xmit_inter()
664 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { rtllib_xmit_inter()
668 if (crypt && !encrypt && ether_type == ETH_P_PAE) { rtllib_xmit_inter()
848 sizeof(u16)), ether_type); rtllib_xmit_inter()
906 if (ether_type == ETH_P_PAE) { rtllib_xmit_inter()
H A Drtllib.h1539 u16 ether_type; member in struct:ether_header
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A Drtl8188eu_xmit.c253 if ((pattrib->ether_type != 0x888e) && update_txdesc()
254 (pattrib->ether_type != 0x0806) && update_txdesc()
255 (pattrib->ether_type != 0x88b4) && update_txdesc()
360 (pxmitframe->attrib.ether_type != 0x0806) && rtw_dump_xframe()
361 (pxmitframe->attrib.ether_type != 0x888e) && rtw_dump_xframe()
362 (pxmitframe->attrib.ether_type != 0x88b4) && rtw_dump_xframe()
588 if ((pfirstframe->attrib.ether_type != 0x0806) && rtl8188eu_xmitframe_complete()
589 (pfirstframe->attrib.ether_type != 0x888e) && rtl8188eu_xmitframe_complete()
590 (pfirstframe->attrib.ether_type != 0x88b4) && rtl8188eu_xmitframe_complete()
/linux-4.1.27/drivers/firewire/
H A Dnet.c88 unsigned ether_type) fwnet_make_uf_hdr()
91 | fwnet_set_hdr_ether_type(ether_type); fwnet_make_uf_hdr()
95 unsigned ether_type, unsigned dg_size, unsigned dgl) fwnet_make_ff_hdr()
99 | fwnet_set_hdr_ether_type(ether_type); fwnet_make_ff_hdr()
126 u16 ether_type; member in struct:fwnet_partial_datagram
484 bool is_broadcast, u16 ether_type) fwnet_finish_incoming_packet()
490 switch (ether_type) { fwnet_finish_incoming_packet()
511 if (dev_hard_header(skb, net, ether_type, fwnet_finish_incoming_packet()
579 u16 ether_type; fwnet_incoming_packet() local
589 ether_type = fwnet_get_hdr_ether_type(&hdr); fwnet_incoming_packet()
603 is_broadcast, ether_type); fwnet_incoming_packet()
610 ether_type = fwnet_get_hdr_ether_type(&hdr); fwnet_incoming_packet()
613 ether_type = 0; fwnet_incoming_packet()
673 pd->ether_type = ether_type; fwnet_incoming_packet()
676 ether_type = pd->ether_type; fwnet_incoming_packet()
684 false, ether_type); fwnet_incoming_packet()
87 fwnet_make_uf_hdr(struct rfc2734_header *hdr, unsigned ether_type) fwnet_make_uf_hdr() argument
94 fwnet_make_ff_hdr(struct rfc2734_header *hdr, unsigned ether_type, unsigned dg_size, unsigned dgl) fwnet_make_ff_hdr() argument
482 fwnet_finish_incoming_packet(struct net_device *net, struct sk_buff *skb, u16 source_node_id, bool is_broadcast, u16 ether_type) fwnet_finish_incoming_packet() argument
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dlibipw_tx.c264 __be16 ether_type; libipw_xmit() local
295 ether_type = ((struct ethhdr *)skb->data)->h_proto; libipw_xmit()
299 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && libipw_xmit()
306 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { libipw_xmit()
365 ether_type); libipw_xmit()
491 ether_type); libipw_xmit()
/linux-4.1.27/drivers/staging/rtl8712/
H A Dxmit_linux.c90 if (pattrib->ether_type == 0x0800) { r8712_set_qos()
99 if (pattrib->ether_type == 0x888e) r8712_set_qos()
H A Drtl871x_recv.c257 u16 ether_type; r8712_portctrl() local
266 /* get ether_type */ r8712_portctrl()
268 memcpy(&ether_type, ptr, 2); r8712_portctrl()
269 ether_type = ntohs((unsigned short)ether_type); r8712_portctrl()
274 if (ether_type == 0x888e) r8712_portctrl()
288 if (ether_type == 0x888e) { r8712_portctrl()
H A Drtl8712_xmit.c312 if (pxmitframe->attrib.ether_type != 0x0806) { r8712_append_mpdu_unit()
313 if ((pxmitframe->attrib.ether_type != 0x888e) && r8712_append_mpdu_unit()
539 if ((pattrib->ether_type != 0x888e) && update_txdesc()
540 (pattrib->ether_type != 0x0806) && update_txdesc()
714 if (pxmitframe->attrib.ether_type != 0x0806) { dump_xframe()
715 if (pxmitframe->attrib.ether_type != 0x888e) dump_xframe()
H A Drtl871x_xmit.c203 pattrib->ether_type = ntohs(etherhdr.h_proto); r8712_update_attrib()
208 if (pattrib->ether_type == 0x0806) { r8712_update_attrib()
232 if (pattrib->ether_type != 0x8712) r8712_update_attrib()
244 if (ETH_P_IP == pattrib->ether_type) { r8712_update_attrib()
253 if (ETH_P_IP == pattrib->ether_type) {/* IP header*/ r8712_update_attrib()
305 if ((pattrib->ether_type != 0x888e) && r8712_update_attrib()
614 if (pattrib->ether_type == 0x8712) { r8712_xmitframe_coalesce()
665 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); r8712_xmitframe_coalesce()
H A Drtl871x_xmit.h106 u16 ether_type; member in struct:pkt_attrib
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c605 int ether_type = 0, encrypt; ieee80211_xmit() local
640 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); ieee80211_xmit()
644 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && ieee80211_xmit()
648 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { ieee80211_xmit()
653 if (crypt && !encrypt && ether_type == ETH_P_PAE) { ieee80211_xmit()
817 ether_type); ieee80211_xmit()
H A Dieee80211.h1450 u16 ether_type; member in struct:ether_header
/linux-4.1.27/drivers/staging/rtl8723au/hal/
H A Drtl8723au_xmit.c179 if ((pattrib->ether_type != 0x888e) && update_txdesc()
180 (pattrib->ether_type != 0x0806) && update_txdesc()
300 pxmitframe->attrib.ether_type != ETH_P_ARP && rtw_dump_xframe()
301 pxmitframe->attrib.ether_type != ETH_P_PAE && rtw_dump_xframe()
/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_xmit.c401 if (pattrib->ether_type == ETH_P_IP) { set_qos()
404 } else if (pattrib->ether_type == ETH_P_PAE) { set_qos()
427 pattrib->ether_type = ntohs(ehdr->h_proto); update_attrib()
448 if (pattrib->ether_type == ETH_P_IP) { update_attrib()
455 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ update_attrib()
471 } else if (pattrib->ether_type == ETH_P_PAE) { update_attrib()
475 if ((pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt == 1)) { update_attrib()
480 if ((pattrib->ether_type == ETH_P_ARP) || update_attrib()
481 (pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt == 1)) { update_attrib()
521 /* pattrib->ether_type == 0x8100) ? (14 + 4): 14; vlan tag */ update_attrib()
549 if ((pattrib->ether_type != ETH_P_PAE) && update_attrib()
552 "psta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != 0x888e\n", update_attrib()
553 pattrib->ether_type); update_attrib()
1174 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); rtw_xmitframe_coalesce23a()
H A Drtw_recv.c539 u16 ether_type; portctrl() local
559 /* get ether_type */ portctrl()
562 ether_type = (ptr[6] << 8) | ptr[7]; portctrl()
570 if (ether_type != eapol_type) { portctrl()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_xmit.c414 if (pattrib->ether_type == 0x0800) { set_qos()
418 } else if (pattrib->ether_type == 0x888e) { set_qos()
446 pattrib->ether_type = ntohs(etherhdr.h_proto); update_attrib()
467 if (ETH_P_IP == pattrib->ether_type) { update_attrib()
474 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ update_attrib()
485 } else if (0x888e == pattrib->ether_type) { update_attrib()
489 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) update_attrib()
493 if ((pattrib->ether_type == 0x0806) || (pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) update_attrib()
526 pattrib->pkt_hdrlen = ETH_HLEN;/* pattrib->ether_type == 0x8100) ? (14 + 4): 14; vlan tag */ update_attrib()
549 if ((pattrib->ether_type != 0x888e) && !check_fwstate(pmlmepriv, WIFI_MP_STATE)) { update_attrib()
550 RT_TRACE(_module_rtl871x_xmit_c_, _drv_err_, ("\npsta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != 0x888e\n", pattrib->ether_type)); update_attrib()
1059 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); rtw_xmitframe_coalesce()
H A Drtw_recv.c498 u16 ether_type; portctrl() local
519 /* get ether_type */ portctrl()
522 ether_type = ntohs(be_tmp); portctrl()
529 if (ether_type == eapol_type) { portctrl()
549 if (ether_type == eapol_type) { portctrl()
550 RT_TRACE(_module_rtl871x_recv_c_, _drv_notice_, ("########portctrl:ether_type==0x888e\n")); portctrl()
555 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########portctrl:ether_type=0x%04x\n", ether_type)); portctrl()
1407 eth_type = ntohs(be_tmp); /* pattrib->ether_type */ wlanhdr_to_ethhdr()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dtxrx.c111 u16 ether_type; ath6kl_process_uapsdq() local
133 ether_type = be16_to_cpu(datap->h_proto); ath6kl_process_uapsdq()
134 if (is_ethertype(ether_type)) { ath6kl_process_uapsdq()
141 ether_type = be16_to_cpu(llc_hdr->eth_type); ath6kl_process_uapsdq()
145 if (ether_type == IP_ETHERTYPE) ath6kl_process_uapsdq()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A Dbase.c1324 u16 ether_type; rtl_is_special_data() local
1351 ether_type = be16_to_cpup((__be16 *)(skb->data + offset)); rtl_is_special_data()
1353 if (ETH_P_IP == ether_type) { rtl_is_special_data()
1375 } else if (ETH_P_ARP == ether_type) { rtl_is_special_data()
1380 } else if (ETH_P_PAE == ether_type) { rtl_is_special_data()
1392 } else if (ETH_P_IPV6 == ether_type) { rtl_is_special_data()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dmcg.c854 rule_hw->eth.ether_type = spec->eth.ether_type; parse_trans_rule()
917 if (cur->eth.ether_type) mlx4_err_rule()
920 be16_to_cpu(cur->eth.ether_type)); mlx4_err_rule()
H A Den_ethtool.c1457 spec_l2->eth.ether_type = eth_spec->h_proto; mlx4_en_ethtool_to_net_trans_rule()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Drtw_xmit.h120 u16 ether_type; member in struct:pkt_attrib
/linux-4.1.27/drivers/staging/slicoss/
H A Dslic.h290 ushort ether_type; member in struct:ether_header
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Drtw_xmit.h119 u16 ether_type; member in struct:pkt_attrib
/linux-4.1.27/include/uapi/rdma/
H A Dib_user_verbs.h756 __be16 ether_type; member in struct:ib_uverbs_flow_eth_filter
/linux-4.1.27/include/linux/mlx4/
H A Ddevice.h1138 __be16 ether_type; member in struct:mlx4_spec_eth
1235 __be16 ether_type; member in struct:mlx4_net_trans_rule_hw_eth
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c1916 u16 ether_type = ntohs(hdr->h_proto); bnx2x_select_queue() local
1919 if (ether_type == ETH_P_8021Q) { bnx2x_select_queue()
1923 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto); bnx2x_select_queue()
1927 if ((ether_type == ETH_P_FCOE) || (ether_type == ETH_P_FIP)) bnx2x_select_queue()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dtdls.c436 tf->ether_type = cpu_to_be16(ETH_P_TDLS); mwifiex_prep_tdls_encap_data()
/linux-4.1.27/net/mac80211/
H A Dtdls.c682 tf->ether_type = cpu_to_be16(ETH_P_TDLS); ieee80211_prep_tdls_encap_data()
/linux-4.1.27/include/linux/
H A Dieee80211.h1097 __be16 ether_type; member in struct:ieee80211_tdls_data
H A Dnetdevice.h1971 __be16 type; /* This is really htons(ether_type). */
1992 __be16 type; /* This is really htons(ether_type). */
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dniu.c2924 u64 ether_type)
2931 (ether_type & ~(u64)0xffff) != 0)
2937 val |= (ether_type << L2_CLS_ETYPE_SHIFT);
/linux-4.1.27/include/rdma/
H A Dib_verbs.h1334 __be16 ether_type; member in struct:ib_flow_eth_filter

Completed in 1585 milliseconds