Searched refs:ip_mask (Results 1 – 9 of 9) sorted by relevance
1093 fsp->m_u.tcp_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()1094 fsp->m_u.tcp_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()1095 fsp->m_u.tcp_ip4_spec.psrc = rule->ip_mask.src_port; in iavf_get_ethtool_fdir_entry()1096 fsp->m_u.tcp_ip4_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()1097 fsp->m_u.tcp_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()1105 fsp->m_u.ah_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()1106 fsp->m_u.ah_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()1107 fsp->m_u.ah_ip4_spec.spi = rule->ip_mask.spi; in iavf_get_ethtool_fdir_entry()1108 fsp->m_u.ah_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()1117 fsp->m_u.usr_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()[all …]
246 if (fltr->ip_mask.tos == U8_MAX) { in iavf_fill_fdir_ip4_hdr()251 if (fltr->ip_mask.proto == U8_MAX) { in iavf_fill_fdir_ip4_hdr()256 if (fltr->ip_mask.v4_addrs.src_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr()261 if (fltr->ip_mask.v4_addrs.dst_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr()287 if (fltr->ip_mask.tclass == U8_MAX) { in iavf_fill_fdir_ip6_hdr()293 if (fltr->ip_mask.proto == U8_MAX) { in iavf_fill_fdir_ip6_hdr()298 if (!memcmp(&fltr->ip_mask.v6_addrs.src_ip, &ipv6_addr_full_mask, in iavf_fill_fdir_ip6_hdr()305 if (!memcmp(&fltr->ip_mask.v6_addrs.dst_ip, &ipv6_addr_full_mask, in iavf_fill_fdir_ip6_hdr()333 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()338 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()[all …]
93 struct iavf_fdir_ip ip_mask; member
648 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_get_class_rule() local683 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()687 ip_mask->ip4src = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()691 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()695 ip_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()920 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_set_class_rule() local969 if (ip_mask->ip4dst) { in efx_ethtool_set_class_rule()970 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()975 if (ip_mask->ip4src) { in efx_ethtool_set_class_rule()976 if (ip_mask->ip4src != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()[all …]
796 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in ef4_ethtool_get_class_rule() local831 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()835 ip_mask->ip4src = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()839 ip_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()843 ip_mask->psrc = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()1032 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in ef4_ethtool_set_class_rule() local1072 if (ip_mask->ip4dst) { in ef4_ethtool_set_class_rule()1073 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()1078 if (ip_mask->ip4src) { in ef4_ethtool_set_class_rule()1079 if (ip_mask->ip4src != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()[all …]
649 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_get_class_rule() local684 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()688 ip_mask->ip4src = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()692 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()696 ip_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()922 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_set_class_rule() local971 if (ip_mask->ip4dst) { in efx_ethtool_set_class_rule()972 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()977 if (ip_mask->ip4src) { in efx_ethtool_set_class_rule()978 if (ip_mask->ip4src != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()[all …]
54 __be32 ip_mask; member
257 # ethtool -U <ethX> flow-type <type> src-ip <ip> [m <ip_mask>] dst-ip <ip>258 [m <ip_mask>] src-port <port> [m <port_mask>] dst-port <port> [m <port_mask>]265 <ip_mask> - the IPv4 address to mask on
1209 __be32 mask = msg->ip_mask; in ingress_purge_rcvd()