Changeset 24 for trunk/src/renetcol.h

Show
Ignore:
Timestamp:
02/06/07 18:31:00 (16 years ago)
Author:
andreu
Message:

aggregation feature first E2E step : collect to rrdfiles

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcol.h

    r23 r24  
    8686#define MAX_MPLS_FLOW 200 
    8787 
    88 /* struct SHMForAgg { */ 
    89 /*   struct PrefixV4 prefixV4Tab[MAX_IPV4_PREFIX]; */ 
    90 /* } */ 
     88#define SHMSIZE 3000000 
     89 
     90#define STEP 5  /* in min */ 
     91 
     92struct SHMForAgg { 
     93  unsigned short currentTable; 
     94  unsigned short readed; 
     95  unsigned short v4PrefixNb; 
     96  struct PrefixV4 prefixV4Tab[2][MAX_IPV4_PREFIX]; 
     97  /*  struct PrefixV6 ; */ 
     98}; 
    9199 
    92100