diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-12 19:09:43 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-18 17:50:09 +0200 |
commit | 51d2a33542064e8605302a22214f57f7886c703e (patch) | |
tree | 3633bf3b80b26c130e613cd921474380966407f5 /openbsc/include | |
parent | 738cc1106c0273a918350f495a6a746d06fc2e2a (diff) |
osmo-bsc: react on reset requests from MSC
The bsc side currently can not receive reset commands from an
MSC. This patch adds required functionality to receive a reset
command and acknowlege it properly. The effects are the same
as with when sending resets (all drop all ongoing calls and
sccp connections)
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/osmo_bsc_sigtran.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_bsc_sigtran.h b/openbsc/include/openbsc/osmo_bsc_sigtran.h index caeea6092..afdceeb37 100644 --- a/openbsc/include/openbsc/osmo_bsc_sigtran.h +++ b/openbsc/include/openbsc/osmo_bsc_sigtran.h @@ -40,3 +40,9 @@ int osmo_bsc_sigtran_del_conn(struct osmo_bsc_sccp_con *sccp); /* Initalize osmo sigtran backhaul */ int osmo_bsc_sigtran_init(struct llist_head *mscs); + +/* Close all open sigtran connections and channels */ +void osmo_bsc_sigtran_reset(struct bsc_msc_data *msc); + +/* Send reset-ack to MSC */ +void osmo_bsc_sigtran_tx_reset_ack(struct bsc_msc_data *msc); |