d_tcp_irregular.h File Reference

#include "rohc_decomp_internals.h"
#include "d_tcp_defines.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for d_tcp_irregular.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool tcp_parse_irreg_chain (const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_packet, const size_t rohc_length, const tcp_ip_id_behavior_t innermost_ip_id_behavior, struct rohc_tcp_extr_bits *const bits, size_t *const parsed_len)
 Parse the irregular chain of the ROHC packet.

Function Documentation

bool tcp_parse_irreg_chain ( const struct rohc_decomp_ctxt *const   context,
const uint8_t *const   rohc_packet,
const size_t  rohc_length,
const tcp_ip_id_behavior_t  innermost_ip_id_behavior,
struct rohc_tcp_extr_bits *const   bits,
size_t *const   parsed_len 
)

Parse the irregular chain of the ROHC packet.

Parameters:
context The decompression context
rohc_packet The remaining part of the ROHC packet
rohc_length The remaining length (in bytes) of ROHC packet
innermost_ip_id_behavior The behavior of the innermost IP-ID
[out] bits The bits extracted from the irregular chain in case of success
[out] parsed_len The length (in bytes) of irregular chain in case of success
Returns:
true in the irregular chain was successfully parsed, false if the ROHC packet was malformed

Generated on 4 Jul 2018 for ROHC compression/decompression library by  doxygen 1.6.1