ietf
[Top] [All Lists]

Re: Clarification needed

2002-12-02 01:47:00
On Mon, 02 Dec 2002 10:18:22 +0530, Ramana Divvi 
<ramanad(_at_)future(_dot_)futsoft(_dot_)com>  said:

IHL              ------>  IHL is the Total IPv4 header length, maximum is 15
( 15x4 = 60 bytes) ----refer RFC 791
DataOffset   ------>  DataOffset is total TCP header size ( in simple words)
, maximum is 15 ( 15x4 = 60 bytes) ----refer RFC 793
From above two, combined TCP/IP header maximum length is 120 bytes.

Correct.

But in RFC 1144 (page 13) , it was defined as 128 bytes. Is it correct? If
so please clarify the same.

No.  You need a 128 octet buffer *for the compressed header*. The hint is
"since the output packet can be larger than the input packet".  Contemplate the
algorithm, and see if you can see what states will cause the 120 byte header to
require 128 bytes after "compression".


-- 
                                Valdis Kletnieks
                                Computer Systems Senior Engineer
                                Virginia Tech

Attachment: pgpocp0eP0SHw.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>