Lines Matching refs:strict

99 static int rt6_score_route(struct rt6_info *rt, int oif, int strict);
438 int strict) in rt6_multipath_select() argument
452 if (rt6_score_route(sibling, oif, strict) < 0) in rt6_multipath_select()
629 int strict) in rt6_score_route() argument
634 if (!m && (strict & RT6_LOOKUP_F_IFACE)) in rt6_score_route()
639 if (strict & RT6_LOOKUP_F_REACHABLE) { in rt6_score_route()
647 static struct rt6_info *find_match(struct rt6_info *rt, int oif, int strict, in find_match() argument
663 m = rt6_score_route(rt, oif, strict); in find_match()
671 if (strict & RT6_LOOKUP_F_REACHABLE) in find_match()
686 u32 metric, int oif, int strict, in find_rr_leaf() argument
700 match = find_match(rt, oif, strict, &mpri, match, do_rr); in find_rr_leaf()
709 match = find_match(rt, oif, strict, &mpri, match, do_rr); in find_rr_leaf()
716 match = find_match(rt, oif, strict, &mpri, match, do_rr); in find_rr_leaf()
721 static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict) in rt6_select() argument
731 match = find_rr_leaf(fn, rt0, rt0->rt6i_metric, oif, strict, in rt6_select()
880 const struct in6_addr *saddr, int oif, int strict) in rt6_lookup() argument
887 int flags = strict ? RT6_LOOKUP_F_IFACE : 0; in rt6_lookup()
1045 int strict = 0; in ip6_pol_route() local
1047 strict |= flags & RT6_LOOKUP_F_IFACE; in ip6_pol_route()
1049 strict |= RT6_LOOKUP_F_REACHABLE; in ip6_pol_route()
1060 rt = rt6_select(fn, oif, strict); in ip6_pol_route()
1062 rt = rt6_multipath_select(rt, fl6, oif, strict); in ip6_pol_route()
1067 else if (strict & RT6_LOOKUP_F_REACHABLE) { in ip6_pol_route()
1069 strict &= ~RT6_LOOKUP_F_REACHABLE; in ip6_pol_route()