libosmo-sigtran 2.0.0.52-6412
Osmocom SIGTRAN library
xua_internal.h File Reference
#include <osmocom/core/tdef.h>
#include <osmocom/sigtran/osmo_ss7.h>
#include "xua_msg.h"

Go to the source code of this file.

Macros

#define M3UA_MSG_SIZE   2048
 
#define M3UA_MSG_HEADROOM   512
 
#define CS7_STR   "ITU-T Signaling System 7\n"
 
#define PC_STR   "Point Code\n"
 
#define INST_STR   "An instance of the SS7 stack\n"
 

Enumerations

enum  ss7_asp_lm_timer {
  SS7_ASP_LM_T_WAIT_ASP_UP = 1 , SS7_ASP_LM_T_WAIT_NOTIFY , SS7_ASP_LM_T_WAIT_NOTIY_RKM , SS7_ASP_LM_T_WAIT_RK_REG_RESP ,
  SS7_ASP_LM_TIMERS_LEN
}
 

Functions

int sua_addr_parse_part (struct osmo_sccp_addr *out, const struct xua_msg_part *param)
 parse SCCP address from given xUA message part More...
 
int sua_addr_parse (struct osmo_sccp_addr *out, struct xua_msg *xua, uint16_t iei)
 parse SCCP address from given xUA message IE More...
 
int sua_parse_gt (struct osmo_sccp_gt *gt, const uint8_t *data, unsigned int datalen)
 Decode SUA Global Title according to RFC3868 Section 3.10.2.3. More...
 
struct xua_msgosmo_sccp_to_xua (struct msgb *msg)
 convert SCCP message to a SUA message More...
 
struct msgb * osmo_sua_to_sccp (struct xua_msg *xua)
 convert parsed SUA message to SCCP message More...
 
int sua_rx_msg (struct osmo_ss7_asp *asp, struct msgb *msg)
 process SUA message received from socket More...
 
int sua_tx_xua_as (struct osmo_ss7_as *as, struct xua_msg *xua)
 Send a given xUA message via a given SUA Application Server. More...
 
void sua_tx_snm_available (struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, const uint32_t *aff_pc, unsigned int num_aff_pc, const uint32_t *aff_ssn, const uint32_t *smi, const char *info_string, bool available)
 Transmit SSNM DUNA/DAVA message indicating [un]availability of certain point code[s]. More...
 
void sua_tx_snm_congestion (struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, const uint32_t *aff_pc, unsigned int num_aff_pc, const uint32_t *ssn, const uint8_t cong_level, const char *info_string)
 Transmit SSNM SCON message indicating congestion. More...
 
void sua_tx_dupu (struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str)
 Transmit SSNM DUPU message indicating user unavailability. More...
 
struct osmo_mtp_primm3ua_to_xfer_ind (struct xua_msg *xua)
 
int m3ua_hmdc_rx_from_l2 (struct osmo_ss7_instance *inst, struct xua_msg *xua)
 
int m3ua_tx_xua_as (struct osmo_ss7_as *as, struct xua_msg *xua)
 Send a given xUA message via a given M3UA Application Server. More...
 
void m3ua_tx_snm_available (struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, const uint32_t *aff_pc, unsigned int num_aff_pc, const char *info_string, bool available)
 Transmit SSNM DUNA/DAVA message indicating [un]availability of certain point code[s]. More...
 
void m3ua_tx_snm_congestion (struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, const uint32_t *aff_pc, unsigned int num_aff_pc, const uint32_t *concerned_dpc, const uint8_t *cong_level, const char *info_string)
 Transmit SSNM SCON message indicating congestion. More...
 
void m3ua_tx_dupu (struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str)
 Transmit SSNM DUPU message indicating user unavailability. More...
 
void xua_snm_rx_daud (struct osmo_ss7_asp *asp, struct xua_msg *xua)
 
void xua_snm_rx_duna (struct osmo_ss7_asp *asp, struct osmo_ss7_as *as, struct xua_msg *xua)
 
