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
};
enum xua_asp_role {
XUA_ASPFSM_ROLE_ASP,
XUA_ASPFSM_ROLE_SG,
XUA_ASPFSM_ROLE_IPSP,
};
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 xua_asp_role role, int log_level);
IPA_ASP_E_ID_GET
Definition: xua_asp_fsm.h:34
XUA_ASP_S_ACTIVE
Definition: xua_asp_fsm.h:6
XUA_ASP_E_ASPSM_ASPDN
Definition: xua_asp_fsm.h:23
XUA_ASP_E_ASPSM_BEAT
Definition: xua_asp_fsm.h:28
XUA_ASP_E_M_ASP_UP_REQ
Definition: xua_asp_fsm.h:10
XUA_ASP_E_ASPTM_ASPIA_ACK
Definition: xua_asp_fsm.h:26
xua_asp_event
xua_asp_event
Definition: xua_asp_fsm.h:9
xua_asp_state
xua_asp_state
Definition: xua_asp_fsm.h:3
XUA_ASP_E_ASPSM_ASPUP
Definition: xua_asp_fsm.h:19
ipa_asp_fsm
struct osmo_fsm ipa_asp_fsm
Definition: xua_asp_fsm.c:1059
XUA_ASPFSM_ROLE_ASP
Definition: xua_asp_fsm.h:40
XUA_ASP_S_DOWN
Definition: xua_asp_fsm.h:4
XUA_ASPFSM_ROLE_SG
Definition: xua_asp_fsm.h:41
XUA_ASP_E_M_ASP_DOWN_REQ
Definition: xua_asp_fsm.h:12
XUA_ASP_E_SCTP_EST_IND
Definition: xua_asp_fsm.h:17
xua_asp_fsm
struct osmo_fsm xua_asp_fsm
Definition: xua_asp_fsm.c:666
XUA_ASP_E_SCTP_COMM_DOWN_IND
Definition: xua_asp_fsm.h:15
XUA_ASP_S_INACTIVE
Definition: xua_asp_fsm.h:5
XUA_ASP_E_SCTP_RESTART_IND
Definition: xua_asp_fsm.h:16
XUA_ASP_E_ASPTM_ASPAC_ACK
Definition: xua_asp_fsm.h:22
XUA_ASPFSM_ROLE_IPSP
Definition: xua_asp_fsm.h:42
XUA_ASP_E_ASPSM_ASPDN_ACK
Definition: xua_asp_fsm.h:24
XUA_ASP_E_ASPTM_ASPIA
Definition: xua_asp_fsm.h:25
XUA_ASP_E_M_ASP_ACTIVE_REQ
Definition: xua_asp_fsm.h:11
osmo_ss7_asp
Definition: osmo_ss7.h:352
xua_asp_role
xua_asp_role
Definition: xua_asp_fsm.h:39
IPA_ASP_E_ID_ACK
Definition: xua_asp_fsm.h:33
IPA_ASP_E_ID_RESP
Definition: xua_asp_fsm.h:32
_NUM_XUA_ASP_E
Definition: xua_asp_fsm.h:36
XUA_ASP_E_ASPSM_ASPUP_ACK
Definition: xua_asp_fsm.h:20
xua_asp_fsm_start
struct osmo_fsm_inst * xua_asp_fsm_start(struct osmo_ss7_asp *asp, enum xua_asp_role role, int log_level)
Start a new ASP finite stae machine for given ASP.
Definition: xua_asp_fsm.c:689
XUA_ASP_E_M_ASP_INACTIVE_REQ
Definition: xua_asp_fsm.h:13
XUA_ASP_E_ASPTM_ASPAC
Definition: xua_asp_fsm.h:21
XUA_ASP_E_ASPSM_BEAT_ACK
Definition: xua_asp_fsm.h:29