5#include <osmocom/core/defs.h>
6#include <osmocom/core/linuxlist.h>
7#include <osmocom/core/prim.h>
8#include <osmocom/netif/stream.h>
51 OSMO_DEPRECATED(
"Use ss7_xua_server_find2() instead");
61 uint16_t local_port,
const char *local_host)
62 OSMO_DEPRECATED(
"Use ss7_xua_server_create2() instead");
66 uint16_t local_port,
const char *local_host);
osmo_ss7_asp_protocol
Definition: osmo_ss7.h:154
int ss7_xua_server_add_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: osmo_ss7_xua_srv.c:332
int ss7_xua_server_set_local_hosts(struct osmo_xua_server *xs, const char **local_hosts, size_t local_host_cnt)
Definition: osmo_ss7_xua_srv.c:320
struct osmo_xua_server * ss7_xua_server_create2(struct osmo_ss7_instance *inst, int trans_proto, 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_xua_srv.c:207
int 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_xua_srv.c:281
int ss7_xua_server_del_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: osmo_ss7_xua_srv.c:343
bool ss7_xua_server_set_default_local_hosts(struct osmo_xua_server *oxs)
Definition: osmo_ss7_xua_srv.c:353
struct osmo_xua_server * ss7_xua_server_find(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port) OSMO_DEPRECATED("Use ss7_xua_server_find2() instead")
find an xUA server with the given parameters
Definition: osmo_ss7_xua_srv.c:420
struct osmo_xua_server * ss7_xua_server_create(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port, const char *local_host) OSMO_DEPRECATED("Use ss7_xua_server_create2() instead")
create a new xUA server configured with given ip/port
Definition: osmo_ss7_xua_srv.c:266
void ss7_xua_server_destroy(struct osmo_xua_server *xs)
Definition: osmo_ss7_xua_srv.c:367
int ss7_xua_server_set_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: osmo_ss7_xua_srv.c:314
struct osmo_xua_server * ss7_xua_server_find2(struct osmo_ss7_instance *inst, int trans_proto, enum osmo_ss7_asp_protocol proto, uint16_t local_port)
find an xUA server with the given parameters
Definition: osmo_ss7_xua_srv.c:392
Definition: ss7_asp_peer.h:11
Definition: ss7_instance.h:21
Definition: ss7_xua_srv.h:18
osmo_prim_cb prim_cb
Definition: ss7_xua_srv.h:19
Definition: ss7_xua_srv.h:22
struct osmo_stream_srv_link * server
Definition: ss7_xua_srv.h:29
uint16_t max_instreams_value
Definition: ss7_xua_srv.h:39
enum osmo_ss7_asp_protocol proto
Definition: ss7_xua_srv.h:34
bool num_ostreams_present
Definition: ss7_xua_srv.h:36
struct osmo_ss7_instance * inst
Definition: ss7_xua_srv.h:24
struct llist_head asp_list
Definition: ss7_xua_srv.h:27
struct osmo_xua_server::@34 cfg
bool accept_dyn_reg
Definition: ss7_xua_srv.h:32
uint16_t num_ostreams_value
Definition: ss7_xua_srv.h:38
struct llist_head list
Definition: ss7_xua_srv.h:23
struct osmo_ss7_asp_peer local
Definition: ss7_xua_srv.h:33
struct osmo_xua_server::@34::@35 sctp_init
bool max_instreams_present
Definition: ss7_xua_srv.h:37
int trans_proto
The underlaying transport protocol (one of IPPROTO_*)
Definition: ss7_xua_srv.h:43