Lines Matching refs:fib6_node

66 static void fib6_prune_clones(struct net *net, struct fib6_node *fn);
67 static struct rt6_info *fib6_find_prefix(struct net *net, struct fib6_node *fn);
68 static struct fib6_node *fib6_repair_tree(struct net *net, struct fib6_node *fn);
144 static struct fib6_node *node_alloc(void) in node_alloc()
146 struct fib6_node *fn; in node_alloc()
153 static void node_free(struct fib6_node *fn) in node_free()
461 static struct fib6_node *fib6_add_1(struct fib6_node *root, in fib6_add_1()
466 struct fib6_node *fn, *in, *ln; in fib6_add_1()
467 struct fib6_node *pn = NULL; in fib6_add_1()
705 static void fib6_purge_rt(struct rt6_info *rt, struct fib6_node *fn, in fib6_purge_rt()
732 static int fib6_add_rt2node(struct fib6_node *fn, struct rt6_info *rt, in fib6_add_rt2node()
943 int fib6_add(struct fib6_node *root, struct rt6_info *rt, in fib6_add()
946 struct fib6_node *fn, *pn = NULL; in fib6_add()
978 struct fib6_node *sn; in fib6_add()
981 struct fib6_node *sfn; in fib6_add()
1101 static struct fib6_node *fib6_lookup_1(struct fib6_node *root, in fib6_lookup_1()
1104 struct fib6_node *fn; in fib6_lookup_1()
1117 struct fib6_node *next; in fib6_lookup_1()
1140 struct fib6_node *sfn; in fib6_lookup_1()
1164 struct fib6_node *fib6_lookup(struct fib6_node *root, const struct in6_addr *daddr, in fib6_lookup()
1167 struct fib6_node *fn; in fib6_lookup()
1197 static struct fib6_node *fib6_locate_1(struct fib6_node *root, in fib6_locate_1()
1201 struct fib6_node *fn; in fib6_locate_1()
1227 struct fib6_node *fib6_locate(struct fib6_node *root, in fib6_locate()
1231 struct fib6_node *fn; in fib6_locate()
1257 static struct rt6_info *fib6_find_prefix(struct net *net, struct fib6_node *fn) in fib6_find_prefix()
1278 static struct fib6_node *fib6_repair_tree(struct net *net, in fib6_repair_tree()
1279 struct fib6_node *fn) in fib6_repair_tree()
1283 struct fib6_node *child, *pn; in fib6_repair_tree()
1383 static void fib6_del_route(struct fib6_node *fn, struct rt6_info **rtp, in fib6_del_route()
1443 struct fib6_node *fn = rt->rt6i_node; in fib6_del()
1458 struct fib6_node *pn = fn; in fib6_del()
1509 struct fib6_node *fn, *pn; in fib6_walk_continue()
1655 static void fib6_clean_tree(struct net *net, struct fib6_node *root, in fib6_clean_tree()
1711 static void fib6_prune_clones(struct net *net, struct fib6_node *fn) in fib6_prune_clones()
1893 sizeof(struct fib6_node), in fib6_init()