aboutsummaryrefslogtreecommitdiffstats
path: root/include/bsc_sccp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-16 16:12:07 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-17 19:34:27 +0100
commita7bc3aafdc79c04e038eab741ed8f428c13751c0 (patch)
tree1d46afd8da0f94685bf1a089590634229e17201e /include/bsc_sccp.h
parent2cdb73cf4a0bb9e7a47cdb6eba4601d00e4eb0d2 (diff)
ss7: Create a SS7 application that is responsible for the routing
Diffstat (limited to 'include/bsc_sccp.h')
-rw-r--r--include/bsc_sccp.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/bsc_sccp.h b/include/bsc_sccp.h
index 9c3bb11..f7489bb 100644
--- a/include/bsc_sccp.h
+++ b/include/bsc_sccp.h
@@ -30,7 +30,7 @@
#include <osmocom/sccp/sccp.h>
-struct msc_connection;
+struct ss7_application;
/*
* One SCCP connection.
@@ -55,7 +55,8 @@ struct active_sccp_con {
/* how often did we send a RLSD this */
unsigned int rls_tries;
- /* MTP link this was coming in */
+ /* Link to the SS7 Application */
+ struct ss7_application *app;
struct mtp_link_set *link;
/* sls id */
@@ -63,10 +64,10 @@ struct active_sccp_con {
};
void free_con(struct active_sccp_con *con);
-struct active_sccp_con *find_con_by_dest_ref(struct msc_connection *, struct sccp_source_reference *ref);
-struct active_sccp_con *find_con_by_src_ref(struct msc_connection *,struct sccp_source_reference *src_ref);
-struct active_sccp_con *find_con_by_src_dest_ref(struct msc_connection *, struct sccp_source_reference *src_ref,
+struct active_sccp_con *find_con_by_dest_ref(struct ss7_application *, struct sccp_source_reference *ref);
+struct active_sccp_con *find_con_by_src_ref(struct ss7_application *,struct sccp_source_reference *src_ref);
+struct active_sccp_con *find_con_by_src_dest_ref(struct ss7_application *, struct sccp_source_reference *src_ref,
struct sccp_source_reference *dst_ref);
-unsigned int sls_for_src_ref(struct msc_connection *, struct sccp_source_reference *ref);
+unsigned int sls_for_src_ref(struct ss7_application *, struct sccp_source_reference *ref);
#endif