4 #include <osmocom/core/linuxlist.h> 5 #include <osmocom/core/fsm.h> 6 #include <osmocom/core/msgb.h> 7 #include <osmocom/core/tdef.h> 8 #include <osmocom/netif/stream.h> 34 struct osmo_fsm_inst *
fi;
61 struct rate_ctr_group *
ctrg;
101 uint16_t remote_port, uint16_t local_port,
112 #define LOGPASP(asp, subsys, level, fmt, args ...) \ 113 _LOGSS7((asp)->inst, subsys, level, "asp-%s: " fmt, (asp)->cfg.name, ## args) struct osmo_stream_cli * client
osmo_stream / libosmo-netif handles
Definition: ss7_asp.h:41
uint32_t quirks
Definition: ss7_asp.h:79
ss7_asp_ctr
Definition: ss7_asp.h:22
osmo_ss7_asp_role
Definition: osmo_ss7.h:238
struct osmo_ss7_asp::@24::@25 sctp_init
struct osmo_stream_srv * server
Definition: ss7_asp.h:42
bool ss7_asp_is_started(const struct osmo_ss7_asp *asp)
Definition: osmo_ss7_asp.c:730
bool trans_role_set_by_vty
Definition: ss7_asp.h:74
struct rate_ctr_group * ctrg
Rate Counter Group.
Definition: ss7_asp.h:61
Definition: ss7_xua_srv.h:22
struct llist_head list
entry in osmo_ss7_instance::asp_list
Definition: ss7_asp.h:30
struct osmo_fsm_inst * fi
ASP FSM.
Definition: ss7_asp.h:34
int ss7_asp_apply_drop_local_address(const struct osmo_ss7_asp *asp, unsigned int loc_idx)
Definition: osmo_ss7_asp.c:222
uint8_t qos_class
Definition: ss7_asp.h:78
Definition: ss7_asp_peer.h:11
const struct osmo_xua_layer_manager * lm
Definition: ss7_asp.h:51
uint16_t max_instreams_value
Definition: ss7_asp.h:90
uint32_t asp_id
Definition: ss7_asp.h:47
uint16_t max_init_timeo_value
Definition: ss7_asp.h:92
int ss7_asp_apply_new_local_address(const struct osmo_ss7_asp *asp, unsigned int loc_idx)
Definition: osmo_ss7_asp.c:200
bool num_ostreams_present
Definition: ss7_asp.h:85
enum osmo_ss7_asp_role role
Definition: ss7_asp.h:72
bool max_attempts_present
Definition: ss7_asp.h:87
uint16_t max_attempts_value
Definition: ss7_asp.h:91
bool dyn_allocated
Were we dynamically allocated.
Definition: ss7_asp.h:55
struct osmo_ss7_asp_peer local
Definition: ss7_asp.h:76
struct osmo_tdef * T_defs_lm
Definition: ss7_asp.h:82
bool simple_client_allocated
Were we allocated by "simple client" support?
Definition: ss7_asp.h:58
bool asp_id_present
Definition: ss7_asp.h:48
struct llist_head siblings
Definition: ss7_asp.h:38
Definition: ss7_xua_srv.h:18
bool role_set_by_vty
Definition: ss7_asp.h:73
osmo_ss7_asp_admin_state
Definition: osmo_ss7.h:229
uint16_t num_ostreams_value
Definition: ss7_asp.h:89
bool max_init_timeo_present
Definition: ss7_asp.h:88
enum osmo_ss7_asp_admin_state adm_state
Definition: ss7_asp.h:70
bool max_instreams_present
Definition: ss7_asp.h:86
int ss7_asp_apply_peer_primary_address(const struct osmo_ss7_asp *asp)
Definition: osmo_ss7_asp.c:244
struct osmo_ss7_instance * inst
Definition: ss7_asp.h:31
osmo_ss7_asp_protocol
Definition: osmo_ss7.h:153
bool ss7_asp_set_default_peer_hosts(struct osmo_ss7_asp *asp)
Definition: osmo_ss7_asp.c:397
char * sock_name
pre-formatted human readable local/remote socket name
Definition: ss7_asp.h:44
struct osmo_ss7_asp_peer remote
Definition: ss7_asp.h:77
struct msgb * pending_msg
Pending message for non-blocking IPA read.
Definition: ss7_asp.h:64
int ss7_asp_get_fd(const struct osmo_ss7_asp *asp)
Get the fd of a given ASP.
Definition: osmo_ss7_asp.c:1263
char * description
Definition: ss7_asp.h:68
struct osmo_xua_server * xua_server
osmo_xua_server over which we were established
Definition: ss7_asp.h:37
Definition: ss7_instance.h:20
bool is_server
Definition: ss7_asp.h:71
enum osmo_ss7_asp_protocol proto
Definition: ss7_asp.h:69
struct osmo_ss7_asp::@24 cfg
void * lm_priv
Definition: ss7_asp.h:52
struct osmo_ss7_asp * ss7_asp_alloc(struct osmo_ss7_instance *inst, const char *name, uint16_t remote_port, uint16_t local_port, int trans_proto, enum osmo_ss7_asp_protocol proto)
Definition: osmo_ss7_asp.c:535
int trans_proto
The underlaying transport protocol (one of IPPROTO_*)
Definition: ss7_asp.h:96
char * name
Definition: ss7_asp.h:67
int ss7_asp_apply_primary_address(const struct osmo_ss7_asp *asp)
Definition: osmo_ss7_asp.c:286