void xua_snm_rx_dava (struct osmo_ss7_asp *asp, struct osmo_ss7_as *as, struct xua_msg *xua)
 
void xua_snm_rx_dupu (struct osmo_ss7_asp *asp, struct osmo_ss7_as *as, struct xua_msg *xua)
 
void xua_snm_rx_scon (struct osmo_ss7_asp *asp, struct osmo_ss7_as *as, struct xua_msg *xua)
 
int m3ua_rx_msg (struct osmo_ss7_asp *asp, struct msgb *msg)
 process M3UA message received from socket More...
 
struct msgb * m3ua_msgb_alloc (const char *name)
 
struct xua_msgm3ua_xfer_from_data (const struct m3ua_data_hdr *data_hdr, const uint8_t *data, unsigned int data_len)
 
struct m3ua_data_hdrdata_hdr_from_m3ua (struct xua_msg *xua)
 
void m3ua_dh_to_xfer_param (struct osmo_mtp_transfer_param *param, const struct m3ua_data_hdr *mdh)
 
void mtp_xfer_param_to_m3ua_dh (struct m3ua_data_hdr *mdh, const struct osmo_mtp_transfer_param *param)
 
struct xua_msgm3ua_encode_notify (const struct osmo_xlm_prim_notify *npar)
 
int m3ua_decode_notify (struct osmo_xlm_prim_notify *npar, void *ctx, const struct xua_msg *xua)
 
int m3ua_rx_rkm (struct osmo_ss7_asp *asp, struct xua_msg *xua)
 
void xua_rkm_cleanup_dyn_as_for_asp (struct osmo_ss7_asp *asp)
 
struct osmo_xlm_primxua_xlm_prim_alloc (enum osmo_xlm_prim_type prim_type, enum osmo_prim_operation op)
 
void xua_asp_send_xlm_prim (struct osmo_ss7_asp *asp, struct osmo_xlm_prim *prim)
 
void xua_asp_send_xlm_prim_simple (struct osmo_ss7_asp *asp, enum osmo_xlm_prim_type prim_type, enum osmo_prim_operation op)
 
void xua_snm_pc_available (struct osmo_ss7_as *as, const uint32_t *aff_pc, unsigned int num_aff_pc, const char *info_str, bool available)
 
static const char * ss7_asp_lm_timer_name (enum ss7_asp_lm_timer val)
 
int xua_as_transmit_msg (struct osmo_ss7_as *as, struct msgb *msg)
 
int xua_find_as_for_asp (struct osmo_ss7_as **as, const struct osmo_ss7_asp *asp, const struct xua_msg_part *rctx_ie)
 Find the AS for given ASP + optional routing context IE. More...
 
int ipa_tx_xua_as (struct osmo_ss7_as *as, struct xua_msg *xua)
 Send a given xUA message via a given IPA "Application Server". More...
 
int ipa_rx_msg (struct osmo_ss7_asp *asp, struct msgb *msg, uint8_t sls)
 process M3UA message received from socket More...
 
struct osmo_ss7_asipa_find_as_for_asp (struct osmo_ss7_asp *asp)
 
int osmo_isup_party_parse (char *out_digits, const uint8_t *in, unsigned int in_num_bytes, bool odd)
 Parse ISUP style address of BCD digets. More...
 
int osmo_sccp_addr_parse (struct osmo_sccp_addr *out, const uint8_t *addr, unsigned int addrlen)
 Parse wire-encoded SCCP address into osmo_sccp_addr. More...
 
int osmo_sccp_addr_encode (struct msgb *msg, const struct osmo_sccp_addr *in)
 encode a SCCP address from parsed format to wire format More...
 
int ss7_asp_rx_unknown (struct osmo_ss7_asp *asp, int ppid_mux, struct msgb *msg)
 

Variables

const struct xua_msg_class m3ua_msg_class_mgmt
 
const struct xua_msg_class m3ua_msg_class_snm
 
const struct xua_msg_class m3ua_msg_class_rkm
 
