along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: connection.h,v 1.1.2.14 2001/10/10 08:49:47 guus Exp $
+ $Id: connection.h,v 1.1.2.16 2001/10/10 20:35:10 guus Exp $
*/
#ifndef __TINC_CONNECTION_H__
int protocol_version; /* used protocol */
int socket; /* socket used for this connection */
+ long int options; /* options for this connection */
status_bits_t status; /* status info */
struct node_t *node; /* node associated with the other end */
char *mychallenge; /* challenge we received from him */
char *hischallenge; /* challenge we sent to him */
- char *buffer; /* metadata input buffer */
+ char buffer[MAXBUFSIZE]; /* metadata input buffer */
int buflen; /* bytes read into buffer */
int tcplen; /* length of incoming TCPpacket */
int allow_request; /* defined if there's only one request possible */