mirror of https://gerrit.osmocom.org/libosmocore
Harald Welte
ce53e03dc9
At least on Linux, sockets have a IP_TOS socket option that can be configured to set the TOS. However, TOS (of RFC791) was replaced by the DSCP (of RFC2474) in 1998. As the DCSP bits are only the upper 6 bits of the TOS bits, let's introduce a helper to get, mask and set the DSCP values in the TOS bits. Related: OS#5136, SYS#5427 Change-Id: Ia4ba389a5b7e3e9d5f17a742a900d6fd68c08e40 |
||
---|---|---|
.. | ||
codec | ||
coding | ||
core | ||
crypt | ||
ctrl | ||
gprs | ||
gsm | ||
sim | ||
usb | ||
vty |