Home
last modified time | relevance | path

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

123

/Linux-v5.10/arch/m68k/mac/
Dconfig.c394 .ether_type = MAC_ETHER_SONIC,
414 .ether_type = MAC_ETHER_SONIC,
426 .ether_type = MAC_ETHER_SONIC,
436 .ether_type = MAC_ETHER_SONIC,
446 .ether_type = MAC_ETHER_MACE,
456 .ether_type = MAC_ETHER_SONIC,
466 .ether_type = MAC_ETHER_SONIC,
572 .ether_type = MAC_ETHER_SONIC,
582 .ether_type = MAC_ETHER_SONIC,
592 .ether_type = MAC_ETHER_MACE,
[all …]
/Linux-v5.10/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.c809 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
836 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
883 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule()
887 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
907 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
1059 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1094 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1130 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1155 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1197 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
Drx.c859 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs()
882 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs()
960 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient()
963 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c236 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
237 (pattrib->ether_type != 0x0806) && in update_txdesc()
238 (pattrib->ether_type != 0x88b4) && in update_txdesc()
342 (pxmitframe->attrib.ether_type != 0x0806) && in rtw_dump_xframe()
343 (pxmitframe->attrib.ether_type != 0x888e) && in rtw_dump_xframe()
344 (pxmitframe->attrib.ether_type != 0x88b4) && in rtw_dump_xframe()
564 if ((pfirstframe->attrib.ether_type != 0x0806) && in rtl8188eu_xmitframe_complete()
565 (pfirstframe->attrib.ether_type != 0x888e) && in rtl8188eu_xmitframe_complete()
566 (pfirstframe->attrib.ether_type != 0x88b4) && in rtl8188eu_xmitframe_complete()
/Linux-v5.10/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.10/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_common.c677 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
704 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
751 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
755 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
775 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
972 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1007 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1043 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1068 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1110 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
Drx_common.c649 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
652 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
904 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
920 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
992 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs()
/Linux-v5.10/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
489 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument
495 switch (ether_type) { in fwnet_finish_incoming_packet()
516 if (dev_hard_header(skb, net, ether_type, in fwnet_finish_incoming_packet()
584 u16 ether_type; in fwnet_incoming_packet() local
597 ether_type = fwnet_get_hdr_ether_type(&hdr); in fwnet_incoming_packet()
[all …]
/Linux-v5.10/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.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c537 int ether_type = 0, encrypt; in ieee80211_xmit() local
572 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit()
576 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in ieee80211_xmit()
580 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in ieee80211_xmit()
585 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in ieee80211_xmit()
747 ether_type); in ieee80211_xmit()
/Linux-v5.10/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.c194 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib()
200 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib()
225 if (pattrib->ether_type != 0x8712) in r8712_update_attrib()
238 if (pattrib->ether_type == ETH_P_IP) { in r8712_update_attrib()
248 if (pattrib->ether_type == ETH_P_IP) {/* IP header*/ in r8712_update_attrib()
301 if ((pattrib->ether_type != 0x888e) && in r8712_update_attrib()
608 if (pattrib->ether_type == 0x8712) { in r8712_xmitframe_coalesce()
656 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); in r8712_xmitframe_coalesce()
Drtl871x_recv.c232 u16 ether_type; in r8712_portctrl() local
243 ether_type = get_unaligned_be16(ptr); in r8712_portctrl()
249 if (ether_type == 0x888e) { in r8712_portctrl()
264 if (ether_type == 0x888e) { in r8712_portctrl()
/Linux-v5.10/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.10/arch/m68k/include/asm/
Dmacintosh.h40 char ether_type; member
/Linux-v5.10/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.10/drivers/staging/rtl8723bs/core/
Drtw_xmit.c496 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info()
497 …"\npsta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != 0x888e\n", pattrib->ether_type)); in update_attrib_sec_info()
499 …ieee8021x_blocked == true, pattrib->ether_type(%04x) != 0x888e\n", __func__, pattrib->ether_type); in update_attrib_sec_info()
525 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info()
638 if (pattrib->ether_type == 0x0800) { in set_qos()
664 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
687 if (ETH_P_IP == pattrib->ether_type) { in update_attrib()
697 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib()
719 } else if (0x888e == pattrib->ether_type) { in update_attrib()
723 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
[all …]
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.h24 __be16 ether_type; member
Dbnxt_tc.c386 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow()
387 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow()
677 req.ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc()
699 flow_flags |= flow->l2_key.ether_type == htons(ETH_P_IP) ? in bnxt_hwrm_cfa_flow_alloc()
1073 if (!is_exactmatch(&flow->l2_mask.ether_type, in bnxt_tc_can_offload()
1074 sizeof(flow->l2_mask.ether_type))) { in bnxt_tc_can_offload()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1500 u16 ether_type; in rtl_is_special_data() local
1508 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data()
1510 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
1534 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data()
1539 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data()
1556 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data()
1600 u16 ether_type; in rtl_is_tx_report_skb() local
1605 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb()
1607 if (ether_type == ETH_P_PAE || ieee80211_is_nullfunc(fc)) in rtl_is_tx_report_skb()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c567 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit()
568 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
/Linux-v5.10/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