NetBSD/sbin/ifconfig
thorpej ca4d373730 Implement support for IP/TCP/UDP checksum offloading provided by
network interfaces.  This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us.  In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software.  This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.

We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.

Note: hardware-assisted checksumming defaults to "off".  It is
enabled with ifconfig(8).  See the manual page for details.

Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:06 +00:00
..
Makefile assume the presense of getifaddrs(3). 2001-04-28 00:00:06 +00:00
ifconfig.8 Implement support for IP/TCP/UDP checksum offloading provided by 2001-06-02 16:17:06 +00:00
ifconfig.c Implement support for IP/TCP/UDP checksum offloading provided by 2001-06-02 16:17:06 +00:00