Re: [rohc] Doubt regarding the Static chain termination for Profile 0x004
Simon Laurenz <simon.laurenz@acticom.de> Fri, 12 February 2010 06:31 UTC
Return-Path: <simon.laurenz@acticom.de>
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 9A88F28C0DC for <rohc@core3.amsl.com>;
Thu, 11 Feb 2010 22:31:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
tests=[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 WPFO8JhLYeYN for
<rohc@core3.amsl.com>; Thu, 11 Feb 2010 22:31:53 -0800 (PST)
Received: from mail.acticom-networks.com (mail.acticom-networks.com
[87.106.254.214]) by core3.amsl.com (Postfix) with ESMTP id 7092528C10A for
<rohc@ietf.org>; Thu, 11 Feb 2010 22:31:52 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by
mail.acticom-networks.com (Postfix) with ESMTP id 3FBDF1C00420;
Fri, 12 Feb 2010 07:33:09 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at acticom-networks.com
Received: from mail.acticom-networks.com ([127.0.0.1]) by localhost
(mail.acticom-networks.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id p-9ep2+3w8Zi; Fri, 12 Feb 2010 07:33:07 +0100 (CET)
Received: from godfather.bln.acticom.de (mail.oosoft.net [212.99.204.33]) by
mail.acticom-networks.com (Postfix) with ESMTP id B36031C00422;
Fri, 12 Feb 2010 07:33:06 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by godfather.bln.acticom.de
(Postfix) with ESMTP id 2891DF3AC9; Fri, 12 Feb 2010 07:33:06 +0100 (CET)
X-Virus-Scanned: amavisd-new at bln.acticom.de
Received: from godfather.bln.acticom.de ([127.0.0.1]) by localhost
(godfather.bln.acticom.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id xNO3KBG+FKRX; Fri, 12 Feb 2010 07:33:03 +0100 (CET)
Received: from [192.168.33.26] (hurricane.bln.acticom.de [192.168.33.26]) by
godfather.bln.acticom.de (Postfix) with ESMTP id 4A42DF3AA8;
Fri, 12 Feb 2010 07:33:03 +0100 (CET)
Message-ID: <4B74F620.4050601@acticom.de>
Date: Fri, 12 Feb 2010 07:33:04 +0100
From: Simon Laurenz <simon.laurenz@acticom.de>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Ganesh <ganeshbabukamma@gmail.com>, rohc@ietf.org
References: <adc9dae41002112205n3932c03dg28ad77c8ac0dc06d@mail.gmail.com>
In-Reply-To: <adc9dae41002112205n3932c03dg28ad77c8ac0dc06d@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [rohc] Doubt regarding the Static chain termination for Profile
0x004
X-BeenThere: rohc@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
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: Fri, 12 Feb 2010 06:31:54 -0000
Hi Ganesh I think you got to things wrong. First thing is that every change is made only in the Version field. This means only in the first 4 bits of the first byte. There the first bit is the MSB (Most significance bit). Thus results in the following replacement: 1. For IPv4: * +---+---+---+---+---+---+---+---+ Version | IHL +---+---+---+---+---+---+---+---+ ** **MSB **LSB | +---+---+---+---+---+---+---+---+ | 0x4 | 0x5 | +---+---+---+---+---+---+---+---+ * | 0100 | 0101 | +---+---+---+---+---+---+---+---+ * becomes * * +---+---+---+---+---+---+---+---+ Version | IHL +---+---+---+---+---+---+---+---+ ** **MSB **LSB | +---+---+---+---+---+---+---+---+ | 0xC | 0x5 | +---+---+---+---+---+---+---+---+ * | 1100 | 0101 | +---+---+---+---+---+---+---+---+ * * 2. For IPv6: * +---+---+---+---+---+---+---+---+ Version | Flowlabel +---+---+---+---+---+---+---+---+ ** **MSB **LSB | +---+---+---+---+---+---+---+---+ | 0x6 | 0xXX | +---+---+---+---+---+---+---+---+ * | 0110 | xxxx | +---+---+---+---+---+---+---+---+ * * * becomes * * +---+---+---+---+---+---+---+---+ Version | Flowlabel +---+---+---+---+---+---+---+---+ ** **MSB **LSB | +---+---+---+---+---+---+---+---+ | 0xE | 0xXX | +---+---+---+---+---+---+---+---+ * | 1110 | xxxx | +---+---+---+---+---+---+---+---+ * * Best regards Simon Laurenz Ganesh wrote: > Hi All, > I have one doubt regarding the Static chain termination part for > Profile No 0x004, > as per the RFC 3843 > > *3.1. Static Chain Termination RFC 3843* > * > compressor can choose to end the static chain at any IP header, and > indicate this by setting the MSB of the IP version field to 1 (0xC for > IPv4 or 0xE for IPv6). > > as per my Understanding > 1. For IPV4, > +---+---+---+---+---+---+---+---+ > LSB | MSB > +---+---+---+---+---+---+---+---+ > | Version = 4 | 0 | > +---+---+---+---+---+---+---+---+ > > the MSB 0 has to be replaced By 1, so it will be as below (0xC for IPv4) > +---+---+---+---+---+---+---+---+ > LSB | MSB > +---+---+---+---+---+---+---+---+ > | Version = 4 | 1 | > +---+---+---+---+---+---+---+---+ > > 2. For IPV6. ( 0xE for IPv6) > +---+---+---+---+---+---+---+---+ > LSB | MSB > +---+---+---+---+---+---+---+---+ > | Version = 6 | Flow Label(msb) | > +---+---+---+---+---+---+---+---+ > > RFC 3843 Mentions that MSB has to be replaced by 1, how can the 4 bits > of the flow Label MSB can be changed to 1?? > is my understanding correct?? > can anyone clarify my doubt?? > > > > > > *Thanks & Regards, > Ganesh Babu Kamma > > ------------------------------------------------------------------------ > > _______________________________________________ > Rohc mailing list > Rohc@ietf.org > https://www.ietf.org/mailman/listinfo/rohc >
- [rohc] Doubt regarding the Static chain terminati… Ganesh
- Re: [rohc] Doubt regarding the Static chain termi… Simon Laurenz
- Re: [rohc] Doubt regarding the Static chain termi… Gurushant
- Re: [rohc] Doubt regarding the Static chain termi… Gurushant
- Re: [rohc] Doubt regarding the Static chain termi… Klaus Warnke
- Re: [rohc] Doubt regarding the Static chain termi… Gurushant