Home
last modified time | relevance | path

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

123

/Linux-v5.4/arch/m68k/mac/
Dconfig.c411 .ether_type = MAC_ETHER_SONIC,
431 .ether_type = MAC_ETHER_SONIC,
443 .ether_type = MAC_ETHER_SONIC,
453 .ether_type = MAC_ETHER_SONIC,
463 .ether_type = MAC_ETHER_MACE,
473 .ether_type = MAC_ETHER_SONIC,
483 .ether_type = MAC_ETHER_SONIC,
589 .ether_type = MAC_ETHER_SONIC,
599 .ether_type = MAC_ETHER_SONIC,
609 .ether_type = MAC_ETHER_MACE,
[all …]
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dfilter.h138 __be16 ether_type; member
187 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_local()
212 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_full()
Dethtool.c812 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
839 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
886 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule()
890 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
910 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
1062 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1097 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1133 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1158 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1200 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
Drx.c857 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs()
880 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs()
958 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient()
961 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c238 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
239 (pattrib->ether_type != 0x0806) && in update_txdesc()
240 (pattrib->ether_type != 0x88b4) && in update_txdesc()
344 (pxmitframe->attrib.ether_type != 0x0806) && in rtw_dump_xframe()
345 (pxmitframe->attrib.ether_type != 0x888e) && in rtw_dump_xframe()
346 (pxmitframe->attrib.ether_type != 0x88b4) && in rtw_dump_xframe()
566 if ((pfirstframe->attrib.ether_type != 0x0806) && in rtl8188eu_xmitframe_complete()
567 (pfirstframe->attrib.ether_type != 0x888e) && in rtl8188eu_xmitframe_complete()
568 (pfirstframe->attrib.ether_type != 0x88b4) && in rtl8188eu_xmitframe_complete()
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c250 __be16 ether_type; in libipw_xmit() local
281 ether_type = ((struct ethhdr *)skb->data)->h_proto; in libipw_xmit()
285 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit()
292 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { in libipw_xmit()
351 ether_type); in libipw_xmit()
474 ether_type); in libipw_xmit()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dfilter.h164 __be16 ether_type; member
213 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local()
238 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
Dethtool.c835 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
862 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
909 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
913 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
933 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
1127 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1162 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1198 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1223 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1265 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
Drx.c869 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
935 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs()
1053 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
1056 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
/Linux-v5.4/drivers/firewire/
Dnet.c89 unsigned ether_type) in fwnet_make_uf_hdr() argument
92 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_uf_hdr()
96 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument
100 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_ff_hdr()
127 u16 ether_type; member
485 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument
491 switch (ether_type) { in fwnet_finish_incoming_packet()
512 if (dev_hard_header(skb, net, ether_type, in fwnet_finish_incoming_packet()
580 u16 ether_type; in fwnet_incoming_packet() local
593 ether_type = fwnet_get_hdr_ether_type(&hdr); in fwnet_incoming_packet()
[all …]
/Linux-v5.4/drivers/staging/rtl8192e/
Drtllib_tx.c557 int ether_type = 0, encrypt; in rtllib_xmit_inter() local
599 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in rtllib_xmit_inter()
617 if (ether_type == ETH_P_IP) { in rtllib_xmit_inter()
633 } else if (ether_type == ETH_P_ARP) { in rtllib_xmit_inter()
644 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in rtllib_xmit_inter()
647 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in rtllib_xmit_inter()
651 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
832 sizeof(u16)), ether_type); in rtllib_xmit_inter()
889 if (ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c538 int ether_type = 0, encrypt; in ieee80211_xmit() local
574 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit()
578 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in ieee80211_xmit()
582 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in ieee80211_xmit()
587 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in ieee80211_xmit()
750 ether_type); in ieee80211_xmit()
/Linux-v5.4/drivers/staging/rtl8712/
Drtl8712_xmit.c293 if (pxmitframe->attrib.ether_type != 0x0806) { in r8712_append_mpdu_unit()
294 if ((pxmitframe->attrib.ether_type != 0x888e) && in r8712_append_mpdu_unit()
519 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
520 (pattrib->ether_type != 0x0806) && in update_txdesc()
697 if (pxmitframe->attrib.ether_type != 0x0806) { in dump_xframe()
698 if (pxmitframe->attrib.ether_type != 0x888e) in dump_xframe()
Dxmit_linux.c76 if (pattrib->ether_type == 0x0800) { in r8712_set_qos()
86 if (pattrib->ether_type == 0x888e) in r8712_set_qos()
Drtl871x_xmit.c195 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib()
201 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib()
226 if (pattrib->ether_type != 0x8712) in r8712_update_attrib()
239 if (pattrib->ether_type == ETH_P_IP) { in r8712_update_attrib()
249 if (pattrib->ether_type == ETH_P_IP) {/* IP header*/ in r8712_update_attrib()
302 if ((pattrib->ether_type != 0x888e) && in r8712_update_attrib()
614 if (pattrib->ether_type == 0x8712) { in r8712_xmitframe_coalesce()
665 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); in r8712_xmitframe_coalesce()
Drtl871x_recv.c237 u16 ether_type; in r8712_portctrl() local
248 ether_type = get_unaligned_be16(ptr); in r8712_portctrl()
254 if (ether_type == 0x888e) { in r8712_portctrl()
269 if (ether_type == 0x888e) { in r8712_portctrl()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c393 u16 ether_type; in qedr_gsi_build_header() local
414 ether_type = ETH_P_IBOE; in qedr_gsi_build_header()
419 ether_type = ETH_P_IP; in qedr_gsi_build_header()
425 ether_type = ETH_P_IPV6; in qedr_gsi_build_header()
442 udh->vlan.type = htons(ether_type); in qedr_gsi_build_header()
444 udh->eth.type = htons(ether_type); in qedr_gsi_build_header()
/Linux-v5.4/arch/m68k/include/asm/
Dmacintosh.h40 char ether_type; member
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_xmit.c374 if (pattrib->ether_type == 0x0800) { in set_qos()
379 } else if (pattrib->ether_type == ETH_P_PAE) { in set_qos()
407 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
428 if (pattrib->ether_type == ETH_P_IP) { in update_attrib()
439 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib()
450 } else if (pattrib->ether_type == ETH_P_PAE) { in update_attrib()
454 if ((pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt == 1)) in update_attrib()
458 …if ((pattrib->ether_type == ETH_P_ARP) || (pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt… in update_attrib()
514 if (pattrib->ether_type != ETH_P_PAE) { in update_attrib()
515 …psta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != ETH_P_PAE\n", pattrib->ether_type)); in update_attrib()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_xmit.c520 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info()
521 …"\npsta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != 0x888e\n", pattrib->ether_type)); in update_attrib_sec_info()
523 …ieee8021x_blocked == true, pattrib->ether_type(%04x) != 0x888e\n", __func__, pattrib->ether_type); in update_attrib_sec_info()
549 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info()
666 if (pattrib->ether_type == 0x0800) { in set_qos()
694 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
719 if (ETH_P_IP == pattrib->ether_type) { in update_attrib()
729 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib()
753 } else if (0x888e == pattrib->ether_type) { in update_attrib()
757 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
[all …]
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.h24 __be16 ether_type; member
Dbnxt_tc.c191 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow()
192 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow()
411 req.ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc()
433 flow_flags |= flow->l2_key.ether_type == htons(ETH_P_IP) ? in bnxt_hwrm_cfa_flow_alloc()
807 if (!is_exactmatch(&flow->l2_mask.ether_type, in bnxt_tc_can_offload()
808 sizeof(flow->l2_mask.ether_type))) { in bnxt_tc_can_offload()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1499 u16 ether_type; in rtl_is_special_data() local
1507 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data()
1509 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
1533 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data()
1538 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data()
1555 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data()
1599 u16 ether_type; in rtl_is_tx_report_skb() local
1604 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb()
1606 if (ether_type == ETH_P_PAE || ieee80211_is_nullfunc(fc)) in rtl_is_tx_report_skb()
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c568 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit()
569 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
/Linux-v5.4/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()

123