Lines Matching refs:ip_mask
796 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in ef4_ethtool_get_class_rule() local
831 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() local
1072 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()
1084 if (ip_mask->pdst) { in ef4_ethtool_set_class_rule()
1085 if (ip_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1090 if (ip_mask->psrc) { in ef4_ethtool_set_class_rule()
1091 if (ip_mask->psrc != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1096 if (ip_mask->tos) in ef4_ethtool_set_class_rule()