Home
last modified time | relevance | path

Searched refs:devconf_all (Results 1 – 20 of 20) sorted by relevance

/linux/net/ipv6/
H A Daddrconf.c677 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 Doutput_core.c116 hoplimit = READ_ONCE(dev_net(dev)->ipv6.devconf_all->hop_limit); in ip6_dst_hoplimit()
H A Dndisc.c909 (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 Dexthdrs.c382 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 Dip6_input.c529 if (atomic_read(&dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding) && in ip6_mc_input()
H A Danycast.c70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
H A Dip6mr.c1575 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 Dip6_output.c512 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 Dipv6_sockglue.c1350 val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit); in do_ipv6_getsockopt()
H A Dmcast.c1209 all_force = READ_ONCE(net->ipv6.devconf_all->force_mld_version); in mld_force_mld_version()
H A Droute.c2226 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 Dipv6.h66 struct ipv6_devconf *devconf_all; member
H A Dipv4.h93 struct ipv4_devconf *devconf_all; member
/linux/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c86 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 Ddevinet.c2215 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 Dipmr.c1344 net->ipv4.devconf_all); in mrtsock_destruct()
1408 net->ipv4.devconf_all); in ip_mroute_setsockopt()
/linux/Documentation/networking/net_cachelines/
H A Dnetns_ipv4_sysctl.rst17 struct_ipv4_devconf* devconf_all
/linux/include/linux/
H A Dinetdevice.h58 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/linux/net/netfilter/
H A Dnf_synproxy_core.c803 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 Daction.c478 set_tun->ttl = READ_ONCE(net->ipv6.devconf_all->hop_limit); in nfp_fl_set_tun()