libosmo-sigtran  1.5.0
Osmocom SIGTRAN library
xua_asp_fsm.h
Go to the documentation of this file.
ipa_asp_fsm_start
static struct osmo_fsm_inst * ipa_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:1182
XUA_ASP_E_SCTP_RESTART_IND
@ XUA_ASP_E_SCTP_RESTART_IND
Definition: xua_asp_fsm.h:16
osmo_ss7_asp::proto
enum osmo_ss7_asp_protocol proto
Definition: osmo_ss7.h:428
osmo_xlm_prim::oph
struct osmo_prim_hdr oph
Definition: sigtran_sap.h:67
ipa_asp_fsm_priv::pong_timer
struct osmo_timer_list pong_timer
Definition: xua_asp_fsm.c:830
osmo_ss7_as
Definition: osmo_ss7.h:300
XUA_ASP_E_M_ASP_ACTIVE_REQ
@ XUA_ASP_E_M_ASP_ACTIVE_REQ
Definition: xua_asp_fsm.h:11
xua_asp_fsm_priv::out_event
int out_event
Definition: xua_asp_fsm.c:87
XUA_SAP_LM
@ XUA_SAP_LM
Definition: sigtran_sap.h:9
get_fd_from_iafp
static int get_fd_from_iafp(struct ipa_asp_fsm_priv *iafp)
Definition: xua_asp_fsm.c:842
osmo_ss7_as_traffic_mode
osmo_ss7_as_traffic_mode
Definition: osmo_ss7.h:261
M3UA_ERR_INVAL_ROUT_CTX
@ M3UA_ERR_INVAL_ROUT_CTX
Definition: m3ua.h:171
xua_asp_fsm_inactive_onenter
static void xua_asp_fsm_inactive_onenter(struct osmo_fsm_inst *fi, uint32_t prev_state)
Definition: xua_asp_fsm.c:464
OSMO_SS7_ASP_PROT_IPA
@ OSMO_SS7_ASP_PROT_IPA
Definition: osmo_ss7.h:281
ipa_asp_fsm_active
static void ipa_asp_fsm_active(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:1028
XUA_ASPAS_ASP_ACTIVE_IND
@ XUA_ASPAS_ASP_ACTIVE_IND
Definition: xua_as_fsm.h:15
M3UA_ERR_UNSUPP_TRAF_MOD_TYP
@ M3UA_ERR_UNSUPP_TRAF_MOD_TYP
Definition: m3ua.h:151
osmo_ss7_as::fi
struct osmo_fsm_inst * fi
AS FSM.
Definition: osmo_ss7.h:306
T_WAIT_ID_ACK
@ T_WAIT_ID_ACK
Definition: xua_asp_fsm.c:837
XUA_ASP_E_ASPSM_BEAT
@ XUA_ASP_E_ASPSM_BEAT
Definition: xua_asp_fsm.h:28
xua_asp_event
xua_asp_event
Definition: xua_asp_fsm.h:9
XUA_ASP_E_SCTP_COMM_DOWN_IND
@ XUA_ASP_E_SCTP_COMM_DOWN_IND
Definition: xua_asp_fsm.h:15
xua_asp_fsm_priv::t_ack
struct xua_asp_fsm_priv::@34 t_ack
SUA_MGMT_ERR
#define SUA_MGMT_ERR
Definition: sua.h:40
xua_asp_send_xlm_prim_simple
void xua_asp_send_xlm_prim_simple(struct osmo_ss7_asp *asp, enum osmo_xlm_prim_type prim_type, enum osmo_prim_operation op)
Definition: xua_asp_fsm.c:121
SUA_ASPSM_UP_ACK
#define SUA_ASPSM_UP_ACK
Definition: sua.h:53
SUA_ASPTM_ACTIVE
#define SUA_ASPTM_ACTIVE
Definition: sua.h:57
xua_asp_fsm_active_onenter
static void xua_asp_fsm_active_onenter(struct osmo_fsm_inst *fi, uint32_t prev_state)
Definition: xua_asp_fsm.c:583
ipa_asp_states
static const struct osmo_fsm_state ipa_asp_states[]
Definition: xua_asp_fsm.c:1099
xua_asp_state
xua_asp_state
Definition: xua_asp_fsm.h:3
IPA_ASP_E_ID_RESP
@ IPA_ASP_E_ID_RESP
Definition: xua_asp_fsm.h:32
XUA_ASP_E_ASPTM_ASPIA
@ XUA_ASP_E_ASPTM_ASPIA
Definition: xua_asp_fsm.h:25
ENSURE_SG_OR_IPSP
#define ENSURE_SG_OR_IPSP(fi, event)
Definition: xua_asp_fsm.c:386
IPA_ASP_S_WAIT_ID_ACK2
@ IPA_ASP_S_WAIT_ID_ACK2
Definition: xua_asp_fsm.c:819
check_stop_t_ack
static void check_stop_t_ack(struct osmo_fsm_inst *fi, uint32_t event)
Definition: xua_asp_fsm.c:358
SUA_ASPSM_BEAT_ACK
#define SUA_ASPSM_BEAT_ACK
Definition: sua.h:55
xua_asp_fsm_down
static void xua_asp_fsm_down(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:409
osmo_ss7_as::mode
enum osmo_ss7_as_traffic_mode mode
Definition: osmo_ss7.h:322
XUA_ASP_S_INACTIVE
@ XUA_ASP_S_INACTIVE
Definition: xua_asp_fsm.h:5
T_WAIT_ID_GET
@ T_WAIT_ID_GET
Definition: xua_asp_fsm.c:838
ipa_asp_state
ipa_asp_state
Definition: xua_asp_fsm.c:810
xua_msg_get_u32
uint32_t xua_msg_get_u32(const struct xua_msg *xua, uint16_t iei)
Definition: xua_msg.c:292
osmo_ss7_asp_send
int osmo_ss7_asp_send(struct osmo_ss7_asp *asp, struct msgb *msg)
send a fully encoded msgb via a given ASP
Definition: osmo_ss7.c:2125
xua_as_fsm.h
ipa_asp_fsm_wait_id_ack
static void ipa_asp_fsm_wait_id_ack(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:1004
sigtran_sap.h
xua_msg_part::dat
uint8_t * dat
Definition: xua_msg.h:43
osmo_ss7_as_add_asp
int osmo_ss7_as_add_asp(struct osmo_ss7_as *as, const char *asp_name)
Add given ASP to given AS.
Definition: osmo_ss7.c:1043
osmo_ss7_asp::inst
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:390
XUA_ASP_E_ASPSM_ASPDN_ACK
@ XUA_ASP_E_ASPSM_ASPDN_ACK
Definition: xua_asp_fsm.h:24
osmo_ss7_as_tmode_compatible_xua
bool osmo_ss7_as_tmode_compatible_xua(struct osmo_ss7_as *as, uint32_t m3ua_tmt)
Definition: osmo_ss7.c:2390
osmo_ss7_as::cfg
struct osmo_ss7_as::@25 cfg
OSMO_SS7_ASP_ROLE_SG
@ OSMO_SS7_ASP_ROLE_SG
Definition: osmo_ss7.h:381
xua_common_hdr::version
uint8_t version
Definition: xua_types.h:32
xua_asp_fsm_down_onenter
static void xua_asp_fsm_down_onenter(struct osmo_fsm_inst *fi, uint32_t prev_state)
Definition: xua_asp_fsm.c:404
data
uint8_t data[0]
Definition: xua_types.h:7
S
#define S(x)
Definition: xua_asp_fsm.c:34
xua_asp_fsm_inactive
static void xua_asp_fsm_inactive(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:469
ipa_asp_fsm_priv::ipa_id_ack_rcvd
bool ipa_id_ack_rcvd
Definition: xua_asp_fsm.c:832
SUA_ASPSM_BEAT
#define SUA_ASPSM_BEAT
Definition: sua.h:52
sua.h
XUA_ASP_E_ASPTM_ASPAC_ACK
@ XUA_ASP_E_ASPTM_ASPAC_ACK
Definition: xua_asp_fsm.h:22
xua_internal.h
osmo_ss7_instance
Definition: osmo_ss7.h:73
ipa_asp_fsm_wait_id_ack2
static void ipa_asp_fsm_wait_id_ack2(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:948
IPA_ASP_E_ID_GET
@ IPA_ASP_E_ID_GET
Definition: xua_asp_fsm.h:34
peer_send_error
static int peer_send_error(struct osmo_fsm_inst *fi, uint32_t err_code)
Definition: xua_asp_fsm.c:280
xua_asp_event_names
static const struct value_string xua_asp_event_names[]
Definition: xua_asp_fsm.c:46
M3UA_IEI_HEARDBT_DATA
#define M3UA_IEI_HEARDBT_DATA
Definition: m3ua.h:69
osmo_ss7_asp::client
struct osmo_stream_cli * client
osmo_stream / libosmo-netif handles
Definition: osmo_ss7.h:400
XUA_ASP_E_ASPTM_ASPIA_ACK
@ XUA_ASP_E_ASPTM_ASPIA_ACK
Definition: xua_asp_fsm.h:26
dispatch_to_all_as
static void dispatch_to_all_as(struct osmo_fsm_inst *fi, uint32_t event)
Definition: xua_asp_fsm.c:343
osmo_ss7_tmode_from_xua
enum osmo_ss7_as_traffic_mode osmo_ss7_tmode_from_xua(uint32_t in)
Definition: osmo_ss7.c:2376
evt_ack_map
static const uint32_t evt_ack_map[_NUM_XUA_ASP_E]
Definition: xua_asp_fsm.c:333
XUA_ASP_E_M_ASP_INACTIVE_REQ
@ XUA_ASP_E_M_ASP_INACTIVE_REQ
Definition: xua_asp_fsm.h:13
xua_asp_fsm_priv::role
enum osmo_ss7_asp_role role
Definition: xua_asp_fsm.c:80
OSMO_XLM_PRIM_M_ASP_INACTIVE
@ OSMO_XLM_PRIM_M_ASP_INACTIVE
Definition: sigtran_sap.h:25
xua_msg_find_tag
struct xua_msg_part * xua_msg_find_tag(const struct xua_msg *msg, uint16_t tag)
Definition: xua_msg.c:86
osmo_ss7_as::mode_set_by_vty
bool mode_set_by_vty
Definition: osmo_ss7.h:324
osmo_ss7_asp::lm
const struct osmo_xua_layer_manager * lm
Definition: osmo_ss7.h:410
osmo_ss7_as_has_asp
bool osmo_ss7_as_has_asp(const struct osmo_ss7_as *as, const struct osmo_ss7_asp *asp)
Determine if given AS contains ASP.
Definition: osmo_ss7.c:1122
osmo_xlm_prim_type
osmo_xlm_prim_type
Definition: sigtran_sap.h:13
ipa_asp_fsm_wait_id_get
static void ipa_asp_fsm_wait_id_get(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:960
SUA_ASPSM_DOWN_ACK
#define SUA_ASPSM_DOWN_ACK
Definition: sua.h:54
M3UA_IEI_TRAF_MODE_TYP
#define M3UA_IEI_TRAF_MODE_TYP
Definition: m3ua.h:70
ipa_pong_timer_cb
static void ipa_pong_timer_cb(void *_fi)
Definition: xua_asp_fsm.c:1079
IPA_ASP_S_ACTIVE
@ IPA_ASP_S_ACTIVE
Definition: xua_asp_fsm.c:815
IPA_ASP_S_WAIT_ID_GET
@ IPA_ASP_S_WAIT_ID_GET
Definition: xua_asp_fsm.c:817
M3UA_TMOD_OVERRIDE
@ M3UA_TMOD_OVERRIDE
Definition: m3ua.h:176
XUA_ASP_E_ASPSM_ASPDN
@ XUA_ASP_E_ASPSM_ASPDN
Definition: xua_asp_fsm.h:23
xua_asp_fsm_active
static void xua_asp_fsm_active(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:588
_NUM_XUA_ASP_E
@ _NUM_XUA_ASP_E
Definition: xua_asp_fsm.h:36
ipa_asp_fsm_t
ipa_asp_fsm_t
Definition: xua_asp_fsm.c:835
osmo_ss7_as_find_by_name
struct osmo_ss7_as * osmo_ss7_as_find_by_name(struct osmo_ss7_instance *inst, const char *name)
Find Application Server by given name.
Definition: osmo_ss7.c:917
ipa_asp_fsm_inactive_onenter
static void ipa_asp_fsm_inactive_onenter(struct osmo_fsm_inst *fi, uint32_t prev_state)
Definition: xua_asp_fsm.c:1038
XUA_ASP_E_M_ASP_DOWN_REQ
@ XUA_ASP_E_M_ASP_DOWN_REQ
Definition: xua_asp_fsm.h:12
SUA_IEI_ERR_CODE
#define SUA_IEI_ERR_CODE
Definition: sua.h:87
xua_msg_copy_part
int xua_msg_copy_part(struct xua_msg *xua_out, uint16_t tag_out, const struct xua_msg *xua_in, uint16_t tag_in)
Definition: xua_msg.c:111
SUA_IEI_ASP_ID
#define SUA_IEI_ASP_ID
Definition: sua.h:89
ipa_asp_fsm_timer_cb
static int ipa_asp_fsm_timer_cb(struct osmo_fsm_inst *fi)
Definition: xua_asp_fsm.c:1089
XUA_ASP_E_ASPTM_ASPAC
@ XUA_ASP_E_ASPTM_ASPAC
Definition: xua_asp_fsm.h:21
SUA_ASPTM_ACTIVE_ACK
#define SUA_ASPTM_ACTIVE_ACK
Definition: sua.h:59
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:772
osmo_ss7_asp::name
char * name
Definition: osmo_ss7.h:426
SUA_ASPSM_DOWN
#define SUA_ASPSM_DOWN
Definition: sua.h:51
OSMO_XLM_PRIM_M_ASP_DOWN
@ OSMO_XLM_PRIM_M_ASP_DOWN
Definition: sigtran_sap.h:23
osmo_xua_layer_manager
Definition: osmo_ss7.h:497
xua_msg::hdr
struct xua_common_hdr hdr
Definition: xua_msg.h:32
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:772
XUA_ASP_E_ASPSM_BEAT_ACK
@ XUA_ASP_E_ASPSM_BEAT_ACK
Definition: xua_asp_fsm.h:29
XUA_ASPAS_ASP_INACTIVE_IND
@ XUA_ASPAS_ASP_INACTIVE_IND
Definition: xua_as_fsm.h:13
osmo_xua_layer_manager::prim_cb
osmo_prim_cb prim_cb
Definition: osmo_ss7.h:500
ipa_asp_fsm
struct osmo_fsm ipa_asp_fsm
Definition: xua_asp_fsm.c:1162
osmo_ss7.h
xua_msg_part
Definition: xua_msg.h:38
XUA_ASP_S_ACTIVE
@ XUA_ASP_S_ACTIVE
Definition: xua_asp_fsm.h:6
xua_asp_allstate
static void xua_asp_allstate(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:664
XUA_ASP_E_SCTP_EST_IND
@ XUA_ASP_E_SCTP_EST_IND
Definition: xua_asp_fsm.h:17
xua_msg_add_u32
int xua_msg_add_u32(struct xua_msg *xua, uint16_t iei, uint32_t val)
Definition: xua_msg.c:280
xua_msg.h
ipa_asp_fsm
struct osmo_fsm ipa_asp_fsm
Definition: xua_asp_fsm.c:1162
xua_asp_fsm_priv
Definition: xua_asp_fsm.c:76
xua_msg_alloc
struct xua_msg * xua_msg_alloc(void)
Definition: xua_msg.c:44
osmo_ss7_instance::as_list
struct llist_head as_list
list of osmo_ss7_as
Definition: osmo_ss7.h:79
xua_asp_fsm
struct osmo_fsm xua_asp_fsm
Definition: xua_asp_fsm.c:749
XUA_ASP_E_ASPSM_ASPUP_ACK
@ XUA_ASP_E_ASPSM_ASPUP_ACK
Definition: xua_asp_fsm.h:20
ipa_asp_allstate
static void ipa_asp_allstate(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:1052
osmo_ss7_asp::asp_id
uint32_t asp_id
Definition: osmo_ss7.h:406
ipa_asp_fsm_priv::role
enum osmo_ss7_asp_role role
Definition: xua_asp_fsm.c:825
M3UA_ERR_UNEXPECTED_MSG
@ M3UA_ERR_UNEXPECTED_MSG
Definition: m3ua.h:152
IPA_ASP_S_WAIT_ID_ACK
@ IPA_ASP_S_WAIT_ID_ACK
Definition: xua_asp_fsm.c:818
xua_asp_send_xlm_prim
void xua_asp_send_xlm_prim(struct osmo_ss7_asp *asp, struct osmo_xlm_prim *prim)
Definition: xua_asp_fsm.c:106
osmo_ss7_tmode_to_xua
int osmo_ss7_tmode_to_xua(enum osmo_ss7_as_traffic_mode tmod)
Definition: osmo_ss7.c:2362
xua_asp_fsm.h
ENSURE_ASP_OR_IPSP
#define ENSURE_ASP_OR_IPSP(fi, event)
Definition: xua_asp_fsm.c:373
xua_msg_add_data
int xua_msg_add_data(struct xua_msg *msg, uint16_t tag, uint16_t len, const uint8_t *dat)
Definition: xua_msg.c:61
xua_msg_part_get_u32
uint32_t xua_msg_part_get_u32(const struct xua_msg_part *part)
Definition: xua_msg.c:286
osmo_ss7_as::mode_set_by_peer
bool mode_set_by_peer
Definition: osmo_ss7.h:326
M3UA_TMOD_BCAST
@ M3UA_TMOD_BCAST
Definition: m3ua.h:178
osmo_ss7_as::list
struct llist_head list
entry in 'ref osmo_ss7_instance.as_list
Definition: osmo_ss7.h:302
ipa_asp_fsm_priv
Definition: xua_asp_fsm.c:821
SUA_MSGC_MGMT
#define SUA_MSGC_MGMT
Definition: sua.h:31
XUA_ASP_E_ASPSM_ASPUP
@ XUA_ASP_E_ASPSM_ASPUP
Definition: xua_asp_fsm.h:19
OSMO_XLM_PRIM_M_ASP_ACTIVE
@ OSMO_XLM_PRIM_M_ASP_ACTIVE
Definition: sigtran_sap.h:24
xua_asp_states
static const struct osmo_fsm_state xua_asp_states[]
Definition: xua_asp_fsm.c:703
xua_to_msg
struct msgb * xua_to_msg(const int version, struct xua_msg *msg)
Definition: xua_msg.c:203
osmo_ss7_asp::cfg
struct osmo_ss7_asp::@27 cfg
osmo_ss7_as::routing_key
struct osmo_ss7_routing_key routing_key
Definition: osmo_ss7.h:321
osmo_ss7_as_traffic_mode_name
static const char * osmo_ss7_as_traffic_mode_name(enum osmo_ss7_as_traffic_mode mode)
Definition: osmo_ss7.h:272
osmo_ss7_as_find_by_rctx
struct osmo_ss7_as * osmo_ss7_as_find_by_rctx(struct osmo_ss7_instance *inst, uint32_t rctx)
Find Application Server by given routing context.
Definition: osmo_ss7.c:934
xua_asp_fsm_priv::timer
struct osmo_timer_list timer
Definition: xua_asp_fsm.c:86
SUA_VERSION
#define SUA_VERSION
Definition: sua.h:26
xua_asp_fsm_priv::asp
struct osmo_ss7_asp * asp
Definition: xua_asp_fsm.c:78
xua_asp_fsm
struct osmo_fsm xua_asp_fsm
Definition: xua_asp_fsm.c:749
send_xlm_prim_simple
static void send_xlm_prim_simple(struct osmo_fsm_inst *fi, enum osmo_xlm_prim_type prim_type, enum osmo_prim_operation op)
Definition: xua_asp_fsm.c:131
ipa_asp_fsm_priv::ipa_unit
struct ipaccess_unit * ipa_unit
Definition: xua_asp_fsm.c:828
xua_asp_fsm_timer_cb
static int xua_asp_fsm_timer_cb(struct osmo_fsm_inst *fi)
Definition: xua_asp_fsm.c:689
SUA_ASPSM_UP
#define SUA_ASPSM_UP
Definition: sua.h:50
IPA_ASP_E_ID_ACK
@ IPA_ASP_E_ID_ACK
Definition: xua_asp_fsm.h:33
xua_msg_free
void xua_msg_free(struct xua_msg *msg)
Definition: xua_msg.c:56
determine_traf_mode
static int determine_traf_mode(struct osmo_ss7_asp *asp)
Definition: xua_asp_fsm.c:145
ipa_asp_fsm_priv::asp
struct osmo_ss7_asp * asp
Definition: xua_asp_fsm.c:823
osmo_ss7_asp::server
struct osmo_stream_srv * server
Definition: osmo_ss7.h:401
M3UA_TMOD_LOADSHARE
@ M3UA_TMOD_LOADSHARE
Definition: m3ua.h:177
SUA_ASPTM_INACTIVE_ACK
#define SUA_ASPTM_INACTIVE_ACK
Definition: sua.h:60
LOGPASP
#define LOGPASP(asp, subsys, level, fmt, args ...)
Definition: osmo_ss7.h:488
IPA_ASP_S_INACTIVE
@ IPA_ASP_S_INACTIVE
Definition: xua_asp_fsm.c:814
OSMO_XLM_PRIM_M_ASP_UP
@ OSMO_XLM_PRIM_M_ASP_UP
Definition: sigtran_sap.h:22
XUA_T_ACK_SEC
#define XUA_T_ACK_SEC
Definition: xua_asp_fsm.c:44
T_WAIT_ID_RESP
@ T_WAIT_ID_RESP
Definition: xua_asp_fsm.c:836
xua_xlm_prim_alloc
struct osmo_xlm_prim * xua_xlm_prim_alloc(enum osmo_xlm_prim_type prim_type, enum osmo_prim_operation op)
Definition: xua_asp_fsm.c:91
IPA_ASP_S_WAIT_ID_RESP
@ IPA_ASP_S_WAIT_ID_RESP
Definition: xua_asp_fsm.c:816
osmo_ss7_asp
Definition: osmo_ss7.h:387
OSMO_SS7_ASP_ROLE_ASP
@ OSMO_SS7_ASP_ROLE_ASP
Definition: osmo_ss7.h:380
SUA_MSGC_ASPSM
#define SUA_MSGC_ASPSM
Definition: sua.h:33
osmo_ss7_asp::asp_id_present
bool asp_id_present
Definition: osmo_ss7.h:407
IPA_ASP_S_DOWN
@ IPA_ASP_S_DOWN
Definition: xua_asp_fsm.c:813
SUA_ASPTM_INACTIVE
#define SUA_ASPTM_INACTIVE
Definition: sua.h:58
xua_msg_add_asp_rctx
static int xua_msg_add_asp_rctx(struct xua_msg *xua, struct osmo_ss7_asp *asp)
Definition: xua_asp_fsm.c:168
osmo_xlm_prim
Definition: sigtran_sap.h:66
XUA_ASP_S_DOWN
@ XUA_ASP_S_DOWN
Definition: xua_asp_fsm.h:4
ipa_asp_fsm_active_onenter
static void ipa_asp_fsm_active_onenter(struct osmo_fsm_inst *fi, uint32_t prev_state)
Definition: xua_asp_fsm.c:1021
osmo_ss7_routing_key::context
uint32_t context
Definition: osmo_ss7.h:254
osmo_ss7_asp_role
osmo_ss7_asp_role
Definition: osmo_ss7.h:379
xua_msg_part::len
uint16_t len
Definition: xua_msg.h:42
LOGPAS
#define LOGPAS(as, subsys, level, fmt, args ...)
Definition: osmo_ss7.h:490
xua_t_ack_cb
static void xua_t_ack_cb(void *data)
Definition: xua_asp_fsm.c:299
ipa_asp_fsm_wait_id_resp
static void ipa_asp_fsm_wait_id_resp(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:885
xua_msg
Definition: xua_msg.h:31
peer_send_and_start_t_ack
static int peer_send_and_start_t_ack(struct osmo_fsm_inst *fi, int out_event)
Definition: xua_asp_fsm.c:314
osmo_xlm_prim_name
char * osmo_xlm_prim_name(struct osmo_prim_hdr *oph)
Definition: sccp_sap.c:81
osmo_ss7_as::inst
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:303
XUA_ASP_E_M_ASP_UP_REQ
@ XUA_ASP_E_M_ASP_UP_REQ
Definition: xua_asp_fsm.h:10
SUA_MSGC_ASPTM
#define SUA_MSGC_ASPTM
Definition: sua.h:34
osmo_ss7_asp_disconnect
void osmo_ss7_asp_disconnect(struct osmo_ss7_asp *asp)
Definition: osmo_ss7.c:2170
ipa_asp_fsm_down
static void ipa_asp_fsm_down(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:862
peer_send
static int peer_send(struct osmo_fsm_inst *fi, int out_event, struct xua_msg *in)
Definition: xua_asp_fsm.c:192
XUA_ASPAS_ASP_DOWN_IND
@ XUA_ASPAS_ASP_DOWN_IND
Definition: xua_as_fsm.h:14
xua_asp_fsm_cleanup
static void xua_asp_fsm_cleanup(struct osmo_fsm_inst *fi, enum osmo_fsm_term_cause cause)
Definition: xua_asp_fsm.c:696
M3UA_IEI_ROUTE_CTX
#define M3UA_IEI_ROUTE_CTX
Definition: m3ua.h:67
XUA_HDR
#define XUA_HDR(class, type)
Definition: xua_msg.h:25
ipa_asp_fsm_inactive
static void ipa_asp_fsm_inactive(struct osmo_fsm_inst *fi, uint32_t event, void *data)
Definition: xua_asp_fsm.c:1043