5#include <osmocom/core/defs.h>
6#include <osmocom/core/linuxlist.h>
7#include <osmocom/core/prim.h>
8#include <osmocom/netif/stream.h>
60 OSMO_DEPRECATED(
"Use ss7_xua_server_find2() instead");
70 uint16_t local_port,
const char *local_host)
71 OSMO_DEPRECATED(
"Use ss7_xua_server_create2() instead");
75 uint16_t local_port,
const char *local_host);
93#define LOGPOXS(oxs, subsys, level, fmt, args ...) \
94 _LOGSS7((oxs)->inst, subsys, level, "XUA_SRV(%s,%s) " fmt, \
95 osmo_stream_srv_link_get_name(oxs->server), \
96 osmo_stream_srv_link_get_sockname(oxs->server) ? : "NULL", \
osmo_ss7_asp_protocol
Definition: osmo_ss7.h:163
int ss7_xua_server_add_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: ss7_xua_srv.c:377
int ss7_xua_server_restart(struct osmo_xua_server *oxs)
Definition: ss7_xua_srv.c:423
int ss7_xua_server_set_local_hosts(struct osmo_xua_server *xs, const char **local_hosts, size_t local_host_cnt)
Definition: ss7_xua_srv.c:365
bool ss7_xua_server_set_ip_dscp(struct osmo_xua_server *xs)
Definition: ss7_xua_srv.c:412
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: ss7_xua_srv.c:239
int ss7_xua_server_del_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: ss7_xua_srv.c:388
bool ss7_xua_server_set_default_local_hosts(struct osmo_xua_server *oxs)
Definition: ss7_xua_srv.c:398
int ss7_xua_server_restart_after_reconfigure(struct osmo_xua_server *oxs)
Definition: ss7_xua_srv.c:442
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: ss7_xua_srv.c:506
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: ss7_xua_srv.c:298
void ss7_xua_server_destroy(struct osmo_xua_server *xs)
Definition: ss7_xua_srv.c:451
int ss7_xua_server_set_local_host(struct osmo_xua_server *xs, const char *local_host)
Definition: ss7_xua_srv.c:359
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: ss7_xua_srv.c:478
Definition: ss7_asp_peer.h:11
Definition: ss7_instance.h:47
Definition: ss7_xua_srv.h:18
struct osmo_stream_srv_link * server
Definition: ss7_xua_srv.h:25
bool shutdown
no listening transport (SCTP, TCP) socket
Definition: ss7_xua_srv.h:35
uint16_t max_instreams_value
Definition: ss7_xua_srv.h:41
enum osmo_ss7_asp_protocol proto
Definition: ss7_xua_srv.h:32
bool num_ostreams_present
Definition: ss7_xua_srv.h:38
struct osmo_ss7_instance * inst
Definition: ss7_xua_srv.h:20
uint8_t ip_dscp
Definition: ss7_xua_srv.h:31
bool explicit_shutdown_state_by_vty_since_node_enter
Definition: ss7_xua_srv.h:49
struct osmo_xua_server::@39 cfg
const struct ss7_qos_class * qos
Definition: ss7_xua_srv.h:30
struct llist_head asp_list
Definition: ss7_xua_srv.h:23
struct osmo_xua_server::@39::@41 sctp_init
bool accept_dyn_reg
Definition: ss7_xua_srv.h:28
struct osmo_xua_server::@39::@40 adm_state
uint16_t num_ostreams_value
Definition: ss7_xua_srv.h:40
struct llist_head list
Definition: ss7_xua_srv.h:19
struct osmo_ss7_asp_peer local
Definition: ss7_xua_srv.h:29
bool max_instreams_present
Definition: ss7_xua_srv.h:39
int trans_proto
The underlaying transport protocol (one of IPPROTO_*)
Definition: ss7_xua_srv.h:52
Definition: ss7_qos_class.h:9