libosmocore 1.10.0.10-24ad1
Osmocom core library
|
Using osmo_tdef for osmo_fsm_inst: array entry for a mapping of state numbers to timeout definitions. More...
#include <tdef.h>
Data Fields | |
int | T |
Timer number to match struct osmo_tdef.T, and to pass to osmo_fsm_inst_state_chg(). More... | |
bool | keep_timer |
If true, call osmo_fsm_inst_state_chg_keep_timer(). More... | |
Using osmo_tdef for osmo_fsm_inst: array entry for a mapping of state numbers to timeout definitions.
For a usage example, see osmo_tdef_get_state_timeout() and test_tdef_state_timeout() in tdef_test.c.
bool osmo_tdef_state_timeout::keep_timer |
If true, call osmo_fsm_inst_state_chg_keep_timer().
If T == 0, keep previous T number, otherwise also set fi->T.
Referenced by _osmo_tdef_fsm_inst_state_chg(), and osmo_tdef_get_state_timeout().
int osmo_tdef_state_timeout::T |
Timer number to match struct osmo_tdef.T, and to pass to osmo_fsm_inst_state_chg().
Positive values for T are considered to be 3GPP spec compliant and appear in logging and VTY as "T1234", while negative values are considered to be Osmocom specific timers, represented in logging and VTY as "X1234".
Referenced by _osmo_tdef_fsm_inst_state_chg(), and osmo_tdef_get_state_timeout().