summaryrefslogtreecommitdiff
path: root/netio.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2022-01-25 17:32:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2022-01-25 17:32:20 +0800
commitb6a1fc201e6702dd2420bd8658cd223774769f9c (patch)
tree5407e3dd346f72a48c5a7af68515f43cfc9e8d9f /netio.h
parentc0fae5bf2268343f6dfd3f96524731f691c035a1 (diff)
downloaddropbear-b6a1fc201e6702dd2420bd8658cd223774769f9c.tar.gz
Use DSCP for IP QoS traffic classes
The previous TOS values are deprecated and not used by modern traffic classifiers. This sets AF21 for "interactive" traffic (with a tty). Non-tty traffic sets AF11 - that indicates high throughput but is not lowest priority (which would be CS1 or LE). This differs from the CS1 used by OpenSSH, it lets interactive git over SSH have higher priority than background least effort traffic. Dropbear's settings here should be suitable with the diffservs used by CAKE qdisc.
Diffstat (limited to 'netio.h')
0 files changed, 0 insertions, 0 deletions