Home
last modified time | relevance | path

Searched refs:ether_type (Results 1 – 25 of 46) 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 = MAC_ETHER_MACE,
[all …]
/linux/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()
964 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
999 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1035 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1060 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1102 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
H A Drx_common.c602 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
605 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
855 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
871 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
943 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/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/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()
1074 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1109 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1145 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1170 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1212 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
H A Drx.c868 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs()
891 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs()
969 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient()
972 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
/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 = fwnet_get_hdr_ether_type(&hdr); in fwnet_incoming_packet()
[all …]
/linux/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()
955 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
990 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1026 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1051 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1093 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
H A Drx_common.c589 if (spec->ether_type == htons(ETH_P_IP) && in efx_siena_filter_is_mc_recipient()
592 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_siena_filter_is_mc_recipient()
845 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
861 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
934 req->spec.ether_type = fk.basic.n_proto; in efx_siena_filter_rfs()
/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()
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c389 u16 ether_type; in qedr_gsi_build_header() local
410 ether_type = ETH_P_IBOE; in qedr_gsi_build_header()
415 ether_type = ETH_P_IP; in qedr_gsi_build_header()
421 ether_type = ETH_P_IPV6; in qedr_gsi_build_header()
438 udh->vlan.type = htons(ether_type); in qedr_gsi_build_header()
440 udh->eth.type = htons(ether_type); in qedr_gsi_build_header()
/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/arch/m68k/include/asm/
H A Dmacintosh.h40 char ether_type; member
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c488 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info()
513 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info()
616 if (pattrib->ether_type == 0x0800) { in set_qos()
648 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
667 if (pattrib->ether_type == ETH_P_IP) { in update_attrib()
679 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib()
697 } else if (pattrib->ether_type == 0x888e) { in update_attrib()
701 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
1114 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
2029 if (attrib->ether_type == 0x0806 || in xmitframe_hiq_filter()
[all …]
/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/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/drivers/net/ethernet/intel/ice/
H A Dice_fdir.h157 __be16 ether_type; /* for NON_IP_L2 */ 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()
/linux/include/linux/mlx5/
H A Dmlx5_ifc_fpga.h191 u8 ether_type[0x10]; member

12