| /linux/arch/m68k/mac/ |
| H A D | config.c | 385 .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 D | filter.h | 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 D | ethtool_common.c | 665 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()
|
| H A D | rx_common.c | 604 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 D | ptp.c | 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()
|
| H A D | mcdi_filters.c | 72 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()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | filter.h | 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 D | ethtool.c | 813 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()
|
| H A D | rx.c | 870 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/firewire/ |
| H A D | net.c | 89 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 D | filter.h | 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 D | ethtool_common.c | 666 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()
|
| H A D | rx_common.c | 591 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/net/ethernet/engleder/ |
| H A D | tsnep_rxnfc.c | 20 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 D | qedr_roce_cm.c | 391 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | fs_tt_redirect.h | 22 u32 tir_num, u16 ether_type);
|
| H A D | fs_tt_redirect.c | 356 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 D | macintosh.h | 40 char ether_type; member
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.h | 24 __be16 ether_type; member
|
| H A D | bnxt_tc.c | 391 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()
|
| /linux/tools/virtio/ |
| H A D | vhost_net_test.c | 225 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 D | ice_fdir.h | 157 __be16 ether_type; /* for NON_IP_L2 */ member
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | txrx.c | 111 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 D | mlx5_ifc_fpga.h | 191 u8 ether_type[0x10]; member
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | mcg.c | 855 rule_hw->eth.ether_type = spec->eth.ether_type; in parse_trans_rule() 918 if (cur->eth.ether_type) in mlx4_err_rule() 921 be16_to_cpu(cur->eth.ether_type)); in mlx4_err_rule()
|