Home
last modified time | relevance | path

Searched refs:h_u (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c140 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ice_get_ethtool_fdir_entry()
141 fsp->h_u.usr_ip4_spec.proto = 0; in ice_get_ethtool_fdir_entry()
142 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip.v4.l4_header; in ice_get_ethtool_fdir_entry()
143 fsp->h_u.usr_ip4_spec.tos = rule->ip.v4.tos; in ice_get_ethtool_fdir_entry()
144 fsp->h_u.usr_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
145 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
156 fsp->h_u.tcp_ip4_spec.psrc = rule->ip.v4.src_port; in ice_get_ethtool_fdir_entry()
157 fsp->h_u.tcp_ip4_spec.pdst = rule->ip.v4.dst_port; in ice_get_ethtool_fdir_entry()
158 fsp->h_u.tcp_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
159 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
[all …]
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c26 switch (fsp->h_u.usr_ip4_spec.proto) { in aq_rule_is_approve()
36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { in aq_rule_is_approve()
57 memcmp(&fsp1->h_u, &fsp2->h_u, sizeof(fsp2->h_u)) || in aq_match_filter()
249 (fsp->h_u.tcp_ip4_spec.tos || in aq_rule_is_not_support()
250 fsp->h_u.tcp_ip6_spec.tclass)) { in aq_rule_is_not_support()
323 data->ethertype = be16_to_cpu(fsp->h_u.ether_spec.h_proto); in aq_set_data_fl2()
514 ntohl(fsp->h_u.tcp_ip4_spec.ip4src); in aq_set_data_fl3l4()
516 ntohl(fsp->h_u.tcp_ip4_spec.ip4dst); in aq_set_data_fl3l4()
524 ntohl(fsp->h_u.tcp_ip6_spec.ip6dst[i]); in aq_set_data_fl3l4()
526 ntohl(fsp->h_u.tcp_ip6_spec.ip6src[i]); in aq_set_data_fl3l4()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c215 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4()
228 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.udp_ip4_spec; in parse_udp4()
241 struct ethtool_usrip4_spec *l3_val = &fs->h_u.usr_ip4_spec; in parse_ip4()
256 struct ethtool_usrip6_spec *l3_val = &fs->h_u.usr_ip6_spec; in parse_ip6()
271 struct ethtool_tcpip6_spec *l4_val = &fs->h_u.tcp_ip6_spec; in parse_tcp6()
284 struct ethtool_tcpip6_spec *l4_val = &fs->h_u.udp_ip6_spec; in parse_udp6()
297 struct ethhdr *eth_val = &fs->h_u.ether_spec; in parse_ether()
542 fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in validate_ip4()
/Linux-v5.10/drivers/net/ethernet/sfc/
Dethtool_common.c653 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_get_class_rule()
655 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_get_class_rule()
657 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_get_class_rule()
659 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_get_class_rule()
661 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule()
925 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_set_class_rule()
927 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
929 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_set_class_rule()
931 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_set_class_rule()
934 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule()
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dethtool.c785 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in ef4_ethtool_get_class_rule()
787 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_get_class_rule()
789 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in ef4_ethtool_get_class_rule()
791 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_get_class_rule()
793 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_get_class_rule()
1021 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in ef4_ethtool_set_class_rule()
1023 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_set_class_rule()
1025 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in ef4_ethtool_set_class_rule()
1027 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_set_class_rule()
1029 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_set_class_rule()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1367 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
1471 cmd->fs.h_u. in add_ip_rule()
1476 spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; in add_ip_rule()
1479 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule()
1515 cmd->fs.h_u. in add_tcp_udp_rule()
1520 spec_l3->ipv4.src_ip = cmd->fs.h_u.tcp_ip4_spec.ip4src; in add_tcp_udp_rule()
1521 spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; in add_tcp_udp_rule()
1522 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1523 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1527 cmd->fs.h_u. in add_tcp_udp_rule()
[all …]
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1644 fs->h_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1646 fs->h_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1648 memcpy(&fs->h_u.tcp_ip6_spec.ip6src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1649 sizeof(fs->h_u.tcp_ip6_spec.ip6src)); in cxgb4_fill_filter_rule()
1652 memcpy(&fs->h_u.tcp_ip6_spec.ip6dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule()
1653 sizeof(fs->h_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
1656 fs->h_u.tcp_ip6_spec.tclass = dfs->val.tos; in cxgb4_fill_filter_rule()
1659 fs->h_u.tcp_ip4_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1661 fs->h_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1663 memcpy(&fs->h_u.tcp_ip4_spec.ip4src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
[all …]
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c497 err = dpaa2_eth_prep_eth_rule(&fs->h_u.ether_spec, &fs->m_u.ether_spec, in dpaa2_eth_prep_cls_rule()
501 err = dpaa2_eth_prep_uip_rule(&fs->h_u.usr_ip4_spec, in dpaa2_eth_prep_cls_rule()
505 err = dpaa2_eth_prep_l4_rule(&fs->h_u.tcp_ip4_spec, &fs->m_u.tcp_ip4_spec, in dpaa2_eth_prep_cls_rule()
509 err = dpaa2_eth_prep_l4_rule(&fs->h_u.udp_ip4_spec, &fs->m_u.udp_ip4_spec, in dpaa2_eth_prep_cls_rule()
513 err = dpaa2_eth_prep_l4_rule(&fs->h_u.sctp_ip4_spec, in dpaa2_eth_prep_cls_rule()
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c334 l4ip4_h = &fs->h_u.tcp_ip4_spec; in enetc_set_cls_entry()
338 l4ip4_h = &fs->h_u.udp_ip4_spec; in enetc_set_cls_entry()
342 l4ip4_h = &fs->h_u.sctp_ip4_spec; in enetc_set_cls_entry()
359 l3ip4_h = &fs->h_u.usr_ip4_spec; in enetc_set_cls_entry()
372 eth_h = &fs->h_u.ether_spec; in enetc_set_cls_entry()
/Linux-v5.10/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c439 fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys); in enic_grxclsrule()
442 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); in enic_grxclsrule()
445 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule()
448 fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; in enic_grxclsrule()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1099 gfar_set_basic_ip(&rule->h_u.tcp_ip4_spec, in gfar_convert_to_filer()
1105 gfar_set_basic_ip(&rule->h_u.udp_ip4_spec, in gfar_convert_to_filer()
1112 gfar_set_basic_ip((struct ethtool_tcpip4_spec *)&rule->h_u, in gfar_convert_to_filer()
1119 gfar_set_user_ip((struct ethtool_usrip4_spec *) &rule->h_u, in gfar_convert_to_filer()
1126 gfar_set_ether((struct ethhdr *) &rule->h_u, in gfar_convert_to_filer()
1206 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()
/Linux-v5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c633 &fs->h_u.ether_spec.h_dest, in bcmgenet_hfb_create_rxnfc_filter()
635 sizeof(fs->h_u.ether_spec.h_dest)); in bcmgenet_hfb_create_rxnfc_filter()
637 &fs->h_u.ether_spec.h_source, in bcmgenet_hfb_create_rxnfc_filter()
639 sizeof(fs->h_u.ether_spec.h_source)); in bcmgenet_hfb_create_rxnfc_filter()
641 &fs->h_u.ether_spec.h_proto, in bcmgenet_hfb_create_rxnfc_filter()
643 sizeof(fs->h_u.ether_spec.h_proto)); in bcmgenet_hfb_create_rxnfc_filter()
653 &fs->h_u.usr_ip4_spec.tos, in bcmgenet_hfb_create_rxnfc_filter()
655 sizeof(fs->h_u.usr_ip4_spec.tos)); in bcmgenet_hfb_create_rxnfc_filter()
657 &fs->h_u.usr_ip4_spec.proto, in bcmgenet_hfb_create_rxnfc_filter()
659 sizeof(fs->h_u.usr_ip4_spec.proto)); in bcmgenet_hfb_create_rxnfc_filter()
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1357 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1358 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1359 fsp->h_u.tcp_ip4_spec.ip4src = fltr->tuple.src_ipv4; in qede_get_cls_rule_entry()
1360 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; in qede_get_cls_rule_entry()
1366 fsp->h_u.tcp_ip6_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1367 fsp->h_u.tcp_ip6_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1368 memcpy(&fsp->h_u.tcp_ip6_spec.ip6src, in qede_get_cls_rule_entry()
1370 memcpy(&fsp->h_u.tcp_ip6_spec.ip6dst, in qede_get_cls_rule_entry()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2545 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
2546 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2553 fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; in ixgbe_get_ethtool_fdir_entry()
2555 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry()
2557 fsp->h_u.tcp_ip4_spec.ip4src = rule->filter.formatted.src_ip[0]; in ixgbe_get_ethtool_fdir_entry()
2559 fsp->h_u.tcp_ip4_spec.ip4dst = rule->filter.formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry()
2746 switch (fsp->h_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type()
2840 input->filter.formatted.src_ip[0] = fsp->h_u.tcp_ip4_spec.ip4src; in ixgbe_add_ethtool_fdir_entry()
2842 input->filter.formatted.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; in ixgbe_add_ethtool_fdir_entry()
2844 input->filter.formatted.src_port = fsp->h_u.tcp_ip4_spec.psrc; in ixgbe_add_ethtool_fdir_entry()
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c955 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule()
966 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igc_ethtool_get_nfc_rule()
972 ether_addr_copy(fsp->h_u.ether_spec.h_source, in igc_ethtool_get_nfc_rule()
1195 rule->filter.etype = ntohs(fsp->h_u.ether_spec.h_proto); in igc_ethtool_init_nfc_rule()
1205 fsp->h_u.ether_spec.h_source); in igc_ethtool_init_nfc_rule()
1211 fsp->h_u.ether_spec.h_dest); in igc_ethtool_init_nfc_rule()
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3220 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry()
3221 fsp->h_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry()
3228 fsp->h_u.tcp_ip4_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry()
3229 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
3230 fsp->h_u.tcp_ip4_spec.ip4src = rule->dst_ip; in i40e_get_ethtool_fdir_entry()
3231 fsp->h_u.tcp_ip4_spec.ip4dst = rule->src_ip; in i40e_get_ethtool_fdir_entry()
4528 input->dst_ip = fsp->h_u.tcp_ip4_spec.ip4src; in i40e_add_fdir_ethtool()
4529 input->src_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in i40e_add_fdir_ethtool()
4531 input->ip4_proto = fsp->h_u.usr_ip4_spec.proto; in i40e_add_fdir_ethtool()
4536 input->dst_port = fsp->h_u.tcp_ip4_spec.psrc; in i40e_add_fdir_ethtool()
[all …]
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5544 ret = hclge_fd_check_tcpip4_tuple(&fs->h_u.tcp_ip4_spec, in hclge_fd_check_spec()
5548 ret = hclge_fd_check_ip4_tuple(&fs->h_u.usr_ip4_spec, in hclge_fd_check_spec()
5554 ret = hclge_fd_check_tcpip6_tuple(&fs->h_u.tcp_ip6_spec, in hclge_fd_check_spec()
5558 ret = hclge_fd_check_ip6_tuple(&fs->h_u.usr_ip6_spec, in hclge_fd_check_spec()
5569 ret = hclge_fd_check_ether_tuple(&fs->h_u.ether_spec, in hclge_fd_check_spec()
5668 be32_to_cpu(fs->h_u.tcp_ip4_spec.ip4src); in hclge_fd_get_tuple()
5673 be32_to_cpu(fs->h_u.tcp_ip4_spec.ip4dst); in hclge_fd_get_tuple()
5677 rule->tuples.src_port = be16_to_cpu(fs->h_u.tcp_ip4_spec.psrc); in hclge_fd_get_tuple()
5681 rule->tuples.dst_port = be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst); in hclge_fd_get_tuple()
5685 rule->tuples.ip_tos = fs->h_u.tcp_ip4_spec.tos; in hclge_fd_get_tuple()
[all …]
/Linux-v5.10/include/uapi/linux/
Dethtool.h994 union ethtool_flow_union h_u; member
1189 } h_u, m_u; member
/Linux-v5.10/include/linux/
Dethtool.h24 union ethtool_flow_union h_u; member
/Linux-v5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1889 (!fsp->h_u.tcp_ip4_spec.ip4dst) || in mtk_hwlro_add_ipaddr()
1893 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr()
1950 fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]); in mtk_hwlro_get_fdir_entry()
1953 fsp->h_u.tcp_ip4_spec.ip4src = 0; in mtk_hwlro_get_fdir_entry()
1955 fsp->h_u.tcp_ip4_spec.psrc = 0; in mtk_hwlro_get_fdir_entry()
1957 fsp->h_u.tcp_ip4_spec.pdst = 0; in mtk_hwlro_get_fdir_entry()
1959 fsp->h_u.tcp_ip4_spec.tos = 0; in mtk_hwlro_get_fdir_entry()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1006 fs->h_u.tcp_ip4_spec.ip4src = fkeys->addrs.v4addrs.src; in bnxt_grxclsrule()
1009 fs->h_u.tcp_ip4_spec.ip4dst = fkeys->addrs.v4addrs.dst; in bnxt_grxclsrule()
1012 fs->h_u.tcp_ip4_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
1015 fs->h_u.tcp_ip4_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1027 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6src[0] = in bnxt_grxclsrule()
1029 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1035 fs->h_u.tcp_ip6_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
1038 fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
/Linux-v5.10/drivers/net/ethernet/sun/
Dniu.c7083 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7086 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7094 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key()
7105 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7109 fsp->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
7123 fsp->h_u.ah_ip4_spec.spi = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7132 fsp->h_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7138 fsp->h_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key()
7145 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in niu_get_ip4fs_from_tcam_key()
7351 sip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4src); in niu_get_tcamkey_from_ip4fs()
[all …]
/Linux-v5.10/drivers/net/ethernet/cadence/
Dmacb_main.c3114 tp4sp_v = &(fs->h_u.tcp_ip4_spec); in gem_prog_cmp_regs()
3203 htonl(fs->h_u.tcp_ip4_spec.ip4src), in gem_add_flow_filter()
3204 htonl(fs->h_u.tcp_ip4_spec.ip4dst), in gem_add_flow_filter()
3205 htons(fs->h_u.tcp_ip4_spec.psrc), htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter()
3256 htonl(fs->h_u.tcp_ip4_spec.ip4src), in gem_del_flow_filter()
3257 htonl(fs->h_u.tcp_ip4_spec.ip4dst), in gem_del_flow_filter()
3258 htons(fs->h_u.tcp_ip4_spec.psrc), in gem_del_flow_filter()
3259 htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_del_flow_filter()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2463 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry()
2472 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igb_get_ethtool_nfc_entry()
2480 ether_addr_copy(fsp->h_u.ether_spec.h_source, in igb_get_ethtool_nfc_entry()
2939 input->filter.etype = fsp->h_u.ether_spec.h_proto; in igb_add_ethtool_nfc_entry()
2947 fsp->h_u.ether_spec.h_source); in igb_add_ethtool_nfc_entry()
2954 fsp->h_u.ether_spec.h_dest); in igb_add_ethtool_nfc_entry()
/Linux-v5.10/drivers/net/dsa/
Dbcm_sf2_cfp.c613 ret = memcmp(&rule->fs.h_u, &fs->h_u, fs_size); in bcm_sf2_cfp_rule_cmp()

12