Show
Ignore:
Timestamp:
06/23/09 17:42:00 (14 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/dataFlowSet.c

    r112 r113  
    112112                       myPtrs->currentHeaderV9Ptr->sourceId,  
    113113                       (*myPtrs->currentFlowsetIdPtr)))!=NULL ) { 
     114    myPtrs->currentMIB->dataFlowSetNb += 1; 
    114115#ifdef DEBUG 
    115116    fprintf(stderr, 
     
    654655         * end of one flow (not the flowset)  
    655656         */ 
     657        myPtrs->currentMIB->realFlowNb += 1; 
    656658#ifdef DEBUG 
    657659        flowCpt++; 
     
    12711273    if ((tmpOpt=existTplOptId(myPtrs->currentRouterPtr, myPtrs->currentHeaderV9Ptr->sourceId,  
    12721274                              (*myPtrs->currentFlowsetIdPtr)))!=NULL) {         
     1275 
     1276      myPtrs->currentMIB->optDataFlowSetNb += 1; 
    12731277#ifdef DEBUG 
    12741278      fprintf(stderr,"<d id: %hu, lg %hu", (*myPtrs->currentFlowsetIdPtr), data_length); 
     
    13421346      fprintf(stderr,">"); 
    13431347#endif 
     1348      myPtrs->currentMIB->realFlowNb += 1; 
    13441349      return (data_length+shift); 
    13451350    } else {