| /kernel/linux/linux-6.6/net/ipv6/ |
| D | sysctl_net_ipv6.c | 3 * sysctl_net_ipv6.c: sysctl interface to net IPV6 subsystem. 6 * YOSHIFUJI Hideaki @USAGI: added icmp sysctl table. 10 #include <linux/sysctl.h> 40 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy() 56 ipv6.sysctl.multipath_hash_fields); in proc_rt6_multipath_hash_fields() 67 .data = &init_net.ipv6.sysctl.bindv6only, 74 .data = &init_net.ipv6.sysctl.anycast_src_echo_reply, 81 .data = &init_net.ipv6.sysctl.flowlabel_consistency, 88 .data = &init_net.ipv6.sysctl.auto_flowlabels, 96 .data = &init_net.ipv6.sysctl.fwmark_reflect, [all …]
|
| /kernel/linux/linux-5.10/net/ipv6/ |
| D | sysctl_net_ipv6.c | 3 * sysctl_net_ipv6.c: sysctl interface to net IPV6 subsystem. 6 * YOSHIFUJI Hideaki @USAGI: added icmp sysctl table. 10 #include <linux/sysctl.h> 36 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy() 47 .data = &init_net.ipv6.sysctl.bindv6only, 54 .data = &init_net.ipv6.sysctl.anycast_src_echo_reply, 61 .data = &init_net.ipv6.sysctl.flowlabel_consistency, 68 .data = &init_net.ipv6.sysctl.auto_flowlabels, 77 .data = &init_net.ipv6.sysctl.fwmark_reflect, 84 .data = &init_net.ipv6.sysctl.idgen_retries, [all …]
|
| /kernel/linux/linux-5.10/Documentation/bpf/ |
| D | prog_cgroup_sysctl.rst | 8 provides cgroup-bpf hook for sysctl. 11 process inside that cgroup tries to read from or write to sysctl knob in proc. 30 * ``write`` indicates whether sysctl value is being read (``0``) or written 33 * ``file_pos`` indicates file position sysctl is being accessed at, read 35 position in sysctl proc file ``read(2)`` will be reading from or ``write(2)`` 37 whole sysctl value by ``bpf_sysctl_set_new_value()`` on ``write(2)`` even 39 value to the field can be used to access part of sysctl value starting from 40 specified ``file_pos``. Not all sysctl support access with ``file_pos != 41 0``, e.g. writes to numeric sysctl entries must always be at file position 42 ``0``. See also ``kernel.sysctl_writes_strict`` sysctl. [all …]
|
| /kernel/linux/linux-6.6/Documentation/bpf/ |
| D | prog_cgroup_sysctl.rst | 8 provides cgroup-bpf hook for sysctl. 11 process inside that cgroup tries to read from or write to sysctl knob in proc. 30 * ``write`` indicates whether sysctl value is being read (``0``) or written 33 * ``file_pos`` indicates file position sysctl is being accessed at, read 35 position in sysctl proc file ``read(2)`` will be reading from or ``write(2)`` 37 whole sysctl value by ``bpf_sysctl_set_new_value()`` on ``write(2)`` even 39 value to the field can be used to access part of sysctl value starting from 40 specified ``file_pos``. Not all sysctl support access with ``file_pos != 41 0``, e.g. writes to numeric sysctl entries must always be at file position 42 ``0``. See also ``kernel.sysctl_writes_strict`` sysctl. [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | index.rst | 61 ioam6-sysctl 65 ip-sysctl 68 ipvs-sysctl 74 mpls-sysctl 75 mptcp-sysctl 81 netfilter-sysctl 84 nf_conntrack-sysctl 101 seg6-sysctl 103 smc-sysctl
|
| D | mptcp-sysctl.rst | 14 per-namespace sysctl. 24 sysctl. 32 per-namespace sysctl. 45 This is a per-namespace sysctl. 59 This is a per-namespace sysctl. 74 This is a per-namespace sysctl. 82 sysctl.
|
| /kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
| D | nft_nat_zones.sh | 40 v4gc1=$(sysctl -n net.ipv4.neigh.default.gc_thresh1 2>/dev/null) 41 v4gc2=$(sysctl -n net.ipv4.neigh.default.gc_thresh2 2>/dev/null) 42 v4gc3=$(sysctl -n net.ipv4.neigh.default.gc_thresh3 2>/dev/null) 43 v6gc1=$(sysctl -n net.ipv6.neigh.default.gc_thresh1 2>/dev/null) 44 v6gc2=$(sysctl -n net.ipv6.neigh.default.gc_thresh2 2>/dev/null) 45 v6gc3=$(sysctl -n net.ipv6.neigh.default.gc_thresh3 2>/dev/null) 55 sysctl -q net.ipv4.neigh.default.gc_thresh1=$v4gc1 2>/dev/null 56 sysctl -q net.ipv4.neigh.default.gc_thresh2=$v4gc2 2>/dev/null 57 sysctl -q net.ipv4.neigh.default.gc_thresh3=$v4gc3 2>/dev/null 58 sysctl -q net.ipv6.neigh.default.gc_thresh1=$v6gc1 2>/dev/null [all …]
|
| D | ipvs.sh | 141 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1 147 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1 148 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_announce=2 150 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.rp_filter=0 151 ip netns exec ns2 sysctl -qw net.ipv4.conf.veth21.rp_filter=0 160 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1 176 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=0 177 ip netns exec ns1 sysctl -qw net.ipv4.conf.all.send_redirects=0 178 ip netns exec ns1 sysctl -qw net.ipv4.conf.default.send_redirects=0 185 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1 [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | ip_defrag.sh | 17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1 18 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1 19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1 21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1 22 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1 23 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1 25 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null… 26 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null… 27 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1 30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
|
| D | ipv6_flowlabel.sh | 15 sh -c 'sysctl -q -w net.ipv6.auto_flowlabels=0 && ./ipv6_flowlabel -l 1' 19 sh -c 'sysctl -q -w net.ipv6.auto_flowlabels=1 && ./ipv6_flowlabel -l 1' 23 sh -c 'sysctl -q -w net.ipv6.flowlabel_reflect=4 && \ 24 sysctl -q -w net.ipv4.ping_group_range="0 2147483647" && \ 33 sh -c 'sysctl -q -w net.ipv6.flowlabel_reflect=4 && \ 34 sysctl -q -w net.ipv4.ping_group_range="0 2147483647" && \
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | ip_defrag.sh | 17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1 18 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1 19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1 21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1 22 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1 23 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1 25 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null… 26 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null… 27 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1 30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
|
| D | route_localnet.sh | 16 sysctl -w net.ipv4.conf.veth0.route_localnet=1 17 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.route_localnet=1 40 sysctl -w net.ipv4.conf.veth0.arp_announce=2 41 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_announce=2 57 sysctl -w net.ipv4.conf.veth0.arp_ignore=3 58 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_ignore=3
|
| /kernel/linux/linux-6.6/samples/bpf/ |
| D | tc_l2_redirect.sh | 49 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0 50 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ipt2.rp_filter=0 54 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0 55 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ip6t2.rp_filter=0 66 sysctl -q -w net.ipv4.conf.all.rp_filter=0 67 sysctl -q -w net.ipv6.conf.all.forwarding=1 68 sysctl -q -w net.ipv6.conf.all.disable_ipv6=0 80 sysctl -q -w net.ipv4.conf.all.rp_filter=$RP_FILTER 81 sysctl -q -w net.ipv6.conf.all.forwarding=$IPV6_FORWARDING 82 sysctl -q -w net.ipv6.conf.all.disable_ipv6=$IPV6_DISABLED [all …]
|
| /kernel/linux/linux-6.6/fs/ntfs/ |
| D | sysctl.c | 3 * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of 17 #include <linux/sysctl.h> 19 #include "sysctl.h" 22 /* Definition of the ntfs sysctl. */ 38 * ntfs_sysctl - add or remove the debug sysctl 39 * @add: add (1) or remove (0) the sysctl 41 * Add or remove the debug sysctl. Return 0 on success or -errno on error.
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | test_sysctl.c | 33 const char *sysctl; member 48 .descr = "sysctl wrong attach_type", 54 .sysctl = "kernel/ostype", 59 .descr = "sysctl:read allow all", 65 .sysctl = "kernel/ostype", 70 .descr = "sysctl:read deny all", 76 .sysctl = "kernel/ostype", 81 .descr = "ctx:write sysctl:read read ok", 97 .sysctl = "kernel/ostype", 102 .descr = "ctx:write sysctl:write read ok", [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_sysctl.c | 33 const char *sysctl; member 48 .descr = "sysctl wrong attach_type", 54 .sysctl = "kernel/ostype", 59 .descr = "sysctl:read allow all", 65 .sysctl = "kernel/ostype", 70 .descr = "sysctl:read deny all", 76 .sysctl = "kernel/ostype", 81 .descr = "ctx:write sysctl:read read ok", 97 .sysctl = "kernel/ostype", 102 .descr = "ctx:write sysctl:write read ok", [all …]
|
| D | test_kmod.sh | 23 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null 24 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null 50 JE=`sysctl -n net.core.bpf_jit_enable` 51 JH=`sysctl -n net.core.bpf_jit_harden` 56 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null 57 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
|
| /kernel/linux/linux-5.10/fs/ntfs/ |
| D | sysctl.c | 3 * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of 17 #include <linux/sysctl.h> 19 #include "sysctl.h" 22 /* Definition of the ntfs sysctl. */ 48 * ntfs_sysctl - add or remove the debug sysctl 49 * @add: add (1) or remove (0) the sysctl 51 * Add or remove the debug sysctl. Return 0 on success or -errno on error.
|
| /kernel/linux/linux-6.6/tools/testing/selftests/sysctl/ |
| D | sysctl.sh | 5 # This performs a series tests against the proc sysctl interface. 10 TEST_NAME="sysctl" 47 if [ -z $SYSCTL ]; then 48 SYSCTL="/proc/sys/debug/test_sysctl" 111 if [ ! -d $SYSCTL ]; then 218 echo "== Testing sysctl behavior against ${TARGET} ==" 231 echo -n "Checking sysctl is not set to test value ... " 239 echo -n "Writing sysctl from shell ... " 248 echo -n "Resetting sysctl to original value ... " 261 echo -n "Writing entire sysctl in single write ... " [all …]
|
| /kernel/linux/linux-5.10/samples/bpf/ |
| D | tc_l2_redirect.sh | 48 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0 49 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ipt2.rp_filter=0 53 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0 54 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ip6t2.rp_filter=0 65 sysctl -q -w net.ipv4.conf.all.rp_filter=0 66 sysctl -q -w net.ipv6.conf.all.forwarding=1 78 sysctl -q -w net.ipv4.conf.all.rp_filter=$RP_FILTER 79 sysctl -q -w net.ipv6.conf.all.forwarding=$IPV6_FORWARDING 94 sysctl -q -w net.ipv4.conf.ipt.rp_filter=0 95 sysctl -q -w net.ipv4.conf.ipt.forwarding=1 [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/sysctl/ |
| D | sysctl.sh | 15 # This performs a series tests against the proc sysctl interface. 20 TEST_NAME="sysctl" 52 if [ -z $SYSCTL ]; then 53 SYSCTL="/proc/sys/debug/test_sysctl" 116 if [ ! -d $SYSCTL ]; then 223 echo "== Testing sysctl behavior against ${TARGET} ==" 236 echo -n "Checking sysctl is not set to test value ... " 244 echo -n "Writing sysctl from shell ... " 253 echo -n "Resetting sysctl to original value ... " 266 echo -n "Writing entire sysctl in single write ... " [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | index.rst | 63 ip-sysctl 66 ipvs-sysctl 71 mpls-sysctl 76 netfilter-sysctl 78 nf_conntrack-sysctl 94 seg6-sysctl
|
| /kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
| D | ipvs.sh | 141 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1 147 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1 148 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_announce=2 150 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.rp_filter=0 151 ip netns exec ns2 sysctl -qw net.ipv4.conf.veth21.rp_filter=0 160 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1 176 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=0 177 ip netns exec ns1 sysctl -qw net.ipv4.conf.all.send_redirects=0 178 ip netns exec ns1 sysctl -qw net.ipv4.conf.default.send_redirects=0 185 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1 [all …]
|
| /kernel/linux/linux-5.10/fs/proc/ |
| D | proc_sysctl.c | 6 #include <linux/sysctl.h> 170 pr_err("sysctl duplicate entry: "); in insert_entry() 406 * some sysctl variables are readonly even to root. 454 ei->sysctl = head; in proc_sys_make_inode() 493 struct ctl_table_header *head = PROC_I(inode)->sysctl; in grab_header() 557 * At this point we know that the sysctl was not unregistered in proc_sys_call_handler() 624 /* sysctl was unregistered */ in proc_sys_open() 644 /* sysctl was unregistered */ in proc_sys_poll() 790 * sysctl entries that are not writeable, in proc_sys_permission() 808 else /* Use the permissions on the sysctl table entry */ in proc_sys_permission() [all …]
|
| /kernel/linux/linux-6.6/fs/proc/ |
| D | proc_sysctl.c | 6 #include <linux/sysctl.h> 38 * register_sysctl_mount_point() - registers a sysctl mount point 171 pr_err("sysctl duplicate entry: "); in insert_entry() 415 * some sysctl variables are readonly even to root. 463 ei->sysctl = head; in proc_sys_make_inode() 502 struct ctl_table_header *head = PROC_I(inode)->sysctl; in grab_header() 566 * At this point we know that the sysctl was not unregistered in proc_sys_call_handler() 633 /* sysctl was unregistered */ in proc_sys_open() 653 /* sysctl was unregistered */ in proc_sys_poll() 800 * sysctl entries that are not writeable, in proc_sys_permission() [all …]
|