Home | History | Annotate | Download | only in netinet
History log of /src/sys/netinet/cpu_in_cksum.c
RevisionDateAuthorComments
 1.2  28-Aug-2018  rin No need to update mlen also in the case of (mlen & 16) != 0.
 1.1  25-Jan-2008  joerg branches: 1.1.2; 1.1.4; 1.1.12; 1.1.102; 1.1.104;
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.1.104.1  10-Jun-2019  christos Sync with HEAD
 1.1.102.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.1.12.2  23-Mar-2008  matt sync with HEAD
 1.1.12.1  25-Jan-2008  matt file cpu_in_cksum.c was added on branch matt-armv6 on 2008-03-23 02:05:06 +0000
 1.1.4.2  18-Feb-2008  mjf Sync with HEAD.
 1.1.4.1  25-Jan-2008  mjf file cpu_in_cksum.c was added on branch mjf-devfs on 2008-02-18 21:07:08 +0000
 1.1.2.2  04-Feb-2008  yamt sync with head.
 1.1.2.1  25-Jan-2008  yamt file cpu_in_cksum.c was added on branch yamt-lazymbuf on 2008-02-04 09:24:39 +0000

RSS XML Feed