|
ROHC compression/decompression library
|
Handle decoding of TCP Selective ACKnowledgement (SACK) option. More...
#include "rohc_decomp_internals.h"#include "protocols/tcp.h"#include <stdlib.h>#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | d_tcp_opt_sack |
Functions | |
| int | d_tcp_sack_parse (const struct rohc_decomp_ctxt *const context, const uint8_t *const data, const size_t data_len, struct d_tcp_opt_sack *const opt_sack) |
| Parse the SACK TCP option. More... | |
Handle decoding of TCP Selective ACKnowledgement (SACK) option.
| int d_tcp_sack_parse | ( | const struct rohc_decomp_ctxt *const | context, |
| const uint8_t *const | data, | ||
| const size_t | data_len, | ||
| struct d_tcp_opt_sack *const | opt_sack | ||
| ) |
Parse the SACK TCP option.
See RFC6846 page 68 (and RFC2018 for Selective Acknowledgement option)
| context | The decompression context | |
| data | The ROHC data to parse | |
| data_len | The length of the ROHC data to parse | |
| [out] | opt_sack | The information of SACK option extracted from the packet |
1.8.14