Loading...
Searching...
No Matches
xua_asp_fsm.h
Go to the documentation of this file.
#pragma once
enum xua_asp_state {
XUA_ASP_S_DOWN,
XUA_ASP_S_INACTIVE,
XUA_ASP_S_ACTIVE,
};
enum xua_asp_event {
XUA_ASP_E_M_ASP_UP_REQ,
XUA_ASP_E_M_ASP_ACTIVE_REQ,
XUA_ASP_E_M_ASP_DOWN_REQ,
XUA_ASP_E_M_ASP_INACTIVE_REQ,
XUA_ASP_E_SCTP_COMM_DOWN_IND,
XUA_ASP_E_SCTP_RESTART_IND,
XUA_ASP_E_SCTP_EST_IND,
XUA_ASP_E_ASPSM_ASPUP,
XUA_ASP_E_ASPSM_ASPUP_ACK,
XUA_ASP_E_ASPTM_ASPAC,
XUA_ASP_E_ASPTM_ASPAC_ACK,
XUA_ASP_E_ASPSM_ASPDN,
XUA_ASP_E_ASPSM_ASPDN_ACK,
XUA_ASP_E_ASPTM_ASPIA,
XUA_ASP_E_ASPTM_ASPIA_ACK,
XUA_ASP_E_ASPSM_BEAT,
XUA_ASP_E_ASPSM_BEAT_ACK,
/* IPA specific */
IPA_ASP_E_ID_RESP,
IPA_ASP_E_ID_ACK,
IPA_ASP_E_ID_GET,
_NUM_XUA_ASP_E
};
extern struct osmo_fsm xua_asp_fsm;
extern struct osmo_fsm ipa_asp_fsm;
struct osmo_fsm_inst *xua_asp_fsm_start(struct osmo_ss7_asp *asp,
enum osmo_ss7_asp_role role, int log_level);
osmo_ss7_asp_role
osmo_ss7_asp_role
Definition osmo_ss7.h:379
osmo_ss7_asp
Definition osmo_ss7.h:387
xua_asp_event
xua_asp_event
Definition xua_asp_fsm.h:9
XUA_ASP_E_SCTP_EST_IND
@ XUA_ASP_E_SCTP_EST_IND
Definition xua_asp_fsm.h:17
XUA_ASP_E_ASPTM_ASPAC_ACK
@ XUA_ASP_E_ASPTM_ASPAC_ACK
Definition xua_asp_fsm.h:22
XUA_ASP_E_ASPSM_BEAT_ACK
@ XUA_ASP_E_ASPSM_BEAT_ACK
Definition xua_asp_fsm.h:29
IPA_ASP_E_ID_RESP
@ IPA_ASP_E_ID_RESP
Definition xua_asp_fsm.h:32
XUA_ASP_E_ASPSM_ASPDN
@ XUA_ASP_E_ASPSM_ASPDN
Definition xua_asp_fsm.h:23
IPA_ASP_E_ID_ACK
@ IPA_ASP_E_ID_ACK
Definition xua_asp_fsm.h:33
XUA_ASP_E_SCTP_RESTART_IND
@ XUA_ASP_E_SCTP_RESTART_IND
Definition xua_asp_fsm.h:16
XUA_ASP_E_ASPSM_ASPUP
@ XUA_ASP_E_ASPSM_ASPUP
Definition xua_asp_fsm.h:19
XUA_ASP_E_ASPSM_ASPDN_ACK
@ XUA_ASP_E_ASPSM_ASPDN_ACK
Definition xua_asp_fsm.h:24
XUA_ASP_E_M_ASP_INACTIVE_REQ
@ XUA_ASP_E_M_ASP_INACTIVE_REQ
Definition xua_asp_fsm.h:13
XUA_ASP_E_ASPSM_ASPUP_ACK
@ XUA_ASP_E_ASPSM_ASPUP_ACK
Definition xua_asp_fsm.h:20
XUA_ASP_E_ASPTM_ASPAC
@ XUA_ASP_E_ASPTM_ASPAC
Definition xua_asp_fsm.h:21
XUA_ASP_E_M_ASP_ACTIVE_REQ
@ XUA_ASP_E_M_ASP_ACTIVE_REQ
Definition xua_asp_fsm.h:11
XUA_ASP_E_ASPTM_ASPIA_ACK
@ XUA_ASP_E_ASPTM_ASPIA_ACK
Definition xua_asp_fsm.h:26
XUA_ASP_E_SCTP_COMM_DOWN_IND
@ XUA_ASP_E_SCTP_COMM_DOWN_IND
Definition xua_asp_fsm.h:15
IPA_ASP_E_ID_GET
@ IPA_ASP_E_ID_GET
Definition xua_asp_fsm.h:34
XUA_ASP_E_ASPTM_ASPIA
@ XUA_ASP_E_ASPTM_ASPIA
Definition xua_asp_fsm.h:25
XUA_ASP_E_ASPSM_BEAT
@ XUA_ASP_E_ASPSM_BEAT
Definition xua_asp_fsm.h:28
XUA_ASP_E_M_ASP_UP_REQ
@ XUA_ASP_E_M_ASP_UP_REQ
Definition xua_asp_fsm.h:10
XUA_ASP_E_M_ASP_DOWN_REQ
@ XUA_ASP_E_M_ASP_DOWN_REQ
Definition xua_asp_fsm.h:12
_NUM_XUA_ASP_E
@ _NUM_XUA_ASP_E
Definition xua_asp_fsm.h:36
xua_asp_fsm
struct osmo_fsm xua_asp_fsm
Definition xua_asp_fsm.c:748
xua_asp_fsm_start
struct osmo_fsm_inst * xua_asp_fsm_start(struct osmo_ss7_asp *asp, enum osmo_ss7_asp_role role, int log_level)
Start a new ASP finite stae machine for given ASP.
Definition xua_asp_fsm.c:771
ipa_asp_fsm
struct osmo_fsm ipa_asp_fsm
Definition xua_asp_fsm.c:1161
xua_asp_state
xua_asp_state
Definition xua_asp_fsm.h:3
XUA_ASP_S_DOWN
@ XUA_ASP_S_DOWN
Definition xua_asp_fsm.h:4
XUA_ASP_S_ACTIVE
@ XUA_ASP_S_ACTIVE
Definition xua_asp_fsm.h:6
XUA_ASP_S_INACTIVE
@ XUA_ASP_S_INACTIVE
Definition xua_asp_fsm.h:5