Searched refs:devconf_all (Results 1 – 20 of 20) sorted by relevance
/linux/net/ipv6/ |
H A D | addrconf.c | 677 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf() 776 net->ipv6.devconf_all, in inet6_netconf_dump_devconf() 888 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding() 903 net->ipv6.devconf_all); in addrconf_fixup_forwarding() 965 net->ipv6.devconf_all); in addrconf_fixup_linkdown() 6458 net->ipv6.devconf_all); in addrconf_sysctl_proxy_ndp() 7314 memcpy(all, init_net.ipv6.devconf_all, in addrconf_init_net() 7340 net->ipv6.devconf_all = all; in addrconf_init_net() 7363 net->ipv6.devconf_all = NULL; in addrconf_init_net() 7382 kfree(net->ipv6.devconf_all); in addrconf_exit_net() [all …]
|
H A D | output_core.c | 116 hoplimit = READ_ONCE(dev_net(dev)->ipv6.devconf_all->hop_limit); in ip6_dst_hoplimit()
|
H A D | ndisc.c | 909 (READ_ONCE(net->ipv6.devconf_all->proxy_ndp) || in ndisc_recv_ns() 1106 READ_ONCE(net->ipv6.devconf_all->forwarding) && in ndisc_recv_na() 1107 READ_ONCE(net->ipv6.devconf_all->proxy_ndp) && in ndisc_recv_na() 1901 READ_ONCE(net->ipv6.devconf_all->ndisc_notify)) in ndisc_netdev_event() 1911 READ_ONCE(net->ipv6.devconf_all->ndisc_evict_nocarrier); in ndisc_netdev_event()
|
H A D | exthdrs.c | 382 accept_seg6 = min(READ_ONCE(net->ipv6.devconf_all->seg6_enabled), in ipv6_srh_rcv() 497 accept_rpl_seg = net->ipv6.devconf_all->rpl_seg_enabled; in ipv6_rpl_srh_rcv() 659 accept_source_route = READ_ONCE(net->ipv6.devconf_all->accept_source_route); in ipv6_rthdr_rcv()
|
H A D | ip6_input.c | 529 if (atomic_read(&dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding) && in ip6_mc_input()
|
H A D | anycast.c | 70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
|
H A D | ip6mr.c | 1575 atomic_inc(&net->ipv6.devconf_all->mc_forwarding); in ip6mr_sk_init() 1583 net->ipv6.devconf_all); in ip6mr_sk_init() 1600 devconf = net->ipv6.devconf_all; in ip6mr_sk_done() 1618 net->ipv6.devconf_all); in ip6mr_sk_done()
|
H A D | ip6_output.c | 512 if (READ_ONCE(net->ipv6.devconf_all->forwarding) == 0) in ip6_forward() 524 if (!READ_ONCE(net->ipv6.devconf_all->disable_policy) && in ip6_forward() 563 if (READ_ONCE(net->ipv6.devconf_all->proxy_ndp) && in ip6_forward()
|
H A D | ipv6_sockglue.c | 1350 val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit); in do_ipv6_getsockopt()
|
H A D | mcast.c | 1209 all_force = READ_ONCE(net->ipv6.devconf_all->force_mld_version); in mld_force_mld_version()
|
H A D | route.c | 2226 if (READ_ONCE(net->ipv6.devconf_all->forwarding) == 0) in ip6_pol_route() 4593 (READ_ONCE(net->ipv6.devconf_all->disable_policy) || in addrconf_f6i_alloc()
|
/linux/include/net/netns/ |
H A D | ipv6.h | 66 struct ipv6_devconf *devconf_all; member
|
H A D | ipv4.h | 93 struct ipv4_devconf *devconf_all; member
|
/linux/net/ipv6/netfilter/ |
H A D | nf_reject_ipv6.c | 86 READ_ONCE(net->ipv6.devconf_all->hop_limit)); in nf_reject_skb_v6_tcp_reset() 127 READ_ONCE(net->ipv6.devconf_all->hop_limit)); in nf_reject_skb_v6_unreach()
|
/linux/net/ipv4/ |
H A D | devinet.c | 2215 devconf = net->ipv4.devconf_all; in inet_netconf_get_devconf() 2298 net->ipv4.devconf_all, in inet_netconf_dump_devconf() 2351 net->ipv4.devconf_all); in inet_forward_change() 2377 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex() 2696 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all, in devinet_init_net() 2705 memcpy(all, init_net.ipv4.devconf_all, in devinet_init_net() 2734 net->ipv4.devconf_all = all; in devinet_init_net() 2763 __devinet_sysctl_unregister(net, net->ipv4.devconf_all, in devinet_exit_net() 2768 kfree(net->ipv4.devconf_all); in devinet_exit_net()
|
H A D | ipmr.c | 1344 net->ipv4.devconf_all); in mrtsock_destruct() 1408 net->ipv4.devconf_all); in ip_mroute_setsockopt()
|
/linux/Documentation/networking/net_cachelines/ |
H A D | netns_ipv4_sysctl.rst | 17 struct_ipv4_devconf* devconf_all …
|
/linux/include/linux/ |
H A D | inetdevice.h | 58 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
|
/linux/net/netfilter/ |
H A D | nf_synproxy_core.c | 803 iph->hop_limit = READ_ONCE(net->ipv6.devconf_all->hop_limit); in synproxy_build_ip_ipv6()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 478 set_tun->ttl = READ_ONCE(net->ipv6.devconf_all->hop_limit); in nfp_fl_set_tun()
|