Home
last modified time | relevance | path

Searched refs:force_forwarding (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dipv6_force_forwarding.sh59 if ! ip netns exec $ns2 test -f /proc/sys/net/ipv6/conf/veth21/force_forwarding; then
65 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth21.force_forwarding=0
66 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth23.force_forwarding=0
76 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth21.force_forwarding=1
77 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth23.force_forwarding=1
/linux/include/linux/
H A Dipv6.h20 __s32 force_forwarding; member
/linux/net/ipv6/
H A Daddrconf.c242 .force_forwarding = 0,
307 .force_forwarding = 0,
864 WRITE_ONCE(idev->cnf.force_forwarding, 0); in addrconf_forward_change()
5718 array[DEVCONF_FORCE_FORWARDING] = READ_ONCE(cnf->force_forwarding); in ipv6_store_devconf()
6755 int changed = (!idev->cnf.force_forwarding) ^ (!newf); in addrconf_force_forward_change()
6757 WRITE_ONCE(idev->cnf.force_forwarding, newf); in addrconf_force_forward_change()
6790 if (valp == &net->ipv6.devconf_dflt->force_forwarding) { in addrconf_sysctl_force_forwarding()
6795 } else if (valp == &net->ipv6.devconf_all->force_forwarding) { in addrconf_sysctl_force_forwarding()
7288 .data = &ipv6_devconf.force_forwarding,
H A Dip6_output.c515 (!idev || !READ_ONCE(idev->cnf.force_forwarding))) in ip6_forward()
/linux/Documentation/networking/
H A Dip-sysctl.rst2546 IPv4 and IPv6 work differently here; the ``force_forwarding`` flag must
2564 force_forwarding - BOOLEAN
2567 the ``force_forwarding`` flag will be reset on all interfaces.