Searched refs:ip_mask (Results 1 – 9 of 9) sorted by relevance
44 if (fltr->ip_mask.v4_addrs.src_ip && in iavf_validate_fdir_fltr_masks()45 fltr->ip_mask.v4_addrs.src_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()48 if (fltr->ip_mask.v4_addrs.dst_ip && in iavf_validate_fdir_fltr_masks()49 fltr->ip_mask.v4_addrs.dst_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()52 if (fltr->ip_mask.tos && fltr->ip_mask.tos != U8_MAX) in iavf_validate_fdir_fltr_masks()55 if (memcmp(&fltr->ip_mask.v6_addrs.src_ip, &ipv6_addr_zero_mask, in iavf_validate_fdir_fltr_masks()57 memcmp(&fltr->ip_mask.v6_addrs.src_ip, &ipv6_addr_full_mask, in iavf_validate_fdir_fltr_masks()61 if (memcmp(&fltr->ip_mask.v6_addrs.dst_ip, &ipv6_addr_zero_mask, in iavf_validate_fdir_fltr_masks()63 memcmp(&fltr->ip_mask.v6_addrs.dst_ip, &ipv6_addr_full_mask, in iavf_validate_fdir_fltr_masks()67 if (fltr->ip_mask.tclass && fltr->ip_mask.tclass != U8_MAX) in iavf_validate_fdir_fltr_masks()[all …]
1099 fsp->m_u.tcp_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()1100 fsp->m_u.tcp_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()1101 fsp->m_u.tcp_ip4_spec.psrc = rule->ip_mask.src_port; in iavf_get_ethtool_fdir_entry()1102 fsp->m_u.tcp_ip4_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()1103 fsp->m_u.tcp_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()1111 fsp->m_u.ah_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()1112 fsp->m_u.ah_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()1113 fsp->m_u.ah_ip4_spec.spi = rule->ip_mask.spi; in iavf_get_ethtool_fdir_entry()1114 fsp->m_u.ah_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()1123 fsp->m_u.usr_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()[all …]
93 struct iavf_fdir_ip ip_mask; member
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()921 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_set_class_rule() local970 if (ip_mask->ip4dst) { in efx_ethtool_set_class_rule()971 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()976 if (ip_mask->ip4src) { in efx_ethtool_set_class_rule()977 if (ip_mask->ip4src != IP4_ADDR_FULL_MASK) in efx_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 …]
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 …]
54 __be32 ip_mask; member
239 # ethtool -U <ethX> flow-type <type> src-ip <ip> [m <ip_mask>] dst-ip <ip>240 [m <ip_mask>] src-port <port> [m <port_mask>] dst-port <port> [m <port_mask>]247 <ip_mask> - the IPv4 address to mask on
1209 __be32 mask = msg->ip_mask; in ingress_purge_rcvd()