[Manet-dt] Expanded tlv type field for packetbb?
"Justin Dean" <jdean@itd.nrl.navy.mil> Tue, 12 June 2007 14:40 UTC
Return-path: <manet-dt-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Hy7Xw-00028R-LW; Tue, 12 Jun 2007 10:40:36 -0400
Received: from manet-dt by megatron.ietf.org with local (Exim 4.43) id 1Hy7Xu-000287-EP for manet-dt-confirm+ok@megatron.ietf.org; Tue, 12 Jun 2007 10:40:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Hy7Xt-00027o-R3; Tue, 12 Jun 2007 10:40:33 -0400
Received: from s2.itd.nrl.navy.mil ([132.250.83.3]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Hy7Xt-0002H6-G9; Tue, 12 Jun 2007 10:40:33 -0400
Received: from smtp.itd.nrl.navy.mil (smtp.itd.nrl.navy.mil [132.250.86.3]) by s2.itd.nrl.navy.mil (8.13.6+Sun/8.12.8) with SMTP id l5CEeTf5017185; Tue, 12 Jun 2007 10:40:31 -0400 (EDT)
Message-Id: <200706121440.l5CEeTf5017185@s2.itd.nrl.navy.mil>
Received: (from THEBEBE [132.250.93.60]) by smtp.itd.nrl.navy.mil (SMSSMTP 4.1.12.43) with SMTP id M2007061210402806437 ; Tue, 12 Jun 2007 10:40:28 -0400
From: Justin Dean <jdean@itd.nrl.navy.mil>
To: manet@ietf.org, manet-dt@ietf.org
Date: Tue, 12 Jun 2007 10:44:24 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
In-Reply-To: <00db01c7acf0$c108dae0$6a01a8c0@HerbRubens>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Thread-Index: Aces1IUiq90quPCQSZWpGIW5Ca84NQAGmQJgAAM3KKA=
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a87a9cdae4ac5d3fbeee75cd0026d632
Cc:
Subject: [Manet-dt] Expanded tlv type field for packetbb?
X-BeenThere: manet-dt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: MANET Design Team <manet-dt.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/manet-dt>, <mailto:manet-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/manet-dt>
List-Post: <mailto:manet-dt@ietf.org>
List-Help: <mailto:manet-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/manet-dt>, <mailto:manet-dt-request@ietf.org?subject=subscribe>
Errors-To: manet-dt-bounces@ietf.org
There has been some discussion among the authors of packetbb on the merits of adding an optional extended TLV type field (as well as the comments charlie has posted to the list.) While attempting to write a metric TLV document based on packetbb, for use with MANET protocols, the issue of how to include/define multiple metric types without using up a lot of the TLV type space came up. By using an optional type sub field a generalized metric TLV document can be written to allow for multiple metric types, different sized value fields, differing value representations, and how the metrics are to be used. This can be done with the current TLV type field but I can easily envision 10s if not 100s of metric types in the future. With our current space there would be little room for official assignments. The benefits are not limited to an unfinished not yet released TLV metric document. A TLV type field could be assigned to a commercial or research entity which would then allow much more flexibility in defining TLVs by using the subtype field, without having to resort to using the experimental (and possibly conflicting) TLV type space in the current TLV type field. On the negative side TLVs which used the extend type field would be 8 bits longer per TLV. TLVs which are concerned with 8 bits per TLV would not be forced to use this subfield however and there would be no extra overhead involved. An extra semantics bit would be assigned as outlined below. This would make the specification slightly more complex and only 2 bits would be left for future use in the semantics field. (In my mind if we aren't using them they are going to waste and if we have a good use for them we should be using them) The proposed changes would comprise mostly of the following. In Section 5.3 change to: <tlv> = <tlv-type> <tlv-semantics> <tlv-subtype>? <-new optional field <index-start>? <index-stop>? <length>? <value>? In Section 5.3 change to: bit 5 (hassubtype): if cleared ('0'), then <tlv-subtype> is not included in <tlv>. If set ('1'), then <tlv-subtype> is included in <tlv>. bits 6-7: are RESERVED and MUST each be cleared ('0') to be in accordance with this version of the specification. In Section 5.3 add: <tlv-subtype> is an 8 bit field, specifying the subtype of the TLV, specific to the TLV type and kind (i.e. packet, message, or address block TLV). tlv-subtype is a variable, defined to equal <tlv-subtype> if present, or 0 otherwise. tlv-fulltype is a variable, defined by: * tlv-fulltype = 256 * <tlv-type> + tlv-subtype; Section 5.3.2 change to: TLVs in the same TLV block MUST be sorted in ascending tlv-fulltype order. Two or more TLVs with the same tlv-fulltype associated with the same address block MUST NOT both cover any address. TLVs with the same tlv-fulltype associated with the same address block MUST be sorted in ascending index-start order. In Section 6.1 Table 5 add column Subtype. In existing row set to 0. Add new row for subtype 1-255 RESERVED. In Section 7 change to A new registry for packet TLV types must be created, with no initial assignments. Future values in the range 0-127 can be allocated using standards action [3]. Additionally, values in the range 128-255 are reserved for private/local use. If a TLV type is allocated a new registry for subtypes of that type must be created. A new registry for message TLV types must be created with no initial assignments. Future values in the range 0-127 can be allocated using standards action [3]. Additionally, values in the range 128-255 are reserved for private/local use. If a TLV type is allocated a new registry for subtypes of that type must be created. A new registry for address block TLV types must be created with initial assignments as specified in Table 7. Future values in the range 1-127 can be allocated using standards action [3]. Additionally, values in the range 128-255 are reserved for private/ local use. If a TLV type is allocated a new registry for subtypes of that type must be created. Justin Dean _______________________________________________ Manet-dt mailing list Manet-dt@ietf.org https://www1.ietf.org/mailman/listinfo/manet-dt
- [Manet-dt] Re: [manet] DYMO and other routing pro… Philippe Jacquet
- [Manet-dt] Expanded tlv type field for packetbb? Justin Dean
- [Manet-dt] RE: [manet] Expanded tlv type field fo… Dearlove, Christopher (UK)
- [Manet-dt] Re: [manet] DYMO and other routing pro… Philippe Jacquet
- [Manet-dt] RE: [manet] DYMO and other routing pro… Joe Macker