Re: [Roll] [roll] #8: DIO Option Length
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Roll] [roll] #8: DIO Option Length
>>>>> "Julien" == Julien Abeille <(jabeille)" <jabeille at cisco.com>> writes:
Julien> Some suboptions should be moved to options (separate thread,
Julien> DIO base option is not optional hence should not be an
Julien> option. Makes sense?).
Julien> General related question: for the cases where we need
Julien> suboptions (metric container), do we want suboptions to be 8
Julien> bytes aligned? Or only options should be 8 bytes aligned?
Our options and suboptions should be identical.
We should also not re-invent the wheel. It should either replicate
the IPv6 extension header (if that's what we want), or should replicate
another protocol, e.g. radius(RFC2865):
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Code | Identifier | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Authenticator |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Attributes ...
+-+-+-+-+-+-+-+-+-+-+-+-+-
....
A summary of the Attribute format is shown below. The fields are
transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
| Type | Length | Value ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
] He who is tired of Weird Al is tired of life! | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] mcr at sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
then sign the petition.
Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.