Lines Matching refs:ipv6
128 list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list)
151 err = fib_rules_lookup(net->ipv6.mr6_rules_ops, in ip6mr_fib_lookup()
238 INIT_LIST_HEAD(&net->ipv6.mr6_tables); in ip6mr_rules_init()
250 net->ipv6.mr6_rules_ops = ops; in ip6mr_rules_init()
265 list_for_each_entry_safe(mrt, next, &net->ipv6.mr6_tables, list) { in ip6mr_rules_exit()
269 fib_rules_unregister(net->ipv6.mr6_rules_ops); in ip6mr_rules_exit()
274 for (mrt = net->ipv6.mrt6; mrt; mrt = NULL)
278 return net->ipv6.mrt6; in ip6mr_get_table()
284 *mrt = net->ipv6.mrt6; in ip6mr_fib_lookup()
290 net->ipv6.mrt6 = ip6mr_new_table(net, RT6_TABLE_DFLT); in ip6mr_rules_init()
291 return net->ipv6.mrt6 ? 0 : -ENOMEM; in ip6mr_rules_init()
297 ip6mr_free_table(net->ipv6.mrt6); in ip6mr_rules_exit()
298 net->ipv6.mrt6 = NULL; in ip6mr_rules_exit()
331 list_add_tail_rcu(&mrt->list, &net->ipv6.mr6_tables); in ip6mr_new_table()
1596 net->ipv6.devconf_all->mc_forwarding++; in ip6mr_sk_init()
1605 net->ipv6.devconf_all); in ip6mr_sk_init()
1622 net->ipv6.devconf_all->mc_forwarding--; in ip6mr_sk_done()
1627 net->ipv6.devconf_all); in ip6mr_sk_done()