[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [manet] Encoding an IPv6 Mobile Network Prefix with PacketBB
Dearlove, Christopher (UK) wrote:
I came up with the datagram I present first.
I'm afraid I don't have time to comment on this.
Thanks, I request MANET community to comment on that PAcketBB encoding
of the IPv6 Mobile Network PRefix - thank you.
But that Pad octet is clearly out of place.
Padding occurs (optionally) only after a packet
header or a message.
Ok, I moved Pad '0' at the end, it looks like this, is this better?
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| <num-addr> |<addr-semantic>| <tlv-length> |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| <tlv-type> |<tlv-semantics>| <length> |IPv6 address...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
... |
+- -+
| |
+- IPv6 Address -+
| |
+- +---------------+
| | <tlv-type2> |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|<tlv-semantics2| <length2> | PrefixLen | Pad '0' |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Also see Thomas's comments.
I hope someone can comment on this packet format: ok or not ok, how
should I encode it better?
Thanks,
Alex
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
manet mailing list
manet at ietf.org
https://www1.ietf.org/mailman/listinfo/manet