Context buffer definitions. More...
Context buffer definitions.
Definition in file ctx.h.
Include dependency graph for ctx.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | gnrc_sixlowpan_ctx_t |
| Entry in the 6LoWPAN context buffer. More... | |
Macros | |
| #define | GNRC_SIXLOWPAN_CTX_SIZE (16) |
| maximum number of entries in context buffer | |
Functions | |
| gnrc_sixlowpan_ctx_t * | gnrc_sixlowpan_ctx_lookup_addr (const ipv6_addr_t *addr) |
| Gets a context matching the given IPv6 address best with its prefix. More... | |
| gnrc_sixlowpan_ctx_t * | gnrc_sixlowpan_ctx_lookup_id (uint8_t id) |
| Gets context by ID. More... | |
| gnrc_sixlowpan_ctx_t * | gnrc_sixlowpan_ctx_update (uint8_t id, const ipv6_addr_t *prefix, uint8_t prefix_len, uint16_t ltime, bool comp) |
| Updates (or adds if currently not registered) a context. More... | |
| void | gnrc_sixlowpan_ctx_reset (void) |
| Resets the whole context buffer. | |
Context flags. | |
Flags to set in gnrc_sixlowpan_ctx_t::flags_id. | |
| #define | GNRC_SIXLOWPAN_CTX_FLAGS_CID_MASK (0x0f) |
| mask for the Context ID. | |
| #define | GNRC_SIXLOWPAN_CTX_FLAGS_COMP (0x10) |
| Use context for compression. | |