[Manet-dt] Minor MANET Generic Message Format Comments

Brian Adamson <adamson@itd.nrl.navy.mil> Thu, 23 March 2006 20:04 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FMW32-00087K-UV; Thu, 23 Mar 2006 15:04:44 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FMW31-00087F-52 for manet-dt@ietf.org; Thu, 23 Mar 2006 15:04:43 -0500
Received: from s2.itd.nrl.navy.mil ([132.250.83.3]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FMW30-0003Bg-RK for manet-dt@ietf.org; Thu, 23 Mar 2006 15:04:43 -0500
Received: from smtp.itd.nrl.navy.mil (smtp.itd.nrl.navy.mil [132.250.86.3]) by s2.itd.nrl.navy.mil (8.12.10+Sun/8.12.8) with SMTP id k2NK4cZu000286; Thu, 23 Mar 2006 15:04:38 -0500 (EST)
Received: from [132.250.92.151] ([132.250.92.151]) by smtp.itd.nrl.navy.mil (SMSSMTP 4.1.11.41) with SMTP id M2006032315043703483 ; Thu, 23 Mar 2006 15:04:38 -0500
Mime-Version: 1.0
Message-Id: <p06230917c048ad213ca1@[132.250.92.151]>
Date: Thu, 23 Mar 2006 15:04:35 -0500
To: Thomas Heide Clausen <T.Clausen@computer.org>, "Dearlove, Christopher (UK)" <chris.dearlove@baesystems.com>, Joe Macker <joseph.macker@nrl.navy.mil>, jdean@itd.nrl.navy.mil
From: Brian Adamson <adamson@itd.nrl.navy.mil>
X-Spam-Score: 0.3 (/)
X-Scan-Signature: ee80a2074afbfe28d15369f4e74e579d
Cc: manet-dt@ietf.org
Subject: [Manet-dt] Minor MANET Generic Message Format Comments
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>
Content-Type: multipart/mixed; boundary="===============1046391916=="
Errors-To: manet-dt-bounces@ietf.org

We discussed some of these at the working group meeting.


1)  For <msg-header-info>, it seems the order of the fields should be:

<originator-address>
<msg-seq-number>
<ttl>
<hop-count>

since the presence of <originator-address>/<msg-seq-number> are 
commonly determined by bit0 of <msg-semantics>  _and_ the presence of 
<ttl>/<hop-count> are commonly determined by bit1 of <msg_semantics>

This makes for more logical message building ...

(BUT, I understand a "backwards compatibility with OLSRv1" issue here 
may need to take precedence over this nit-pick?)


Also here, with regards to <ttl> and <hop-count> as discussed, <ttl> 
might be better renamed <hop-limit> ... Also if <hop-count> is an 
accumulated count of hops traversed, would it be possible to then 
leave <hop-limit> fixed (don't decrement) and stop forwarding when 
incremented <hop-count> > <hop-limit> ...

Or ... should we leave the use of these fields open in message format 
document as perhaps suggested.

2) Similarly, for <tlv>, it seems the field order should be:

<type>
<tlv-semantics>
<index-start>
<index-stop>
<length>
<value>

The reason for this is that in constructing a TLV, particularly a 
multi-value TLV it would seem that the choice as to whether (noindex) 
is set could be made ahead of setting TLV values and that <length> 
could be updated as multiple tlv's are added ...

And also, this seems more logical since <length> does _not_ include 
the <index-start> and <index-stop> content, but is the length of the 
<value> field that follows ...



3) In the <addr-block>, it also seems cleaner to have <num-tails> 
precede <head>, and hey, why not call it <num-addrs> since that is 
what it is?  So the new suggested format would be:

<address-block> = <num-addrs>
                   <head-length>
                   <head>
                   <tail>+




Brian
__________________________________
Brian Adamson
<mailto:adamson@itd.nrl.navy.mil>


-- 
Brian
__________________________________
Brian Adamson
<mailto:adamson@itd.nrl.navy.mil>
_______________________________________________
Manet-dt mailing list
Manet-dt@ietf.org
https://www1.ietf.org/mailman/listinfo/manet-dt