path: root/include/osmocom
diff options
authorAlexander Couzens <lynxis@fe80.eu>2021-02-08 23:13:12 +0100
committerAlexander Couzens <lynxis@fe80.eu>2021-02-12 03:34:32 +0100
commitc4704769237537478b2671225344aa64ad7bdb60 (patch)
treeaa6f951406bfa900fce0135cbab7beb4e4b28c62 /include/osmocom
parent855155c6ae9d4452b4cddc6ac711c2946d7b5377 (diff)
gprs_ns2: add signalling & data weights for UDP binds
Allow to assign a signalling and data weight to UDP binds. Those weights will be used when doing dynamic configuration over IP-SNS. This is only the first part which only uses the assigned weights when doing a new SNS configuration. The outgoing change weight procedure will be supported in a later patch when the SNS fsm supports outgoing procedures. Related: SYS#5354 Change-Id: I5133e4229377d44772a9af28628a2bc420fea34b
Diffstat (limited to 'include/osmocom')
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h
index 1bf8c7f6..07e6c451 100644
--- a/include/osmocom/gprs/gprs_ns2.h
+++ b/include/osmocom/gprs/gprs_ns2.h
@@ -215,6 +215,8 @@ struct gprs_ns2_vc *gprs_ns2_ip_connect_inactive(struct gprs_ns2_vc_bind *bind,
const struct osmo_sockaddr *remote,
struct gprs_ns2_nse *nse,
uint16_t nsvci);
+void gprs_ns2_ip_bind_set_sns_weight(struct gprs_ns2_vc_bind *bind,
+ uint8_t signalling, uint8_t data);
void gprs_ns2_free_bind(struct gprs_ns2_vc_bind *bind);
void gprs_ns2_free_binds(struct gprs_ns2_inst *nsi);