Dear mailing list users,

In one of my rule I need to conditionally take action if given correlation 
operation exist. From SEC man page, I can see that under rule *action* I can 
use actions ‘reset’, ‘getwpos’ and ‘setwpos’ to work with correlation 
operation(s). 
I learn how to use ‘reset’ action and it’s working well for me.
In one of my rule I need to call two actions if given operation exist and do 
nothing if operation doesn’t exist.

The "pseudo code" may looks like:

action= if( exist([<offset>] [<string>]) ) { write - some_output_$0; reset 
[<offset>] [<string>]; }

One theoretical solution what I see is to use 'getwpos' action and use return 
value %<var> for test in next *if* statement, but maybe there is a "smarter" 
way how to test for the presence / existence of correlation operation.

Thank you,
Dusan

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to