path: root/include
diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2020-10-10 19:01:29 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-10-15 05:39:09 +0200
commit3779494d4bcdd9ff93e42d72e83a0159d6e4e87b (patch)
treec422a76a0b17f66eb8fd6147ed8c4f214158b9e0 /include
parent8cf7d9479e95b4d274a2a3eb83be209bc415a7d3 (diff)
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
Diffstat (limited to 'include')
1 files changed, 3 insertions, 0 deletions
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);