Home
last modified time | relevance | path

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

/Linux-v6.6/net/ipv6/
Daddrconf.c670 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf()
769 net->ipv6.devconf_all, in inet6_netconf_dump_devconf()
882 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding()
897 net->ipv6.devconf_all); in addrconf_fixup_forwarding()
951 if (p == &net->ipv6.devconf_all->ignore_routes_with_linkdown) { in addrconf_fixup_linkdown()
959 net->ipv6.devconf_all); in addrconf_fixup_linkdown()
1504 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_use_optimistic_addr()
1506 if (!net->ipv6.devconf_all->use_optimistic && !idev->cnf.use_optimistic) in ipv6_use_optimistic_addr()
1521 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_allow_optimistic_dad()
2623 if ((net->ipv6.devconf_all->optimistic_dad || in addrconf_prefix_rcv_add_addr()
[all …]
Doutput_core.c116 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
Dndisc.c907 (net->ipv6.devconf_all->proxy_ndp || idev->cnf.proxy_ndp) && in ndisc_recv_ns()
1103 net->ipv6.devconf_all->forwarding && net->ipv6.devconf_all->proxy_ndp && in ndisc_recv_na()
1885 net->ipv6.devconf_all->ndisc_notify) in ndisc_netdev_event()
1895 net->ipv6.devconf_all->ndisc_evict_nocarrier; in ndisc_netdev_event()
Dexthdrs.c379 accept_seg6 = net->ipv6.devconf_all->seg6_enabled; in ipv6_srh_rcv()
495 accept_rpl_seg = net->ipv6.devconf_all->rpl_seg_enabled; in ipv6_rpl_srh_rcv()
655 int accept_source_route = net->ipv6.devconf_all->accept_source_route; in ipv6_rthdr_rcv()
Dip6_input.c531 if (atomic_read(&dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding) && in ip6_mc_input()
Dip6mr.c1578 atomic_inc(&net->ipv6.devconf_all->mc_forwarding); in ip6mr_sk_init()
1586 net->ipv6.devconf_all); in ip6mr_sk_init()
1603 devconf = net->ipv6.devconf_all; in ip6mr_sk_done()
1621 net->ipv6.devconf_all); in ip6mr_sk_done()
Danycast.c70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
Dip6_output.c495 if (net->ipv6.devconf_all->forwarding == 0) in ip6_forward()
507 if (!net->ipv6.devconf_all->disable_policy && in ip6_forward()
546 if (net->ipv6.devconf_all->proxy_ndp && in ip6_forward()
Dipv6_sockglue.c1363 val = sock_net(sk)->ipv6.devconf_all->hop_limit; in do_ipv6_getsockopt()
Dmcast.c1210 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()
Droute.c2214 if (net->ipv6.devconf_all->forwarding == 0) in ip6_pol_route()
4577 (net->ipv6.devconf_all->disable_policy || in addrconf_f6i_alloc()
/Linux-v6.6/include/net/netns/
Dipv6.h66 struct ipv6_devconf *devconf_all; member
Dipv4.h55 struct ipv4_devconf *devconf_all; member
/Linux-v6.6/net/ipv6/netfilter/
Dnf_reject_ipv6.c86 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()
/Linux-v6.6/net/ipv4/
Ddevinet.c2212 devconf = net->ipv4.devconf_all; in inet_netconf_get_devconf()
2308 net->ipv4.devconf_all, in inet_netconf_dump_devconf()
2363 net->ipv4.devconf_all); in inet_forward_change()
2389 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex()
2709 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all, in devinet_init_net()
2718 memcpy(all, init_net.ipv4.devconf_all, in devinet_init_net()
2747 net->ipv4.devconf_all = all; in devinet_init_net()
2776 __devinet_sysctl_unregister(net, net->ipv4.devconf_all, in devinet_exit_net()
2781 kfree(net->ipv4.devconf_all); in devinet_exit_net()
Dipmr.c1344 net->ipv4.devconf_all); in mrtsock_destruct()
1408 net->ipv4.devconf_all); in ip_mroute_setsockopt()
/Linux-v6.6/include/linux/
Dinetdevice.h57 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/
Daction.c463 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()
/Linux-v6.6/net/netfilter/
Dnf_synproxy_core.c803 iph->hop_limit = net->ipv6.devconf_all->hop_limit; in synproxy_build_ip_ipv6()