Mercurial > dropbear
comparison tcpfwd.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 | 04ede40a529a |
children | f92eb625c48d |
comparison
equal
deleted
inserted
replaced
940:e9dfb6d15193 | 941:5daedffd0769 |
---|---|
68 void cli_recv_msg_request_success(); | 68 void cli_recv_msg_request_success(); |
69 void cli_recv_msg_request_failure(); | 69 void cli_recv_msg_request_failure(); |
70 | 70 |
71 /* Common */ | 71 /* Common */ |
72 int listen_tcpfwd(struct TCPListener* tcpinfo); | 72 int listen_tcpfwd(struct TCPListener* tcpinfo); |
73 int tcp_prio_inithandler(struct Channel* chan); | |
74 | |
75 #define CHANNEL_ID_TCPFORWARDED 'tcpf' | |
73 | 76 |
74 #endif | 77 #endif |