Searched refs:tcp_ip4_spec (Results 1 – 8 of 8) sorted by relevance
363 fsp->h_u.tcp_ip4_spec.ip4src = n->keys.src; in enic_grxclsrule()364 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule()366 fsp->h_u.tcp_ip4_spec.ip4dst = n->keys.dst; in enic_grxclsrule()367 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule()369 fsp->h_u.tcp_ip4_spec.psrc = n->keys.port16[0]; in enic_grxclsrule()370 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule()372 fsp->h_u.tcp_ip4_spec.pdst = n->keys.port16[1]; in enic_grxclsrule()373 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; in enic_grxclsrule()
2370 fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; in ixgbe_get_ethtool_fdir_entry()2371 fsp->m_u.tcp_ip4_spec.psrc = mask->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()2373 fsp->m_u.tcp_ip4_spec.pdst = mask->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()2375 fsp->m_u.tcp_ip4_spec.ip4src = mask->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()2377 fsp->m_u.tcp_ip4_spec.ip4dst = mask->formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry()2639 input->filter.formatted.src_ip[0] = fsp->h_u.tcp_ip4_spec.ip4src; in ixgbe_add_ethtool_fdir_entry()2640 mask.formatted.src_ip[0] = fsp->m_u.tcp_ip4_spec.ip4src; in ixgbe_add_ethtool_fdir_entry()[all …]
1228 if (cmd->fs.m_u.tcp_ip4_spec.tos) in mlx4_en_validate_flow()1230 l4_mask = &cmd->fs.m_u.tcp_ip4_spec; in mlx4_en_validate_flow()1375 struct ethtool_tcpip4_spec *l4_mask = &cmd->fs.m_u.tcp_ip4_spec; in add_tcp_udp_rule()1391 tcp_ip4_spec.ip4dst); 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()
744 struct ethtool_tcpip4_spec tcp_ip4_spec; member935 struct ethtool_tcpip4_spec tcp_ip4_spec; member
792 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_get_class_rule()793 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_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()953 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_set_class_rule()
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()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()2278 input->src_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; in i40e_add_fdir_ethtool()
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()7115 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()7118 fsp->m_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()7122 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[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()7139 fsp->m_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()7143 fsp->m_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()[all …]
1204 gfar_set_basic_ip(&rule->h_u.tcp_ip4_spec, in gfar_convert_to_filer()1205 &rule->m_u.tcp_ip4_spec, tab); in gfar_convert_to_filer()