libosmo-sigtran 2.1.0.49-23d1
Osmocom SIGTRAN library
xua_as_fsm.h
Go to the documentation of this file.
1#pragma once
2
3struct osmo_ss7_as;
4struct osmo_ss7_asp;
5
11};
12
15 /* RFC4666 4.3.4.5: "When an ASP moves from ASP-DOWN to ASP-INACTIVE within a
16 * particular AS, a Notify message SHOULD be sent, by the ASP-UP receptor,
17 * after sending the ASP-UP-ACK, in order to inform the ASP of the current AS
18 * state." */
20};
21
23 XUA_ASPAS_ASP_INACTIVE_IND, /* param: struct xua_as_event_asp_inactive_ind_pars* */
27 XUA_AS_E_TRANSFER_REQ, /* param: struct xua_msg*, ownership transferred. */
28};
29
30extern struct osmo_fsm xua_as_fsm;
31
32struct osmo_fsm_inst *xua_as_fsm_start(struct osmo_ss7_as *as, int log_level);
Definition: ss7_as.h:73
Definition: ss7_asp.h:28
Definition: xua_as_fsm.h:13
struct osmo_ss7_asp * asp
Definition: xua_as_fsm.h:14
bool asp_requires_notify
Definition: xua_as_fsm.h:19
xua_as_event
Definition: xua_as_fsm.h:22
@ XUA_ASPAS_ASP_DOWN_IND
Definition: xua_as_fsm.h:24
@ XUA_ASPAS_ASP_ACTIVE_IND
Definition: xua_as_fsm.h:25
@ XUA_AS_E_TRANSFER_REQ
Definition: xua_as_fsm.h:27
@ XUA_ASPAS_ASP_INACTIVE_IND
Definition: xua_as_fsm.h:23
@ XUA_AS_E_RECOVERY_EXPD
Definition: xua_as_fsm.h:26
struct osmo_fsm xua_as_fsm
Definition: xua_as_fsm.c:647
struct osmo_fsm_inst * xua_as_fsm_start(struct osmo_ss7_as *as, int log_level)
Start an AS FSM for a given Application Server.
Definition: xua_as_fsm.c:660
xua_as_state
Definition: xua_as_fsm.h:6
@ XUA_AS_S_DOWN
Definition: xua_as_fsm.h:7
@ XUA_AS_S_ACTIVE
Definition: xua_as_fsm.h:9
@ XUA_AS_S_INACTIVE
Definition: xua_as_fsm.h:8
@ XUA_AS_S_PENDING
Definition: xua_as_fsm.h:10