Lines Matching refs:ipv6
298 idev->stats.ipv6 = alloc_percpu(struct ipstats_mib); in snmp6_alloc_dev()
299 if (!idev->stats.ipv6) in snmp6_alloc_dev()
304 addrconf_stats = per_cpu_ptr(idev->stats.ipv6, i); in snmp6_alloc_dev()
323 free_percpu(idev->stats.ipv6); in snmp6_alloc_dev()
347 memcpy(&ndev->cnf, dev_net(dev)->ipv6.devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev()
579 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf()
582 devconf = net->ipv6.devconf_dflt; in inet6_netconf_get_devconf()
632 cb->seq = atomic_read(&net->ipv6.dev_addr_genid) ^ in inet6_netconf_dump_devconf()
659 net->ipv6.devconf_all, in inet6_netconf_dump_devconf()
670 net->ipv6.devconf_dflt, in inet6_netconf_dump_devconf()
750 if (p == &net->ipv6.devconf_dflt->forwarding) { in addrconf_fixup_forwarding()
754 net->ipv6.devconf_dflt); in addrconf_fixup_forwarding()
759 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding()
760 net->ipv6.devconf_dflt->forwarding = newf; in addrconf_fixup_forwarding()
765 net->ipv6.devconf_all); in addrconf_fixup_forwarding()
1745 if (retries > net->ipv6.sysctl.idgen_retries) { in addrconf_dad_failure()
1780 addrconf_mod_dad_work(ifp2, net->ipv6.sysctl.idgen_delay); in addrconf_dad_failure()
2394 !net->ipv6.devconf_all->forwarding && sllao) in addrconf_prefix_rcv()
2599 int ret = ipv6_mc_config(net->ipv6.mc_autojoin_sk, in inet6_addr_add()
2648 ipv6_mc_config(net->ipv6.mc_autojoin_sk, in inet6_addr_add()
2687 ipv6_mc_config(net->ipv6.mc_autojoin_sk, in inet6_addr_del()
2877 !dev_net(idev->dev)->ipv6.devconf_all->forwarding) in addrconf_add_linklocal()
2932 else if (net->ipv6.devconf_dflt->stable_secret.initialized) in ipv6_generate_stable_address()
2933 secret = net->ipv6.devconf_dflt->stable_secret.secret; in ipv6_generate_stable_address()
2959 if (dad_count > dev_net(idev->dev)->ipv6.sysctl.idgen_retries) in ipv6_generate_stable_address()
4415 cb->seq = atomic_read(&net->ipv6.dev_addr_genid) ^ net->dev_base_seq; in inet6_dump_addr()
4657 __snmp6_fill_stats64(stats, idev->stats.ipv6, in snmp6_fill_stats()
4840 !dev_net(dev)->ipv6.devconf_dflt->stable_secret.initialized) in inet6_set_link_af()
5073 atomic_inc(&net->ipv6.dev_addr_genid); in __ipv6_ifa_notify()
5171 if (p == &net->ipv6.devconf_dflt->disable_ipv6) { in addrconf_disable_ipv6()
5176 if (p == &net->ipv6.devconf_all->disable_ipv6) { in addrconf_disable_ipv6()
5177 net->ipv6.devconf_dflt->disable_ipv6 = newf; in addrconf_disable_ipv6()
5230 if (valp == &net->ipv6.devconf_dflt->proxy_ndp) in addrconf_sysctl_proxy_ndp()
5233 net->ipv6.devconf_dflt); in addrconf_sysctl_proxy_ndp()
5234 else if (valp == &net->ipv6.devconf_all->proxy_ndp) in addrconf_sysctl_proxy_ndp()
5237 net->ipv6.devconf_all); in addrconf_sysctl_proxy_ndp()
5262 if (&net->ipv6.devconf_all->stable_secret == ctl->data) in addrconf_sysctl_stable_secret()
5294 if (&net->ipv6.devconf_dflt->stable_secret == ctl->data) { in addrconf_sysctl_stable_secret()
5701 net->ipv6.devconf_all = all; in addrconf_init_net()
5702 net->ipv6.devconf_dflt = dflt; in addrconf_init_net()
5730 __addrconf_sysctl_unregister(net->ipv6.devconf_dflt); in addrconf_exit_net()
5731 __addrconf_sysctl_unregister(net->ipv6.devconf_all); in addrconf_exit_net()
5733 kfree(net->ipv6.devconf_dflt); in addrconf_exit_net()
5734 kfree(net->ipv6.devconf_all); in addrconf_exit_net()