Lines Matching refs:ip_mask
648 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_get_class_rule() local
683 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() local
969 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()
981 if (ip_mask->pdst) { in efx_ethtool_set_class_rule()
982 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
987 if (ip_mask->psrc) { in efx_ethtool_set_class_rule()
988 if (ip_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
993 if (ip_mask->tos) in efx_ethtool_set_class_rule()