Contiki 2.6

sicslowpan_nh_compressor Struct Reference

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

#include <core/net/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 308 of file sicslowpan.h.