comparison runopts.h @ 493:6cd2152aae0b idle-timeout

Idle-timeout patch from Farrell Aultman, need to figure whether to only account DATA packets and whether server->client data makes sense too.
author Matt Johnston <matt@ucc.asn.au>
date Mon, 22 Sep 2008 15:28:52 +0000
parents b956d6151600
children
comparison
equal deleted inserted replaced
492:b956d6151600 493:6cd2152aae0b
36 #if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) 36 #if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD)
37 int listen_fwd_all; 37 int listen_fwd_all;
38 #endif 38 #endif
39 unsigned int recv_window; 39 unsigned int recv_window;
40 unsigned int keepalive_secs; 40 unsigned int keepalive_secs;
41 41 unsigned int idle_timeout_secs;
42 } runopts; 42 } runopts;
43 43
44 extern runopts opts; 44 extern runopts opts;
45 45
46 int readhostkey(const char * filename, sign_key * hostkey, int *type); 46 int readhostkey(const char * filename, sign_key * hostkey, int *type);