Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ipv6/
H A Daddrconf.c664 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf()
764 net->ipv6.devconf_all, in inet6_netconf_dump_devconf()
877 if (p == &net->ipv6.devconf_all->forwarding) { in addrconf_fixup_forwarding()
892 net->ipv6.devconf_all); in addrconf_fixup_forwarding()
946 if (p == &net->ipv6.devconf_all->ignore_routes_with_linkdown) { in addrconf_fixup_linkdown()
954 net->ipv6.devconf_all); in addrconf_fixup_linkdown()
1490 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_use_optimistic_addr()
1492 if (!net->ipv6.devconf_all->use_optimistic && !idev->cnf.use_optimistic) in ipv6_use_optimistic_addr()
1507 if (!net->ipv6.devconf_all->optimistic_dad && !idev->cnf.optimistic_dad) in ipv6_allow_optimistic_dad()
2625 if ((net->ipv6.devconf_all->optimistic_dad || in addrconf_prefix_rcv_add_addr()
[all …]
H A Doutput_core.c122 hoplimit = dev_net(dev)->ipv6.devconf_all->hop_limit; in ip6_dst_hoplimit()
H A 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()
H A 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()
H A Dip6_input.c516 if (atomic_read(&dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding) && in ip6_mc_input()
H A Dip6mr.c1561 atomic_inc(&net->ipv6.devconf_all->mc_forwarding); in ip6mr_sk_init()
1569 net->ipv6.devconf_all); in ip6mr_sk_init()
1594 atomic_dec(&net->ipv6.devconf_all->mc_forwarding); in ip6mr_sk_done()
1599 net->ipv6.devconf_all); in ip6mr_sk_done()
H A Danycast.c70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
H A 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()
H A Dipv6_sockglue.c1357 val = sock_net(sk)->ipv6.devconf_all->hop_limit; in do_ipv6_getsockopt()
H A 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()
H A Droute.c2217 if (net->ipv6.devconf_all->forwarding == 0) in ip6_pol_route()
4443 (net->ipv6.devconf_all->disable_policy || in addrconf_f6i_alloc()
/OK3568_Linux_fs/kernel/include/net/netns/
H A Dipv6.h59 struct ipv6_devconf *devconf_all; member
H A Dipv4.h52 struct ipv4_devconf *devconf_all; member
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A 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()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Ddevinet.c2183 devconf = net->ipv4.devconf_all; in inet_netconf_get_devconf()
2279 net->ipv4.devconf_all, in inet_netconf_dump_devconf()
2334 net->ipv4.devconf_all); in inet_forward_change()
2360 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex()
2674 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all, in devinet_init_net()
2683 memcpy(all, init_net.ipv4.devconf_all, in devinet_init_net()
2711 net->ipv4.devconf_all = all; in devinet_init_net()
2740 __devinet_sysctl_unregister(net, net->ipv4.devconf_all, in devinet_exit_net()
2745 kfree(net->ipv4.devconf_all); in devinet_exit_net()
H A Dipmr.c1336 net->ipv4.devconf_all); in mrtsock_destruct()
1400 net->ipv4.devconf_all); in ip_mroute_setsockopt()
/OK3568_Linux_fs/kernel/include/linux/
H A Dinetdevice.h55 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_synproxy_core.c826 iph->hop_limit = net->ipv6.devconf_all->hop_limit; in synproxy_build_ip_ipv6()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c454 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()