Context buffer definitions. More...

Detailed Description

Context buffer definitions.

Martine Lenders

Definition in file ctx.h.

#include <inttypes.h>
#include <stdbool.h>
#include "net/ipv6/addr.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...


 maximum number of entries in context buffer


gnrc_sixlowpan_ctx_tgnrc_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_tgnrc_sixlowpan_ctx_lookup_id (uint8_t id)
 Gets context by ID. More...
gnrc_sixlowpan_ctx_tgnrc_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.

 mask for the Context ID. More...
 Use context for compression.