Messages in this thread | | | Date | Thu, 13 Jan 2000 10:01:49 -0500 | From | Matthew Wilcox <> | Subject | Re: 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/
| |