Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
A 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.3-rc2/tools/testing/selftests/net/
A 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.3-rc2/include/linux/
A Dipv6.h17 __s32 accept_redirects; member
/linux-6.3-rc2/Documentation/networking/
A Dip-sysctl.rst1527 accept_redirects - BOOLEAN
1529 accept_redirects for the interface will be enabled if:
1531 - both conf/{all,interface}/accept_redirects are TRUE in the case
1536 - at least one of conf/{all,interface}/accept_redirects is TRUE in the
1539 accept_redirects for the interface will be disabled otherwise
2309 accept_redirects - BOOLEAN
2361 4. If accept_redirects is TRUE (default), accept Redirects.
/linux-6.3-rc2/net/ipv6/
A Daddrconf.c185 .accept_redirects = 1,
245 .accept_redirects = 1,
5529 array[DEVCONF_ACCEPT_REDIRECTS] = cnf->accept_redirects; in ipv6_store_devconf()
6657 .data = &ipv6_devconf.accept_redirects,
A Droute.c4138 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()

Completed in 45 milliseconds