Show
Ignore:
Timestamp:
06/23/09 17:42:00 (13 years ago)
Author:
andreu
Message:

ticket#27 : new global structure for counters.
some bug correction in renetcol.c

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/routers_mgmt.h

    r96 r113  
    4141#include "headers_mgmt.h" 
    4242#include "rules_mgmt.h" 
     43#include "renetcol_mib.h" 
     44#include "engine_mgmt.h" 
    4345 
    4446typedef struct Router * RouterPtr; 
     
    4749  TplFlowSetPtr tplList;   /* list of the template definition */ 
    4850  TplOptionPtr tplOptList; /* list of the optional template definitions */ 
     51  NDEEnginePtr engineList;    /* list of engines */ 
    4952  unsigned long sampled;   /* sampling value: (one for) 10, 100 or 1(full mode)*/ 
    5053  unsigned short ID;       /* internal ID, create during routers file reading */ 
     
    7174  unsigned long *routersID; 
    7275#endif 
     76  struct RenetcolMIB *currentMIB; 
     77  struct RenetcolMIB *secondMIB; 
    7378  struct PrefixV4 *currentV4Tab; 
    7479  struct PrefixV4 *secondV4Tab; 
     
    98103TplFlowSetPtr newRouterTplList(); 
    99104TplFlowSetPtr deleteTplFlSet(TplFlowSetPtr); 
     105NDEEnginePtr newRouterEngineList(); 
     106NDEEnginePtr existEngId(RouterPtr, unsigned long); 
    100107TplOptionPtr newRouterTplOptList(); 
    101108TplOptionPtr deleteTplOption(TplOptionPtr);