summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Alteholz <debian@alteholz.de>2018-06-19 15:20:25 +0200
committerThorsten Alteholz <debian@alteholz.de>2018-06-19 15:20:25 +0200
commit8e5f4267a07a2d69c1632eb9830e553fab5c6b79 (patch)
tree92b7a01c296a76d3d939cc0889222fbed14d9ab6 /include
parent043f448cc17b8de857ed633cf04bd83e6f9c4566 (diff)
Import Upstream version 0.9.0
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h6
-rw-r--r--include/osmocom/sigtran/sccp_helpers.h1
-rw-r--r--include/osmocom/sigtran/sccp_sap.h2
-rw-r--r--include/sccp/sccp_types.h4
4 files changed, 12 insertions, 1 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 71c2022..fd3f103 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -108,6 +108,8 @@ osmo_ss7_instance_find_or_create(void *ctx, uint32_t id);
void osmo_ss7_instance_destroy(struct osmo_ss7_instance *inst);
int osmo_ss7_instance_set_pc_fmt(struct osmo_ss7_instance *inst,
uint8_t c0, uint8_t c1, uint8_t c2);
+int osmo_ss7_instance_bind(struct osmo_ss7_instance *inst);
+int osmo_ss7_bind_all_instances();
/***********************************************************************
* MTP Users (Users of MTP, such as SCCP or ISUP)
@@ -232,6 +234,7 @@ struct osmo_ss7_route *
osmo_ss7_route_create(struct osmo_ss7_route_table *rtbl, uint32_t dpc,
uint32_t mask, const char *linkset_name);
void osmo_ss7_route_destroy(struct osmo_ss7_route *rt);
+const char *osmo_ss7_route_name(struct osmo_ss7_route *rt, bool list_asps);
/***********************************************************************
@@ -441,6 +444,9 @@ osmo_ss7_xua_server_create(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_pro
uint16_t local_port, const char *local_host);
int
+osmo_ss7_xua_server_bind(struct osmo_xua_server *xs);
+
+int
osmo_ss7_xua_server_set_local_host(struct osmo_xua_server *xs, const char *local_host);
void osmo_ss7_xua_server_destroy(struct osmo_xua_server *xs);
diff --git a/include/osmocom/sigtran/sccp_helpers.h b/include/osmocom/sigtran/sccp_helpers.h
index c2175f4..3ef7740 100644
--- a/include/osmocom/sigtran/sccp_helpers.h
+++ b/include/osmocom/sigtran/sccp_helpers.h
@@ -55,3 +55,4 @@ int osmo_sccp_tx_conn_resp(struct osmo_sccp_user *scu, uint32_t conn_id,
char *osmo_sccp_gt_dump(const struct osmo_sccp_gt *gt);
char *osmo_sccp_addr_dump(const struct osmo_sccp_addr *addr);
char *osmo_sccp_addr_name(const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr);
+char *osmo_sccp_inst_addr_name(const struct osmo_sccp_instance *sccp, const struct osmo_sccp_addr *addr);
diff --git a/include/osmocom/sigtran/sccp_sap.h b/include/osmocom/sigtran/sccp_sap.h
index 7a4f9bf..84d762c 100644
--- a/include/osmocom/sigtran/sccp_sap.h
+++ b/include/osmocom/sigtran/sccp_sap.h
@@ -275,3 +275,5 @@ void osmo_sccp_local_addr_by_instance(struct osmo_sccp_addr *dest_addr,
uint32_t ssn);
bool osmo_sccp_check_addr(struct osmo_sccp_addr *addr, uint32_t presence);
+
+const char *osmo_sccp_user_name(struct osmo_sccp_user *scu);
diff --git a/include/sccp/sccp_types.h b/include/sccp/sccp_types.h
index 962bde4..ab7f74f 100644
--- a/include/sccp/sccp_types.h
+++ b/include/sccp/sccp_types.h
@@ -245,6 +245,7 @@ enum sccp_error_cause {
SCCP_ERROR_UNQUALIFIED = 4,
};
+/* ITU=T Q.713 Section 3.15 */
enum sccp_refusal_cause {
SCCP_REFUSAL_END_USER_ORIGINATED = 0,
SCCP_REFUSAL_END_USER_CONGESTION = 1,
@@ -264,7 +265,8 @@ enum sccp_refusal_cause {
SCCP_REFUSAL_UNQUALIFIED = 15,
SCCP_REFUSAL_HOP_COUNTER_VIOLATION = 16,
SCCP_REFUSAL_SCCP_FAILURE = 17,
- SCCP_REFUSAL_UNEQUIPPED_USER = 18,
+ SCCP_REFUSAL_NO_TRANS_FOR_ADDRESS_NATURE = 18,
+ SCCP_REFUSAL_UNEQUIPPED_USER = 19,
};
/*