Home
last modified time | relevance | path

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

/linux-6.15/net/ipv6/
H A Daddrconf.c679 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf()
778 net->ipv6.devconf_all, in inet6_netconf_dump_devconf()
889 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding()
904 net->ipv6.devconf_all); in addrconf_fixup_forwarding()
965 net->ipv6.devconf_all); in addrconf_fixup_linkdown()
6478 net->ipv6.devconf_all); in addrconf_sysctl_proxy_ndp()
7338 memcpy(all, init_net.ipv6.devconf_all, in addrconf_init_net()
7364 net->ipv6.devconf_all = all; in addrconf_init_net()
7387 net->ipv6.devconf_all = NULL; in addrconf_init_net()
7406 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.c911 (READ_ONCE(net->ipv6.devconf_all->proxy_ndp) || in ndisc_recv_ns()
1108 READ_ONCE(net->ipv6.devconf_all->forwarding) && in ndisc_recv_na()
1109 READ_ONCE(net->ipv6.devconf_all->proxy_ndp) && in ndisc_recv_na()
1903 READ_ONCE(net->ipv6.devconf_all->ndisc_notify)) in ndisc_netdev_event()
1913 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.c533 if (atomic_read(&dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding) && in ip6_mc_input()
H A Dip6mr.c1596 atomic_inc(&net->ipv6.devconf_all->mc_forwarding); in ip6mr_sk_init()
1604 net->ipv6.devconf_all); in ip6mr_sk_init()
1621 devconf = net->ipv6.devconf_all; in ip6mr_sk_done()
1639 net->ipv6.devconf_all); in ip6mr_sk_done()
H A Danycast.c71 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
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.c1252 all_force = READ_ONCE(net->ipv6.devconf_all->force_mld_version); in mld_force_mld_version()
H A Droute.c2261 if (READ_ONCE(net->ipv6.devconf_all->forwarding) == 0) in ip6_pol_route()
4636 (READ_ONCE(net->ipv6.devconf_all->disable_policy) || in addrconf_f6i_alloc()
/linux-6.15/include/net/netns/
H A Dipv6.h66 struct ipv6_devconf *devconf_all; member
H A Dipv4.h95 struct ipv4_devconf *devconf_all; member
/linux-6.15/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-6.15/net/ipv4/
H A Ddevinet.c2298 devconf = net->ipv4.devconf_all; in inet_netconf_get_devconf()
2381 net->ipv4.devconf_all, in inet_netconf_dump_devconf()
2434 net->ipv4.devconf_all); in inet_forward_change()
2460 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex()
2786 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all, in devinet_init_net()
2795 memcpy(all, init_net.ipv4.devconf_all, in devinet_init_net()
2829 net->ipv4.devconf_all = all; in devinet_init_net()
2864 __devinet_sysctl_unregister(net, net->ipv4.devconf_all, in devinet_exit_net()
2869 kfree(net->ipv4.devconf_all); in devinet_exit_net()
H A Dipmr.c1360 net->ipv4.devconf_all); in mrtsock_destruct()
1424 net->ipv4.devconf_all); in ip_mroute_setsockopt()
/linux-6.15/Documentation/networking/net_cachelines/
H A Dnetns_ipv4_sysctl.rst18 struct_ipv4_devconf* devconf_all
/linux-6.15/include/linux/
H A Dinetdevice.h58 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/linux-6.15/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()
/linux-6.15/net/netfilter/
H A Dnf_synproxy_core.c803 iph->hop_limit = READ_ONCE(net->ipv6.devconf_all->hop_limit); in synproxy_build_ip_ipv6()