Searched refs:devconf_all (Results 1 – 19 of 19) sorted by relevance
65 struct ipv6_devconf *devconf_all; member
54 struct ipv4_devconf *devconf_all; member
670 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf()769 net->ipv6.devconf_all, in inet6_netconf_dump_devconf()871 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding()886 net->ipv6.devconf_all); in addrconf_fixup_forwarding()940 if (p == &net->ipv6.devconf_all->ignore_routes_with_linkdown) { in addrconf_fixup_linkdown()948 net->ipv6.devconf_all); in addrconf_fixup_linkdown()1103 if (net->ipv6.devconf_all->disable_policy || in ipv6_add_addr()1488 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_use_optimistic_addr()1490 if (!net->ipv6.devconf_all->use_optimistic && !idev->cnf.use_optimistic) in ipv6_use_optimistic_addr()1505 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_allow_optimistic_dad()[all …]
122 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
376 accept_seg6 = net->ipv6.devconf_all->seg6_enabled; in ipv6_srh_rcv()499 accept_rpl_seg = net->ipv6.devconf_all->rpl_seg_enabled; in ipv6_rpl_srh_rcv()687 int accept_source_route = net->ipv6.devconf_all->accept_source_route; in ipv6_rthdr_rcv()
893 (net->ipv6.devconf_all->proxy_ndp || idev->cnf.proxy_ndp) && in ndisc_recv_ns()1042 net->ipv6.devconf_all->forwarding && net->ipv6.devconf_all->proxy_ndp && in ndisc_recv_na()1808 net->ipv6.devconf_all->ndisc_notify) in ndisc_netdev_event()
511 if (dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding && in ip6_mc_input()
1558 net->ipv6.devconf_all->mc_forwarding++; in ip6mr_sk_init()1566 net->ipv6.devconf_all); in ip6mr_sk_init()1591 net->ipv6.devconf_all->mc_forwarding--; in ip6mr_sk_done()1596 net->ipv6.devconf_all); in ip6mr_sk_done()
70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
475 if (net->ipv6.devconf_all->forwarding == 0) in ip6_forward()487 if (!net->ipv6.devconf_all->disable_policy && in ip6_forward()526 if (net->ipv6.devconf_all->proxy_ndp && in ip6_forward()
1350 val = sock_net(sk)->ipv6.devconf_all->hop_limit; in do_ipv6_getsockopt()
1210 if (dev_net(idev->dev)->ipv6.devconf_all->force_mld_version != 0) in mld_force_mld_version()1211 return dev_net(idev->dev)->ipv6.devconf_all->force_mld_version; in mld_force_mld_version()
2216 if (net->ipv6.devconf_all->forwarding == 0) in ip6_pol_route()
86 net->ipv6.devconf_all->hop_limit); in nf_reject_skb_v6_tcp_reset()127 net->ipv6.devconf_all->hop_limit); in nf_reject_skb_v6_unreach()
2184 devconf = net->ipv4.devconf_all; in inet_netconf_get_devconf()2280 net->ipv4.devconf_all, in inet_netconf_dump_devconf()2335 net->ipv4.devconf_all); in inet_forward_change()2361 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex()2679 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all, in devinet_init_net()2687 memcpy(all, init_net.ipv4.devconf_all, in devinet_init_net()2712 net->ipv4.devconf_all = all; in devinet_init_net()2741 __devinet_sysctl_unregister(net, net->ipv4.devconf_all, in devinet_exit_net()2746 kfree(net->ipv4.devconf_all); in devinet_exit_net()
1334 net->ipv4.devconf_all); in mrtsock_destruct()1398 net->ipv4.devconf_all); in ip_mroute_setsockopt()
55 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
454 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()
826 iph->hop_limit = net->ipv6.devconf_all->hop_limit; in synproxy_build_ip_ipv6()