Contiki-NG
Loading...
Searching...
No Matches
sicslowpan.h File Reference

Header file for the 6lowpan implementation (RFC4944 and draft-hui-6lowpan-hc-01) More...

#include "net/ipv6/uip.h"
#include "net/mac/mac.h"

Go to the source code of this file.

Data Structures

struct  sicslowpan_addr_context
 An address context for IPHC address compression each context can have upto 8 bytes. More...
 
struct  sicslowpan_nh_compressor
 The structure of a next header compressor. More...
 

Macros

General sicslowpan defines
6lowpan compressions
Note
These are assumed to be in order - so that no compression is 0, then more and more compressed version follow. E.g. they can be used for comparing: if x > COMPRESSION_IPV6 ...
6lowpan dispatches
HC1 encoding
HC_UDP encoding (works together with HC1)
IPHC encoding
LOWPAN_UDP encoding (works together with IPHC)
The 6lowpan "headers" length
Address compressibility test functions
#define sicslowpan_is_iid_16_bit_compressable(a)
 check whether we can compress the IID in address 'a' to 16 bits.
 
#define sicslowpan_is_mcast_addr_decompressable(a)
 check whether the 9-bit group-id of the compressed multicast address is known.
 
#define sicslowpan_is_mcast_addr_compressable(a)
 check whether the 112-bit group-id of the multicast address is mappable to a 9-bit group-id It is true if the group is the all nodes or all routers group.
 

Detailed Description

Header file for the 6lowpan implementation (RFC4944 and draft-hui-6lowpan-hc-01)

Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
Nicolas Tsiftes nvt@s.nosp@m.ics..nosp@m.se
Niclas Finne nfi@s.nosp@m.ics..nosp@m.se
Mathilde Durvy mdurv.nosp@m.y@ci.nosp@m.sco.c.nosp@m.om
Julien Abeille jabei.nosp@m.lle@.nosp@m.cisco.nosp@m..com

Definition in file sicslowpan.h.