From 3779494d4bcdd9ff93e42d72e83a0159d6e4e87b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 10 Oct 2020 19:01:29 +0200 Subject: LCS: disable Lb interface by default, add vty 'smlc' / 'enable' To not modify previous SCCP behavior of OsmoBSC, keep the Lb interface disabled by default. The following configuration enables the Lb interface: smlc enable Change-Id: I01314a29a2cad6f325d9f4687a9dedca6b90a3ce --- include/osmocom/bsc/lb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/osmocom/bsc/lb.h b/include/osmocom/bsc/lb.h index 06499868a..db191ba9d 100644 --- a/include/osmocom/bsc/lb.h +++ b/include/osmocom/bsc/lb.h @@ -35,6 +35,8 @@ enum { }; struct smlc_config { + bool enable; + uint32_t cs7_instance; bool cs7_instance_valid; struct osmo_sccp_instance *sccp; @@ -56,5 +58,6 @@ extern const struct rate_ctr_desc smlc_ctr_description[]; extern const struct rate_ctr_group_desc smlc_ctrg_desc; int lb_init(); +int lb_start_or_stop(); int lb_send(struct gsm_subscriber_connection *conn, const struct bssap_le_pdu *bssap_le); void lb_close_conn(struct gsm_subscriber_connection *conn); -- cgit v1.2.3