summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2014-07-16 22:53:32 +0800
committerMatt Johnston <matt@ucc.asn.au>2014-07-16 22:53:32 +0800
commitda57dd13c5352efd63c8692bbc12d19c9f882a2b (patch)
treeec18c7626bb47b3c4540f78d65d2a49b8a2d2fbf /dbutil.h
parentf1826ea389bfddb6a0d52314d01e3d8b8f46eec8 (diff)
Set tcp priority as follows:
if (connecting || ptys || x11) tos = LOWDELAY; else if (tcp_forwards) tos = 0; else tos = BULK; TCP forwards could be either lowdelay or bulk, hence the default priority.
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbutil.h b/dbutil.h
index afc49ff..8110ffc 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -62,9 +62,9 @@ extern int debug_trace;
#endif
enum dropbear_prio {
- DROPBEAR_PRIO_DEFAULT,
- DROPBEAR_PRIO_LOWDELAY,
- DROPBEAR_PRIO_BULK,
+ DROPBEAR_PRIO_DEFAULT = 'dffd',
+ DROPBEAR_PRIO_LOWDELAY = 'lddl',
+ DROPBEAR_PRIO_BULK = 'bllb',
};
char * stripcontrol(const char * text);