const struct xua_msg_class m3ua_msg_class_aspsm
 
const struct xua_msg_class m3ua_msg_class_asptm
 
const struct value_string m3ua_err_names []
 
const struct value_string m3ua_ntfy_type_names []
 
const struct value_string m3ua_ntfy_stchg_names []
 
const struct value_string m3ua_ntfy_other_names []
 
const struct osmo_tdef ss7_asp_lm_timer_defaults [SS7_ASP_LM_TIMERS_LEN]
 
const struct value_string ss7_asp_lm_timer_names []
 
struct osmo_fsm xua_default_lm_fsm
 
const struct value_string m3ua_rkm_reg_status_vals []
 
const struct value_string m3ua_rkm_dereg_status_vals []
 

Macro Definition Documentation

◆ CS7_STR

#define CS7_STR   "ITU-T Signaling System 7\n"

◆ INST_STR

#define INST_STR   "An instance of the SS7 stack\n"

◆ M3UA_MSG_HEADROOM

#define M3UA_MSG_HEADROOM   512

◆ M3UA_MSG_SIZE

#define M3UA_MSG_SIZE   2048

◆ PC_STR

#define PC_STR   "Point Code\n"

Enumeration Type Documentation

◆ ss7_asp_lm_timer

Enumerator
SS7_ASP_LM_T_WAIT_ASP_UP 
SS7_ASP_LM_T_WAIT_NOTIFY 
SS7_ASP_LM_T_WAIT_NOTIY_RKM 
SS7_ASP_LM_T_WAIT_RK_REG_RESP 
SS7_ASP_LM_TIMERS_LEN 

Function Documentation

◆ data_hdr_from_m3ua()

◆ ipa_find_as_for_asp()

struct osmo_ss7_as * ipa_find_as_for_asp ( struct osmo_ss7_asp asp)

◆ ipa_rx_msg()

int ipa_rx_msg ( struct osmo_ss7_asp asp,
struct msgb *  msg,
uint8_t  sls 
)

process M3UA message received from socket

Parameters
[in]aspApplication Server Process receiving msg
[in]msgreceived message buffer. Callee takes ownership!
[in]slsThe SLS (signaling link selector) field to use in the generated M3UA header
Returns
0 on success; negative on error

References osmo_ss7_asp::cfg, ipa_rx_msg_ccm(), ipa_rx_msg_sccp(), OSMO_SS7_ASP_PROT_IPA, osmo_ss7_asp::proto, sls, and ss7_asp_rx_unknown().

Referenced by ipa_cli_read_cb(), and ss7_asp_ipa_srv_conn_rx_cb().

◆ ipa_tx_xua_as()

int ipa_tx_xua_as ( struct osmo_ss7_as as,
struct xua_msg xua 
)

Send a given xUA message via a given IPA "Application Server".

Parameters
[in]asApplication Server through which to send xua
[in]xuaxUA message to be sent
Returns
0 on success; negative on error

References osmo_ss7_as::cfg, xua_msg_part::dat, xua_msg_part::len, LOGPAS, M3UA_IEI_PROT_DATA, MTP_SI_SCCP, OSMO_SS7_ASP_PROT_IPA, osmo_ss7_as::proto, m3ua_data_hdr::si, xua_as_transmit_msg(), and xua_msg_find_tag().

Referenced by hmrt_message_for_routing().

◆ m3ua_decode_notify()

◆ m3ua_dh_to_xfer_param()

◆ m3ua_encode_notify()

◆ m3ua_hmdc_rx_from_l2()

◆ m3ua_msgb_alloc()

struct msgb * m3ua_msgb_alloc ( const char *  name)

◆ m3ua_rx_msg()

◆ m3ua_rx_rkm()

◆ m3ua_to_xfer_ind()

◆ m3ua_tx_dupu()

void m3ua_tx_dupu ( struct osmo_ss7_asp asp,
const uint32_t *  rctx,
unsigned int  num_rctx,
uint32_t  dpc,
uint16_t  user,
uint16_t  cause,
const char *  info_str 
)

