Searched refs:cnf (Results 1 – 12 of 12) sorted by relevance
/net/ipv6/ |
D | addrconf.c | 390 memcpy(&ndev->cnf, dev_net(dev)->ipv6.devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev() 391 ndev->cnf.mtu6 = dev->mtu; in ipv6_add_dev() 392 ndev->cnf.sysctl = NULL; in ipv6_add_dev() 398 if (ndev->cnf.forwarding) in ipv6_add_dev() 429 ndev->cnf.accept_dad = -1; in ipv6_add_dev() 434 ndev->cnf.rtr_solicits = 0; in ipv6_add_dev() 446 ndev->cnf.use_tempaddr = -1; in ipv6_add_dev() 470 if (ndev->cnf.forwarding && (dev->flags & IFF_MULTICAST)) in ipv6_add_dev() 612 devconf = &in6_dev->cnf; in inet6_netconf_get_devconf() 663 &idev->cnf, in inet6_netconf_dump_devconf() [all …]
|
D | ndisc.c | 483 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na() 533 /*router=*/ !!idev->cnf.forwarding, in ndisc_send_unsol_na() 788 (idev->cnf.forwarding && in ndisc_recv_ns() 789 (net->ipv6.devconf_all->proxy_ndp || idev->cnf.proxy_ndp) && in ndisc_recv_ns() 812 is_router = idev->cnf.forwarding; in ndisc_recv_ns() 977 if (!idev->cnf.forwarding) in ndisc_recv_rs() 1134 if (!in6_dev->cnf.accept_ra_defrtr) in ndisc_router_discovery() 1146 !in6_dev->cnf.accept_ra_rtr_pref) in ndisc_router_discovery() 1197 if (in6_dev->cnf.hop_limit < ra_msg->icmph.icmp6_hop_limit) { in ndisc_router_discovery() 1198 in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit; in ndisc_router_discovery() [all …]
|
D | ip6_input.c | 84 !idev || unlikely(idev->cnf.disable_ipv6)) { in ipv6_rcv()
|
D | exthdrs.c | 312 if (idev && accept_source_route > idev->cnf.accept_source_route) in ipv6_rthdr_rcv() 313 accept_source_route = idev->cnf.accept_source_route; in ipv6_rthdr_rcv()
|
D | route.c | 491 time_after(jiffies, neigh->updated + rt->rt6i_idev->cnf.rtr_probe_interval)) { in rt6_probe() 1199 mtu = idev->cnf.mtu6; in ip6_mtu() 1326 hoplimit = idev->cnf.hop_limit; in ip6_dst_hoplimit() 1682 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect() 1912 (!rt->rt6i_idev || rt->rt6i_idev->cnf.accept_ra != 2)) in rt6_addrconf_purge() 2186 dst_mtu(&rt->dst) == idev->cnf.mtu6))) { in rt6_mtu_change_route()
|
D | anycast.c | 113 ishost = !idev->cnf.forwarding; in ipv6_sock_ac_join()
|
D | ip6mr.c | 812 in6_dev->cnf.mc_forwarding--; in mif6_delete() 815 dev->ifindex, &in6_dev->cnf); in mif6_delete() 970 in6_dev->cnf.mc_forwarding++; in mif6_add() 973 dev->ifindex, &in6_dev->cnf); in mif6_add()
|
D | mcast.c | 114 (idev)->cnf.force_mld_version == 1 || \ 2294 if (idev->cnf.forwarding) in ipv6_mc_destroy_dev()
|
D | ip6_output.c | 163 if (unlikely(idev->cnf.disable_ipv6)) { in ip6_output()
|
/net/ipv4/ |
D | devinet.c | 239 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt, in inetdev_init() 240 sizeof(in_dev->cnf)); in inetdev_init() 241 in_dev->cnf.sysctl = NULL; in inetdev_init() 246 if (IPV4_DEVCONF(in_dev->cnf, FORWARDING)) in inetdev_init() 1627 ((u32 *) nla_data(nla))[i] = in_dev->cnf.data[i]; in inet_fill_link_af() 1808 devconf = &in_dev->cnf; in inet_netconf_get_devconf() 1859 &in_dev->cnf, in inet_netconf_dump_devconf() 1914 if (in_dev && !test_bit(i, in_dev->cnf.state)) in devinet_copy_dflt_conf() 1915 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i]; in devinet_copy_dflt_conf() 1944 dev->ifindex, &in_dev->cnf); in inet_forward_change() [all …]
|
D | ipmr.c | 428 IPV4_DEVCONF(in_dev->cnf, RP_FILTER) = 0; in ipmr_new_tunnel() 520 IPV4_DEVCONF(in_dev->cnf, RP_FILTER) = 0; in ipmr_reg_vif() 587 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)--; in vif_delete() 590 dev->ifindex, &in_dev->cnf); in vif_delete() 781 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)++; in vif_add() 783 &in_dev->cnf); in vif_add()
|
/net/core/ |
D | netpoll.c | 656 if (!in6_dev || !in6_dev->cnf.accept_ra) in netpoll_neigh_reply()
|