aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/abis
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-09-15 18:54:21 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-09-19 16:57:38 +0200
commit57a148f332e7b4cd9d828f01c407f6eddf83606a (patch)
tree1b41b42de386cb9a765c8352376c4575c1ce579d /include/osmocom/abis
parent5b42f980899b46172de3a4f62c72efbf78a11cde (diff)
ipa: Allow users closing lower layer tcp/ipa connections
This is useful for users to abort connections which are in "connecting" state, since the higher layer struct e1inp_sign_link is not provided to the user until the TCP+IPA handshake in the socket becomes fully established (sign_link_up() callback). This is intended for osmo-bts: when something fails and may enter into SHUTDOWN state, it is desirable to close new RSL links (sockets) which are in progress to connect, while it waits for a while to complete shutdown (power ramping down, etc.). Change-Id: Ia6418321f3b6f1f7274efd414625a4b10a09a362
Diffstat (limited to 'include/osmocom/abis')
-rw-r--r--include/osmocom/abis/e1_input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h
index 9c3fe56..0daf792 100644
--- a/include/osmocom/abis/e1_input.h
+++ b/include/osmocom/abis/e1_input.h
@@ -336,7 +336,8 @@ int e1inp_ipa_bts_rsl_connect(struct e1inp_line *line,
int e1inp_ipa_bts_rsl_connect_n(struct e1inp_line *line,
const char *rem_addr, uint16_t rem_port,
- uint8_t trx_id);
+ uint8_t trx_nr);
+int e1inp_ipa_bts_rsl_close_n(struct e1inp_line *line, uint8_t trx_nr);
void e1inp_sign_link_destroy(struct e1inp_sign_link *link);
int e1inp_line_update(struct e1inp_line *line);