[BACK]Return to ip_input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/ip_input.c between version 1.183 and 1.184

version 1.183, 2003/11/17 22:34:16 version 1.184, 2003/11/19 18:39:34
Line 100 
Line 100 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 __KERNEL_RCSID(0, "$NetBSD$");  __KERNEL_RCSID(0, "$NetBSD$");
   
   #include "opt_inet.h"
 #include "opt_gateway.h"  #include "opt_gateway.h"
 #include "opt_pfil_hooks.h"  #include "opt_pfil_hooks.h"
 #include "opt_ipsec.h"  #include "opt_ipsec.h"
Line 197  int ip_mtudisc_timeout = IPMTUDISCTIMEOU
Line 198  int ip_mtudisc_timeout = IPMTUDISCTIMEOU
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
 int     ipprintfs = 0;  int     ipprintfs = 0;
 #endif  #endif
   
   #ifdef RANDOM_IP_ID
   int     ip_do_randomid = 0;
   #endif
   
 /*  /*
  * XXX - Setting ip_checkinterface mostly implements the receive side of   * XXX - Setting ip_checkinterface mostly implements the receive side of
  * the Strong ES model described in RFC 1122, but since the routing table   * the Strong ES model described in RFC 1122, but since the routing table
Line 2066  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 2072  ip_sysctl(name, namelen, oldp, oldlenp, 
                 return (sysctl_ifq(name + 1, namelen - 1, oldp, oldlenp,                  return (sysctl_ifq(name + 1, namelen - 1, oldp, oldlenp,
                     newp, newlen, &ipintrq));                      newp, newlen, &ipintrq));
   
           case IPCTL_RANDOMID:
   #ifdef  RANDOM_IP_ID
                   return (sysctl_int(oldp, oldlenp, newp, newlen,
                       &ip_do_randomid));
   #else
                   return (sysctl_rdint(oldp, oldlenp, newp, newlen, 0));
   #endif
   
         default:          default:
                 return (EOPNOTSUPP);                  return (EOPNOTSUPP);
         }          }

Legend:
Removed from v.1.183  
changed lines
  Added in v.1.184

CVSweb <webmaster@jp.NetBSD.org>