Mercurial > dropbear
diff channel.h @ 1859:1d86a58fb52d
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
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 27 Jan 2022 14:34:10 +0800 |
parents | 6022df862942 |
children |
line wrap: on
line diff
--- a/channel.h Tue Jan 25 17:32:20 2022 +0800 +++ b/channel.h Thu Jan 27 14:34:10 2022 +0800 @@ -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 @@ const struct ChanType* type; - enum dropbear_channel_prio prio; + enum dropbear_prio prio; }; struct ChanType {