lkml.org 
[lkml]   [1998]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: UDP bugs
Date
From
> > 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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.178 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site