6 #include <osmocom/core/linuxlist.h> 7 #include <osmocom/core/utils.h> 8 #include <osmocom/core/fsm.h> 9 #include <osmocom/core/msgb.h> 10 #include <osmocom/core/prim.h> 11 #include <osmocom/core/socket.h> 12 #include <osmocom/core/rate_ctr.h> 34 #define OSMO_SS7_PC_INVALID 0xffffffff 37 return pc <= 0x00ffffff;
70 uint8_t component_len[3];
77 struct llist_head linksets;
79 struct llist_head as_list;
81 struct llist_head asp_list;
83 struct llist_head rtable_list;
85 struct llist_head xua_servers;
104 struct llist_head sccp_address_book;
113 uint8_t c0, uint8_t c1, uint8_t c2);
271 static inline const char *
287 static inline const char *
306 struct osmo_fsm_inst *
fi;
365 char *host[OSMO_SOCK_MAX_ADDRS];
393 struct osmo_fsm_inst *
fi;
397 struct llist_head siblings;
442 #define OSMO_SS7_ASP_QUIRK_NO_NOTIFY 0x00000001 444 #define OSMO_SS7_ASP_QUIRK_DAUD_IN_ASP 0x00000002 446 #define OSMO_SS7_ASP_QUIRK_SNM_INACTIVE 0x00000004 450 const char*
const* hosts,
size_t host_cnt);
460 uint16_t remote_port, uint16_t local_port,
464 uint16_t remote_port, uint16_t local_port,
484 #define _LOGSS7(inst, subsys, level, fmt, args ...) \ 485 LOGP(subsys, level, "%u: " fmt, inst ? (inst)->cfg.id : 0, ## args) 486 #define LOGSS7(inst, level, fmt, args ...) _LOGSS7(inst, DLSS7, level, fmt, ## args) 488 #define LOGPASP(asp, subsys, level, fmt, args ...) \ 489 _LOGSS7((asp)->inst, subsys, level, "asp-%s: " fmt, (asp)->cfg.name, ## args) 490 #define LOGPAS(as, subsys, level, fmt, args ...) \ 491 _LOGSS7((as)->inst, subsys, level, "as-%s: " fmt, (as)->cfg.name, ## args) 506 struct llist_head asp_list;
519 uint16_t local_port);
523 uint16_t local_port,
const char *local_host);
538 const char *default_local_ip,
int default_remote_port,
539 const char *default_remote_ip);
545 int default_local_port,
546 const char *default_local_ip,
547 int default_remote_port,
548 const char *default_remote_ip);
553 const char *local_ip);
558 int local_port,
const char *local_ip);
563 const char *
name, uint32_t pc,
564 int local_port,
int remote_port,
565 const char *remote_ip);
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:1123
uint32_t dpc
Definition: m3ua.h:513
int osmo_ss7_init(void)
Definition: osmo_ss7.c:2309
struct osmo_stream_cli * client
osmo_stream / libosmo-netif handles
Definition: osmo_ss7.h:400
void osmo_ss7_linkset_destroy(struct osmo_ss7_linkset *lset)
Destroy a SS7 Linkset.
Definition: osmo_ss7.c:547
uint32_t id
Definition: osmo_ss7.h:95
struct osmo_stream_srv_link * server
Definition: osmo_ss7.h:508
uint32_t quirks
Definition: osmo_ss7.h:437
struct osmo_xua_server * osmo_ss7_xua_server_find(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port)
Definition: osmo_ss7.c:2157
uint32_t primary_pc
Definition: osmo_ss7.h:98
uint8_t si
Definition: osmo_ss7.h:256
uint8_t network_indicator
Definition: osmo_ss7.h:101
char * linkset_name
human-specified linkset name
Definition: osmo_ss7.h:225
bool simple_client_allocated
Were we allocated by "simple client" support?
Definition: osmo_ss7.h:312
int osmo_ss7_instance_set_pc_fmt(struct osmo_ss7_instance *inst, uint8_t c0, uint8_t c1, uint8_t c2)
Set the point code format used in given SS7 instance.
Definition: osmo_ss7.c:434
bool osmo_ss7_asp_active(const struct osmo_ss7_asp *asp)
Definition: osmo_ss7.c:1656
void osmo_ss7_route_table_destroy(struct osmo_ss7_route_table *rtbl)
Definition: osmo_ss7.c:697
Definition: osmo_ss7.h:152
int osmo_ss7_mtp_to_user(struct osmo_ss7_instance *inst, struct osmo_mtp_prim *omp)
Definition: osmo_ss7.c:516
struct osmo_ss7_route * osmo_ss7_route_find_dpc(struct osmo_ss7_route_table *rtbl, uint32_t dpc)
Find a SS7 route for given destination point code in given table.
Definition: osmo_ss7.c:711
struct osmo_ss7_linkset * osmo_ss7_linkset_find_by_name(struct osmo_ss7_instance *inst, const char *name)
Find SS7 Linkset by given name.
Definition: osmo_ss7.c:577
const char * osmo_ss7_route_name(struct osmo_ss7_route *rt, bool list_asps)
Return human readable representation of the route, in a static buffer.
Definition: osmo_ss7_hmrt.c:150
bool mode_set_by_vty
Definition: osmo_ss7.h:324
osmo_ss7_asp_role
Definition: osmo_ss7.h:379
struct osmo_sccp_instance * osmo_ss7_ensure_sccp(struct osmo_ss7_instance *inst)
Allocate an SCCP instance, if not present yet.
Definition: osmo_ss7.c:453
uint32_t local_pc
Definition: osmo_ss7.h:192
char * description
Definition: osmo_ss7.h:319
uint8_t osmo_ss7_pc_width(const struct osmo_ss7_pc_fmt *pc_fmt)
Definition: osmo_ss7.c:196
struct osmo_sccp_instance * osmo_sccp_simple_server(void *ctx, uint32_t pc, enum osmo_ss7_asp_protocol prot, int local_port, const char *local_ip)
Definition: sccp_user.c:744
struct osmo_stream_srv * server
Definition: osmo_ss7.h:401
uint32_t context
Definition: osmo_ss7.h:252
Definition: sccp_internal.h:42
struct osmo_ss7_instance * osmo_ss7_instance_find_or_create(void *ctx, uint32_t id)
Find or create a SS7 Instance.
Definition: osmo_ss7.c:370
const char * osmo_ss7_pointcode_print2(const struct osmo_ss7_instance *inst, uint32_t pc)
Definition: osmo_ss7.c:306
bool rkm_dyn_allocated
Were we dynamically allocated by RKM?
Definition: osmo_ss7.h:309
int osmo_ss7_user_unregister(struct osmo_ss7_instance *inst, uint8_t service_ind, struct osmo_ss7_user *user)
Unregister a MTP user for a given service indicator.
Definition: osmo_ss7.c:496
Definition: osmo_ss7.h:207
struct rate_ctr_group * ctrg
Rate Counter Group.
Definition: osmo_ss7.h:420
bool permit_dyn_rkm_alloc
Definition: osmo_ss7.h:103
void * priv
Definition: osmo_ss7.h:132
Definition: osmo_ss7.h:501
struct osmo_ss7_instance * inst
osmo_ss7_instance to which we belong
Definition: osmo_ss7.h:48
int osmo_ss7_asp_use_default_lm(struct osmo_ss7_asp *asp, int log_level)
Definition: xua_default_lm_fsm.c:374
uint32_t l_rk_id
Definition: osmo_ss7.h:253
struct osmo_fsm_inst * fi
ASP FSM.
Definition: osmo_ss7.h:393
bool accept_dyn_reg
Definition: osmo_ss7.h:511
struct osmo_ss7_asp * osmo_ss7_asp_find_by_proto(struct osmo_ss7_as *as, enum osmo_ss7_asp_protocol proto)
Find an ASP that matches the given protocol.
Definition: osmo_ss7.c:1481
void osmo_ss7_asp_destroy(struct osmo_ss7_asp *asp)
Definition: osmo_ss7.c:1551
struct value_string osmo_ss7_as_traffic_mode_vals[]
Definition: osmo_ss7.c:71
Definition: osmo_ss7.h:281
int osmo_ss7_xua_server_add_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: osmo_ss7.c:2259
uint8_t qos_class
Definition: osmo_ss7.h:436
Definition: osmo_ss7.h:364
const struct osmo_xua_layer_manager * lm
Definition: osmo_ss7.h:410
uint32_t osmo_ss7_pc_normalize(const struct osmo_ss7_pc_fmt *pc_fmt, uint32_t pc)
Definition: osmo_ss7.c:204
uint32_t asp_id
Definition: osmo_ss7.h:406
struct osmo_ss7_instance * inst
osmo_ss7_instance to which we belong
Definition: osmo_ss7.h:184
uint32_t priority
lower priority is higher
Definition: osmo_ss7.h:227
Definition: osmo_ss7.h:124
struct rate_ctr_group * ctrg
Rate Counter Group.
Definition: osmo_ss7.h:315
Definition: osmo_ss7.h:44
struct osmo_sccp_instance * osmo_sccp_simple_server_add_clnt(struct osmo_sccp_instance *inst, enum osmo_ss7_asp_protocol prot, const char *name, uint32_t pc, int local_port, int remote_port, const char *remote_ip)
Definition: sccp_user.c:753
Definition: osmo_ss7.h:251
const char * osmo_ss7_route_print(const struct osmo_ss7_route *rt)
Definition: osmo_ss7.c:880
struct osmo_ss7_link * osmo_ss7_link_find_or_create(struct osmo_ss7_linkset *lset, uint32_t id)
Find or create SS7 Link with given ID in given Linkset.
Definition: osmo_ss7.c:638
Definition: osmo_ss7.h:161
uint32_t pc
Definition: osmo_ss7.h:255
int osmo_ss7_asp_protocol_port(enum osmo_ss7_asp_protocol prot)
Definition: osmo_ss7.c:337
Definition: osmo_ss7.h:381
enum osmo_ss7_as_traffic_mode osmo_ss7_tmode_from_xua(uint32_t in)
Definition: osmo_ss7.c:2349
static const char * osmo_ss7_asp_protocol_name(enum osmo_ss7_asp_protocol mode)
Definition: osmo_ss7.h:288
Definition: osmo_ss7.h:280
osmo_ss7_as_patch_sccp_mode
Definition: osmo_ss7.h:295
const struct osmo_ss7_user * user[16]
Definition: osmo_ss7.h:88
int osmo_ss7_asp_restart(struct osmo_ss7_asp *asp)
Definition: osmo_ss7.c:1588
int osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name)
Delete given ASP from given AS.
Definition: osmo_ss7.c:1073
struct osmo_ss7_route_table * rtable_system
Definition: osmo_ss7.h:90
int osmo_ss7_is_config_node(struct vty *vty, int node)
Definition: osmo_ss7_vty.c:2015
osmo_ss7_link_adm_state
Definition: osmo_ss7.h:151
enum osmo_ss7_asp_protocol proto
Definition: osmo_ss7.h:513
int osmo_ss7_tmode_to_xua(enum osmo_ss7_as_traffic_mode tmod)
Definition: osmo_ss7.c:2335
void osmo_ss7_link_destroy(struct osmo_ss7_link *link)
Destroy SS7 Link.
Definition: osmo_ss7.c:621
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:126
bool dyn_allocated
Were we dynamically allocated.
Definition: osmo_ss7.h:414
struct osmo_ss7_as * osmo_ss7_as_find_or_create(struct osmo_ss7_instance *inst, const char *name, enum osmo_ss7_asp_protocol proto)
Find or Create Application Server.
Definition: osmo_ss7.c:1005
struct osmo_ss7_instance * osmo_ss7_instance_find(uint32_t id)
Find a SS7 Instance with given ID.
Definition: osmo_ss7.c:353
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:503
struct llist_head osmo_ss7_instances
Definition: osmo_ss7.h:282
uint32_t dpc
Definition: osmo_ss7.h:330
bool simple_client_allocated
Were we allocated by "simple client" support?
Definition: osmo_ss7.h:417
uint32_t mask
Definition: osmo_ss7.h:223
struct osmo_ss7_route_table * osmo_ss7_route_table_find_or_create(struct osmo_ss7_instance *inst, const char *name)
Definition: osmo_ss7.c:680
struct osmo_ss7_as * osmo_ss7_as_find_by_l_rk_id(struct osmo_ss7_instance *inst, uint32_t l_rk_id)
Find Application Server by given local routing key ID.
Definition: osmo_ss7.c:952
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:918
int osmo_ss7_xua_server_bind(struct osmo_xua_server *xs)
Set the xUA server to bind/listen to the currently configured ip/port.
Definition: osmo_ss7.c:2224
enum osmo_ss7_asp_protocol proto
Definition: osmo_ss7.h:320
Definition: osmo_ss7.h:296
struct value_string osmo_ss7_asp_protocol_vals[]
Definition: osmo_ss7.c:79
void osmo_ss7_register_rx_unknown_cb(osmo_ss7_asp_rx_unknown_cb *cb)
Register a call-back function for unknown SCTP PPID / IPA Stream ID.
Definition: osmo_ss7.c:2424
Definition: osmo_ss7.h:279
bool asp_id_present
Definition: osmo_ss7.h:407
static bool osmo_ss7_pc_is_valid(uint32_t pc)
Definition: osmo_ss7.h:35
Definition: osmo_ss7.h:497
Definition: osmo_ss7.h:297
int osmo_ss7_xua_server_set_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: osmo_ss7.c:2241
bool osmo_ss7_as_active(const struct osmo_ss7_as *as)
Determine if given AS is in the active state.
Definition: osmo_ss7.c:1139
struct osmo_ss7_linkset * linkset
osmo_ss7_linkset to which we belong
Definition: osmo_ss7.h:163
void osmo_ss7_asp_disconnect(struct osmo_ss7_asp *asp)
Definition: osmo_ss7.c:2143
Definition: osmo_ss7.h:263
struct llist_head list
member in list of routing tables
Definition: osmo_ss7.h:46
no SCTP association with peer
Definition: osmo_ss7.h:372
void osmo_ss7_vty_init_asp(void *ctx)
Definition: osmo_ss7_vty.c:2133
bool role_set_by_vty
Definition: osmo_ss7.h:432
osmo_ss7_asp_admin_state
Definition: osmo_ss7.h:370
Definition: osmo_ss7.h:266
char * name
Definition: osmo_ss7.h:189
int osmo_ss7_asp_rx_unknown_cb(struct osmo_ss7_asp *asp, int ppid_mux, struct msgb *msg)
Weak function to handle payload for unknown/unsupported PPID or IPA StreamID.
Definition: osmo_ss7.h:480
void osmo_ss7_route_destroy(struct osmo_ss7_route *rt)
Destroy a given SS7 route.
Definition: osmo_ss7.c:841
osmo_prim_cb prim_cb
Definition: osmo_ss7.h:498
void osmo_ss7_instance_destroy(struct osmo_ss7_instance *inst)
Destroy a SS7 Instance.
Definition: osmo_ss7.c:411
const char * osmo_ss7_pointcode_print(const struct osmo_ss7_instance *inst, uint32_t pc)
Definition: osmo_ss7.c:298
int osmo_ss7_asp_get_log_subsys(const struct osmo_ss7_asp *asp)
Get the logging subsystem for a given ASP.
Definition: osmo_ss7.c:2411
char * description
Definition: osmo_ss7.h:97
void osmo_ss7_vty_init_sg(void *ctx)
Definition: osmo_ss7_vty.c:2139
Definition: osmo_ss7.h:68
struct osmo_sccp_instance * osmo_sccp_simple_server_on_ss7_id(void *ctx, uint32_t ss7_id, uint32_t pc, enum osmo_ss7_asp_protocol prot, int local_port, const char *local_ip)
Definition: sccp_user.c:703
int osmo_ss7_vty_go_parent(struct vty *vty)
Definition: osmo_ss7_vty.c:1961
const char * osmo_ss7_pointcode_print_buf(char *buf, size_t buf_len, const struct osmo_ss7_instance *inst, uint32_t pc)
Definition: osmo_ss7.c:274
osmo_ss7_as_traffic_mode
Definition: osmo_ss7.h:261
char * name
Definition: osmo_ss7.h:96
struct osmo_ss7_route * osmo_ss7_route_lookup(struct osmo_ss7_instance *inst, uint32_t dpc)
Find a SS7 route for given destination point code in given SS7.
Definition: osmo_ss7.c:752
int osmo_ss7_find_free_rctx(struct osmo_ss7_instance *inst)
Definition: osmo_ss7.c:106
char * description
Definition: osmo_ss7.h:190
uint32_t id
Definition: osmo_ss7.h:167
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:390
osmo_ss7_asp_protocol
Definition: osmo_ss7.h:277
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:2098
const char * name
Definition: osmo_ss7.h:128
int osmo_ss7_user_mtp_xfer_req(struct osmo_ss7_instance *inst, struct osmo_mtp_prim *omp)
Definition: osmo_ss7_hmrt.c:287
Definition: osmo_ss7.h:262
Definition: osmo_ss7.h:387
struct osmo_ss7_asp * osmo_ss7_asp_find_or_create(struct osmo_ss7_instance *inst, const char *name, uint16_t remote_port, uint16_t local_port, enum osmo_ss7_asp_protocol proto)
Definition: osmo_ss7.c:1513
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:303
struct osmo_fsm_inst * fi
AS FSM.
Definition: osmo_ss7.h:306
Definition: osmo_ss7.h:155
uint32_t ssn
Definition: osmo_ss7.h:257
struct osmo_xua_server * osmo_ss7_xua_server_create(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port, const char *local_host)
create a new xUA server configured with given ip/port
Definition: osmo_ss7.c:2179
struct llist_head routes
list of osmo_ss7_route
Definition: osmo_ss7.h:50
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:1044
uint32_t adjacent_pc
Definition: osmo_ss7.h:191
SCP association, but reject ASP-ACTIVE.
Definition: osmo_ss7.h:374
struct osmo_ss7_asp * osmo_ss7_asp_find_by_name(struct osmo_ss7_instance *inst, const char *name)
Definition: osmo_ss7.c:1338
static const char * osmo_ss7_as_traffic_mode_name(enum osmo_ss7_as_traffic_mode mode)
Definition: osmo_ss7.h:272
struct osmo_sccp_instance * sccp
Definition: osmo_ss7.h:92
char * sock_name
pre-formatted human readable local/remote socket name
Definition: osmo_ss7.h:403
in normal operation
Definition: osmo_ss7.h:376
Definition: osmo_ss7.h:264
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:935
const struct value_string osmo_ss7_asp_role_names[]
Definition: osmo_ss7.c:87
Definition: osmo_ss7.h:265
size_t host_cnt
Definition: osmo_ss7.h:366
struct osmo_sccp_instance * osmo_sccp_simple_client_on_ss7_id(void *ctx, uint32_t ss7_id, const char *name, uint32_t default_pc, enum osmo_ss7_asp_protocol prot, int default_local_port, const char *default_local_ip, int default_remote_port, const char *default_remote_ip)
request an sccp client instance
Definition: sccp_user.c:486
void osmo_ss7_as_destroy(struct osmo_ss7_as *as)
Destroy given Application Server.
Definition: osmo_ss7.c:1097
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:731
uint8_t qos_class
Definition: osmo_ss7.h:228
struct osmo_ss7_linkset * osmo_ss7_linkset_find_or_create(struct osmo_ss7_instance *inst, const char *name, uint32_t pc)
Find or allocate SS7 Linkset.
Definition: osmo_ss7.c:594
struct msgb * pending_msg
Pending message for non-blocking IPA read.
Definition: osmo_ss7.h:423
struct osmo_ss7_asp * osmo_ss7_asp_find(struct osmo_ss7_instance *inst, const char *name, uint16_t remote_port, uint16_t local_port, enum osmo_ss7_asp_protocol proto)
Definition: osmo_ss7.c:1495
char * description
Definition: osmo_ss7.h:427
struct osmo_xua_server * xua_server
osmo_xua_server over which we were established
Definition: osmo_ss7.h:396
Definition: osmo_ss7.h:154
Definition: osmo_ss7.h:73
Definition: osmo_ss7.h:278
bool is_server
Definition: osmo_ss7.h:430
int osmo_ss7_xua_server_set_local_hosts(struct osmo_xua_server *xs, const char **local_hosts, size_t local_host_cnt)
Definition: osmo_ss7.c:2247
struct osmo_ss7_as * osmo_ss7_as_find_by_proto(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto)
Find Application Server (AS) by given protocol.
Definition: osmo_ss7.c:970
Definition: osmo_ss7.h:181
Definition: osmo_ss7.h:153
bool osmo_ss7_pc_is_local(struct osmo_ss7_instance *inst, uint32_t pc)
Definition: osmo_ss7.c:2300
enum osmo_ss7_asp_protocol proto
Definition: osmo_ss7.h:428
char * name
Definition: osmo_ss7.h:165
char * name
Definition: osmo_ss7.h:318
osmo_prim_cb prim_cb
Definition: osmo_ss7.h:130
struct osmo_ss7_linkset * linkset
pointer to linkset (destination) of route
Definition: osmo_ss7.h:215
bool mode_set_by_peer
Definition: osmo_ss7.h:326
void * lm_priv
Definition: osmo_ss7.h:411
bool osmo_ss7_as_tmode_compatible_xua(struct osmo_ss7_as *as, uint32_t m3ua_tmt)
Definition: osmo_ss7.c:2363
int osmo_ss7_asp_peer_add_host(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, const char *host)
Append (copy) address to a given ASP peer.
Definition: osmo_ss7.c:1240
int osmo_ss7_asp_peer_snprintf(char *buf, size_t buf_len, struct osmo_ss7_asp_peer *peer)
Definition: osmo_ss7.c:1170
struct osmo_ss7_route_table * rtable
osmo_ss7_route_table to which we belong
Definition: osmo_ss7.h:211
char delimiter
Definition: osmo_ss7.h:69
int osmo_ss7_asp_peer_set_hosts(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, const char *const *hosts, size_t host_cnt)
Set (copy) addresses for a given ASP peer.
Definition: osmo_ss7.c:1207
struct osmo_ss7_route_table::@19 cfg
struct osmo_ss7_as * as
pointer to Application Server
Definition: osmo_ss7.h:217
char * description
Definition: osmo_ss7.h:166
int osmo_ss7_pointcode_parse(struct osmo_ss7_instance *inst, const char *str)
Definition: osmo_ss7.c:240
Definition: osmo_ss7.h:300
int osmo_ss7_pointcode_parse_mask_or_len(struct osmo_ss7_instance *inst, const char *in)
Definition: osmo_ss7.c:312
uint8_t last_asp_idx_sent
Definition: osmo_ss7.h:335
uint32_t pc
Definition: osmo_ss7.h:222
uint16_t port
Definition: osmo_ss7.h:367
int osmo_ss7_user_register(struct osmo_ss7_instance *inst, uint8_t service_ind, struct osmo_ss7_user *user)
Register a MTP user for a given service indicator.
Definition: osmo_ss7.c:472
Definition: osmo_ss7.h:380
char * name
Definition: osmo_ss7.h:426
Definition: osmo_ss7.h:382
char * host[OSMO_SOCK_MAX_ADDRS]
Definition: osmo_ss7.h:365
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:788
char * description
Definition: osmo_ss7.h:54
void osmo_ss7_xua_server_destroy(struct osmo_xua_server *xs)
Definition: osmo_ss7.c:2283
uint32_t recovery_timeout_msec
Definition: osmo_ss7.h:327
uint8_t qos_class
Definition: osmo_ss7.h:328
struct osmo_sccp_instance * osmo_sccp_simple_client(void *ctx, const char *name, uint32_t default_pc, enum osmo_ss7_asp_protocol prot, int default_local_port, const char *default_local_ip, int default_remote_port, const char *default_remote_ip)
request an sccp client instance
Definition: sccp_user.c:682
char * name
Definition: osmo_ss7.h:53
struct osmo_ss7_route_table * osmo_ss7_route_table_find(struct osmo_ss7_instance *inst, const char *name)
Definition: osmo_ss7.c:668