Lines Matching defs:rules
1485 * The following functions are rules used to select a source address in
1492 * These rules are part of a greater "Default Address Selection for IPv6"
1495 * destination address ordering. The rules defined here implement the IPv6
1497 * libnsl, and uses a similar set of rules to implement the sorting.
1499 * Most of the rules are defined by the RFC and are not typically altered. The
1501 * scheme below, this means that new Solaris rules should normally go between
1708 * any Solaris-specific rules.
1884 * The list of ordering rules. They are applied in the order they
1890 rulef_t rules[] = {
1898 rule_ifprefix, /* local rules after this */
1901 rule_prefix, /* local rules before this */
2074 * comparison rules in order until one breaks the
2077 for (index = 0; rules[index] != NULL; index++) {
2079 rule_result = (rules[index])(&best_c, &curr_c,
2186 * That is followed by the long list of IPv6 source address selection rules