Contiki-NG
Data Fields
sicslowpan_nh_compressor Struct Reference

The structure of a next header compressor. More...

#include <os/net/ipv6/sicslowpan.h>

Data Fields

int(* compress )(uint8_t *compressed, uint8_t *uncompressed_len)
 compress next header (TCP/UDP, etc) - ptr points to next header to compress
 
int(* uncompress )(uint8_t *compressed, uint8_t *lowpanbuf, uint8_t *uncompressed_len)
 uncompress next header (TCP/UDP, etc) - ptr points to next header to uncompress
 

Detailed Description

The structure of a next header compressor.

TODO: needs more parameters when compressing extension headers, etc.

Definition at line 326 of file sicslowpan.h.