Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/sfc/
A Dfilter.h164 __be16 ether_type; member
213 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local()
234 spec->ether_type = htons(ETH_P_IPV6); in efx_filter_set_ipv6_local()
259 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
A Dethtool_common.c665 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
692 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
739 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
743 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
763 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
961 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
996 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1032 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1057 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1099 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
A Drx_common.c604 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
607 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
857 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
873 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
945 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs()
A Dptp.c218 __be16 ether_type; member
1214 if (rxfilter->ether_type == spec->ether_type && in efx_ptp_find_filter()
1275 rxfilter->ether_type = spec->ether_type; in efx_ptp_insert_filter()
1323 spec.ether_type = htons(ETH_P_1588); in efx_ptp_insert_eth_multicast_filter()
A Dmcdi_filters.c72 if (spec->ether_type == htons(ETH_P_IP) && in efx_mcdi_filter_is_exclusive()
75 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_mcdi_filter_is_exclusive()
134 __be16 ether_type = in efx_mcdi_filter_push_prep_set_match_fields() local
145 COPY_VALUE(ether_type, ETHER_TYPE); in efx_mcdi_filter_push_prep_set_match_fields()
158 COPY_VALUE(ether_type, ETHER_TYPE); in efx_mcdi_filter_push_prep_set_match_fields()
184 COPY_FIELD(ETHER_TYPE, ether_type, ETHER_TYPE); in efx_mcdi_filter_push_prep_set_match_fields()
/drivers/firewire/
A Dnet.c89 unsigned ether_type) in fwnet_make_uf_hdr() argument
92 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_uf_hdr()
127 u16 ether_type; member
480 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument
484 switch (ether_type) { in fwnet_finish_incoming_packet()
573 u16 ether_type; in fwnet_incoming_packet() local
600 is_broadcast, ether_type); in fwnet_incoming_packet()
615 ether_type = 0; in fwnet_incoming_packet()
678 pd->ether_type = ether_type; in fwnet_incoming_packet()
681 ether_type = pd->ether_type; in fwnet_incoming_packet()
[all …]
/drivers/net/wireless/intel/ipw2x00/
A Dlibipw_tx.c249 __be16 ether_type; in libipw_xmit() local
280 ether_type = ((struct ethhdr *)skb->data)->h_proto; in libipw_xmit()
284 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit()
291 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { in libipw_xmit()
350 ether_type); in libipw_xmit()
473 ether_type); in libipw_xmit()
/drivers/net/ethernet/sfc/falcon/
A 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()
A Dethtool.c813 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
840 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
887 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule()
891 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
911 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
1071 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1106 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1142 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1167 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1209 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
A Drx.c870 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs()
893 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs()
971 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient()
974 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
/drivers/net/ethernet/sfc/siena/
A 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()
A Dethtool_common.c666 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
693 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
740 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
744 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
764 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
952 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
987 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1023 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1048 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1090 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
A Drx_common.c591 if (spec->ether_type == htons(ETH_P_IP) && in efx_siena_filter_is_mc_recipient()
594 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_siena_filter_is_mc_recipient()
847 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
863 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
936 req->spec.ether_type = fk.basic.n_proto; in efx_siena_filter_rfs()
/drivers/net/ethernet/engleder/
A Dtsnep_rxnfc.c20 iowrite16(rule->filter.ether_type, addr); in tsnep_enable_rule()
115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type); in tsnep_rxnfc_get_rule()
180 rule->filter.ether_type = ntohs(fsp->h_u.ether_spec.h_proto); in tsnep_rxnfc_init_rule()
A Dtsnep.h51 u16 ether_type; member
/drivers/infiniband/hw/qedr/
A Dqedr_roce_cm.c391 u16 ether_type; in qedr_gsi_build_header() local
412 ether_type = ETH_P_IBOE; in qedr_gsi_build_header()
417 ether_type = ETH_P_IP; in qedr_gsi_build_header()
423 ether_type = ETH_P_IPV6; in qedr_gsi_build_header()
440 udh->vlan.type = htons(ether_type); in qedr_gsi_build_header()
442 udh->eth.type = htons(ether_type); in qedr_gsi_build_header()
/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs_tt_redirect.c356 static void fs_any_set_ethertype_flow(struct mlx5_flow_spec *spec, u16 ether_type) in fs_any_set_ethertype_flow() argument
360 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, ether_type); in fs_any_set_ethertype_flow()
365 u32 tir_num, u16 ether_type) in mlx5e_fs_tt_redirect_any_add_rule() argument
381 fs_any_set_ethertype_flow(spec, ether_type); in mlx5e_fs_tt_redirect_any_add_rule()
A Dfs_tt_redirect.h22 u32 tir_num, u16 ether_type);
/drivers/staging/rtl8723bs/core/
A Drtw_xmit.c484 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info()
509 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info()
609 if (pattrib->ether_type == 0x0800) { in set_qos()
633 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
652 if (pattrib->ether_type == ETH_P_IP) { in update_attrib()
662 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib()
680 } else if (pattrib->ether_type == 0x888e) { in update_attrib()
684 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
1084 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
1996 if (attrib->ether_type == 0x0806 || in xmitframe_hiq_filter()
[all …]
/drivers/net/wireless/realtek/rtlwifi/
A Dbase.c1495 u16 ether_type; in rtl_is_special_data() local
1503 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data()
1505 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
1529 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data()
1534 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data()
1551 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data()
1595 u16 ether_type; in rtl_is_tx_report_skb() local
1600 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb()
1602 if (ether_type == ETH_P_PAE || ieee80211_is_nullfunc(fc)) in rtl_is_tx_report_skb()
/drivers/staging/rtl8723bs/hal/
A Drtl8723bs_xmit.c481 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit()
482 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_tc.h24 __be16 ether_type; member
A Dbnxt_tc.c391 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow()
392 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow()
686 req->ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc()
708 flow_flags |= flow->l2_key.ether_type == htons(ETH_P_IP) ? in bnxt_hwrm_cfa_flow_alloc()
1085 if (!is_exactmatch(&flow->l2_mask.ether_type, in bnxt_tc_can_offload()
1086 sizeof(flow->l2_mask.ether_type))) { in bnxt_tc_can_offload()
/drivers/net/ethernet/intel/ice/
A Dice_fdir.h157 __be16 ether_type; /* for NON_IP_L2 */ member
/drivers/net/wireless/ath/ath6kl/
A 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()

Completed in 70 milliseconds

12