Contiki-NG
Loading...
Searching...
No Matches
nat64-6lowpan.h File Reference

6LoWPAN compression context for the NAT64 prefix. More...

Go to the source code of this file.

Macros

#define NAT64_6LOWPAN_PREFIX_BYTES
 Upper 64 bits of the NAT64 prefix as 8 bytes.
 

Detailed Description

6LoWPAN compression context for the NAT64 prefix.

Registers the upper 64 bits of the NAT64 prefix as IPHC context 1, saving ~8 header bytes per NAT64-bound packet. Must be included from project-conf.h on both the border router and every IoT node sending NAT64 traffic; the two sides must agree on prefix and context number, otherwise frames silently fail to decompress.

TODO: replace with runtime distribution once Contiki-NG implements RFC 6775 ยง4.2 (6CO option in RAs).

Author
Nicolas Tsiftes nicol.nosp@m.as.t.nosp@m.sifte.nosp@m.s@ri.nosp@m..se

Definition in file nat64-6lowpan.h.