Show
Ignore:
Timestamp:
02/09/09 17:55:11 (14 years ago)
Author:
andreu
Message:

IPv6 link aggregation mode (first step : identify flows)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/routers_mgmt.h

    r60 r95  
    4848  TplOptionPtr tplOptList; /* list of the optional template definitions */ 
    4949  unsigned long sampled; /* sampling value: (one for) 10, 100 or 1(full mode)*/ 
     50  unsigned short ID;       /* internal ID */ 
    5051#ifdef IPV4AGGIDSNMP 
    5152  unsigned short snmpIndexList[MAX_SNMP_INDEX]; /* 0:Backbone, 1:Customer */ 
     53  unsigned short snmpIndexType[MAX_INDEX_BY_ROUTER]; /* 0:Backbone, 1:Customer */ 
     54  unsigned short snmpIndexID[MAX_INDEX_BY_ROUTER]; 
    5255#endif 
    5356  RouterPtr next; 
     
    7275  struct PrefixV4 *currentV4SubnetTab; 
    7376  struct PrefixV4 *secondV4SubnetTab; 
     77#ifdef IPV6AGGIDSNMP 
     78  struct PrefixV6 *currentV6Tab; 
     79  struct PrefixV6 *secondV6Tab; 
     80#endif 
     81#ifdef IPV6LINKAGG 
     82  struct IndexV6 *currentV6IndexTab; 
     83  struct IndexV6 *secondV6IndexTab; 
     84#endif 
    7485#ifdef ASACC 
    7586  unsigned short asNb; 
     
    8394 
    8495RouterPtr notExistRouter(RouterPtr, unsigned long); 
    85 RouterPtr addRouter(RouterPtr, unsigned long); 
     96RouterPtr addRouter(RouterPtr, unsigned long, unsigned short); 
    8697RouterPtr updateRouter(RouterPtr, unsigned long, unsigned long); 
    8798TplFlowSetPtr newRouterTplList();