aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-27 13:21:39 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-27 13:21:39 +0800
commit12b63716e2b92d429aa7be7a67f361b1abebd78c (patch)
tree9b74996f306806fd00d9690ee8a6efb96696a58a /openbsc/include/openbsc
parent184961ea3e3004d1e2eec2ad16eb13852e607289 (diff)
nat: Add a command to close a given BSC Connection
This can be used to clear stale connections for a given BSC or to force a reconnect of the BSC.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 90c263d24..28ed4e804 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -230,6 +230,7 @@ struct bsc_connection *bsc_connection_alloc(struct bsc_nat *nat);
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 *);
/**
* parse the given message into the above structure