Home
last modified time | relevance | path

Searched refs:accept_redirects (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Done_armed_router.sh230 sysctl_set net.ipv4.conf.all.accept_redirects 0
231 sysctl_set net.ipv6.conf.all.accept_redirects 0
246 sysctl_restore net.ipv6.conf.all.accept_redirects
247 sysctl_restore net.ipv4.conf.all.accept_redirects
/linux/tools/testing/selftests/net/
H A Dexception_cache.sh212 ip netns exec "$h1" sysctl -qw net.ipv4.conf.all.accept_redirects=1
213 ip netns exec "$h1" sysctl -qw net.ipv4.conf.eth0.accept_redirects=1
214 ip netns exec "$h1" sysctl -qw net.ipv6.conf.all.accept_redirects=1
215 ip netns exec "$h1" sysctl -qw net.ipv6.conf.eth0.accept_redirects=1
H A Dicmp_redirect.sh174 ip netns exec $ns sysctl -q -w net.ipv4.conf.all.accept_redirects=1
176 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1
H A Dfib_tests.sh896 $NS_EXEC sysctl -wq net.ipv6.conf.veth1.accept_redirects=1
/linux/include/linux/
H A Dipv6.h26 __s32 accept_redirects; member
/linux/Documentation/networking/
H A Dip-sysctl.rst1939 accept_redirects - BOOLEAN
1941 accept_redirects for the interface will be enabled if:
1943 - both conf/{all,interface}/accept_redirects are TRUE in the case
1948 - at least one of conf/{all,interface}/accept_redirects is TRUE in the
1951 accept_redirects for the interface will be disabled otherwise
2846 accept_redirects - BOOLEAN
2898 4. If accept_redirects is TRUE (default), accept Redirects.
/linux/net/ipv6/
H A Daddrconf.c186 .accept_redirects = 1,
251 .accept_redirects = 1,
5674 array[DEVCONF_ACCEPT_REDIRECTS] = READ_ONCE(cnf->accept_redirects); in ipv6_store_devconf()
6881 .procname = "accept_redirects",
6882 .data = &ipv6_devconf.accept_redirects,
H A Droute.c4290 !READ_ONCE(in6_dev->cnf.accept_redirects)) in rt6_do_redirect()