Changeset 73 for trunk/src/dataFlowSet.c
- Timestamp:
- 07/24/08 10:47:32 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dataFlowSet.c
r72 r73 153 153 * progression in a data flow Set 154 154 * 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 157 158 */ 158 159 cpt++; … … 273 274 (*myPtrs->offsetV9Ptr)++; 274 275 /* 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)){ 276 278 if ((((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->stor.lvalue) 277 279 == (*((unsigned long*)&buffer4))>>(32-((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->mask)<<(32-((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->mask) ) … … 804 806 * the process renetcolSender with an IPC message queue. But, the perf 805 807 * of IPC Msg was very bad with a default system compilation. 806 * So, now, we send information directly from here viasockets.808 * So, now, we send information directly from here through sockets. 807 809 */ 808 810 tmpRuleList = myPtrs->rulesListPtr;