Haryadi Gunawi writes:
> Can someone help me point the source code where "the TCP/IP stack knows
> that the NIC is going to insert the checksums"?

Grep for "ifp->if_hwassist" and "CSUM_" in /sys/netinet/*.c.

> Is there anyway to disable checksum in the hardware so that
> the checksum will be done in software or
> to force the TCP/IP stack do the checksumming?

Set ifp->if_hwassist to zero at attach time.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to