Home
last modified time | relevance | path

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

123

/linux-6.15/arch/m68k/mac/
H A Dconfig.c387 .ether_type = MAC_ETHER_SONIC,
407 .ether_type = MAC_ETHER_SONIC,
419 .ether_type = MAC_ETHER_SONIC,
429 .ether_type = MAC_ETHER_SONIC,
439 .ether_type = MAC_ETHER_MACE,
449 .ether_type = MAC_ETHER_SONIC,
459 .ether_type = MAC_ETHER_SONIC,
565 .ether_type = MAC_ETHER_SONIC,
575 .ether_type = MAC_ETHER_SONIC,
585 .ether_type = MAC_ETHER_MACE,
[all …]
/linux-6.15/drivers/net/ethernet/sfc/
H 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()
H 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()
960 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
995 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1031 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1056 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1098 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
H A Drx_common.c607 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
610 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
860 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
876 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
948 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs()
H 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()
/linux-6.15/drivers/net/ethernet/sfc/falcon/
H 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()
H 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()
1063 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1098 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1134 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1159 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1201 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
H A Drx.c869 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs()
892 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs()
970 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient()
973 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
/linux-6.15/drivers/net/wireless/intel/ipw2x00/
H 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()
/linux-6.15/drivers/net/ethernet/sfc/siena/
H 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()
H 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()
949 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
984 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1020 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1045 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1087 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
H A Drx_common.c594 if (spec->ether_type == htons(ETH_P_IP) && in efx_siena_filter_is_mc_recipient()
597 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_siena_filter_is_mc_recipient()
850 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
866 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
939 req->spec.ether_type = fk.basic.n_proto; in efx_siena_filter_rfs()
/linux-6.15/drivers/firewire/
H 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 …]
/linux-6.15/drivers/net/ethernet/engleder/
H 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()
H A Dtsnep.h51 u16 ether_type; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs_tt_redirect.h22 u32 tir_num, u16 ether_type);
H 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()
/linux-6.15/drivers/infiniband/hw/qedr/
H 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()
/linux-6.15/arch/m68k/include/asm/
H A Dmacintosh.h40 char ether_type; member
/linux-6.15/drivers/staging/rtl8723bs/core/
H 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()
1081 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
1998 if (attrib->ether_type == 0x0806 || in xmitframe_hiq_filter()
[all …]
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/
H 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()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.h24 __be16 ether_type; member
/linux-6.15/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c494 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit()
495 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_fdir.h157 __be16 ether_type; /* for NON_IP_L2 */ member
/linux-6.15/tools/virtio/
H A Dvhost_net_test.c225 eh->ether_type = htons(TEST_PTYPE); in vdev_info_init()
387 if (eh->ether_type == htons(TEST_PTYPE)) { in run_rx_test()

123