Transmit SSNM DUPU message indicating user unavailability.

Parameters
[in]aspASP through which to transmit message. Must be ACTIVE.
[in]rctxarray of Routing Contexts in network byte order.
[in]num_rctxnumber of rctx
[in]dpcaffected point code
[in]userthe user (SI) that is unavailable
[in]causethe cause of the user unavailability
[in]info_stringoptional information string (can be NULL).

References dpc, m3ua_encode_dupu(), m3ua_tx_xua_asp(), and xua_msg_free().

Referenced by xua_tx_upu().

◆ m3ua_tx_snm_available()

void m3ua_tx_snm_available ( struct osmo_ss7_asp asp,
const uint32_t *  rctx,
unsigned int  num_rctx,
const uint32_t *  aff_pc,
unsigned int  num_aff_pc,
const char *  info_string,
bool  available 
)

Transmit SSNM DUNA/DAVA message indicating [un]availability of certain point code[s].

Parameters
[in]aspASP through which to transmit message. Must be ACTIVE.
[in]rctxarray of Routing Contexts in network byte order.
[in]num_rctxnumber of rctx
[in]aff_pcarray of 'Affected Point Code' in network byte order.
[in]num_aff_pcnumber of aff_pc
[in]info_stringoptional information string (can be NULL).
[in]availableare aff_pc now available (true) or unavailable (false)

References m3ua_encode_dava(), m3ua_encode_duna(), m3ua_tx_xua_asp(), and xua_msg_free().

Referenced by xua_tx_snm_available().

◆ m3ua_tx_snm_congestion()

void m3ua_tx_snm_congestion ( struct osmo_ss7_asp asp,
const uint32_t *  rctx,
unsigned int  num_rctx,
const uint32_t *  aff_pc,
unsigned int  num_aff_pc,
const uint32_t *  concerned_dpc,
const uint8_t *  cong_level,
const char *  info_string 
)

Transmit SSNM SCON message indicating congestion.

Parameters
[in]aspASP through which to transmit message. Must be ACTIVE.
[in]rctxarray of Routing Contexts in network byte order.
[in]num_rctxnumber of rctx
[in]aff_pcarray of 'Affected Point Code' in network byte order.
[in]num_aff_pcnumber of aff_pc
[in]concerned_dpcoptional concerned DPC (can be NULL)
[in]cong_leveloptional congestion level (can be NULL)
[in]info_stringoptional information string (can be NULL).

References xua_msg::hdr, M3UA_IEI_AFFECTED_PC, M3UA_IEI_CONC_DEST, M3UA_IEI_CONG_IND, M3UA_IEI_INFO_STRING, M3UA_IEI_ROUTE_CTX, M3UA_MSGC_SNM, M3UA_SNM_SCON, m3ua_tx_xua_asp(), M3UA_VERSION, xua_common_hdr::version, XUA_HDR, xua_msg_add_data(), xua_msg_add_u32(), xua_msg_alloc(), and xua_msg_free().

Referenced by xua_tx_scon().

◆ m3ua_tx_xua_as()

int m3ua_tx_xua_as ( struct osmo_ss7_as as,
struct xua_msg xua 
)

Send a given xUA message via a given M3UA Application Server.

Parameters
[in]asApplication Server through which to send xua
[in]xuaxUA message to be sent
Returns
0 on success; negative on error

References osmo_ss7_as::cfg, osmo_ss7_routing_key::context, osmo_ss7_as::fi, M3UA_IEI_ROUTE_CTX, m3ua_to_msg(), OSMO_SS7_ASP_PROT_M3UA, osmo_ss7_as::proto, osmo_ss7_as::routing_key, XUA_AS_E_TRANSFER_REQ, and xua_msg_add_u32().

Referenced by hmrt_message_for_routing().

◆ m3ua_xfer_from_data()

struct xua_msg * m3ua_xfer_from_data ( const struct m3ua_data_hdr data_hdr,
const uint8_t *  data,
unsigned int  data_len 
)

