Re: [Manet-dt] fmt default handling bits

Ian Chakeres <ian.chakeres@gmail.com> Sat, 21 January 2006 21:24 UTC

Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1F0QDY-0001SK-Ul; Sat, 21 Jan 2006 16:24:16 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1F0QDW-0001SC-Jh for manet-dt@megatron.ietf.org; Sat, 21 Jan 2006 16:24:15 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA26591 for <manet-dt@ietf.org>; Sat, 21 Jan 2006 16:22:46 -0500 (EST)
Received: from wproxy.gmail.com ([64.233.184.202]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1F0QMW-0004bf-7c for manet-dt@ietf.org; Sat, 21 Jan 2006 16:33:33 -0500
Received: by wproxy.gmail.com with SMTP id i14so672179wra for <manet-dt@ietf.org>; Sat, 21 Jan 2006 13:24:11 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E7PjGnQhGEzuu/pHuTKsii1G90RQcS0JZ6vwR2NFrLMKlO6NV/a+xrbC6nGgRUnyNednT7yZ7hzmbVwLU31LJ644qWjf8SSefQcl3oV1k2zw+yA4d6SYw3ZAz5zXG4umyogeYoq0TLtzqHrsiDqn6d68jsz+XWTwtc/VbOYg6RA=
Received: by 10.54.95.7 with SMTP id s7mr1797627wrb; Sat, 21 Jan 2006 13:24:11 -0800 (PST)
Received: by 10.54.104.4 with HTTP; Sat, 21 Jan 2006 13:24:11 -0800 (PST)
Message-ID: <374005f30601211324s39c3d400yb3cf4c094aea2976@mail.gmail.com>
Date: Sat, 21 Jan 2006 13:24:11 -0800
From: Ian Chakeres <ian.chakeres@gmail.com>
To: Luke Klein-Berndt <kleinb@nist.gov>
Subject: Re: [Manet-dt] fmt default handling bits
In-Reply-To: <016001c61c6f$edc5ab20$26440681@campus.nist.gov>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <41C2F2C4-4BA1-4AB9-BFC0-5CFA2919B388@gmail.com> <016001c61c6f$edc5ab20$26440681@campus.nist.gov>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b2809b6f39decc6de467dcf252f42af1
Content-Transfer-Encoding: quoted-printable
Cc: manet-dt@ietf.org, Thomas Heide Clausen <T.Clausen@computer.org>
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>
Sender: manet-dt-bounces@ietf.org
Errors-To: manet-dt-bounces@ietf.org

Comments inline.

FYI: I am working on dymo-04-pre.  Hopefully I will have something to
review in the next few weeks.

Ian

On 1/18/06, Luke Klein-Berndt <kleinb@nist.gov> wrote:
> I thought I would try to re-charge up these discussions by adding my $.02 to
> some of these questions.
>
>
> In the Message header, <msg-semantics> bit 1 seems to be the same as H bit
> 0.

Yes, there is some duplication. Hopefully we can unify this before DYMO-04.

> So right now we can duplicate this functionality with the current message
> format.
>
> For H == 11, is this even possible without the current format? Should it be
> possible to have one message stop the processing of the entire packet? This
> shouldn't be a per protocol decision. Some general MANET extension might
> make assumptions based upon not receiving a packet when it is really the
> message before it in a packet that is causing a packet not to finish its
> traversal.

Agreed, the =11 (like operation) would become drop the message.

> We also have to decide the value of having an I bit set to let a receiving
> node know whether the message had been previously ignored.  I could go
> either way on this. If we want to include this and we do not need the H ==
> 11 state, we could use the <msg-semantics> bit 2 as an I-bit and just always
> set it if we ignore a header.

I think the I-bit warrants additional discussion. I'll start it up.

> If we need more space for bits, maybe we can steal it from the message size.
> It is already count in octects( Bytes? ) right? With a 16 bit field, that
> allows for ~64kb. Seems a little big, but I know you Pro-Active guys really
> like your large messages... :)
>
> As far as TLVs go, it doesn't look like there is anywhere to easily hide
> those bits. There is the question though, if they are really needed in TLVs.
> I am not quite sure. It seems like the default behavior of simply skipping
> to the end of the message when you encounter an unknown TLV would work. TLVs
> are tied directly to the Message type, right? So if you understand a message
> you should be able to understand the key TLVs. If you need for the node to
> understand newer "key TLVs" simply use a new message type.

TLVs are not tied to message type, though a message type may require
particular tlvs.

I think we want to make things extensible without requiring a new
message type. For example if you want to add link metrics, why create
a new message type?  Why not just (using the tlv) identify whether
nodes should forward or drop the messages that include link metric
information?

> However I defiantly think we could steal a few bits from the tlv-length.
> Since the message header length is 16 bits and that length has to include
> the message header, there are not many case where there could be a full
> length TLV that would need all 16-bits.
>
> But of course processing a 15 or 14 bit field is not fun...
>
> Luke Klein-Berndt
> NIST OLES
> 301-975-8021
>
> -----Original Message-----
> From: manet-dt-bounces@ietf.org [mailto:manet-dt-bounces@ietf.org] On Behalf
> Of Ian Chakeres
> Sent: Sunday, December 18, 2005 2:43 PM
> To: manet-dt@ietf.org; Thomas Heide Clausen
> Subject: [Manet-dt] fmt default handling bits
>
> For type fields I think we should define default handling behavior,
> for nodes that don't  understand the type.
>
> In DYMO here are the unknown handling behaviors (using two MSB of
> type field) and their meaning:
>
>     o   If H == 00 skip the element and continue as if the packet did
> not
>        contain this element.
>
>     o  If H == 01 remove the unsupported element (using the Len field)
>        from the packet and continue as if the packet did not include
> this
>        element.
>
>     o  If H == 10 set the ignored bit (I-bit) skip this element and
>        continue, as if the packet did not contain this element.
>
>     o  If H == 11 drop the packet without processing any other DYMO
>        elements.
>
> Can we built the same functionality into the common format message-
> type and tlv type?
>
> Ian
>
>
> _______________________________________________
> Manet-dt mailing list
> Manet-dt@ietf.org
> https://www1.ietf.org/mailman/listinfo/manet-dt
>
>
>
>

_______________________________________________
Manet-dt mailing list
Manet-dt@ietf.org
https://www1.ietf.org/mailman/listinfo/manet-dt