[Oisf-devel] help, not understand the use of slot_pre_pq and slot_post_pq

iswalker mail2cissp at gmail.com
Wed May 23 15:12:27 UTC 2012


hi,when I read suricata code,the following two data item slot_pre_pq and
slot_post_pq    confused me
In a packet process path,when should we use slot_pre_pq and when we should
use slot_post_pq?
can anyone show an example ??

thanks!!

 /* queue filled by the SlotFunc with packets that will
     * be processed futher _before_ the current packet.
     * The locks in the queue are NOT used */
    PacketQueue slot_pre_pq;

    /* queue filled by the SlotFunc with packets that will
     * be processed futher _after_ the current packet. The
     * locks in the queue are NOT used */
    PacketQueue slot_post_pq;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20120523/08337874/attachment-0002.html>


More information about the Oisf-devel mailing list