From a33ef3ae2bc6d52f3338328c7d7288b51c755df0 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 1 Oct 2020 04:23:32 +0200 Subject: LCS: SCCP next conn id: prepare Lb-interface When adding the Lb interface, it is necessary to determine an unused conn id across *all* SCCP users. Prepare adding Lb by moving conn id creation out of the gscon code and generalizing. Change-Id: I12fcb18f6e4380f72929cfe7681bac05330a8c9a --- include/osmocom/bsc/gsm_data.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 8d07fb193..7021fa4b8 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -51,6 +51,7 @@ struct gsm_bts_trx; struct bsc_subscr; struct gprs_ra_id; struct handover; +struct osmo_sccp_instance; #define OBSC_LINKID_CB(__msgb) (__msgb)->cb[3] @@ -1245,4 +1246,6 @@ enum gsm_phys_chan_config gsm_pchan_by_lchan_type(enum gsm_chan_t type); enum gsm48_rr_cause bsc_gsm48_rr_cause_from_gsm0808_cause(enum gsm0808_cause c); enum gsm48_rr_cause bsc_gsm48_rr_cause_from_rsl_cause(uint8_t c); +int bsc_sccp_inst_next_conn_id(struct osmo_sccp_instance *sccp); + #endif /* _GSM_DATA_H */ -- cgit v1.2.3