Limit the amount of packets in a queue to 8.
[tinc] / src / net.h
index f1493eb..922c5cf 100644 (file)
--- a/src/net.h
+++ b/src/net.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: net.h,v 1.9.4.48 2002/03/22 11:43:48 guus Exp $
+    $Id: net.h,v 1.9.4.49 2002/03/27 15:01:36 guus Exp $
 */
 
 #ifndef __TINC_NET_H__
@@ -42,6 +42,8 @@
 
 #define MAXSOCKETS 128 /* Overkill... */
 
+#define MAXQUEUELENGTH 8 /* Maximum number of packats in a single queue */
+
 typedef struct mac_t
 {
   unsigned char x[6];