]> The Tcpdump Group git mirrors - libpcap/commit
From Scott Gifford:
authorguy <guy>
Mon, 8 Oct 2001 01:06:20 +0000 (01:06 +0000)
committerguy <guy>
Mon, 8 Oct 2001 01:06:20 +0000 (01:06 +0000)
commit9c0a593a2e6544dd6772186ed07a002017ffcdf6
treec4d6b4144a114884a025bcbc6445202df217e572
parent2de302a36243c0a11327a165dfbecc4860b88b13
From Scott Gifford:

Add a new "pcap_findalldevs()" routine to get a list of all
interfaces that can be opened with "pcap_open_live()", and a
"pcap_freealldevs()" routine to free the list.

Make "pcap_lookupdev()" use it, which also arranges that it will
not return a device that cannot be opened by "pcap_open_live()".

Allow the "any" device to be opened, on Linux, with "promisc"
non-zero; ignore the request for promiscuity, and return a
warning message indicating that promiscuous mode isn't supported
on the "any" device.

Document "pcap_findalldevs()" and "pcap_lookupdev()", and clean up some
items in the libpcap man page.
CREDITS
inet.c
pcap-linux.c
pcap.3
pcap.h