[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 hope someone can comment on this packet format: ok or not ok, how
should I encode it better?
Again, without studying it, what I would recommend is to take the
regexp that is the formal definition, and break what you have down to
match the elements in the regexp.
That's what I did.
('regexp' means different things to different people: "?" has different
meanings in gnu regexp vs dragon book - which one did you use?
Besides, I'm not used to reading messages specified with grammar
syntaxes, but I could try to understand the Augmented Backus-Naur Form
RFC4234 which incidentally doesn't use '?' at all.)
As a starting exercise, take the example packet in Appendix B and do
that to that. (You should actually be able to do it without reading
the text before the example.) Hopefully you'll find it can be so
decomposed.
I've tried that too. But it uses IPv4 addresses; and head-mid parts.
DYMO example too uses IPv4 addresses. My example only needs to encode
one address so it doesn't use head-mid-tail parts.
The example in Appendix B is very useful when one needs IPv4 encoding
and sending two or more addresses.
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