Lines Matching refs:ip_mask
649 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_get_class_rule() local
684 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() local
971 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()
983 if (ip_mask->pdst) { in efx_ethtool_set_class_rule()
984 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
989 if (ip_mask->psrc) { in efx_ethtool_set_class_rule()
990 if (ip_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
995 if (ip_mask->tos) in efx_ethtool_set_class_rule()