Home
last modified time | relevance | path

Searched refs:sysctl (Results 1 – 25 of 28) sorted by relevance

12

/net/ipv6/
Dsysctl_net_ipv6.c42 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy()
58 ipv6.sysctl.multipath_hash_fields); in proc_rt6_multipath_hash_fields()
69 .data = &init_net.ipv6.sysctl.bindv6only,
76 .data = &init_net.ipv6.sysctl.anycast_src_echo_reply,
83 .data = &init_net.ipv6.sysctl.flowlabel_consistency,
90 .data = &init_net.ipv6.sysctl.auto_flowlabels,
98 .data = &init_net.ipv6.sysctl.fwmark_reflect,
105 .data = &init_net.ipv6.sysctl.idgen_retries,
112 .data = &init_net.ipv6.sysctl.idgen_delay,
119 .data = &init_net.ipv6.sysctl.flowlabel_state_ranges,
[all …]
Daf_inet6.c225 np->repflow = net->ipv6.sysctl.flowlabel_reflect & FLOWLABEL_REFLECT_ESTABLISHED; in inet6_create()
226 sk->sk_ipv6only = net->ipv6.sysctl.bindv6only; in inet6_create()
958 net->ipv6.sysctl.bindv6only = 0; in inet6_net_init()
959 net->ipv6.sysctl.icmpv6_time = 1*HZ; in inet6_net_init()
960 net->ipv6.sysctl.icmpv6_echo_ignore_all = 0; in inet6_net_init()
961 net->ipv6.sysctl.icmpv6_echo_ignore_multicast = 0; in inet6_net_init()
962 net->ipv6.sysctl.icmpv6_echo_ignore_anycast = 0; in inet6_net_init()
968 bitmap_set(net->ipv6.sysctl.icmpv6_ratemask, 0, ICMPV6_ERRMSG_MAX + 1); in inet6_net_init()
969 bitmap_clear(net->ipv6.sysctl.icmpv6_ratemask, ICMPV6_PKT_TOOBIG, 1); in inet6_net_init()
970 net->ipv6.sysctl.icmpv6_ratemask_ptr = net->ipv6.sysctl.icmpv6_ratemask; in inet6_net_init()
[all …]
Dicmp.c180 if (!test_bit(type, net->ipv6.sysctl.icmpv6_ratemask)) in icmpv6_mask_allow()
223 int tmo = net->ipv6.sysctl.icmpv6_time; in icmpv6_xrlim_allow()
735 net->ipv6.sysctl.icmpv6_echo_ignore_multicast) in icmpv6_echo_reply()
741 if (acast && net->ipv6.sysctl.icmpv6_echo_ignore_anycast) in icmpv6_echo_reply()
745 !(net->ipv6.sysctl.anycast_src_echo_reply && acast)) in icmpv6_echo_reply()
757 if (net->ipv6.sysctl.flowlabel_reflect & FLOWLABEL_REFLECT_ICMPV6_ECHO_REPLIES) in icmpv6_echo_reply()
928 if (!net->ipv6.sysctl.icmpv6_echo_ignore_all) in icmpv6_rcv()
932 if (!net->ipv6.sysctl.icmpv6_echo_ignore_all && in icmpv6_rcv()
1190 .data = &init_net.ipv6.sysctl.icmpv6_time,
1197 .data = &init_net.ipv6.sysctl.icmpv6_echo_ignore_all,
[all …]
Dxfrm6_policy.c216 net->ipv6.sysctl.xfrm6_hdr = hdr; in xfrm6_net_sysctl_init()
230 if (!net->ipv6.sysctl.xfrm6_hdr) in xfrm6_net_sysctl_exit()
233 table = net->ipv6.sysctl.xfrm6_hdr->ctl_table_arg; in xfrm6_net_sysctl_exit()
234 unregister_net_sysctl_table(net->ipv6.sysctl.xfrm6_hdr); in xfrm6_net_sysctl_exit()
Droute.c2834 rt6_update_expires(rt, net->ipv6.sysctl.ip6_rt_mtu_expires); in rt6_do_update_pmtu()
3199 if (mtu < net->ipv6.sysctl.ip6_rt_min_advmss) in ip6_default_advmss()
3200 mtu = net->ipv6.sysctl.ip6_rt_min_advmss; in ip6_default_advmss()
3301 int rt_min_interval = net->ipv6.sysctl.ip6_rt_gc_min_interval; in ip6_dst_gc()
3302 int rt_max_size = net->ipv6.sysctl.ip6_rt_max_size; in ip6_dst_gc()
3303 int rt_elasticity = net->ipv6.sysctl.ip6_rt_gc_elasticity; in ip6_dst_gc()
3304 int rt_gc_timeout = net->ipv6.sysctl.ip6_rt_gc_timeout; in ip6_dst_gc()
4889 if (net->ipv6.sysctl.skip_notify_on_dev_down) in rt6_sync_down_dev()
6227 if (net->ipv6.sysctl.fib_notify_on_flag_change == 2 && in fib6_info_hw_flags_set()
6239 if (!net->ipv6.sysctl.fib_notify_on_flag_change) in fib6_info_hw_flags_set()
[all …]
Dreassembly.c471 net->ipv6.sysctl.frags_hdr = hdr; in ip6_frags_ns_sysctl_register()
485 table = net->ipv6.sysctl.frags_hdr->ctl_table_arg; in ip6_frags_ns_sysctl_unregister()
486 unregister_net_sysctl_table(net->ipv6.sysctl.frags_hdr); in ip6_frags_ns_sysctl_unregister()
Dexthdrs.c311 if (extlen > net->ipv6.sysctl.max_dst_opts_len) in ipv6_destopt_rcv()
319 if (ip6_parse_tlv(false, skb, net->ipv6.sysctl.max_dst_opts_cnt)) { in ipv6_destopt_rcv()
1076 if (extlen > net->ipv6.sysctl.max_hbh_opts_len) in ipv6_parse_hopopts()
1080 if (ip6_parse_tlv(true, skb, net->ipv6.sysctl.max_hbh_opts_cnt)) { in ipv6_parse_hopopts()
Dip6_flowlabel.c619 if (net->ipv6.sysctl.flowlabel_consistency) { in ipv6_flowlabel_get()
632 if (net->ipv6.sysctl.flowlabel_state_ranges && in ipv6_flowlabel_get()
Dip6_fib.c1329 jiffies + net->ipv6.sysctl.ip6_rt_gc_interval); in fib6_start_gc()
1336 jiffies + net->ipv6.sysctl.ip6_rt_gc_interval); in fib6_force_start_gc()
2323 net->ipv6.sysctl.ip6_rt_gc_interval; in fib6_run_gc()
2333 + net->ipv6.sysctl.ip6_rt_gc_interval)); in fib6_run_gc()
2356 net->ipv6.sysctl.multipath_hash_fields = in fib6_net_init()
Dioam6.c651 raw32 = dev_net(skb_dst(skb)->dev)->ipv6.sysctl.ioam6_id; in __ioam6_fill_trace_data()
736 raw64 = dev_net(skb_dst(skb)->dev)->ipv6.sysctl.ioam6_id_wide; in __ioam6_fill_trace_data()
Daddrconf.c2147 if (retries > net->ipv6.sysctl.idgen_retries) { in addrconf_dad_failure()
2177 addrconf_mod_dad_work(ifp2, net->ipv6.sysctl.idgen_delay); in addrconf_dad_failure()
2418 int sysctl; in addrconf_rt_table() local
2423 sysctl = idev->cnf.accept_ra_rt_table; in addrconf_rt_table()
2424 if (sysctl == 0) { in addrconf_rt_table()
2426 } else if (sysctl > 0) { in addrconf_rt_table()
2427 table = (u32) sysctl; in addrconf_rt_table()
2429 table = (unsigned) dev->ifindex + (-sysctl); in addrconf_rt_table()
3341 if (dad_count > dev_net(idev->dev)->ipv6.sysctl.idgen_retries) in ipv6_generate_stable_address()
Dseg6_iptunnel.c111 int do_flowlabel = net->ipv6.sysctl.seg6_flowlabel; in seg6_make_flowlabel()
/net/phonet/
DMakefile9 sysctl.o \
/net/ieee802154/6lowpan/
Dreassembly.c385 ieee802154_lowpan->sysctl.frags_hdr = hdr; in lowpan_frags_ns_sysctl_register()
401 table = ieee802154_lowpan->sysctl.frags_hdr->ctl_table_arg; in lowpan_frags_ns_sysctl_unregister()
402 unregister_net_sysctl_table(ieee802154_lowpan->sysctl.frags_hdr); in lowpan_frags_ns_sysctl_unregister()
/net/rxrpc/
DMakefile37 rxrpc-$(CONFIG_SYSCTL) += sysctl.o
/net/tipc/
DMakefile18 tipc-$(CONFIG_SYSCTL) += sysctl.o
/net/sunrpc/
DMakefile21 sunrpc-$(CONFIG_SYSCTL) += sysctl.o
DKconfig58 This option enables a sysctl-based debugging interface
/net/rds/
DMakefile4 recv.o send.o stats.o sysctl.o threads.o transport.o \
/net/dccp/
DMakefile25 dccp-$(CONFIG_SYSCTL) += sysctl.o
/net/sctp/
DMakefile22 sctp-$(CONFIG_SYSCTL) += sysctl.o
/net/mpls/
Dinternal.h28 struct ctl_table_header *sysctl; member
Daf_mpls.c1421 mdev->sysctl = register_net_sysctl(net, path, table); in mpls_dev_sysctl_register()
1422 if (!mdev->sysctl) in mpls_dev_sysctl_register()
1431 mdev->sysctl = NULL; in mpls_dev_sysctl_register()
1441 if (!mdev->sysctl) in mpls_dev_sysctl_unregister()
1444 table = mdev->sysctl->ctl_table_arg; in mpls_dev_sysctl_unregister()
1445 unregister_net_sysctl_table(mdev->sysctl); in mpls_dev_sysctl_unregister()
/net/ipv4/
Ddevinet.c271 in_dev->cnf.sysctl = NULL; in inetdev_init()
2595 p->sysctl = t; in __devinet_sysctl_register()
2610 struct devinet_sysctl_table *t = cnf->sysctl; in __devinet_sysctl_unregister()
2613 cnf->sysctl = NULL; in __devinet_sysctl_unregister()
/net/
DKconfig89 <file:Documentation/networking/ip-sysctl.rst>.

12