Lines Matching defs:net
44 struct net *net; member
75 #define FOR_WALKERS(net, w) \ argument
78 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link()
85 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink()
92 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
107 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
184 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
195 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
208 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
220 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
240 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table()
257 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
275 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
298 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init()
305 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
310 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
315 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
334 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in fib6_lookup()
341 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init()
348 unsigned int fib6_tables_seq_read(struct net *net) in fib6_tables_seq_read()
393 int call_fib6_entry_notifiers(struct net *net, in call_fib6_entry_notifiers()
407 int call_fib6_multipath_entry_notifiers(struct net *net, in call_fib6_multipath_entry_notifiers()
423 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt) in call_fib6_entry_notifiers_replace()
435 struct net *net; member
469 static int fib6_table_dump(struct net *net, struct fib6_table *tb, in fib6_table_dump()
482 int fib6_tables_dump(struct net *net, struct notifier_block *nb, in fib6_tables_dump()
554 struct net *net = sock_net(cb->skb->sk); in fib6_dump_end() local
578 struct net *net = sock_net(skb->sk); in fib6_dump_table() local
626 struct net *net = sock_net(skb->sk); in inet6_dump_fib() local
743 static struct fib6_node *fib6_add_1(struct net *net, in fib6_add_1()
1030 struct net *net) in fib6_purge_rt()
1330 static void fib6_start_gc(struct net *net, struct fib6_info *rt) in fib6_start_gc()
1338 void fib6_force_start_gc(struct net *net) in fib6_force_start_gc()
1360 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt) in fib6_update_sernum_upto_root()
1366 void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i) in fib6_update_sernum_stub()
1755 static struct fib6_info *fib6_find_prefix(struct net *net, in fib6_find_prefix()
1787 static struct fib6_node *fib6_repair_tree(struct net *net, in fib6_repair_tree()
1919 struct net *net = info->nl_net; in fib6_del_route() local
2011 struct net *net = info->nl_net; in fib6_del() local
2162 static int fib6_walk(struct net *net, struct fib6_walker *w) in fib6_walk()
2233 static void fib6_clean_tree(struct net *net, struct fib6_node *root, in fib6_clean_tree()
2253 static void __fib6_clean_all(struct net *net, in __fib6_clean_all()
2274 void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *), in fib6_clean_all()
2280 void fib6_clean_all_skip_notify(struct net *net, in fib6_clean_all_skip_notify()
2287 static void fib6_flush_trees(struct net *net) in fib6_flush_trees()
2324 static void fib6_gc_table(struct net *net, in fib6_gc_table()
2340 static void fib6_gc_all(struct net *net, struct fib6_gc_args *gc_args) in fib6_gc_all()
2358 void fib6_run_gc(unsigned long expires, struct net *net, bool force) in fib6_run_gc()
2393 static int __net_init fib6_net_init(struct net *net) in fib6_net_init()
2463 static void fib6_net_exit(struct net *net) in fib6_net_exit()
2581 struct net *net) in ipv6_route_seq_setup_walk()
2595 struct net *net) in ipv6_route_seq_next_table()
2632 struct net *net = seq_file_net(seq); in ipv6_route_seq_next() local
2667 struct net *net = seq_file_net(seq); in ipv6_route_seq_start() local
2693 struct net *net = seq_file_net(seq); in ipv6_route_native_seq_stop() local