Searched refs:ip_forwarding (Results 1 – 3 of 3) sorted by relevance
45 static int ip_forwarding; variable103 len = sizeof(ip_forwarding); in fetch_ip()104 if (sysctlbyname("net.inet.ip.forwarding", &ip_forwarding, &len, in fetch_ip()109 if (len != sizeof(ip_forwarding)) { in fetch_ip()140 ip_forwarding = forw; in ip_forward()184 ctx->scratch->int1 = ip_forwarding ? 1 : 2; in op_ip()187 if (!ip_forwarding && ip_forward(1, &old)) in op_ip()191 if (ip_forwarding && ip_forward(0, &old)) in op_ip()242 value->v.integer = ip_forwarding ? 1 : 2; in op_ip()
243 # ip_forwarding aus249 /usr/contrib/bin/nettune -s ip_forwarding 0 || exit $ERROR
2409 ndd -set /dev/ip ip_forwarding 1