>>>>> "Henry," == Henry, Brad ERM <[EMAIL PROTECTED]> writes:
    Henry> Hello, this might be a bit of a naive question, but what libpcap functions
    Henry> are usable from within a pthread? What concurrency issues do I have to worry
    Henry> about? I am planning to have multiple pthreads compile different filters and
    Henry> run pcap_loop on the same file, maybe over an nfs mounted drive. Is that
    Henry> moderately reasonable?

  I'm pretty sure that you should not compile different filters at the same
time. flex/bison/lex/yacc just aren't up to that.
  
  I think that pcap_loop() might be okay, and pcap_offline_read() looks okay.
  I can't comment about the user-mode bpf interpreter.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy");  [
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to