Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/tools/testing/selftests/net/
Dicmp_redirect.sh176 h[12]) ip netns exec $ns sysctl -q -w net.ipv4.conf.all.accept_redirects=1
178 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1
/Linux-v5.4/include/linux/
Dipv6.h17 __s32 accept_redirects; member
/Linux-v5.4/Documentation/networking/
Dip-sysctl.txt1115 accept_redirects - BOOLEAN
1117 accept_redirects for the interface will be enabled if:
1118 - both conf/{all,interface}/accept_redirects are TRUE in the case
1121 - at least one of conf/{all,interface}/accept_redirects is TRUE in the
1123 accept_redirects for the interface will be disabled otherwise
1685 accept_redirects - BOOLEAN
1729 4. If accept_redirects is TRUE (default), accept Redirects.
/Linux-v5.4/net/ipv6/
Daddrconf.c192 .accept_redirects = 1,
246 .accept_redirects = 1,
5380 array[DEVCONF_ACCEPT_REDIRECTS] = cnf->accept_redirects; in ipv6_store_devconf()
6478 .data = &ipv6_devconf.accept_redirects,
Droute.c3980 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()