aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 01:57:45 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 01:57:45 +0800
commitb3e1068992244a35df5a56e064daaaa6d9c986f3 (patch)
tree34c2d2a57e3d144ee30cf9bf73cf0a28673d2d2e /src/main.c
parentfdae5c9a7d16456d4a7124d6c1a002d3f3e6b2d4 (diff)
sccp: Move the SCCP connection out to a new structure.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/main.c b/src/main.c
index b56bb73..948d71b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,9 +28,9 @@
#include <bsc_data.h>
#include <snmp_mtp.h>
#include <cellmgr_debug.h>
+#include <bsc_sccp.h>
#include <osmocore/talloc.h>
-#include <osmocore/protocol/gsm_08_08.h>
#include <osmocom/vty/vty.h>
#include <osmocom/vty/telnet_interface.h>
@@ -64,33 +64,6 @@ static char *config = "cellmgr_ng.cfg";
static int flood = 0;
static struct timer_list flood_timer;
-/*
- * One SCCP connection.
- * Use for connection tracking and fixups...
- */
-struct active_sccp_con {
- struct llist_head entry;
-
- struct sccp_source_reference src_ref;
- struct sccp_source_reference dst_ref;
-
- int has_dst_ref;
-
- /* fixup stuff */
-
- /* We get a RLSD from the MSC and need to send a RLC */
- int released_from_msc;
-
- /* timeout for waiting for the RLC */
- struct timer_list rlc_timeout;
-
- /* how often did we send a RLSD this */
- unsigned int rls_tries;
-
- /* sls id */
- int sls;
-};
-
struct bsc_data bsc;
extern void cell_vty_init(void);