[Snort-devel] USE_PTHREADS

Martin Roesch roesch at ...402...
Wed Jan 23 21:11:03 EST 2002


Yes. :)

    -Marty

Phil Wood wrote:
> 
> Folks,
> 
> I was looking over the use of USE_PTHREADS, pds[MAX_INTERFACES], and the
> #define pd pds[0] in snort.[ch] with respect to pcap_stats.  It appears
> to me that pcap_stats will always be called with "pd" which is always
> pds[0].  Would it be a good idea to make myint a global and then
> #define pd pds[myint]?
> 
> Thanks,
> 
> Phil
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel

--
Martin Roesch - Founder/CEO, Sourcefire Inc. - (410)552-6999
Sourcefire: Professional Snort Sensor and Management Console appliances
roesch at ...402... - http://www.sourcefire.com  
Snort: Open Source Network IDS - http://www.snort.org




More information about the Snort-devel mailing list