aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-16 02:06:11 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:20 +0800
commit234d31218f58add9e46e9230a3dc71d4edc3ea08 (patch)
treef2ce623cda9fcad0c26cefbad9f63a3a24aa2373 /openbsc/include/openbsc/bsc_nat.h
parent19c0a84fb863a73ce8ee388e3be8044b23069848 (diff)
[nat] Use and print the connection type of a SCCP connection.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index b9a8c60f0..99a3aa6b7 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -124,6 +124,9 @@ struct sccp_connections {
struct sccp_source_reference remote_ref;
int has_remote_ref;
+ /* status */
+ int con_type;
+
/* GSM audio handling. That is 32 * multiplex + ts */
int crcx;
int msc_timeslot;
@@ -254,6 +257,8 @@ void bsc_nat_set_msc_ip(struct bsc_nat *bsc, const char *ip);
void sccp_connection_destroy(struct sccp_connections *);
void bsc_close_connection(struct bsc_connection *);
+const char *bsc_con_type_to_string(int type);
+
/**
* parse the given message into the above structure
*/