Searched refs:h_u (Results 1 – 9 of 9) sorted by relevance
1241 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()1346 cmd->fs.h_u. in add_ip_rule()1351 spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; in add_ip_rule()1354 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule()1390 cmd->fs.h_u. in add_tcp_udp_rule()1395 spec_l3->ipv4.src_ip = cmd->fs.h_u.tcp_ip4_spec.ip4src; in add_tcp_udp_rule()1396 spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; in add_tcp_udp_rule()1397 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()1398 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()1402 cmd->fs.h_u. in add_tcp_udp_rule()[all …]
363 fsp->h_u.tcp_ip4_spec.ip4src = n->keys.src; in enic_grxclsrule()366 fsp->h_u.tcp_ip4_spec.ip4dst = n->keys.dst; in enic_grxclsrule()369 fsp->h_u.tcp_ip4_spec.psrc = n->keys.port16[0]; in enic_grxclsrule()372 fsp->h_u.tcp_ip4_spec.pdst = n->keys.port16[1]; in enic_grxclsrule()
1898 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry()1899 fsp->h_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry()1906 fsp->h_u.tcp_ip4_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry()1907 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()1908 fsp->h_u.tcp_ip4_spec.ip4src = rule->dst_ip[0]; in i40e_get_ethtool_fdir_entry()1909 fsp->h_u.tcp_ip4_spec.ip4dst = rule->src_ip[0]; in i40e_get_ethtool_fdir_entry()2270 input->ip4_proto = fsp->h_u.usr_ip4_spec.proto; in i40e_add_fdir_ethtool()2275 input->dst_port = fsp->h_u.tcp_ip4_spec.psrc; in i40e_add_fdir_ethtool()2276 input->src_port = fsp->h_u.tcp_ip4_spec.pdst; in i40e_add_fdir_ethtool()2277 input->dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4src; in i40e_add_fdir_ethtool()[all …]
22 union ethtool_flow_union h_u; member
791 union ethtool_flow_union h_u; member943 } h_u, m_u; member
2362 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()2363 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()2370 fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; in ixgbe_get_ethtool_fdir_entry()2372 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry()2374 fsp->h_u.tcp_ip4_spec.ip4src = rule->filter.formatted.src_ip[0]; in ixgbe_get_ethtool_fdir_entry()2376 fsp->h_u.tcp_ip4_spec.ip4dst = rule->filter.formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry()2563 switch (fsp->h_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type()2639 input->filter.formatted.src_ip[0] = fsp->h_u.tcp_ip4_spec.ip4src; in ixgbe_add_ethtool_fdir_entry()2641 input->filter.formatted.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; in ixgbe_add_ethtool_fdir_entry()2643 input->filter.formatted.src_port = fsp->h_u.tcp_ip4_spec.psrc; in ixgbe_add_ethtool_fdir_entry()[all …]
792 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_get_class_rule()794 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule()952 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_set_class_rule()954 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule()
1204 gfar_set_basic_ip(&rule->h_u.tcp_ip4_spec, in gfar_convert_to_filer()1210 gfar_set_basic_ip(&rule->h_u.udp_ip4_spec, in gfar_convert_to_filer()1217 gfar_set_basic_ip((struct ethtool_tcpip4_spec *)&rule->h_u, in gfar_convert_to_filer()1224 gfar_set_user_ip((struct ethtool_usrip4_spec *) &rule->h_u, in gfar_convert_to_filer()1231 gfar_set_ether((struct ethhdr *) &rule->h_u, in gfar_convert_to_filer()1616 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()
7109 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()7112 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()7120 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key()7131 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()7135 fsp->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()7149 fsp->h_u.ah_ip4_spec.spi = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()7158 fsp->h_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()7164 fsp->h_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key()7171 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in niu_get_ip4fs_from_tcam_key()7377 sip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4src); in niu_get_tcamkey_from_ip4fs()[all …]