diff options
author | Harald Welte <laforge@osmocom.org> | 2021-04-27 21:56:25 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-04-27 21:57:52 +0200 |
commit | c96d716606b958f67c9cbcaa8f2e660042b233cc (patch) | |
tree | c6f31cd4c3948da4958531a7fe7559c78952fc3c /osmo-release.sh | |
parent | ce53e03dc9ee231103c2ac1d3f2cb52515bbce0e (diff) |
ns2: Fix setting the DSCP value.
DSCP is a 6-bit value (0..63) stored in the upper 6 bits of what was
formerly known as TOS bits. We must
* make sure the user can only specify 0..63
* shift the value by two bits when using the IP_TOS socket option
We achieve the latter by using the recently-added osmo_sock_set_dscp()
helper.
Change-Id: I64fee56b04d0ecd128bf661699d5071817ea96ec
Closes: OS#5136
Diffstat (limited to 'osmo-release.sh')
0 files changed, 0 insertions, 0 deletions