[6lo] draft-gomez-6lo-optimized-fragmentation-header-00

worley@ariadne.com (Dale R. Worley) Tue, 25 October 2016 17:30 UTC

Return-Path: <worley@alum.mit.edu>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD2F31297D6 for <6lo@ietfa.amsl.com>; Tue, 25 Oct 2016 10:30:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level:
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
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 YhjVRQV04-ff for <6lo@ietfa.amsl.com>; Tue, 25 Oct 2016 10:30:48 -0700 (PDT)
Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 938CC1297C3 for <6lo@ietf.org>; Tue, 25 Oct 2016 10:30:48 -0700 (PDT)
Received: from resomta-ch2-01v.sys.comcast.net ([69.252.207.97]) by resqmta-ch2-06v.sys.comcast.net with SMTP id z5Ycb5Vl22Nhqz5YlbxmPk; Tue, 25 Oct 2016 17:30:47 +0000
Received: from hobgoblin.ariadne.com ([24.60.114.4]) by resomta-ch2-01v.sys.comcast.net with SMTP id z5YkbSyetEYrCz5Ylbf3Dk; Tue, 25 Oct 2016 17:30:47 +0000
Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id u9PHUkf7030960; Tue, 25 Oct 2016 13:30:46 -0400
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id u9PHUjFQ030957; Tue, 25 Oct 2016 13:30:45 -0400
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: Carles Gomez Montenegro <carlesgo@entel.upc.edu>
In-Reply-To: <d70db6c4f616ed8555b34375e97d6545.squirrel@webmail.entel.upc.edu> (carlesgo@entel.upc.edu)
Sender: worley@ariadne.com
Date: Tue, 25 Oct 2016 13:30:45 -0400
Message-ID: <87twc0nxoa.fsf@hobgoblin.ariadne.com>
X-CMAE-Envelope: MS4wfCkkYMuYpVS7nZyyIlRSfl6UPsXWAA/r7N9GUFANY7gtDOgkDMpwJ3whNbPc1lFa2RDc0z9mPAq/q3z3nWUxJSY0snQSNwP7yoI3g1XsP6q3Ry3gqOk7 vxhk7tatfE8bn/33n36SOG3ASNZR+2MSr7vcG6iTTQFNXFnEqUOTkUWSsJYDP5Tx2WCIF43DcKbb88BXtMPSHcDl4KcY0Ixu9lk=
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/xow7Fjh_YIIb0-OxQ0X-cY_EYxg>
Cc: 6lo@ietf.org
Subject: [6lo] draft-gomez-6lo-optimized-fragmentation-header-00
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Oct 2016 17:30:50 -0000

"Carles Gomez Montenegro" <carlesgo@entel.upc.edu> writes:
> This document proposes a more lightweight and compact 6LoWPAN
> fragmentation header, compared with the one defined in RFC 4944.

This seems like an improvement to me, though I'm new here.

But this is a good time to ask my newbie question:  I see this
definition of the "datagram size" field:

   datagram_size: This 11-bit field encodes the size of the entire IP
   packet before link-layer fragmentation (but after IP layer
   fragmentation).  For IPv6, the datagram size SHALL be 40 octets (the
   size of the uncompressed IPv6 header) more than the value of Payload
   Length in the IPv6 header [RFC4944] of the packet.  Note that this
   packet may already be fragmented by hosts involved in the
   communication, i.e., this field needs to encode a maximum length of
   1280 octets (the required by IPv6).

Naively, it seems to me that link fragmentation is at a layer lower than
link compression (e.g., LOWPAN_IPHC), so this datagram_size value is the
length of the IPv6 packet (possibly an IPv6 fragment) as compressed by
LOWPAN_IPHC.  If that is so, the above text isn't quite right, as
e.g. the compressed packet might be shorter than the (reconstructed)
Payload Length in the IPv6 header.

Now maybe I'm wrong, and "datagram size" is the length of the
uncompressed IPv6 packet, but then I don't see how the receiver is to
know when all of the fragments have arrived.

Dale