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,
863 WRITE_ONCE(idev->cnf.force_forwarding, 0); in addrconf_forward_change()
5722 array[DEVCONF_FORCE_FORWARDING] = READ_ONCE(cnf->force_forwarding); in ipv6_store_devconf()
6759 int changed = (!idev->cnf.force_forwarding) ^ (!newf); in addrconf_force_forward_change()
6761 WRITE_ONCE(idev->cnf.force_forwarding, newf); in addrconf_force_forward_change()
6794 if (valp == &net->ipv6.devconf_dflt->force_forwarding) { in addrconf_sysctl_force_forwarding()
6799 } else if (valp == &net->ipv6.devconf_all->force_forwarding) { in addrconf_sysctl_force_forwarding()
7294 .data = &ipv6_devconf.force_forwarding,
H A Dip6_output.c510 (!idev || !READ_ONCE(idev->cnf.force_forwarding))) in ip6_forward()
/linux/Documentation/networking/
H A Dip-sysctl.rst2618 IPv4 and IPv6 work differently here; the ``force_forwarding`` flag must
2636 force_forwarding - BOOLEAN
2639 the ``force_forwarding`` flag will be reset on all interfaces.