Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Done_armed_router.sh229 sysctl_set net.ipv4.conf.all.accept_redirects 0
230 sysctl_set net.ipv6.conf.all.accept_redirects 0
245 sysctl_restore net.ipv6.conf.all.accept_redirects
246 sysctl_restore net.ipv4.conf.all.accept_redirects
/linux-6.1.9/tools/testing/selftests/net/
Dicmp_redirect.sh180 h[12]) ip netns exec $ns sysctl -q -w net.ipv4.conf.all.accept_redirects=1
182 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1
/linux-6.1.9/include/linux/
Dipv6.h17 __s32 accept_redirects; member
/linux-6.1.9/Documentation/networking/
Dip-sysctl.rst1422 accept_redirects - BOOLEAN
1424 accept_redirects for the interface will be enabled if:
1426 - both conf/{all,interface}/accept_redirects are TRUE in the case
1431 - at least one of conf/{all,interface}/accept_redirects is TRUE in the
1434 accept_redirects for the interface will be disabled otherwise
2196 accept_redirects - BOOLEAN
2248 4. If accept_redirects is TRUE (default), accept Redirects.
/linux-6.1.9/net/ipv6/
Daddrconf.c185 .accept_redirects = 1,
245 .accept_redirects = 1,
5524 array[DEVCONF_ACCEPT_REDIRECTS] = cnf->accept_redirects; in ipv6_store_devconf()
6652 .data = &ipv6_devconf.accept_redirects,
Droute.c4145 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()