Thanks for clarification.
This also raises a question for stateful compression mode: What must an decoder
do when it has a context entry with a prefix length less than what is provided
in the Address Mode field (SAM or DAM). Effectively, an undefined gap in the
decoded IP address exists. For example:
SAC = 1 and SAM = b10 (16 bits inline)
Context Entry = 2001:AAAA:BBBB:CCCC::/64
Inline portion of source address = 1234
So would the decoded IP address become [#1]:
2001:AAAA:BBBB:CCCC:0000:0000:0000
:1234
or [#2]:
2001:AAAA:BBBB:CCCC:0000:00FF:FE00
:1234
or [#3] should the decoder discard the packet.
Section 3.2.2 states:
This mapping from a short IEEE 802.15.4 address to 64-bit IIDs is
also used to reconstruct any part of an IID not covered by context
information when only 16 bits are carried in-line (SAC/DAC=10).
_______________________________________________
6lowpan mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/6lowpan