ROHC compression/decompression library
|
Handle the irregular chain of the TCP compression profile. More...
#include "rohc_comp_internals.h"
#include "ip.h"
#include "protocols/tcp.h"
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | tcp_code_irreg_chain (struct rohc_comp_ctxt *const context, const struct ip_packet *const ip, const uint8_t ip_inner_ecn, const struct tcphdr *const tcp, uint8_t *const rohc_pkt, const size_t rohc_pkt_max_len) |
Code the irregular chain of one CO packet. More... | |
Handle the irregular chain of the TCP compression profile.
int tcp_code_irreg_chain | ( | struct rohc_comp_ctxt *const | context, |
const struct ip_packet *const | ip, | ||
const uint8_t | ip_inner_ecn, | ||
const struct tcphdr *const | tcp, | ||
uint8_t *const | rohc_pkt, | ||
const size_t | rohc_pkt_max_len | ||
) |
Code the irregular chain of one CO packet.
context | The compression context |
ip | The outer IP header |
ip_inner_ecn | The ECN flags of the innermost IP header |
tcp | The uncompressed TCP header |
rohc_pkt | OUT: The ROHC packet |
rohc_pkt_max_len | The maximum length of the ROHC packet |