Re: [rohc] Doubt regarding the Static chain termination for Profile0x004

"Gurushant" <gurushant@tataelxsi.co.in> Wed, 10 March 2010 10:59 UTC

Return-Path: <prvs=678f26b9c=gurushant@tataelxsi.co.in>
X-Original-To: rohc@core3.amsl.com
Delivered-To: rohc@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7318B3A67D4 for <rohc@core3.amsl.com>; Wed, 10 Mar 2010 02:59:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.004
X-Spam-Level:
X-Spam-Status: No, score=-2.004 tagged_above=-999 required=5 tests=[AWL=0.595, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t-IMftHFafqe for <rohc@core3.amsl.com>; Wed, 10 Mar 2010 02:59:44 -0800 (PST)
Received: from smtpin2.mailsecure.in (SMTPIN2.mailsecure.in [121.241.224.3]) by core3.amsl.com (Postfix) with ESMTP id 3EB653A6840 for <rohc@ietf.org>; Wed, 10 Mar 2010 02:59:42 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.49,613,1262543400"; d="scan'208";a="77115160"
Received: from unknown (HELO VSNLCHNFE001.VSNLXCHANGE.COM) ([10.72.10.11]) by smtpout2.vsnlxchange.com with ESMTP; 10 Mar 2010 16:29:43 +0530
Received: from gurushant ([59.160.207.5]) by VSNLCHNFE001.VSNLXCHANGE.COM with Microsoft SMTPSVC(6.0.3790.3959); Wed, 10 Mar 2010 16:29:43 +0530
From: "Gurushant" <gurushant@tataelxsi.co.in>
To: "'Klaus Warnke'" <klaus.warnke@acticom.de>
Date: Wed, 10 Mar 2010 16:29:41 +0530
Message-ID: <E9D8904618454189B1BEA1747067B017@telxsi.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <uy6i0a2d8.wl%klaus.warnke@acticom.de>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-OriginalArrivalTime: 10 Mar 2010 10:59:43.0187 (UTC) FILETIME=[C9F00230:01CAC040]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Cc: rohc@ietf.org
Subject: Re: [rohc] Doubt regarding the Static chain termination for Profile0x004
X-BeenThere: rohc@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: gurushant@tataelxsi.co.in
List-Id: Robust Header Compression <rohc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rohc>
List-Post: <mailto:rohc@ietf.org>
List-Help: <mailto:rohc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Mar 2010 10:59:45 -0000

Hello Klaus, 

Thanks, that confirms my understanding.

Thanks & Best Regards
Gurushant.

-----Original Message-----
From: Klaus Warnke [mailto:klaus.warnke@acticom.de]
Sent: Wednesday, March 10, 2010 4:08 PM
To: gurushant@tataelxsi.co.in
Cc: rohc@ietf.org
Subject: Re: [rohc] Doubt regarding the Static chain termination for
Profile0x004


Hello Gurushant,

At Wed, 10 Mar 2010 15:23:03 +0530,
Gurushant wrote:
> Dear All, 
> 
> Can one help on the below issue?
> 
> Thanks & Best Regards
> Gurushant
> 
>> Hello Simon,
>> I have doubt related to static chain termination. The RFC 3843 ,sec
>> 3.1 mentions that "The decompressor must store this indication in
>> the context for correct decompression of subsequent headers. Note
>> that the IP version field in decompressed headers must be restored
>> to its original value"
>> 
>> May I request to elaborate more on this reference, i.e. how the
>> subsequent header version is restored to original value?

If you don't remenber in the decompressor context, how many IP headers
are in the chain, you could not restore the original chain. In all
other profiles it is clear, because there are at most two IP
headers. It was sufficient to remember tunnel or not. If you are
using, for example, the RTP profile, after the one/two IP headers the
RTP header must follow. So there you need no extra information in the
decompressor context. But in this profile, the count of the IP headers
is not fixed, therefore you have to remember its termination to know
where the UDP/RTP headers are following (in RTP profile).

To restore the original version value, you have to clear the MSB:

* 0xC for IPv4 back to 0x4
* 0xE for IPv6 back to 0x6

That means, you should not put the 0xC/0xE value in the version field
of the reconstructed IP header in case of decompression the last IP
header in the chain.

Was this your question?

> Thanks & Best Regards
> Gurushant

Gruss, Klaus