On 12/25/2012 11:53 PM, Ming-Hong Wu wrote: > In RFC, it says, Length is in multiple of 8 octets, so in MAC, this > seems very OK. > Type; 1 byte > Length: set to 1 ( meaning 8 bytes in total ) > LLA: 6 bytes (MAC) > > What will happen if LLA isn't 6 bytes, for example a 8-bytes MAC > like Zigbee, this will form a total bytes as 10 > In this case, how do we set Type and Length ?
"Type" should be the same, and "length" would be the one appropriate for the underlying link-layer technology. Since you know the underlying link-layer, you'd always validate the TLLA option to be of the appropriate length. Cheers, -- Fernando Gont e-mail: ferna...@gont.com.ar || fg...@si6networks.com PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1 -------------------------------------------------------------------- IETF IPv6 working group mailing list ipv6@ietf.org Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6 --------------------------------------------------------------------