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
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_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);