Changeset 60 for trunk/src/renetcolAgg.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/renetcolAgg.h

    r59 r60  
    4242#include "pop.h" 
    4343#include "renetcolParam.h" 
     44#include "as.h" 
    4445 
    45 struct SHMForAgg { 
     46struct SHMForAgg { /* if you change it, you must change renetcol.h structure */ 
    4647  unsigned short currentTable; 
    4748  unsigned short secondTable; 
    4849  unsigned short readed; 
    4950  unsigned short v4PrefixNb; 
     51#ifdef ASACC 
     52  unsigned short ASNb; 
     53  struct AS ASTab[2][MAX_AS]; 
     54#endif 
    5055  struct PrefixV4 prefixV4Tab[2][MAX_IPV4_PREFIX]; 
    5156  struct PrefixV4 prefixV4SubnetTab[2][MAX_IPV4_SUBNET]; 
     
    5459#endif 
    5560  /*  struct PrefixV6 ; */ 
    56 }; /* if you change it, you must change renetcol.h structure */ 
     61};