Is there a thread safe version of libpcap around?

I have pcap programs which include hostnames, i.e "dst host blahblah.com"
and if multiple pcap programs fail to resolve the hostname then I sometimes
get a core. I've looked at the source and I believe the problem is there are
so many static variables in libpcap that it really does not work
multi-threaded.

Any help is appreciated.
Thanks,
Lance


-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to