libosmo-sigtran  1.4.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:1205
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:420
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:825
osmo_ss7_route::as
struct osmo_ss7_as * as
pointer to Application Server
Definition: osmo_ss7.h:217
osmo_ss7_as
Definition: osmo_ss7.h:298
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:86
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:837
osmo_ss7_as_traffic_mode
osmo_ss7_as_traffic_mode
Definition: osmo_ss7.h:259
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:573
OSMO_SS7_ASP_PROT_IPA
@ OSMO_SS7_ASP_PROT_IPA
Definition: osmo_ss7.h:279
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:1039
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:304
T_WAIT_ID_ACK
@ T_WAIT_ID_ACK
Definition: xua_asp_fsm.c:832
XUA_ASP_E_ASPSM_BEAT
@ XUA_ASP_E_ASPSM_BEAT
Definition: xua_asp_fsm.h:28
osmo_ss7_route_create
struct osmo_ss7_route * osmo_ss7_route_create(struct osmo_ss7_route_table *rtbl, uint32_t dpc, uint32_t mask, const char *linkset_name)
Create a new route in the given routing table.
Definition: osmo_ss7.c:771
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:120
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:654
ipa_asp_states
static const struct osmo_fsm_state ipa_asp_states[]
Definition: xua_asp_fsm.c:1118
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:370
IPA_ASP_S_WAIT_ID_ACK2
@ IPA_ASP_S_WAIT_ID_ACK2
Definition: xua_asp_fsm.c:814
check_stop_t_ack
static void check_stop_t_ack(struct osmo_fsm_inst *fi, uint32_t event)
Definition: xua_asp_fsm.c:342
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:383
osmo_ss7_routing_key::pc
uint32_t pc
Definition: osmo_ss7.h:255
osmo_ss7_as::mode
enum osmo_ss7_as_traffic_mode mode
Definition: osmo_ss7.h:317
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:833
ipa_asp_state
ipa_asp_state
Definition: xua_asp_fsm.c:805
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:1974
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:996
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:988
osmo_ss7_asp::inst
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:385
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:2223
osmo_ss7_as::cfg
struct osmo_ss7_as::@25 cfg
OSMO_SS7_ASP_ROLE_SG
@ OSMO_SS7_ASP_ROLE_SG
Definition: osmo_ss7.h:376
xua_common_hdr::version
uint8_t version
Definition: xua_types.h:32
osmo_ss7_route::dest
struct osmo_ss7_route::@23 dest
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:454
data
uint8_t data[0]
Definition: xua_types.h:5
S
#define S(x)
Definition: xua_asp_fsm.c:33
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:459
ipa_asp_fsm_priv::ipa_id_ack_rcvd
bool ipa_id_ack_rcvd
Definition: xua_asp_fsm.c:827
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
osmo_ss7_instance
Definition: osmo_ss7.h:72
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:939
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:279
xua_asp_event_names
static const struct value_string xua_asp_event_names[]
Definition: xua_asp_fsm.c:45
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:395
XUA_ASP_E_ASPTM_ASPIA_ACK
@ XUA_ASP_E_ASPTM_ASPIA_ACK
Definition: xua_asp_fsm.h:26
ipa_asp_fsm_del_route
static void ipa_asp_fsm_del_route(struct ipa_asp_fsm_priv *iafp)
Definition: xua_asp_fsm.c:1013
dispatch_to_all_as
static void dispatch_to_all_as(struct osmo_fsm_inst *fi, uint32_t event)
Definition: xua_asp_fsm.c:440
osmo_ss7_tmode_from_xua
enum osmo_ss7_as_traffic_mode osmo_ss7_tmode_from_xua(uint32_t in)
Definition: osmo_ss7.c:2209
evt_ack_map
static const uint32_t evt_ack_map[_NUM_XUA_ASP_E]
Definition: xua_asp_fsm.c:332
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:79
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:319
osmo_ss7_asp::lm
const struct osmo_xua_layer_manager * lm
Definition: osmo_ss7.h:405
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:1066
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:963
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:1098
IPA_ASP_S_ACTIVE
@ IPA_ASP_S_ACTIVE
Definition: xua_asp_fsm.c:810
IPA_ASP_S_WAIT_ID_GET
@ IPA_ASP_S_WAIT_ID_GET
Definition: xua_asp_fsm.c:812
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:578
_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:830
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:868
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:1093
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:1108
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:767
osmo_ss7_asp::name
char * name
Definition: osmo_ss7.h:418
SUA_ASPSM_DOWN
#define SUA_ASPSM_DOWN
Definition: sua.h:51
osmo_ss7_as::name
char * name
Definition: osmo_ss7.h:313
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:481
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:767
XUA_ASP_E_ASPSM_BEAT_ACK
@ XUA_ASP_E_ASPSM_BEAT_ACK
Definition: xua_asp_fsm.h:29
osmo_ss7_route_destroy
void osmo_ss7_route_destroy(struct osmo_ss7_route *rt)
Destroy a given SS7 route.
Definition: osmo_ss7.c:810
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:484
ipa_asp_fsm
struct osmo_fsm ipa_asp_fsm
Definition: xua_asp_fsm.c:1184
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:659
osmo_ss7_instance::rtable_system
struct osmo_ss7_route_table * rtable_system
Definition: osmo_ss7.h:89
ipa_asp_fsm_cleanup
static void ipa_asp_fsm_cleanup(struct osmo_fsm_inst *fi, enum osmo_fsm_term_cause cause)
Definition: xua_asp_fsm.c:1179
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:1184
xua_asp_fsm_priv
Definition: xua_asp_fsm.c:75
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:78
xua_asp_fsm
struct osmo_fsm xua_asp_fsm
Definition: xua_asp_fsm.c:744
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:1060
osmo_ss7_asp::asp_id
uint32_t asp_id
Definition: osmo_ss7.h:401
ipa_asp_fsm_priv::role
enum osmo_ss7_asp_role role
Definition: xua_asp_fsm.c:820
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:813
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:105
osmo_ss7_tmode_to_xua
int osmo_ss7_tmode_to_xua(enum osmo_ss7_as_traffic_mode tmod)
Definition: osmo_ss7.c:2195
xua_asp_fsm.h
ENSURE_ASP_OR_IPSP
#define ENSURE_ASP_OR_IPSP(fi, event)
Definition: xua_asp_fsm.c:357
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:321
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:300
ipa_asp_fsm_priv
Definition: xua_asp_fsm.c:816
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:698
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:316
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:270
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:885
xua_asp_fsm_priv::timer
struct osmo_timer_list timer
Definition: xua_asp_fsm.c:85
SUA_VERSION
#define SUA_VERSION
Definition: sua.h:26
osmo_ss7_route_find_dpc_mask
struct osmo_ss7_route * osmo_ss7_route_find_dpc_mask(struct osmo_ss7_route_table *rtbl, uint32_t dpc, uint32_t mask)
Find a SS7 route for given destination point code + mask in given table.
Definition: osmo_ss7.c:717
xua_asp_fsm_priv::asp
struct osmo_ss7_asp * asp
Definition: xua_asp_fsm.c:77
xua_asp_fsm
struct osmo_fsm xua_asp_fsm
Definition: xua_asp_fsm.c:744
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:130
ipa_asp_fsm_priv::ipa_unit
struct ipaccess_unit * ipa_unit
Definition: xua_asp_fsm.c:823
xua_asp_fsm_timer_cb
static int xua_asp_fsm_timer_cb(struct osmo_fsm_inst *fi)
Definition: xua_asp_fsm.c:684
osmo_ss7_route
Definition: osmo_ss7.h:205
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:144
ipa_asp_fsm_priv::asp
struct osmo_ss7_asp * asp
Definition: xua_asp_fsm.c:818
osmo_ss7_asp::server
struct osmo_stream_srv * server
Definition: osmo_ss7.h:396
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:472
IPA_ASP_S_INACTIVE
@ IPA_ASP_S_INACTIVE
Definition: xua_asp_fsm.c:809
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:43
T_WAIT_ID_RESP
@ T_WAIT_ID_RESP
Definition: xua_asp_fsm.c:831
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:90
IPA_ASP_S_WAIT_ID_RESP
@ IPA_ASP_S_WAIT_ID_RESP
Definition: xua_asp_fsm.c:811
osmo_ss7_asp
Definition: osmo_ss7.h:382
OSMO_SS7_ASP_ROLE_ASP
@ OSMO_SS7_ASP_ROLE_ASP
Definition: osmo_ss7.h:375
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:402
IPA_ASP_S_DOWN
@ IPA_ASP_S_DOWN
Definition: xua_asp_fsm.c:808
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:167
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:1087
osmo_ss7_routing_key::context
uint32_t context
Definition: osmo_ss7.h:252
osmo_ss7_asp_role
osmo_ss7_asp_role
Definition: osmo_ss7.h:374
xua_msg_part::len
uint16_t len
Definition: xua_msg.h:42
LOGPAS
#define LOGPAS(as, subsys, level, fmt, args ...)
Definition: osmo_ss7.h:474
xua_t_ack_cb
static void xua_t_ack_cb(void *data)
Definition: xua_asp_fsm.c:298
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:876
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:313
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:301
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:2017
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:853
peer_send
static int peer_send(struct osmo_fsm_inst *fi, int out_event, struct xua_msg *in)
Definition: xua_asp_fsm.c:191
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:691
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:1050