Home
last modified time | relevance | path

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

12

/linux/arch/m68k/mac/
H A Dconfig.c385 .ether_type = MAC_ETHER_SONIC,
405 .ether_type = MAC_ETHER_SONIC,
417 .ether_type = MAC_ETHER_SONIC,
427 .ether_type = MAC_ETHER_SONIC,
437 .ether_type = MAC_ETHER_MACE,
447 .ether_type = MAC_ETHER_SONIC,
457 .ether_type = MAC_ETHER_SONIC,
563 .ether_type = MAC_ETHER_SONIC,
573 .ether_type = MAC_ETHER_SONIC,
583 .ether_type
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dfilter.h134 * @ether_type: Ether-type to match, if %EFX_FILTER_MATCH_ETHER_TYPE is set
164 __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()
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 in efx_ethtool_set_class_rule()
[all...]
H 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()
H A Dptp.c210 * @ether_type: Network protocol of the filter (ETHER_P_IP / ETHER_P_IPV6)
218 __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/drivers/net/ethernet/sfc/falcon/
H A Dfilter.h111 * @ether_type: Ether-type to match, if %EF4_FILTER_MATCH_ETHER_TYPE is set
138 __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()
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 in ef4_ethtool_set_class_rule()
[all...]
H 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()
/linux/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/drivers/net/ethernet/sfc/siena/
H A Dfilter.h135 * @ether_type: Ether-type to match, if %EFX_FILTER_MATCH_ETHER_TYPE is set
164 __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 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()
/linux/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()
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
480 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument
484 switch (ether_type) { in fwnet_finish_incoming_packet()
503 if (dev_hard_header(skb, net, ether_type, in fwnet_finish_incoming_packet()
573 u16 ether_type; in fwnet_incoming_packet() local
586 ether_type in fwnet_incoming_packet()
[all...]
/linux/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/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/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/arch/m68k/include/asm/
H A Dmacintosh.h40 char ether_type; member
/linux/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/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.h24 __be16 ether_type; member
/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c481 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit()
482 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_fdir.h157 __be16 ether_type; /* for NON_IP_L2 */ member
/linux/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()
/linux/include/linux/mlx5/
H A Dmlx5_ifc_fpga.h191 u8 ether_type[0x10]; member
/linux/drivers/net/wireless/ath/ath6kl/
H 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()

12