HomeSort by: relevance | last modified time | path
    Searched defs:ipforwarding (Results 1 - 2 of 2) 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_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,

Completed in 12 milliseconds