|
Thanks Jonathan A few comments below... Jonathan Hui wrote: Would it not be a little clearer to the reader, if the NHC section in hc-06 stated that reserved fields must be sent inline. What if A was an IP header? If you can't compress B using NHC, having A compressed can still buy you a lot. So for the current NHC in the draft there are two implementations I see:• If Ext Header [B] follows compressed header [A] and the options in [B] turn out to be longer than 255 bytes during compression, how would you adjust [A] without having to do a memmove to make space for the inline next-header field. What I understand is that, if header [B] itself can't be compressed, the next-header field in header [A] must be placed in the inline portion for header A and before other inline fields in [A]. This problem also requires one to keep a pointer back to where the inline next-header field should be inserted. One other solution would be to look ahead at the length of [B] before compressing [A], but I think this can get messy.
-- Regards Dario Tedeschi |
_______________________________________________ 6lowpan mailing list [email protected] https://www.ietf.org/mailman/listinfo/6lowpan