◆ mtp_xfer_param_to_m3ua_dh()

◆ osmo_isup_party_parse()

int osmo_isup_party_parse ( char *  out_digits,
const uint8_t *  in,
unsigned int  in_num_bytes,
bool  odd 
)

Parse ISUP style address of BCD digets.

Parameters
[out]out_digitsuser-allocated buffer for ASCII digits
[in]inBCD-encoded digits
[in]in_num_bytesSize of in in bytes
[in]oddOdd (true) or even (false) number of digits
Returns
number of digits generated

Referenced by osmo_sccp_addr_parse().

◆ osmo_sccp_addr_encode()

int osmo_sccp_addr_encode ( struct msgb *  msg,
const struct osmo_sccp_addr in 
)

◆ osmo_sccp_addr_parse()

int osmo_sccp_addr_parse ( struct osmo_sccp_addr out,
const uint8_t *  addr,
unsigned int  addrlen 
)

Parse wire-encoded SCCP address into osmo_sccp_addr.

Parameters
[out]outuser-allocated output data structure
[in]addrwire-encoded SCCP address
[in]addrlenSize of addr in bytes
Returns
0 in case of success, negative on error According to Q.713/3.4 and RFC3868/3.10.2

References osmo_sccp_gt::digits, osmo_sccp_addr::gt, osmo_sccp_gt::gti, osmo_sccp_gt::nai, osmo_sccp_gt::npi, osmo_isup_party_parse(), OSMO_SCCP_ADDR_T_GT, OSMO_SCCP_ADDR_T_PC, OSMO_SCCP_ADDR_T_SSN, OSMO_SCCP_GTI_NAI_ONLY, OSMO_SCCP_GTI_NO_GT, OSMO_SCCP_GTI_TT_NPL_ENC, OSMO_SCCP_GTI_TT_NPL_ENC_NAI, OSMO_SCCP_GTI_TT_ONLY, OSMO_SCCP_RI_GT, OSMO_SCCP_RI_SSN_PC, osmo_sccp_addr::pc, osmo_sccp_addr::presence, osmo_sccp_addr::ri, osmo_sccp_addr::ssn, and osmo_sccp_gt::tt.

Referenced by sccp_addr_to_sua().

◆ osmo_sccp_to_xua()

◆ osmo_sua_to_sccp()

◆ ss7_asp_lm_timer_name()

static const char * ss7_asp_lm_timer_name ( enum ss7_asp_lm_timer  val)
inlinestatic

◆ ss7_asp_rx_unknown()

◆ sua_addr_parse()

int sua_addr_parse ( struct osmo_sccp_addr out,
struct xua_msg xua,
uint16_t  iei 
)

parse SCCP address from given xUA message IE

Parameters
[out]outcaller-allocated decoded SCCP address struct
[in]xuaxUA message
[in]ieiInformation Element Identifier inside xua
Returns
0 on success; negative on error

References sua_addr_parse_part(), and xua_msg_find_tag().

Referenced by ensure_opc_in_calling_ssn(), gen_ret_msg(), patch_sccp_with_pc(), sccp_find_user(), sccp_scrc_rx_sclc_msg(), sccp_scrc_rx_scoc_conn_msg(), sclc_rx_cldr(), sclc_rx_cldt(), scoc_fsm_idle(), scrc_rx_mtp_xfer_ind_xua(), and scu_gen_encode_and_send().

◆ sua_addr_parse_part()

◆ sua_parse_gt()

int sua_parse_gt ( struct osmo_sccp_gt gt,
const uint8_t *  data,
unsigned int  datalen 
)

Decode SUA Global Title according to RFC3868 Section 3.10.2.3.

Parameters
[out]gtUser-allocated structure for decoded output
[in]databinary-encoded data
[in]datalenlength of data in octets

References data, osmo_sccp_gt::digits, osmo_sccp_gt::gti, osmo_sccp_gt::nai, osmo_sccp_gt::npi, and osmo_sccp_gt::tt.

