summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/in_cksum.h
Commit message (Collapse)AuthorAgeFilesLines
* Make in_cksum() a macro call to in_cksum_skip(), since it provides thejlemon2000-05-061-3/+2
| | | | | | | same functionality. Sharing code should help cache issues. Remove in_cksum_partial, since its not being used, and we now have a way to compute partial checksums on mbuf chains.
* Add support for offloading IP/TCP/UDP checksums to NIC hardware whichjlemon2000-03-271-0/+25
| | | | supports them.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+2
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix all areas of the system (or at least all those in LINT) to avoid storingwollman1997-08-161-1/+10
| | | | | | | | socket addresses in mbufs. (Socket buffers are the one exception.) A number of kernel APIs needed to get fixed in order to make this happen. Also, fix three protocol families which kept PCBs in mbufs to not malloc them instead. Delete some old compatibility cruft while we're at it, and add some new routines in the in_cksum family.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add an incremental checksum update routine. Perhaps some i386 assemblywollman1996-05-231-1/+17
| | | | | | guru out there can find a way to take advantage of little-endianness to make this computation more efficient. (I am certain that it can be done, but haven't managed to make it work myself.)
* Add an inline function to compute the common-case IP header checksum.wollman1996-04-181-0/+76
OpenPOWER on IntegriCloud