HomeSort by: relevance | last modified time | path
    Searched refs:ipforwarding (Results 1 - 5 of 5) sorted by relevancy

  /src/sbin/routed/
main.c 65 int ipforwarding = 1; /* kernel forwarding on */ variable in typeref:typename:int
255 len = sizeof(ipforwarding);
256 if (sysctl(mib, 4, &ipforwarding, &len, 0, 0) < 0)
259 if (!ipforwarding) {
261 msglog("-s incompatible with ipforwarding=0");
263 msglog("-g incompatible with ipforwarding=0");
  /src/sys/netinet/
ip_var.h 192 extern int ipforwarding; /* ip forwarding */
ip_input.c 154 #ifndef IPFORWARDING
156 #define IPFORWARDING 1 /* forward IP packets not for us */
158 #define IPFORWARDING 0 /* don't forward IP packets not for us */
164 int ipforwarding = IPFORWARDING; variable in typeref:typename:int
329 checkif = ip_checkinterface && (ipforwarding == 0) &&
723 if (ipforwarding == 0) {
1327 * if ipforwarding was zero but some routing protocol was advancing
1660 NULL, 0, &ipforwarding, 0,
ip_flow.c 220 if (!ipforwarding || ipflow_inuse == 0 || m->m_len < sizeof(struct ip))
  /src/sys/external/bsd/ipf/netinet/
ip_fil_netbsd.c 493 ipforwarding = 1;
587 ipforwarding = 0;

Completed in 17 milliseconds