Referenced by sua_addr_parse_part().

◆ sua_rx_msg()

◆ sua_tx_dupu()

void sua_tx_dupu ( struct osmo_ss7_asp asp,
const uint32_t *  rctx,
unsigned int  num_rctx,
uint32_t  dpc,
uint16_t  user,
uint16_t  cause,
const char *  info_str 
)

Transmit SSNM DUPU message indicating user unavailability.

Parameters
[in]aspASP through which to transmit message. Must be ACTIVE.
[in]rctxarray of Routing Contexts in network byte order.
[in]num_rctxnumber of rctx
[in]dpcaffected point code
[in]userthe user (SI) that is unavailable
[in]causethe cause of the user unavailability
[in]info_stringoptional information string (can be NULL).

References dpc, sua_encode_dupu(), and sua_tx_xua_asp().

Referenced by xua_tx_upu().

◆ sua_tx_snm_available()

void sua_tx_snm_available ( struct osmo_ss7_asp asp,
const uint32_t *  rctx,
unsigned int  num_rctx,
const uint32_t *  aff_pc,
unsigned int  num_aff_pc,
const uint32_t *  aff_ssn,
const uint32_t *  smi,
const char *  info_string,
bool  available 
)

Transmit SSNM DUNA/DAVA message indicating [un]availability of certain point code[s].

Parameters
[in]aspASP through whihc to transmit message. Must be ACTIVE.
[in]rctxarray of Routing Contexts in network byte order.
[in]num_rctxnumber of rctx
[in]aff_pcarray of 'Affected Point Code' in network byte order.
[in]num_aff_pcnumber of aff_pc
[in]aff_ssnaffected SSN (optional)
[in]smisubsystem multiplicity indicator (optional)
[in]info_stringoptional information strng (can be NULL).
[in]availableare aff_pc now available (true) or unavailable (false)

References smi, sua_encode_dava(), sua_encode_duna(), and sua_tx_xua_asp().

Referenced by sua_snm_ssn_available(), and xua_tx_snm_available().

◆ sua_tx_snm_congestion()

void sua_tx_snm_congestion ( struct osmo_ss7_asp asp,
const uint32_t *  rctx,
unsigned int  num_rctx,
const uint32_t *  aff_pc,
unsigned int  num_aff_pc,
const uint32_t *  ssn,
const uint8_t  cong_level,
const char *  info_string 
)

Transmit SSNM SCON message indicating congestion.

Parameters
[in]aspASP through which to transmit message. Must be ACTIVE.
[in]rctxarray of Routing Contexts in network byte order.
[in]num_rctxnumber of rctx
[in]aff_pcarray of 'Affected Point Code' in network byte order.
[in]num_aff_pcnumber of aff_pc
[in]ssnoptional SSN (can be NULL)
[in]cong_leveloptional congestion level (can be NULL)
[in]info_stringoptional information string (can be NULL).

References xua_msg::hdr, SUA_IEI_AFFECTED_PC, SUA_IEI_CONG_LEVEL, SUA_IEI_INFO_STRING, SUA_IEI_ROUTE_CTX, SUA_IEI_SSN, SUA_MSGC_SNM, SUA_SNM_SCON, SUA_VERSION, xua_common_hdr::version, XUA_HDR, xua_msg_add_data(), xua_msg_add_u32(), and xua_msg_alloc().

Referenced by xua_tx_scon().

◆ sua_tx_xua_as()

int sua_tx_xua_as ( struct osmo_ss7_as as,
struct xua_msg xua 
)

Send a given xUA message via a given SUA Application Server.

Parameters
[in]asApplication Server through which to send xua
[in]xuaxUA message to be sent
Returns
0 on success; negative on error

References osmo_ss7_as::cfg, osmo_ss7_routing_key::context, osmo_ss7_as::fi, OSMO_SS7_ASP_PROT_SUA, osmo_ss7_as::proto, osmo_ss7_as::routing_key, SUA_IEI_ROUTE_CTX, sua_to_msg(), XUA_AS_E_TRANSFER_REQ, and xua_msg_add_u32().

