Changeset 114 for trunk/src/renetcol.c

Show
Ignore:
Timestamp:
06/24/09 17:54:07 (13 years ago)
Author:
andreu
Message:

add some counters in software (see renetcol_mib.h & dataFlowSet.c

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcol.c

    r113 r114  
    991991  theMIB->flowNb = 0;           
    992992  theMIB->realFlowNb = 0;  
    993   theMIB->ipv4BytesIn = 0; 
    994   theMIB->ipv4BytesOut = 0; 
    995   theMIB->ipv4PcktsIn = 0; 
    996   theMIB->ipv4PcktsOut = 0; 
    997   theMIB->ipv4FlowIn = 0; 
    998   theMIB->ipv4FlowOut = 0;     
     993  theMIB->ipv4Bytes = 0; 
     994  theMIB->ipv4Pckts = 0; 
     995  theMIB->ipv4Flow = 0;     
    999996  theMIB->ipv4IcmpFlowNb = 0; 
    1000997  theMIB->ipv4IcmpBytesNb = 0; 
     
    10331030  theMIB->ipv4OthersApPcktsNb = 0; 
    10341031  theMIB->ipv4OthersApFlowNb = 0; 
    1035   theMIB->ipv6BytesIn = 0; 
    1036   theMIB->ipv6BytesOut = 0; 
    1037   theMIB->ipv6PcktsIn = 0; 
    1038   theMIB->ipv6PcktsOut = 0; 
    1039   theMIB->ipv6FlowIn = 0; 
    1040   theMIB->ipv6FlowOut = 0; 
     1032  theMIB->ipv6Bytes = 0; 
     1033  theMIB->ipv6Pckts = 0; 
     1034  theMIB->ipv6Flow = 0; 
    10411035  theMIB->ipv6IcmpFlowNb = 0; 
    10421036  theMIB->ipv6IcmpBytesNb = 0; 
     
    10651059  theMIB->ipv6FlowSizeBytesLT10M = 0;   
    10661060  theMIB->ipv6FlowSizeBytesLT100M = 0;  
    1067   theMIB->ipv6FlowSizeBytesMT10M = 0;   
     1061  theMIB->ipv6FlowSizeBytesMT100M = 0;   
    10681062  theMIB->ipv6WebBytesNb = 0; 
    10691063  theMIB->ipv6WebPcktsNb = 0;