Lines Matching refs:net
5 #include <net/net_namespace.h>
6 #include <net/fib_notifier.h>
7 #include <net/netns/ipv6.h>
8 #include <net/ip6_fib.h>
18 int call_fib6_notifiers(struct net *net, enum fib_event_type event_type,
22 return call_fib_notifiers(net, event_type, info);
25 static unsigned int fib6_seq_read(struct net *net)
27 return fib6_tables_seq_read(net) + fib6_rules_seq_read(net);
30 static int fib6_dump(struct net *net, struct notifier_block *nb,
35 err = fib6_rules_dump(net, nb, extack);
39 return fib6_tables_dump(net, nb, extack);
49 int __net_init fib6_notifier_init(struct net *net)
53 ops = fib_notifier_ops_register(&fib6_notifier_ops_template, net);
56 net->ipv6.notifier_ops = ops;
61 void __net_exit fib6_notifier_exit(struct net *net)
63 fib_notifier_ops_unregister(net->ipv6.notifier_ops);