[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.188

version 1.186, 2003/11/24 20:54:59 version 1.188, 2003/12/04 10:02:35
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 563  ip_input(struct mbuf *m)
Line 561  ip_input(struct mbuf *m)
                         m_adj(m, len - m->m_pkthdr.len);                          m_adj(m, len - m->m_pkthdr.len);
         }          }
   
 #ifdef IPSEC  #if defined(IPSEC) || defined(FAST_IPSEC)
         /* ipflow (IP fast forwarding) is not compatible with IPsec. */          /* ipflow (IP fast forwarding) is not compatible with IPsec. */
         m->m_flags &= ~M_CANFASTFWD;          m->m_flags &= ~M_CANFASTFWD;
 #else  #else
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.188

CVSweb <webmaster@jp.NetBSD.org>