Re: UDP bugs

Olaf Titz (olaf@bigred.inka.de)
Sun, 13 Dec 1998 15:07:02 +0100


> > Are you considering the size of IP and UDP headers? Those must be
> > factored in.
> I was under the impression that the payload capacity was 65535

An IP datagram including any headers can't be longer than 65535 bytes,
because the 16 bit length field in the IP header counts the total
length including headers [RFC791, 3.1].

This makes the maximum UDP payload size = 65535-20-8=65507.

> bytes. And if it were true that the headers steal capacity, then why
> can Solaris 2.5.1 send a full 65535 byte packet?

Because of a Solaris bug? :-)

Olaf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/