rohc_comp_set_list_trans_nr

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
STRUCTURES
RETURN VALUE
NOTES
SEE ALSO

NAME

rohc_comp_set_list_trans_nr − Set the number of uncompressed transmissions for list compression.

SYNOPSIS

#include <rohc/rohc_comp.h>

bool rohc_comp_set_list_trans_nr(
struct rohc_comp *const comp
,
const size_t list_trans_nr

);

DESCRIPTION

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.

PARAMETERS

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

STRUCTURES

RETURN VALUE

true if the new value is accepted, false if the value is rejected

NOTES

The value can not be modified after library initialization

SEE ALSO

rohc_comp.h(3), ROHC_LIST_DEFAULT_L(3)