Changeset 60 for trunk/src/renetcol.h

Show
Ignore:
Timestamp:
10/25/07 07:23:46 (15 years ago)
Author:
andreu
Message:

new aggregation mode based on SNMP index and AS aggregation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcol.h

    r59 r60  
    6161#include "pop.h" 
    6262#include "renetcolParam.h" 
     63#include "as.h" 
    6364 
    64 /* #include "mysql_mgmt.h" */ 
    65  
    66 struct SHMForAgg { 
     65struct SHMForAgg {/* if you change it, you must change renetcolAgg.h struct */ 
    6766  unsigned short currentTable; 
    6867  unsigned short secondTable; 
    6968  unsigned short readed; 
    7069  unsigned short v4PrefixNb; 
     70#ifdef ASACC 
     71  unsigned short ASNb; 
     72  struct AS ASTab[2][MAX_AS]; 
     73#endif 
    7174  struct PrefixV4 prefixV4Tab[2][MAX_IPV4_PREFIX]; 
    7275  struct PrefixV4 prefixV4SubnetTab[2][MAX_IPV4_SUBNET]; 
     
    7578#endif 
    7679  /*  struct PrefixV6 ; */ 
    77 }; /* if you change it, you must change renetcolAgg.h structure */ 
     80}; 
    7881 
    7982