• Home
  • Raw
  • Download

Lines Matching refs:fn

651 static struct rt6_info *find_rr_leaf(struct fib6_node *fn,  in find_rr_leaf()  argument
663 for (rt = fn->leaf; rt && rt != rr_head && rt->rt6i_metric == metric; in find_rr_leaf()
670 static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict) in rt6_select() argument
676 rt0 = fn->rr_ptr; in rt6_select()
678 fn->rr_ptr = rt0 = fn->leaf; in rt6_select()
680 match = find_rr_leaf(fn, rt0, rt0->rt6i_metric, oif, strict, in rt6_select()
688 next = fn->leaf; in rt6_select()
691 fn->rr_ptr = next; in rt6_select()
776 if (fn->fn_flags & RTN_TL_ROOT) \
778 pn = fn->parent; \
779 if (FIB6_SUBTREE(pn) && FIB6_SUBTREE(pn) != fn) \
780 fn = fib6_lookup(FIB6_SUBTREE(pn), NULL, saddr); \
782 fn = pn; \
783 if (fn->fn_flags & RTN_RTINFO) \
793 struct fib6_node *fn; in ip6_pol_route_lookup() local
797 fn = fib6_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); in ip6_pol_route_lookup()
799 rt = fn->leaf; in ip6_pol_route_lookup()
914 struct fib6_node *fn; in ip6_pol_route() local
927 fn = fib6_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); in ip6_pol_route()
930 rt = rt6_select(fn, oif, strict | reachable); in ip6_pol_route()
1199 struct fib6_node *fn; in __ip6_route_redirect() local
1212 fn = fib6_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); in __ip6_route_redirect()
1214 for (rt = fn->leaf; rt; rt = rt->dst.rt6_next) { in __ip6_route_redirect()
1710 struct fib6_node *fn; in ip6_route_del() local
1720 fn = fib6_locate(&table->tb6_root, in ip6_route_del()
1724 if (fn) { in ip6_route_del()
1725 for (rt = fn->leaf; rt; rt = rt->dst.rt6_next) { in ip6_route_del()
1912 struct fib6_node *fn; in rt6_get_route_info() local
1922 fn = fib6_locate(&table->tb6_root, prefix, prefixlen, NULL, 0); in rt6_get_route_info()
1923 if (!fn) in rt6_get_route_info()
1926 for (rt = fn->leaf; rt; rt = rt->dst.rt6_next) { in rt6_get_route_info()