Searched refs:devconf_all (Results 1 – 18 of 18) sorted by relevance
58 struct ipv6_devconf *devconf_all; member
51 struct ipv4_devconf *devconf_all; member
660 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf()760 net->ipv6.devconf_all, in inet6_netconf_dump_devconf()862 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding()877 net->ipv6.devconf_all); in addrconf_fixup_forwarding()931 if (p == &net->ipv6.devconf_all->ignore_routes_with_linkdown) { in addrconf_fixup_linkdown()939 net->ipv6.devconf_all); in addrconf_fixup_linkdown()1094 if (net->ipv6.devconf_all->disable_policy || in ipv6_add_addr()1486 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_use_optimistic_addr()1488 if (!net->ipv6.devconf_all->use_optimistic && !idev->cnf.use_optimistic) in ipv6_use_optimistic_addr()1503 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_allow_optimistic_dad()[all …]
140 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
890 (net->ipv6.devconf_all->proxy_ndp || idev->cnf.proxy_ndp) && in ndisc_recv_ns()1039 net->ipv6.devconf_all->forwarding && net->ipv6.devconf_all->proxy_ndp && in ndisc_recv_na()1791 net->ipv6.devconf_all->ndisc_notify) in ndisc_netdev_event()
365 accept_seg6 = net->ipv6.devconf_all->seg6_enabled; in ipv6_srh_rcv()486 int accept_source_route = net->ipv6.devconf_all->accept_source_route; in ipv6_rthdr_rcv()
498 if (dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding && in ip6_mc_input()
1554 net->ipv6.devconf_all->mc_forwarding++; in ip6mr_sk_init()1562 net->ipv6.devconf_all); in ip6mr_sk_init()1587 net->ipv6.devconf_all->mc_forwarding--; in ip6mr_sk_done()1592 net->ipv6.devconf_all); in ip6mr_sk_done()
70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
429 if (net->ipv6.devconf_all->forwarding == 0) in ip6_forward()480 if (net->ipv6.devconf_all->proxy_ndp && in ip6_forward()
1268 val = sock_net(sk)->ipv6.devconf_all->hop_limit; in do_ipv6_getsockopt()
1172 if (dev_net(idev->dev)->ipv6.devconf_all->force_mld_version != 0) in mld_force_mld_version()1173 return dev_net(idev->dev)->ipv6.devconf_all->force_mld_version; in mld_force_mld_version()
2199 if (net->ipv6.devconf_all->forwarding == 0) in ip6_pol_route()
203 net->ipv6.devconf_all->hop_limit); in nft_reject_br_send_v6_tcp_reset()268 net->ipv6.devconf_all->hop_limit); in nft_reject_br_send_v6_unreach()
2182 devconf = net->ipv4.devconf_all; in inet_netconf_get_devconf()2278 net->ipv4.devconf_all, in inet_netconf_dump_devconf()2333 net->ipv4.devconf_all); in inet_forward_change()2359 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex()2675 memcpy(all, init_net.ipv4.devconf_all, sizeof(ipv4_devconf)); in devinet_init_net()2696 net->ipv4.devconf_all = all; in devinet_init_net()2725 __devinet_sysctl_unregister(net, net->ipv4.devconf_all, in devinet_exit_net()2730 kfree(net->ipv4.devconf_all); in devinet_exit_net()
1359 net->ipv4.devconf_all); in mrtsock_destruct()1423 net->ipv4.devconf_all); in ip_mroute_setsockopt()
55 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
822 iph->hop_limit = net->ipv6.devconf_all->hop_limit; in synproxy_build_ip_ipv6()