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,
862 /* Disabling all.forwarding sets 0 to force_forwarding for all interfaces */ in addrconf_forward_change()
864 WRITE_ONCE(idev->cnf.force_forwarding, 0); in addrconf_forward_change()
5732 array[DEVCONF_FORCE_FORWARDING] = READ_ONCE(cnf->force_forwarding);
6769 int changed = (!idev->cnf.force_forwarding) ^ (!newf); in addrconf_force_forward_change()
6771 WRITE_ONCE(idev->cnf.force_forwarding, newf); in addrconf_force_forward_change()
6804 if (valp == &net->ipv6.devconf_dflt->force_forwarding) { in addrconf_sysctl_force_forwarding()
6809 } else if (valp == &net->ipv6.devconf_all->force_forwarding) { in addrconf_sysctl_force_forwarding()
7303 .procname = "force_forwarding",
[all...]
H A Dip6_output.c532 (!idev || !READ_ONCE(idev->cnf.force_forwarding))) in ip6_forward()