Home
last modified time | relevance | path

Searched refs:accept_redirects (Results 1 – 6 of 6) 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 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
/linux/include/linux/
H A Dipv6.h25 __s32 accept_redirects; member
/linux/Documentation/networking/
H A Dip-sysctl.rst1603 accept_redirects - BOOLEAN
1605 accept_redirects for the interface will be enabled if:
1607 - both conf/{all,interface}/accept_redirects are TRUE in the case
1612 - at least one of conf/{all,interface}/accept_redirects is TRUE in the
1615 accept_redirects for the interface will be disabled otherwise
2424 accept_redirects - BOOLEAN
2476 4. If accept_redirects is TRUE (default), accept Redirects.
/linux/net/ipv6/
H A Daddrconf.c184 .accept_redirects = 1,
248 .accept_redirects = 1,
5650 array[DEVCONF_ACCEPT_REDIRECTS] = READ_ONCE(cnf->accept_redirects); in ipv6_store_devconf()
6778 .data = &ipv6_devconf.accept_redirects,
H A Droute.c4156 !READ_ONCE(in6_dev->cnf.accept_redirects)) in rt6_do_redirect()