The structure of a next header compressor.
More...
#include <os/net/ipv6/sicslowpan.h>
|
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
|
|
The structure of a next header compressor.
TODO: needs more parameters when compressing extension headers, etc.
Definition at line 282 of file sicslowpan.h.