libosmo-sigtran 2.2.1.95-893c Osmocom SIGTRAN library

xua_lm_sap.h
Go to the documentation of this file.
1/* M3UA/SUA <-> XUA Layer Manager SAP, RFC466 1.6.3 & RFC3868 1.6.3 */
2#pragma once
3
4#include <unistd.h>
5#include <stdint.h>
6
7#include <osmocom/core/tdef.h>
8#include <osmocom/sigtran/osmo_ss7.h>
9#include <osmocom/sigtran/sigtran_sap.h>
10
11 struct osmo_xlm_prim *xua_xlm_prim_alloc(enum osmo_xlm_prim_type prim_type,
12 enum osmo_prim_operation op);
13 struct osmo_xlm_prim *xua_xlm_prim_alloc_m_rk_reg_req(const struct osmo_ss7_routing_key *rkey,
14 enum osmo_ss7_as_traffic_mode mode);
15 struct osmo_xlm_prim *xua_xlm_prim_alloc_m_rk_reg_cfm(const struct osmo_ss7_routing_key *rkey,
16 uint32_t status);
17 struct osmo_xlm_prim *xua_xlm_prim_alloc_m_rk_dereg_cfm(uint32_t route_ctx, uint32_t status);
18 struct osmo_xlm_prim *xua_xlm_prim_alloc_m_error_ind(uint32_t err_code);
19 struct osmo_xlm_prim *xua_xlm_prim_alloc_m_notify_ind(const struct osmo_xlm_prim_notify *ntfy);
20
21 void xua_asp_send_xlm_prim(struct osmo_ss7_asp *asp, struct osmo_xlm_prim *prim);
22 void xua_asp_send_xlm_prim_simple(struct osmo_ss7_asp *asp,
23 enum osmo_xlm_prim_type prim_type,
24 enum osmo_prim_operation op);
25
26 int xlm_sap_down_simple(struct osmo_ss7_asp *asp,
27 enum osmo_xlm_prim_type prim_type,
28 enum osmo_prim_operation op);
osmo_ss7.h
osmo_ss7_as_traffic_mode
osmo_ss7_as_traffic_mode
Definition: osmo_ss7.h:183
sigtran_sap.h
osmo_xlm_prim_type
osmo_xlm_prim_type
Definition: sigtran_sap.h:14
osmo_ss7_asp
Definition: ss7_asp.h:55
osmo_ss7_routing_key
Definition: osmo_ss7.h:142
osmo_xlm_prim_notify
Definition: sigtran_sap.h:38
osmo_xlm_prim
Definition: sigtran_sap.h:68
xua_xlm_prim_alloc_m_rk_reg_req
struct osmo_xlm_prim * xua_xlm_prim_alloc_m_rk_reg_req(const struct osmo_ss7_routing_key *rkey, enum osmo_ss7_as_traffic_mode mode)
Definition: xua_lm_sap.c:58
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_lm_sap.c:43
xua_xlm_prim_alloc_m_notify_ind
struct osmo_xlm_prim * xua_xlm_prim_alloc_m_notify_ind(const struct osmo_xlm_prim_notify *ntfy)
Definition: xua_lm_sap.c:102
xlm_sap_down_simple
int xlm_sap_down_simple(struct osmo_ss7_asp *asp, enum osmo_xlm_prim_type prim_type, enum osmo_prim_operation op)
Definition: xua_lm_sap.c:177
xua_asp_send_xlm_prim
void xua_asp_send_xlm_prim(struct osmo_ss7_asp *asp, struct osmo_xlm_prim *prim)
Definition: xua_lm_sap.c:112
xua_xlm_prim_alloc_m_error_ind
struct osmo_xlm_prim * xua_xlm_prim_alloc_m_error_ind(uint32_t err_code)
Definition: xua_lm_sap.c:92
xua_xlm_prim_alloc_m_rk_dereg_cfm
struct osmo_xlm_prim * xua_xlm_prim_alloc_m_rk_dereg_cfm(uint32_t route_ctx, uint32_t status)
Definition: xua_lm_sap.c:81
xua_xlm_prim_alloc_m_rk_reg_cfm
struct osmo_xlm_prim * xua_xlm_prim_alloc_m_rk_reg_cfm(const struct osmo_ss7_routing_key *rkey, uint32_t status)
Definition: xua_lm_sap.c:70
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_lm_sap.c:127