Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/netns/
Dipv6.h58 struct ipv6_devconf *devconf_all; member
Dipv4.h51 struct ipv4_devconf *devconf_all; member
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c660 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf()
760 net->ipv6.devconf_all, in inet6_netconf_dump_devconf()
873 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding()
888 net->ipv6.devconf_all); in addrconf_fixup_forwarding()
942 if (p == &net->ipv6.devconf_all->ignore_routes_with_linkdown) { in addrconf_fixup_linkdown()
950 net->ipv6.devconf_all); in addrconf_fixup_linkdown()
1486 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_use_optimistic_addr()
1488 if (!net->ipv6.devconf_all->use_optimistic && !idev->cnf.use_optimistic) in ipv6_use_optimistic_addr()
1503 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_allow_optimistic_dad()
2601 if ((net->ipv6.devconf_all->optimistic_dad || in addrconf_prefix_rcv_add_addr()
[all …]
Doutput_core.c122 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
Dexthdrs.c365 accept_seg6 = net->ipv6.devconf_all->seg6_enabled; in ipv6_srh_rcv()
487 accept_rpl_seg = net->ipv6.devconf_all->rpl_seg_enabled; in ipv6_rpl_srh_rcv()
675 int accept_source_route = net->ipv6.devconf_all->accept_source_route; in ipv6_rthdr_rcv()
Dndisc.c893 (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()
1799 net->ipv6.devconf_all->ndisc_notify) in ndisc_netdev_event()
Dip6_input.c516 if (atomic_read(&dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding) && in ip6_mc_input()
Dip6mr.c1559 atomic_inc(&net->ipv6.devconf_all->mc_forwarding); in ip6mr_sk_init()
1567 net->ipv6.devconf_all); in ip6mr_sk_init()
1592 atomic_dec(&net->ipv6.devconf_all->mc_forwarding); in ip6mr_sk_done()
1597 net->ipv6.devconf_all); in ip6mr_sk_done()
Danycast.c70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
Dip6_output.c498 if (net->ipv6.devconf_all->forwarding == 0) in ip6_forward()
510 if (!net->ipv6.devconf_all->disable_policy && in ip6_forward()
549 if (net->ipv6.devconf_all->proxy_ndp && in ip6_forward()
Dipv6_sockglue.c1360 val = sock_net(sk)->ipv6.devconf_all->hop_limit; in do_ipv6_getsockopt()
Dmcast.c1169 if (dev_net(idev->dev)->ipv6.devconf_all->force_mld_version != 0) in mld_force_mld_version()
1170 return dev_net(idev->dev)->ipv6.devconf_all->force_mld_version; in mld_force_mld_version()
Droute.c2217 if (net->ipv6.devconf_all->forwarding == 0) in ip6_pol_route()
4483 (net->ipv6.devconf_all->disable_policy || in addrconf_f6i_alloc()
/kernel/linux/linux-5.10/net/bridge/netfilter/
Dnft_reject_bridge.c209 net->ipv6.devconf_all->hop_limit); in nft_reject_br_send_v6_tcp_reset()
274 net->ipv6.devconf_all->hop_limit); in nft_reject_br_send_v6_unreach()
/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c2185 devconf = net->ipv4.devconf_all; in inet_netconf_get_devconf()
2281 net->ipv4.devconf_all, in inet_netconf_dump_devconf()
2336 net->ipv4.devconf_all); in inet_forward_change()
2362 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex()
2676 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all, in devinet_init_net()
2685 memcpy(all, init_net.ipv4.devconf_all, in devinet_init_net()
2713 net->ipv4.devconf_all = all; in devinet_init_net()
2742 __devinet_sysctl_unregister(net, net->ipv4.devconf_all, in devinet_exit_net()
2747 kfree(net->ipv4.devconf_all); in devinet_exit_net()
Dipmr.c1334 net->ipv4.devconf_all); in mrtsock_destruct()
1398 net->ipv4.devconf_all); in ip_mroute_setsockopt()
/kernel/linux/linux-5.10/include/linux/
Dinetdevice.h55 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/kernel/linux/linux-5.10/net/netfilter/
Dnf_synproxy_core.c826 iph->hop_limit = net->ipv6.devconf_all->hop_limit; in synproxy_build_ip_ipv6()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c454 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()