mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 21:13:44 +00:00
We have VTY options that allow to set the DSCP value. However, we then call a function to set the TOS bits in the kernel. This is very wrong. The DSCP is only the upper 6 bits of the 8-bit TOS value, and hence we are mussing that translation. As libosmocore now has a helper function osmo_sock_set_dscp(), let's make use of it and don't care about the low-level details. However, this means we need to finally remove the deprecated alias for "rtp ip-tos <0-255>". Closes: OS#5137 Change-Id: I9c18c90273be97aedd2ad212b82f650e35c32851 Depends: libosmocore.git Ia4ba389a5b7e3e9d5f17a742a900d6fd68c08e40
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
# When cleaning up this file upon a release:
|
|
#
|
|
# - Note that the release version number is entirely unrelated to the API
|
|
# versions. A release version 5.2.3 may happily have an API version of 42:7:5.
|
|
#
|
|
# - Bump API version in src/lib*/Makefile.am files according to chapter
|
|
# "Library interface versions" of the libtool documentation.
|
|
# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
|
#
|
|
# - Iff the 'current' API version has changed, rename debian/lib*.install
|
|
#
|
|
# API version bumping for the impatient:
|
|
# LIBVERSION=c:r:a (current:revision_of_current:backwards_compat_age)
|
|
# 5:2:4 means that
|
|
# - this implements version 5 of the API;
|
|
# - this is the 2nd (compatible) revision of API version 5;
|
|
# - this is backwards compatible to all APIs since 4 versions ago,
|
|
# i.e. callers that need API versions from 1 to 5 can use this.
|
|
#
|
|
# Bumping API versions recipe:
|
|
# If the library source code has changed at all since the last update, r++;
|
|
# If any interfaces have been added, removed, or changed since the last update, c++, r=0;
|
|
# If any interfaces have been added since the last public release, a++;
|
|
# If any interfaces have been removed or changed since the last public release, a=0.
|
|
#
|
|
#library what description / commit summary line
|
|
update dependency to libosmocore > 1.5.1 for our use of osmo_sock_set_dscp()
|