rohc_comp_set_list_trans_nr − Set the number of uncompressed transmissions for list compression.
#include <rohc/rohc_comp.h>
bool
rohc_comp_set_list_trans_nr(
struct rohc_comp *const comp,
const size_t list_trans_nr
);
Set the number of transmissions required for list compression. This matches the L parameter described in RFC 3095 and 4815. The compressor sends the list items uncompressed L times before compressing them. The compressor also sends the list structure L times before compressing it out.
The L parameter is set to ROHC_LIST_DEFAULT_L by default.
comp |
The ROHC compressor |
list_trans_nr
The number of times the list items or the list itself are sent uncompressed before being sent compressed
true if the new value is accepted, false if the value is rejected
The value can not be modified after library initialization
rohc_comp.h(3), ROHC_LIST_DEFAULT_L(3)