Changeset 73 for trunk/src/dataFlowSet.c

Show
Ignore:
Timestamp:
07/24/08 10:47:32 (15 years ago)
Author:
andreu
Message:

last changes before next release

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dataFlowSet.c

    r72 r73  
    153153       * progression in a data flow Set  
    154154       * notes: 
    155        *   48=header ip + header netf 
    156        *   shift = shift if there is a template declaration  
     155       *   48= IP header size + NetFlow header size 
     156       *   shift = shift because we have a template declaration 
     157       *           inside data templates 
    157158       */ 
    158159      cpt++; 
     
    273274              (*myPtrs->offsetV9Ptr)++; 
    274275              /* FIXME : here , add a check on the field type */ 
    275               if ((pftmp->fieldType==8)||(pftmp->fieldType==12)){ 
     276              if ((pftmp->fieldType==8)||(pftmp->fieldType==12) 
     277                  ||(pftmp->fieldType==15)||(pftmp->fieldType==18)){ 
    276278                if ((((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->stor.lvalue)  
    277279                    == (*((unsigned long*)&buffer4))>>(32-((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->mask)<<(32-((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->mask) ) 
     
    804806         * the process renetcolSender with an IPC message queue. But, the perf 
    805807         * of IPC Msg was very bad with a default system compilation. 
    806          * So, now, we send information directly from here via sockets. 
     808         * So, now, we send information directly from here through sockets. 
    807809         */ 
    808810        tmpRuleList = myPtrs->rulesListPtr;