rohc_comp_force_contexts_reinit

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
STRUCTURES
RETURN VALUE
SEE ALSO

NAME

rohc_comp_force_contexts_reinit − Force the compressor to re-initialize all its contexts.

SYNOPSIS

#include <rohc/rohc_comp.h>

bool rohc_comp_force_contexts_reinit(
struct rohc_comp *const comp

);

DESCRIPTION

Make all contexts restart their initialization with decompressor, ie. they go in the lowest compression state. This function can be used once the ROHC channel is established again after an interruption.

The function implements the CONTEXT_REINITIALIZATION signal described by RFC 3095 at §6.3.1 as: CONTEXT_REINITIALIZATION −− signal

This parameter triggers a reinitialization of the entire context at

the decompressor, both the static and the dynamic part. The

compressor MUST, when CONTEXT_REINITIALIZATION is triggered, back off

to the IR state and fully reinitialize the context by sending IR

packets with both the static and dynamic chains covering the entire

uncompressed headers until it is reasonably confident that the

decompressor contexts are reinitialized. The context

reinitialization MUST be done for all contexts at the compressor.

This parameter may for instance be used to do context relocation at,

e.g., a cellular handover that results in a change of compression

point in the radio access network.

PARAMETERS

comp

The ROHC compressor

STRUCTURES

RETURN VALUE

true in case of success, false otherwise

SEE ALSO

rohc_comp.h(3)