cvs commit: src/sys/contrib/pf/netinet in4_cksum.c

Max Laier mlaier at FreeBSD.org
Thu Aug 5 13:41:38 PDT 2004


mlaier      2004-08-05 20:41:38 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/pf/netinet in4_cksum.c 
  Log:
  Use in_cksum_skip() to calculate in4_cksum instead of doing handrolled magic
  (that does not compile with !gcc). Moreover we get the benefit for all archs
  that have a hand optimized in_cksum_skip().
  
  Submitted by:   yongari
  Tested by:      me (i386, extensivly), pf4freebsd ML (various)
  
  Revision  Changes    Path
  1.4       +12 -279   src/sys/contrib/pf/netinet/in4_cksum.c


More information about the cvs-src mailing list