Searched refs:ipforwarding (Results 1 - 5 of 5) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/netinet/
H A Dip_var.h164 extern int ipforwarding; /* ip forwarding */
H A Dip_input.c192 int ipforwarding = IPFORWARDING; variable
632 checkif = ip_checkinterface && (ipforwarding == 0) &&
731 if (ipforwarding == 0) {
1309 * if ipforwarding was zero but some routing protocol was advancing
1751 NULL, 0, &ipforwarding, 0,
H A Dip_flow.c189 if (!ipforwarding || ipflow_inuse == 0 || m->m_len < sizeof(struct ip))
/netbsd-6-1-5-RELEASE/sbin/routed/
H A Dmain.c68 int ipforwarding = 1; /* kernel forwarding on */ variable
258 len = sizeof(ipforwarding);
259 if (sysctl(mib, 4, &ipforwarding, &len, 0, 0) < 0)
262 if (!ipforwarding) {
264 msglog("-s incompatible with ipforwarding=0");
266 msglog("-g incompatible with ipforwarding=0");
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/
H A Dip_fil_netbsd.c482 ipforwarding = 1;
549 ipforwarding = 0;

Completed in 176 milliseconds