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.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()
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()
7318 .procname = "force_forwarding",
[all...]
H A Dip6_output.c534 (!idev || !READ_ONCE(idev->cnf.force_forwarding))) in ip6_forward()
/linux/Documentation/networking/
H A Dip-sysctl.rst2658 IPv4 and IPv6 work differently here; the ``force_forwarding`` flag must
2676 force_forwarding - BOOLEAN
2679 the ``force_forwarding`` flag will be reset on all interfaces.