Lines Matching refs:ipv6
126 list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list)
149 err = fib_rules_lookup(net->ipv6.mr6_rules_ops, in ip6mr_fib_lookup()
237 INIT_LIST_HEAD(&net->ipv6.mr6_tables); in ip6mr_rules_init()
249 net->ipv6.mr6_rules_ops = ops; in ip6mr_rules_init()
264 list_for_each_entry_safe(mrt, next, &net->ipv6.mr6_tables, list) { in ip6mr_rules_exit()
268 fib_rules_unregister(net->ipv6.mr6_rules_ops); in ip6mr_rules_exit()
273 for (mrt = net->ipv6.mrt6; mrt; mrt = NULL)
277 return net->ipv6.mrt6; in ip6mr_get_table()
283 *mrt = net->ipv6.mrt6; in ip6mr_fib_lookup()
289 net->ipv6.mrt6 = ip6mr_new_table(net, RT6_TABLE_DFLT); in ip6mr_rules_init()
290 return net->ipv6.mrt6 ? 0 : -ENOMEM; in ip6mr_rules_init()
296 ip6mr_free_table(net->ipv6.mrt6); in ip6mr_rules_exit()
297 net->ipv6.mrt6 = NULL; in ip6mr_rules_exit()
330 list_add_tail_rcu(&mrt->list, &net->ipv6.mr6_tables); in ip6mr_new_table()
1598 net->ipv6.devconf_all->mc_forwarding++; in ip6mr_sk_init()
1601 net->ipv6.devconf_all); in ip6mr_sk_init()
1623 net->ipv6.devconf_all->mc_forwarding--; in ip6mr_sk_done()
1627 net->ipv6.devconf_all); in ip6mr_sk_done()