Home | History | Annotate | Download | only in netinet
History log of /src/sys/netinet/in_cksum.c
RevisionDateAuthorComments
 1.22  25-Jan-2008  joerg Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
They call a backend function cpu_in_cksum after possibly
computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
The default implementation is moderate fast on most platforms
and provides a 32bit accumulator with 16bit addends for L32 platforms
and a 64bit accumulator with 32bit addends for L64 platforms.
It handles edge cases like very large mbuf chains (could happen with
native IPv6 in the future) and provides a good base for new native
implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.
 1.21  09-Jan-2008  joerg When not compiling for the kernel, use stdio.h instead of sys/systm.h
(printf) and locally define the protoype. Makes it possible to use
in_cksum.c for regression testing.
 1.20  09-Jan-2008  joerg Anyone seriously interested in implementing in_cksum on a new platform
should read RFC 1071, so point them to it.
 1.19  11-Dec-2005  christos branches: 1.19.46; 1.19.52; 1.19.60;
merge ktrace-lwp.
 1.18  03-Feb-2005  perry branches: 1.18.6;
ANSIfy function prototypes. (Still have about 3/5ths of the C files in
netinet to go...)
 1.17  07-Aug-2003  agc branches: 1.17.8; 1.17.10;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.16  09-Jun-2002  itojun branches: 1.16.6;
whitespace
 1.15  13-Nov-2001  lukem branches: 1.15.8;
add RCSIDs
 1.14  30-Mar-2000  augustss branches: 1.14.6; 1.14.8;
Remove register declarations.
 1.13  13-Oct-1996  christos branches: 1.13.28;
backout previous kprintf changes
 1.12  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.11  08-Apr-1996  jonathan fixes for -Wall -Wmissing-prototypes:
include <sys/systm.h> to get a prototyped declaration of printf().
include <netinet/in.h> to get a prototyped declaration of in_cksum().
 1.10  13-Apr-1995  cgd be a bit more careful and explicit with types. (basically a large no-op.)
 1.9  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.8  13-May-1994  mycroft Update to 4.4-Lite networking code, with a few local changes.
 1.7  10-Jan-1994  mycroft Fix function name.
 1.6  09-Jan-1994  mycroft Prototype the rest.
 1.5  08-Jan-1994  mycroft Fix some inconsistent spacing; spaces at the end of lines, etc.
 1.4  18-Dec-1993  mycroft Canonicalize all #includes.
 1.3  20-May-1993  cgd more rcsid additions and file header cleanups
 1.2  17-Apr-1993  glass this file is never compiled, nor included in 'files' because it is adapted
for the particular architecture. However, it never would've compiled either
as it had the old '../h/foo.h' stuff in it.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  05-Jan-1998  thorpej Import sys/netinet from 4.4BSD-Lite for reference purposes.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.28.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.14.8.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.14.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.6.2  20-Jun-2002  nathanw Catch up to -current.
 1.14.6.1  14-Nov-2001  nathanw Catch up to -current.
 1.15.8.1  20-Jun-2002  gehenna catch up with -current.
 1.16.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.16.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.16.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.10.1  12-Feb-2005  yamt sync with head.
 1.17.8.1  29-Apr-2005  kent sync with -current
 1.18.6.2  04-Feb-2008  yamt sync with head.
 1.18.6.1  21-Jan-2008  yamt sync with head
 1.19.60.1  10-Jan-2008  bouyer Sync with HEAD
 1.19.52.1  18-Feb-2008  mjf Sync with HEAD.
 1.19.46.1  23-Mar-2008  matt sync with HEAD

RSS XML Feed