8#include <osmocom/core/linuxlist.h>
9#include <osmocom/netif/stream.h>
14#define MAX_PC_STR_LEN 32
35 struct llist_head *e = *state;
36 if (!e || e->next == list)
44#define ss7_llist_round_robin(list, state, struct_type, entry_name) \
45 llist_entry(_ss7_llist_round_robin(list, state), struct_type, entry_name)
48#define XUA_VAR_STR "(sua|m3ua|ipa)"
osmo_ss7_asp_protocol
Definition: osmo_ss7.h:157
int and can be left NULL
Definition: osmo_ss7.h:363
int ss7_asp_m3ua_tcp_srv_conn_rx_cb(struct osmo_stream_srv *conn, int res, struct msgb *msg)
Definition: ss7_asp.c:1174
int ss7_asp_xua_srv_conn_closed_cb(struct osmo_stream_srv *srv)
Definition: ss7_asp.c:1364
struct osmo_ss7_asp * ss7_asp_find_by_socket_addr(int fd, int trans_proto)
Find an ASP definition matching the local+remote IP/PORT of given fd.
Definition: ss7_asp.c:632
uint32_t ss7_pc_full_mask(const struct osmo_ss7_pc_fmt *pc_fmt)
Definition: ss7.c:94
bool ss7_ipv6_sctp_supported(const char *host, bool bind)
Definition: ss7.c:144
int ss7_asp_xua_srv_conn_rx_cb(struct osmo_stream_srv *conn, int res, struct msgb *msg)
Definition: ss7_asp.c:1109
int ss7_asp_ipa_srv_conn_rx_cb(struct osmo_stream_srv *conn, int res, struct msgb *msg)
Definition: ss7_asp.c:1047
bool ss7_initialized
Definition: ss7.c:63
static struct llist_head * _ss7_llist_round_robin(struct llist_head *list, void **state)
Definition: ss7_internal.h:33
int xua_tcp_segmentation_cb(struct msgb *msg)
Definition: ss7_asp.c:1159
bool ss7_asp_protocol_check_trans_proto(enum osmo_ss7_asp_protocol proto, int trans_proto)
Definition: ss7_asp.c:167
int ss7_default_trans_proto_for_asp_proto(enum osmo_ss7_asp_protocol proto)
Definition: ss7_asp.c:191
enum osmo_ss7_asp_protocol proto
Definition: ss7_asp.h:114
int trans_proto
The underlaying transport protocol (one of IPPROTO_*)
Definition: ss7_asp.h:172
Definition: ss7_instance.h:40