[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.186 and 1.187

version 1.186, 2003/11/24 20:54:59 version 1.187, 2003/11/26 21:15:47
Line 199  int ip_mtudisc_timeout = IPMTUDISCTIMEOU
Line 199  int ip_mtudisc_timeout = IPMTUDISCTIMEOU
 int     ipprintfs = 0;  int     ipprintfs = 0;
 #endif  #endif
   
 #ifdef RANDOM_IP_ID  
 int     ip_do_randomid = 0;  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
Line 2075  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 2073  ip_sysctl(name, namelen, oldp, oldlenp, 
                     newp, newlen, &ipintrq));                      newp, newlen, &ipintrq));
   
         case IPCTL_RANDOMID:          case IPCTL_RANDOMID:
 #ifdef  RANDOM_IP_ID  
                 return (sysctl_int(oldp, oldlenp, newp, newlen,                  return (sysctl_int(oldp, oldlenp, newp, newlen,
                     &ip_do_randomid));                      &ip_do_randomid));
 #else  
                 return (sysctl_rdint(oldp, oldlenp, newp, 0));  
 #endif  
   
         default:          default:
                 return (EOPNOTSUPP);                  return (EOPNOTSUPP);

Legend:
Removed from v.1.186  
changed lines
  Added in v.1.187

CVSweb <webmaster@jp.NetBSD.org>