X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.h;h=4d2ea2d35b2987d887269ab002165632e6768922;hp=5f8b970a93b48e7faa262be898f1a3ac1ee4dbb2;hb=8b2b67e26c5b971761f5015764d5e188f6343bc4;hpb=627f7c22b447bd464b536cd016278545674df93d diff --git a/src/connection.h b/src/connection.h index 5f8b970a..4d2ea2d3 100644 --- a/src/connection.h +++ b/src/connection.h @@ -17,7 +17,7 @@ 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.27 2002/06/21 10:11:12 guus Exp $ + $Id: connection.h,v 1.1.2.30 2002/09/04 16:26:44 guus Exp $ */ #ifndef __TINC_CONNECTION_H__ @@ -99,6 +99,7 @@ typedef struct connection_t { char buffer[MAXBUFSIZE]; /* metadata input buffer */ int buflen; /* bytes read into buffer */ + int reqlen; /* length of incoming request */ int tcplen; /* length of incoming TCPpacket */ int allow_request; /* defined if there's only one request possible */ @@ -108,6 +109,7 @@ typedef struct connection_t { } connection_t; extern avl_tree_t *connection_tree; +extern connection_t *broadcast; extern void init_connections(void); extern void exit_connections(void);