tcpdump mailing list archives

pcap_lookupdev() function


From: "Guillermo Hurtado" <guillermo.andres.hurtado () gmail com>
Date: Fri, 8 Feb 2008 19:38:58 +1930

Hello.

This is the first time I write to this list. I just read a post about the
behavior of function pcap_lookupdev().
Now I wonder: what if I have two or more (2...N) Ethernet NICs installed in
my computer and I want to retrieve the name of the second NIC to associate
to a socket and start reading from it?
Is there a way to achieve this using this function?

Thanks a lot in advance!
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: