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()
236 INIT_LIST_HEAD(&net->ipv6.mr6_tables); in ip6mr_rules_init()
248 net->ipv6.mr6_rules_ops = ops; in ip6mr_rules_init()
263 list_for_each_entry_safe(mrt, next, &net->ipv6.mr6_tables, list) { in ip6mr_rules_exit()
267 fib_rules_unregister(net->ipv6.mr6_rules_ops); in ip6mr_rules_exit()
272 for (mrt = net->ipv6.mrt6; mrt; mrt = NULL)
276 return net->ipv6.mrt6; in ip6mr_get_table()
282 *mrt = net->ipv6.mrt6; in ip6mr_fib_lookup()
288 net->ipv6.mrt6 = ip6mr_new_table(net, RT6_TABLE_DFLT); in ip6mr_rules_init()
289 return net->ipv6.mrt6 ? 0 : -ENOMEM; in ip6mr_rules_init()
295 ip6mr_free_table(net->ipv6.mrt6); in ip6mr_rules_exit()
296 net->ipv6.mrt6 = NULL; in ip6mr_rules_exit()
329 list_add_tail_rcu(&mrt->list, &net->ipv6.mr6_tables); in ip6mr_new_table()
1593 net->ipv6.devconf_all->mc_forwarding++; in ip6mr_sk_init()
1596 net->ipv6.devconf_all); in ip6mr_sk_init()
1618 net->ipv6.devconf_all->mc_forwarding--; in ip6mr_sk_done()
1622 net->ipv6.devconf_all); in ip6mr_sk_done()