ROHC compression/decompression library
|
ROHC decompression context for the UDP profile. More...
#include "d_generic.h"
Go to the source code of this file.
Functions | |
int | udp_parse_static_udp (const struct rohc_decomp_ctxt *const context, const unsigned char *packet, size_t length, struct rohc_extr_bits *const bits) |
Parse the UDP static part of the ROHC packet. | |
void | udp_update_context (const struct rohc_decomp_ctxt *context, const struct rohc_decoded_values decoded) |
Update context with decoded UDP values. |
ROHC decompression context for the UDP profile.
int udp_parse_static_udp | ( | const struct rohc_decomp_ctxt *const | context, |
const unsigned char * | packet, | ||
size_t | length, | ||
struct rohc_extr_bits *const | bits | ||
) |
Parse the UDP static part of the ROHC packet.
context | The decompression context |
packet | The ROHC packet to parse |
length | The length of the ROHC packet |
bits | OUT: The bits extracted from the ROHC header |
void udp_update_context | ( | const struct rohc_decomp_ctxt * | context, |
const struct rohc_decoded_values | decoded | ||
) |
Update context with decoded UDP values.
The following decoded values are updated in context:
context | The decompression context |
decoded | The decoded values to update in the context |