On Apr 13, 2016, at 8:44 AM, Ed Sealing <ed.seal...@sealingtech.org> wrote:

> Is there a way to programatically disable name resolution in libpcap

No.

> (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.

You can't find it because it *doesn't* exist.

A new API, such as pcap_compile_ex() with a Boolean flag, or 
pcap_compile_nonameres() with no flag and no name resolution, would have to be 
provided.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to