|
ROHC compression/decompression library
|
Context ID (CID) routines. More...

Functions | |
| int | code_cid_values (const rohc_cid_type_t cid_type, const int cid, unsigned char *const dest, const size_t dest_size, int *const first_position) |
| Build the CID part of the ROHC packets. | |
Context ID (CID) routines.
| int code_cid_values | ( | const rohc_cid_type_t | cid_type, |
| const int | cid, | ||
| unsigned char *const | dest, | ||
| const size_t | dest_size, | ||
| int *const | first_position | ||
| ) |
Build the CID part of the ROHC packets.
| cid_type | The type of CID in use for the compression context: ROHC_SMALL_CID or ROHC_LARGE_CID |
| cid | The value of the CID for the compression context |
| dest | The rohc-packet-under-build buffer |
| dest_size | The length of the rohc-packet-under-build buffer |
| first_position | OUT: The position of the first byte to be completed by other functions |
References c_bytesSdvl(), c_encodeSdvl(), len, and ROHC_SMALL_CID.
Referenced by code_IR_DYN_packet(), code_IR_packet(), code_UO0_packet(), code_UO1_packet(), and code_UO2_packet().
1.7.6.1