diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-16 02:06:11 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-16 02:49:11 +0800 |
commit | e21bdea501d3c077f2148588091790def5bd0163 (patch) | |
tree | f996ac2b9d1f7f9a1d732b9216a6c1ca4ccdc448 /openbsc/include/openbsc/bsc_nat.h | |
parent | 11c17233fea7bc9e59d3718f55620f4044910d41 (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.h | 5 |
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 */ |