ROHC compression/decompression library
|
Compression schemes for IPv6 extension headers. More...
#include "ipv6_exts.h"
#include "protocols/ip_numbers.h"
#include "protocols/ip.h"
#include "protocols/ipv6.h"
Functions | |
bool | rohc_comp_ipv6_exts_are_acceptable (const struct rohc_comp *const comp, uint8_t *const next_proto, const uint8_t *const exts, const size_t max_exts_len, size_t *const exts_len) |
Whether IPv6 extension headers are acceptable or not. More... | |
Compression schemes for IPv6 extension headers.
bool rohc_comp_ipv6_exts_are_acceptable | ( | const struct rohc_comp *const | comp, |
uint8_t *const | next_proto, | ||
const uint8_t *const | exts, | ||
const size_t | max_exts_len, | ||
size_t *const | exts_len | ||
) |
Whether IPv6 extension headers are acceptable or not.
IPv6 options are acceptable if:
comp | The ROHC compressor | |
[in,out] | next_proto | in: the protocol type of the first extension header out: the protocol type of the transport header |
exts | The beginning of the IPv6 extension headers | |
max_exts_len | The maximum length (in bytes) of the extension headers | |
[out] | exts_len | The length (in bytes) of the IPv6 extension headers |