| 
    ROHC compression/decompression library
    
   | 
 
ROHC compression context for the IP-only profile. More...
#include "rohc_comp_rfc3095.h"

Go to the source code of this file.
Functions | |
| rohc_packet_t | c_ip_decide_FO_packet (const struct rohc_comp_ctxt *const context) | 
| Decide which packet to send when in First Order (FO) state.  More... | |
| rohc_packet_t | c_ip_decide_SO_packet (const struct rohc_comp_ctxt *const context) | 
| Decide which packet to send when in Second Order (SO) state.  More... | |
| uint32_t | c_ip_get_next_sn (const struct rohc_comp_ctxt *const context, const struct rohc_pkt_hdrs *const uncomp_pkt_hdrs) | 
| Determine the SN value for the next packet.  More... | |
| int | c_ip_code_ir_remainder (const struct rohc_comp_ctxt *const context, uint8_t *const dest, const size_t dest_max_len, const size_t counter) | 
| Code the remainder header for the IR or IR-DYN packets.  More... | |
ROHC compression context for the IP-only profile.
| int c_ip_code_ir_remainder | ( | const struct rohc_comp_ctxt *const | context, | 
| uint8_t *const | dest, | ||
| const size_t | dest_max_len, | ||
| const size_t | counter | ||
| ) | 
Code the remainder header for the IR or IR-DYN packets.
 Remainder of IR/IR-DYN packet (5.7.7.1):
      0   1   2   3   4   5   6   7
    +---+---+---+---+---+---+---+---+
 1  |             SN                |  2 octets if not RTP
    +---+---+---+---+---+---+---+---+| context | The compression context | 
| dest | The ROHC packet being coded | 
| dest_max_len | The maximum length (in bytes) of the ROHC packet | 
| counter | The current position in the ROHC buffer | 
| rohc_packet_t c_ip_decide_FO_packet | ( | const struct rohc_comp_ctxt *const | context | ) | 
Decide which packet to send when in First Order (FO) state.
Packets that can be used are the IR-DYN and UO-2 packets.
| context | The compression context | 
| rohc_packet_t c_ip_decide_SO_packet | ( | const struct rohc_comp_ctxt *const | context | ) | 
Decide which packet to send when in Second Order (SO) state.
Packets that can be used are the UO-0, UO-1 and UO-2 (with or without extensions) packets.
| context | The compression context | 
| uint32_t c_ip_get_next_sn | ( | const struct rohc_comp_ctxt *const | context, | 
| const struct rohc_pkt_hdrs *const | uncomp_pkt_hdrs | ||
| ) | 
Determine the SN value for the next packet.
Profile SN is an internal increasing 16-bit number.
| context | The compression context | 
| uncomp_pkt_hdrs | The uncompressed headers to encode | 
 1.8.14