Referenced by gen_mtp_transfer_req_xua().

◆ xua_as_transmit_msg()

◆ xua_asp_send_xlm_prim()

◆ 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 
)

◆ xua_find_as_for_asp()

int xua_find_as_for_asp ( struct osmo_ss7_as **  as,
const struct osmo_ss7_asp asp,
const struct xua_msg_part rctx_ie 
)

Find the AS for given ASP + optional routing context IE.

if rctx_ie == NULL, we assume that this ASP is only part of a single AS; if rctx_ie is given, then we look-up the ASP based on the routing context, and verify that this ASP is part of it.

Parameters
[out]ascaller-provided address-of-pointer to store the found AS
[in]aspASP for which we want to look-up the AS
[in]rctx_ierouting context IE (may be NULL) to use for look-up
Returns
0 in case of success; {M3UA,SUA}_ERR_* code in case of error.

References osmo_ss7_asp::cfg, find_single_as_for_asp(), osmo_ss7_asp::inst, LOGPASP, M3UA_ERR_INVAL_ROUT_CTX, M3UA_ERR_NO_CONFGD_AS_FOR_ASP, osmo_ss7_asp::name, osmo_ss7_as_find_by_rctx(), osmo_ss7_as_has_asp(), osmo_ss7_asp_get_log_subsys(), and xua_msg_part_get_u32().

Referenced by m3ua_rx_snm_asp(), m3ua_rx_xfer(), sua_rx_cl(), sua_rx_co(), and sua_rx_snm_asp().

◆ xua_rkm_cleanup_dyn_as_for_asp()

◆ xua_snm_pc_available()

void xua_snm_pc_available ( struct osmo_ss7_as as,
const uint32_t *  aff_pc,
unsigned int  num_aff_pc,
const char *  info_str,
bool  available 
)

◆ xua_snm_rx_daud()

◆ xua_snm_rx_dava()

◆ xua_snm_rx_duna()

◆ xua_snm_rx_dupu()

◆ xua_snm_rx_scon()

◆ xua_xlm_prim_alloc()

struct osmo_xlm_prim * xua_xlm_prim_alloc ( enum osmo_xlm_prim_type  prim_type,
enum osmo_prim_operation  op 
)

Variable Documentation

◆ m3ua_err_names

const struct value_string m3ua_err_names[]
extern

◆ m3ua_msg_class_aspsm

const struct xua_msg_class m3ua_msg_class_aspsm
extern

◆ m3ua_msg_class_asptm

const struct xua_msg_class m3ua_msg_class_asptm
extern

◆ m3ua_msg_class_mgmt

const struct xua_msg_class m3ua_msg_class_mgmt
extern

◆ m3ua_msg_class_rkm

const struct xua_msg_class m3ua_msg_class_rkm
extern

◆ m3ua_msg_class_snm

const struct xua_msg_class m3ua_msg_class_snm
extern

◆ m3ua_ntfy_other_names

const struct value_string m3ua_ntfy_other_names[]
extern

◆ m3ua_ntfy_stchg_names

const struct value_string m3ua_ntfy_stchg_names[]
extern

◆ m3ua_ntfy_type_names

const struct value_string m3ua_ntfy_type_names[]
extern

◆ m3ua_rkm_dereg_status_vals

const struct value_string m3ua_rkm_dereg_status_vals[]
extern

Referenced by handle_rkey_dereg_resp().

◆ m3ua_rkm_reg_status_vals

const struct value_string m3ua_rkm_reg_status_vals[]
extern

Referenced by handle_rkey_reg_resp().

◆ ss7_asp_lm_timer_defaults

const struct osmo_tdef ss7_asp_lm_timer_defaults[SS7_ASP_LM_TIMERS_LEN]
extern

◆ ss7_asp_lm_timer_names

const struct value_string ss7_asp_lm_timer_names[]
extern

◆ xua_default_lm_fsm

struct osmo_fsm xua_default_lm_fsm
extern