lkml.org 
[lkml]   [2000]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: your mail
On Thu, Jan 13, 2000 at 11:25:47AM +0530, Ajay Agrawal wrote:
> Hi,
> I observer that when the linux IP, fragments the packet, it sends the first
> fragment packet (containing the Transport layer information) at the last. In
> short if the packets arrive in the transmitted order at the destination the
> last fragment is received first and the first fragment at the last.
> Why is it so?

because it allows us to calculate the checksum while the fragments are
being sent, then store it in the first fragment, which is sent last.
It's a cunning little optimisation.

-
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:55    [W:0.037 / U:1.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site