aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_internal.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-03-04 22:29:17 +0100
committerHarald Welte <laforge@osmocom.org>2021-03-24 00:30:23 +0100
commitd164ef80f93eb36ba35c20015148188a7b4cf1b3 (patch)
treea498d0848cd28d7818840d373bf21ec859efe50e /src/gb/gprs_ns2_internal.h
parentgprs_ns2: dynamic NS-VC + NSE creation for IP-SNS in SGSN role (diff)
downloadlibosmocore-d164ef80f93eb36ba35c20015148188a7b4cf1b3.tar.xz
libosmocore-d164ef80f93eb36ba35c20015148188a7b4cf1b3.zip
gprs_ns2_sns: Allow VTY configuration of default binds for IP-SNS
In the IP-SNS SGSN role, we need to inform the BSS of our local IP endpoints. For statically configured NSEs, those are explicitly stated on a per-NSE level. For dynamically created IP-SNS NSEs, we are adding a new VTY command, using which the administrator can configure which binds should be advertised as IP endpoints to such BSS. Change-Id: Id01c29b07e9203c9305f2129361a4f5aaefa2c52 Related: OS#3373
Diffstat (limited to 'src/gb/gprs_ns2_internal.h')
-rw-r--r--src/gb/gprs_ns2_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2_internal.h b/src/gb/gprs_ns2_internal.h
index 567e1c57..29717c63 100644
--- a/src/gb/gprs_ns2_internal.h
+++ b/src/gb/gprs_ns2_internal.h
@@ -388,3 +388,6 @@ void ns2_nse_notify_unblocked(struct gprs_ns2_vc *nsvc, bool unblocked);
enum gprs_ns2_vc_mode ns2_dialect_to_vc_mode(enum gprs_ns2_dialect dialect);
int ns2_count_transfer_cap(struct gprs_ns2_nse *nse,
uint16_t bvci);
+
+/* vty */
+int ns2_sns_add_sns_default_binds(struct gprs_ns2_nse *nse);