X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet.h;h=487fcae4de5d3b297c94e8ae855dd2184842c5a4;hb=503c32eb0ef9d6329e931559082f4ddf6d487dc6;hp=64f92a2ae290a470efd9e005e8e39f9691462431;hpb=228e7a5c8f0e517dcede50f886965a44fca39853;p=meshlink diff --git a/src/net.h b/src/net.h index 64f92a2a..487fcae4 100644 --- a/src/net.h +++ b/src/net.h @@ -1,7 +1,7 @@ /* net.h -- header for net.c Copyright (C) 1998-2005 Ivo Timmermans - 2000-2005 Guus Sliepen + 2000-2006 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,8 +38,6 @@ #define MAXSOCKETS 128 /* Overkill... */ -#define MAXQUEUELENGTH 8 /* Maximum number of packats in a single queue */ - typedef struct mac_t { uint8_t x[6]; } mac_t; @@ -105,6 +103,7 @@ typedef struct listen_socket_t { } listen_socket_t; #include "conf.h" +#include "list.h" typedef struct outgoing_t { char *name; @@ -114,6 +113,8 @@ typedef struct outgoing_t { struct addrinfo *aip; } outgoing_t; +extern list_t *outgoing_list; + extern int maxoutbufsize; extern int seconds_till_retry; extern int addressfamily;