Linux-kernel mailing list archive 1998-50,: Re: UDP bugs

# Re: UDP bugs

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jes Sorensen: "Re: PATCH: Raw device IO for 2.1.131"
- Previous message: Lorenzo Campedelli: "Problems with ppa module"
- In reply to: Richard Gooch: "Re: UDP bugs"
- Next in thread: Richard Gooch: "Re: UDP bugs"

> > 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/

- Next message: Jes Sorensen: "Re: PATCH: Raw device IO for 2.1.131"
- Previous message: Lorenzo Campedelli: "Problems with ppa module"
- In reply to: Richard Gooch: "Re: UDP bugs"
- Next in thread: Richard Gooch: "Re: UDP bugs"