libosmo-sigtran 1.8.1
Osmocom SIGTRAN library
ss7_internal.h
Go to the documentation of this file.
1#pragma once
2
3/* Internal header used by libosmo-sccp, not available publicly for lib users */
4
5#include <stdbool.h>
7
8extern bool ss7_initialized;
9
10bool ss7_ipv6_sctp_supported(const char *host, bool bind);
11
12struct osmo_ss7_asp *ss7_asp_alloc(struct osmo_ss7_instance *inst, const char *name,
13 uint16_t remote_port, uint16_t local_port,
18int ss7_asp_ipa_srv_conn_cb(struct osmo_stream_srv *conn);
19int ss7_asp_xua_srv_conn_cb(struct osmo_stream_srv *conn);
20int ss7_asp_xua_srv_conn_closed_cb(struct osmo_stream_srv *srv);
22int ss7_asp_apply_primary_address(const struct osmo_ss7_asp *asp);
23
25
29};
30
35};
osmo_ss7_asp_protocol
Definition: osmo_ss7.h:277
int ss7_asp_xua_srv_conn_closed_cb(struct osmo_stream_srv *srv)
Definition: osmo_ss7_asp.c:1121
int ss7_asp_apply_primary_address(const struct osmo_ss7_asp *asp)
Definition: osmo_ss7_asp.c:386
int ss7_asp_xua_srv_conn_cb(struct osmo_stream_srv *conn)
Definition: osmo_ss7_asp.c:913
ss7_asp_ctr
Definition: ss7_internal.h:31
@ SS7_ASP_CTR_PKT_TX_TOTAL
Definition: ss7_internal.h:34
@ SS7_ASP_CTR_PKT_RX_UNKNOWN
Definition: ss7_internal.h:33
@ SS7_ASP_CTR_PKT_RX_TOTAL
Definition: ss7_internal.h:32
bool ss7_ipv6_sctp_supported(const char *host, bool bind)
Definition: osmo_ss7.c:1116
int ss7_asp_apply_peer_primary_address(const struct osmo_ss7_asp *asp)
Definition: osmo_ss7_asp.c:346
struct osmo_ss7_asp * ss7_asp_alloc(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_asp.c:654
int ss7_asp_proto_to_ip_proto(enum osmo_ss7_asp_protocol proto)
Definition: osmo_ss7_asp.c:130
bool ss7_initialized
Definition: osmo_ss7.c:59
bool ss7_xua_server_set_default_local_hosts(struct osmo_xua_server *oxs)
Definition: osmo_ss7_xua_srv.c:287
struct osmo_ss7_asp * ss7_asp_find_by_socket_addr(int fd)
Find an ASP definition matching the local+remote IP/PORT of given fd.
Definition: osmo_ss7_asp.c:563
ss7_as_ctr
Definition: ss7_internal.h:26
@ SS7_AS_CTR_RX_MSU_TOTAL
Definition: ss7_internal.h:27
@ SS7_AS_CTR_TX_MSU_TOTAL
Definition: ss7_internal.h:28
int ss7_asp_ipa_srv_conn_cb(struct osmo_stream_srv *conn)
Definition: osmo_ss7_asp.c:882
bool ss7_asp_set_default_peer_hosts(struct osmo_ss7_asp *asp)
Definition: osmo_ss7_asp.c:495
Definition: osmo_ss7.h:390
enum osmo_ss7_asp_protocol proto
Definition: osmo_ss7.h:431
struct osmo_ss7_instance * inst
Definition: osmo_ss7.h:393
char * name
Definition: osmo_ss7.h:429
Definition: osmo_ss7.h:73
Definition: osmo_ss7.h:525