Mercurial > dropbear
view ltc_prng.h @ 941:5daedffd0769
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.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 16 Jul 2014 22:53:32 +0800 |
parents | c19acba28590 |
children | deed0571cacc |
line wrap: on
line source
#ifndef _LTC_PRNG_H_DROPBEAR #define _LTC_PRNG_H_DROPBEAR #include "options.h" #include "includes.h" #ifdef DROPBEAR_LTC_PRNG extern const struct ltc_prng_descriptor dropbear_prng_desc; #endif /* DROPBEAR_LTC_PRNG */ #endif /* _LTC_PRNG_H_DROPBEAR */