Re: [Roll] [6lo] RPL artifact compression discussion

Michael Richardson <mcr+ietf@sandelman.ca> Tue, 24 March 2015 14:26 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38DDC1A8776; Tue, 24 Mar 2015 07:26:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HduqMeJvGpnP; Tue, 24 Mar 2015 07:26:39 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8BE31A8766; Tue, 24 Mar 2015 07:26:39 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id CF6E7203CB; Tue, 24 Mar 2015 10:36:29 -0400 (EDT)
Received: by sandelman.ca (Postfix, from userid 179) id 093DE63B76; Tue, 24 Mar 2015 10:26:38 -0400 (EDT)
Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id E5138636A2; Tue, 24 Mar 2015 10:26:38 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: robert.cragie@gridmerge.com
In-Reply-To: <CADrU+dLLN+gMrxDcKym_FN+ncc7FUphorh-xOpkQyzBSv98L4w@mail.gmail.com>
References: <BN1PR03MB0729E0B05811AA6C648B2DD950F0@BN1PR03MB072.namprd03.prod.outlook.com> <22866.1427143218@sandelman.ca> <CADrU+d+vPHN-Z0ZzYB0L98b5L1Yy3Vy02a1vTt0=vBvA3q6uuw@mail.gmail.com> <17230.1427150928@sandelman.ca> <CADrU+dLLN+gMrxDcKym_FN+ncc7FUphorh-xOpkQyzBSv98L4w@mail.gmail.com>
X-Mailer: MH-E 8.6; nmh 1.3-dev; GNU Emacs 24.4.2
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha1"; protocol="application/pgp-signature"
Date: Tue, 24 Mar 2015 10:26:38 -0400
Message-ID: <13943.1427207198@sandelman.ca>
Sender: mcr@sandelman.ca
Archived-At: <http://mailarchive.ietf.org/arch/msg/roll/k2qJyjTKrczfssh4YnvtnpPM7uw>
Cc: "roll@ietf.org WG" <roll@ietf.org>, "6lo@ietf.org" <6lo@ietf.org>
Subject: Re: [Roll] [6lo] RPL artifact compression discussion
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Routing Over Low power and Lossy networks <roll@ietf.org>
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Mar 2015 14:26:41 -0000

Robert Cragie <robert.cragie@gridmerge.com> wrote:
    > 0000 63 04 00 01 00 02 c.....
    > IPv6 extension header
    > 1110 .... = Pattern: IPv6 extension header (0x0e)
    > .... 111. = Header ID: IPv6 header (0x07)
    > .... ...0 = Next header: Inline

What I see here is that when EID=7, that the thing following
is a compressed IPHC.  Is it even possible to have a non-compressed IPv6
header?  Maybe one can do NH=1, and then have an explicit NH=41 byte?

    > This allows IP-in-IP using IPHC compression.

So, in the NHC+ case, we could just define a way to compress RH3, which would
consume the remaining EID value (along with using EID=5 for RPI).  That would
result in a chain of four seperately compressed artifacts.
In my view, the ideal NHC++ proposal (not yet described), might compress all
of the artifacts in a single pass, potentially saving many more bytes.

-- 
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-