Changeset 36 for trunk/src/renetcol.h

Show
Ignore:
Timestamp:
05/19/07 11:57:44 (16 years ago)
Author:
andreu
Message:

ticket #1 #2 #7 closed - release 0.0.9beta

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcol.h

    r29 r36  
    5959#include "rules_mgmt.h" 
    6060#include "msg_mgmt.h" 
     61#include "pop.h" 
     62#include "renetcolParam.h" 
    6163 
    6264/* #include "mysql_mgmt.h" */ 
    63  
    64 #define SOCKET_BUFFER_SIZE 1500 
    65  
    66 #define RECEPTION_ADDRESS "" /* your collector address like 10.0.0.90 */ 
    67 #define RECEPTION_PORT 9999 /* your collector port to recept netflow export */ 
    68  
    69 #define TIME_OUT 300 /* MAJSCH */ 
    70  
    71 #define ROUTER_INDEX_MAX 70 
    72 #define FIELD_TYPE_NUMBER 89 
    73 #define MAX_RULES_PER_FIELD 10 
    74  
    75 #ifdef CRIHAN 
    76 #define OUTPUT_IP "/tmp/ipflow" 
    77 #define EXTENSION ".txt"  
    78 #define OUTPUT_MPLS "/tmp/mplsflow" 
    79 #define MAX_IP_OUTPUT_FILES 3 
    80 #define MAX_MPLS_OUTPUT_FILES 3 
    81 #define IP_TIME_THRESHOLD 60 /* in sec */ 
    82 #define MPLS_TIME_THRESHOLD 60 /* in sec */ 
    83 #endif /* CRIHAN */ 
    84  
    85 #define MAX_IP_FLOW 10000 
    86 #define MAX_MPLS_FLOW 200 
    87  
    88 #define SHMSIZE 33554432 
    89  
    90 #define STEP 5  /* in min */ 
    9165 
    9266struct SHMForAgg { 
     
    9670  unsigned short v4PrefixNb; 
    9771  struct PrefixV4 prefixV4Tab[2][MAX_IPV4_PREFIX]; 
     72  struct POP matrixPOP[2][ROUTER_INDEX_MAX][ROUTER_INDEX_MAX]; 
    9873  /*  struct PrefixV6 ; */ 
    99 }; 
     74}; /* if you change it, you must change renetcolAgg.h structure */ 
    10075 
    10176