We're writing an application around libpcap. The app may or may not have
DNS resolution available. We've noticed that when DNS resolution is not
available, we experience long delays when pre-testing the filters (prior to
applying them).

Is there a way to programatically disable name resolution in libpcap
(similar to tcpdump "-n" argument)? I haven't been able to find a variable
to pass in that would accomplish this directly in the library. I'm sure it
exists, but can't seem to find it.

Thanks.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to