[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.212 and 1.212.2.3

version 1.212, 2005/02/26 22:45:12 version 1.212.2.3, 2007/09/17 20:14:21
Line 200  int ipprintfs = 0;
Line 200  int ipprintfs = 0;
 #endif  #endif
   
 int     ip_do_randomid = 0;  int     ip_do_randomid = 0;
 int     ip_do_loopback_cksum = 0;  
   
 /*  /*
  * XXX - Setting ip_checkinterface mostly implements the receive side of   * XXX - Setting ip_checkinterface mostly implements the receive side of
Line 1006  found:
Line 1005  found:
                         /* XXX error stat??? */                          /* XXX error stat??? */
                         error = EINVAL;                          error = EINVAL;
 DPRINTF(("ip_input: no SP, packet discarded\n"));/*XXX*/  DPRINTF(("ip_input: no SP, packet discarded\n"));/*XXX*/
                         goto bad;  
                 }                  }
                 splx(s);                  splx(s);
                 if (error)                  if (error)
Line 1226  insert:
Line 1224  insert:
                 for (t = m; t; t = t->m_next)                  for (t = m; t; t = t->m_next)
                         plen += t->m_len;                          plen += t->m_len;
                 m->m_pkthdr.len = plen;                  m->m_pkthdr.len = plen;
                   m->m_pkthdr.csum_flags = 0;
         }          }
         return (m);          return (m);
   

Legend:
Removed from v.1.212  
changed lines
  Added in v.1.212.2.3

CVSweb <webmaster@jp.NetBSD.org>