Home
last modified time | relevance | path

Searched refs:force_forwarding (Results 1 – 4 of 4) 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.c243 .force_forwarding = 0,
308 .force_forwarding = 0,
864 WRITE_ONCE(idev->cnf.force_forwarding, 0); in addrconf_forward_change()
5755 array[DEVCONF_FORCE_FORWARDING] = READ_ONCE(cnf->force_forwarding); in ipv6_store_devconf()
6787 int changed = (!idev->cnf.force_forwarding) ^ (!newf); in addrconf_force_forward_change()
6789 WRITE_ONCE(idev->cnf.force_forwarding, newf); in addrconf_force_forward_change()
6821 if (valp == &net->ipv6.devconf_dflt->force_forwarding) { in addrconf_sysctl_force_forwarding()
6826 } else if (valp == &net->ipv6.devconf_all->force_forwarding) { in addrconf_sysctl_force_forwarding()
7319 .data = &ipv6_devconf.force_forwarding,
H A Dip6_output.c534 (!idev || !READ_ONCE(idev->cnf.force_forwarding))) in ip6_forward()