Mercurial > dropbear
comparison kex.h @ 454:7e43f5e473b9
- Add -K keepalive flag for dropbear and dbclient
- Try to reduce the frequency of select() timeouts
- Add a max receive window size of 1MB
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 08 Aug 2007 15:12:06 +0000 |
parents | ad1b24e39bf3 |
children | d58c478bd399 |
comparison
equal
deleted
inserted
replaced
453:29953de278ae | 454:7e43f5e473b9 |
---|---|
51 unsigned recvnewkeys : 1; | 51 unsigned recvnewkeys : 1; |
52 | 52 |
53 unsigned donefirstkex : 1; /* Set to 1 after the first kex has completed, | 53 unsigned donefirstkex : 1; /* Set to 1 after the first kex has completed, |
54 ie the transport layer has been set up */ | 54 ie the transport layer has been set up */ |
55 | 55 |
56 long lastkextime; /* time of the last kex */ | 56 time_t lastkextime; /* time of the last kex */ |
57 unsigned int datatrans; /* data transmitted since last kex */ | 57 unsigned int datatrans; /* data transmitted since last kex */ |
58 unsigned int datarecv; /* data received since last kex */ | 58 unsigned int datarecv; /* data received since last kex */ |
59 | 59 |
60 }; | 60 }; |
61 | 61 |