diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-10-01 04:23:32 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-10-08 07:24:52 +0000 |
commit | a33ef3ae2bc6d52f3338328c7d7288b51c755df0 (patch) | |
tree | 5ed806f2a484450deb24c73aaff8966ef60983f1 /include | |
parent | d3d8e91bda542863ecf5e7596a6930eb7d40ee36 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |