diff options
author | Harald Welte <laforge@osmocom.org> | 2021-04-28 19:57:12 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-04-29 19:55:34 +0200 |
commit | d99e4eee2b602e3b878398e2fffafc2b7c97081b (patch) | |
tree | a15d4ace0897c6f283864728af62fd866862b591 /include | |
parent | 915caf75e24632084b16ff5e45d247da1b6f169e (diff) |
ns2: Allow setting the socket priority for a UDP bind
Change-Id: Ifdfa086ce1c8d62b256abb3454b70cf53da9dcdb
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/gprs/gprs_ns2.h | 1 |
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); |