diff options
author | Matt Johnston <matt@ucc.asn.au> | 2022-01-27 14:34:10 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2022-01-27 14:34:10 +0800 |
commit | eae3c90029bd1bac2c6b0d412ca2c852a00f9a75 (patch) | |
tree | aa34e079115a8bc3d7de5a6ee6ad4f49f990bc41 /channel.h | |
parent | b6a1fc201e6702dd2420bd8658cd223774769f9c (diff) | |
download | dropbear-eae3c90029bd1bac2c6b0d412ca2c852a00f9a75.tar.gz |
Leave non-interactive at default QoS class
Lower class levels are less well defined, and non-interactive
SSH can carry various different types of applications.
This change also sets lowdelay class (AF21) earlier in an an outbound
dbclient session
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -28,6 +28,7 @@ #include "includes.h" #include "buffer.h" #include "circbuffer.h" +#include "netio.h" #define SSH_OPEN_ADMINISTRATIVELY_PROHIBITED 1 #define SSH_OPEN_CONNECT_FAILED 2 @@ -41,13 +42,6 @@ struct ChanType; -enum dropbear_channel_prio { - DROPBEAR_CHANNEL_PRIO_INTERACTIVE, /* pty shell, x11 */ - DROPBEAR_CHANNEL_PRIO_UNKNOWABLE, /* tcp - can't know what's being forwarded */ - DROPBEAR_CHANNEL_PRIO_BULK, /* the rest - probably scp, rsync, git, or something */ - DROPBEAR_CHANNEL_PRIO_EARLY, /* channel is still being set up */ -}; - struct Channel { unsigned int index; /* the local channel index */ @@ -88,7 +82,7 @@ struct Channel { const struct ChanType* type; - enum dropbear_channel_prio prio; + enum dropbear_prio prio; }; struct ChanType { |