Changeset 23 for trunk/src/get_conf.c

Show
Ignore:
Timestamp:
02/05/07 17:50:16 (16 years ago)
Author:
andreu
Message:

optimization : new param : myPtrs in checkdataflowset function

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/get_conf.c

    r22 r23  
    172172      pV4TabPtr[i].mask = n4; 
    173173      pV4TabPtr[i].routerNb = n5; 
    174       pV4TabPtr[i].flowNb = 0; 
    175       pV4TabPtr[i].bytesNb = 0; 
    176       pV4TabPtr[i].pktsNb = 0; 
    177       pV4TabPtr[i].udpPktsNb = 0; 
    178       pV4TabPtr[i].tcpPktsNb = 0; 
    179       pV4TabPtr[i].icmpPktsNb = 0; 
    180       pV4TabPtr[i].othersPktsNb = 0; 
    181       pV4TabPtr[i].udpBytesNb = 0; 
    182       pV4TabPtr[i].tcpBytesNb = 0; 
    183       pV4TabPtr[i].icmpBytesNb = 0; 
    184       pV4TabPtr[i].othersBytesNb = 0; 
     174      pV4TabPtr[i].flowNbIN = 0; 
     175      pV4TabPtr[i].bytesNbIN = 0; 
     176      pV4TabPtr[i].pktsNbIN = 0; 
     177      pV4TabPtr[i].udpPktsNbIN = 0; 
     178      pV4TabPtr[i].tcpPktsNbIN = 0; 
     179      pV4TabPtr[i].icmpPktsNbIN = 0; 
     180      pV4TabPtr[i].othersPktsNbIN = 0; 
     181      pV4TabPtr[i].udpBytesNbIN = 0; 
     182      pV4TabPtr[i].tcpBytesNbIN = 0; 
     183      pV4TabPtr[i].icmpBytesNbIN = 0; 
     184      pV4TabPtr[i].othersBytesNbIN = 0; 
     185      pV4TabPtr[i].udpFlowNbIN = 0; 
     186      pV4TabPtr[i].tcpFlowNbIN = 0; 
     187      pV4TabPtr[i].icmpFlowNbIN = 0; 
     188      pV4TabPtr[i].othersFlowNbIN = 0; 
     189      pV4TabPtr[i].flowNbOUT = 0; 
     190      pV4TabPtr[i].bytesNbOUT = 0; 
     191      pV4TabPtr[i].pktsNbOUT = 0; 
     192      pV4TabPtr[i].udpPktsNbOUT = 0; 
     193      pV4TabPtr[i].tcpPktsNbOUT = 0; 
     194      pV4TabPtr[i].icmpPktsNbOUT = 0; 
     195      pV4TabPtr[i].othersPktsNbOUT = 0; 
     196      pV4TabPtr[i].udpBytesNbOUT = 0; 
     197      pV4TabPtr[i].tcpBytesNbOUT = 0; 
     198      pV4TabPtr[i].icmpBytesNbOUT = 0; 
     199      pV4TabPtr[i].othersBytesNbOUT = 0; 
     200      pV4TabPtr[i].udpFlowNbOUT = 0; 
     201      pV4TabPtr[i].tcpFlowNbOUT = 0; 
     202      pV4TabPtr[i].icmpFlowNbOUT = 0; 
     203      pV4TabPtr[i].othersFlowNbOUT = 0; 
    185204    } 
    186205  if( fclose(prefixFile) == 0) {