aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-04-28 19:57:12 +0200
committerHarald Welte <laforge@osmocom.org>2021-04-29 19:55:34 +0200
commitd99e4eee2b602e3b878398e2fffafc2b7c97081b (patch)
treea15d4ace0897c6f283864728af62fd866862b591 /include
parent915caf75e24632084b16ff5e45d247da1b6f169e (diff)
ns2: Allow setting the socket priority for a UDP bind
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gprs/gprs_ns2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h
index be59a679..a9c144cc 100644
--- a/include/osmocom/gprs/gprs_ns2.h
+++ b/include/osmocom/gprs/gprs_ns2.h
@@ -246,6 +246,7 @@ bool gprs_ns2_ip_vc_equal(const struct gprs_ns2_vc *nsvc,
const struct osmo_sockaddr *gprs_ns2_ip_bind_sockaddr(struct gprs_ns2_vc_bind *bind);
int gprs_ns2_is_ip_bind(struct gprs_ns2_vc_bind *bind);
int gprs_ns2_ip_bind_set_dscp(struct gprs_ns2_vc_bind *bind, int dscp);
+int gprs_ns2_ip_bind_set_priority(struct gprs_ns2_vc_bind *bind, uint8_t priority);
struct gprs_ns2_vc *gprs_ns2_nsvc_by_sockaddr_bind(
struct gprs_ns2_vc_bind *bind,
const struct osmo_sockaddr *saddr);