However, I am pretty sure that I did not catch all
places where 256 can be replaced by it.

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>

Index: oisf/src/suricata.h
===================================================================
--- oisf.orig/src/suricata.h
+++ oisf/src/suricata.h
@@ -124,12 +124,14 @@ enum {
 #define IS_SURI_HOST_MODE_SNIFFER_ONLY(host_mode)  ((host_mode) == SURI_HOST_IS_SNIFFER_ONLY)
 #define IS_SURI_HOST_MODE_ROUTER(host_mode)  ((host_mode) == SURI_HOST_IS_ROUTER)
 
+#define NUM_QUEUES				256
+
 /* queue's between various other threads
  * XXX move to the TmQueue structure later
  */
-PacketQueue trans_q[256];
+PacketQueue trans_q[NUM_QUEUES];
 
-SCDQDataQueue data_queues[256];
+SCDQDataQueue data_queues[NUM_QUEUES];
 
 typedef struct SCInstance_ {
     int run_mode;


