Lines Matching defs:net
42 struct net *net; member
73 #define FOR_WALKERS(net, w) \ argument
76 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link()
83 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink()
90 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
106 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
181 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
192 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
205 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
217 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
237 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table()
253 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
271 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
294 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init()
301 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
306 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
311 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
329 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in fib6_lookup()
336 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init()
343 unsigned int fib6_tables_seq_read(struct net *net) in fib6_tables_seq_read()
360 static int call_fib6_entry_notifier(struct notifier_block *nb, struct net *net, in call_fib6_entry_notifier()
371 int call_fib6_entry_notifiers(struct net *net, in call_fib6_entry_notifiers()
385 int call_fib6_multipath_entry_notifiers(struct net *net, in call_fib6_multipath_entry_notifiers()
402 struct net *net; member
423 static void fib6_table_dump(struct net *net, struct fib6_table *tb, in fib6_table_dump()
433 int fib6_tables_dump(struct net *net, struct notifier_block *nb) in fib6_tables_dump()
497 struct net *net = sock_net(cb->skb->sk); in fib6_dump_end() local
521 struct net *net = sock_net(skb->sk); in fib6_dump_table() local
568 struct net *net = sock_net(skb->sk); in inet6_dump_fib() local
685 static struct fib6_node *fib6_add_1(struct net *net, in fib6_add_1()
972 struct net *net) in fib6_purge_rt()
1252 static void fib6_start_gc(struct net *net, struct fib6_info *rt) in fib6_start_gc()
1260 void fib6_force_start_gc(struct net *net) in fib6_force_start_gc()
1282 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt) in fib6_update_sernum_upto_root()
1288 void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i) in fib6_update_sernum_stub()
1672 static struct fib6_info *fib6_find_prefix(struct net *net, in fib6_find_prefix()
1704 static struct fib6_node *fib6_repair_tree(struct net *net, in fib6_repair_tree()
1831 struct net *net = info->nl_net; in fib6_del_route() local
1901 struct net *net = info->nl_net; in fib6_del() local
2042 static int fib6_walk(struct net *net, struct fib6_walker *w) in fib6_walk()
2113 static void fib6_clean_tree(struct net *net, struct fib6_node *root, in fib6_clean_tree()
2133 static void __fib6_clean_all(struct net *net, in __fib6_clean_all()
2154 void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *), in fib6_clean_all()
2160 void fib6_clean_all_skip_notify(struct net *net, in fib6_clean_all_skip_notify()
2167 static void fib6_flush_trees(struct net *net) in fib6_flush_trees()
2205 void fib6_run_gc(unsigned long expires, struct net *net, bool force) in fib6_run_gc()
2240 static int __net_init fib6_net_init(struct net *net) in fib6_net_init()
2306 static void fib6_net_exit(struct net *net) in fib6_net_exit()
2424 struct net *net) in ipv6_route_seq_setup_walk()
2438 struct net *net) in ipv6_route_seq_next_table()
2473 struct net *net = seq_file_net(seq); in ipv6_route_seq_next() local
2511 struct net *net = seq_file_net(seq); in ipv6_route_seq_start() local
2535 struct net *net = seq_file_net(seq); in ipv6_route_seq_stop() local