> > So that the same logic applies to TCP packets as well.  Currently, we
> > can send a TCP packet with a checksum of 0, which is legal.  Of possible
> > interest is that Linux doesn't do this; they alwyas send a non-zero
> > checksum in the TCP case, if a checksum was computed.
> > 
> Hmm, but why would we do this for TCP?  This violates RFC 793.
> AFAIK, only UDP checksums are special.

0x0000 and 0xFFFF are both 16-bit 1's complement representations of
zero, so you could send either and still have the remote TCP validate
the checksum.

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

Reply via email to