Lines Matching refs:strict

105 static int rt6_score_route(struct fib6_info *rt, int oif, int strict);
435 int strict) in fib6_multipath_select() argument
455 if (rt6_score_route(sibling, oif, strict) < 0) in fib6_multipath_select()
625 static int rt6_score_route(struct fib6_info *rt, int oif, int strict) in rt6_score_route() argument
630 if (!m && (strict & RT6_LOOKUP_F_IFACE)) in rt6_score_route()
635 if (strict & RT6_LOOKUP_F_REACHABLE) { in rt6_score_route()
658 static struct fib6_info *find_match(struct fib6_info *rt, int oif, int strict, in find_match() argument
670 !(strict & RT6_LOOKUP_F_IGNORE_LINKSTATE)) in find_match()
676 m = rt6_score_route(rt, oif, strict); in find_match()
684 if (strict & RT6_LOOKUP_F_REACHABLE) in find_match()
700 u32 metric, int oif, int strict, in find_rr_leaf() argument
714 match = find_match(rt, oif, strict, &mpri, match, do_rr); in find_rr_leaf()
724 match = find_match(rt, oif, strict, &mpri, match, do_rr); in find_rr_leaf()
731 match = find_match(rt, oif, strict, &mpri, match, do_rr); in find_rr_leaf()
737 int oif, int strict) in rt6_select() argument
764 match = find_rr_leaf(fn, leaf, rt0, rt0->fib6_metric, oif, strict, in rt6_select()
1125 const struct sk_buff *skb, int strict) in rt6_lookup() argument
1132 int flags = strict ? RT6_LOOKUP_F_IFACE : 0; in rt6_lookup()
1827 int oif, struct flowi6 *fl6, int strict) in fib6_table_lookup() argument
1839 f6i = rt6_select(net, fn, oif, strict); in fib6_table_lookup()
1844 else if (strict & RT6_LOOKUP_F_REACHABLE) { in fib6_table_lookup()
1846 strict &= ~RT6_LOOKUP_F_REACHABLE; in fib6_table_lookup()
1863 int strict = 0; in ip6_pol_route() local
1865 strict |= flags & RT6_LOOKUP_F_IFACE; in ip6_pol_route()
1866 strict |= flags & RT6_LOOKUP_F_IGNORE_LINKSTATE; in ip6_pol_route()
1868 strict |= RT6_LOOKUP_F_REACHABLE; in ip6_pol_route()
1872 f6i = fib6_table_lookup(net, table, oif, fl6, strict); in ip6_pol_route()
1874 f6i = fib6_multipath_select(net, f6i, fl6, oif, skb, strict); in ip6_pol_route()