aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.h
AgeCommit message (Collapse)AuthorFilesLines
2003-10-10Get the version number of the libpcap/WinPcap with which we're runningGuy Harris1-1/+16
with "pcap_lib_version()", if available. svn path=/trunk/; revision=8656
2003-09-10Have "get_interface_list()" return a list of "if_info_t" structuresGuy Harris1-1/+11
containing a pointer to an interface name and possibly a pointer to an interface description (although that pointer might be null if no description is available), rather than having the Windows version glue together the name and description into a single string. Supply for the Linux "any" device the same description that libpcap's "pcap_findalldevs()" returns. svn path=/trunk/; revision=8440
2003-09-08From Nathan Jennings:Guy Harris1-1/+2
support for user-supplied interface descriptions; support for hiding interfaces in drop-down list in capture dialog. Clean up comments written to preferences file. svn path=/trunk/; revision=8419
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2001-11-09Wrap calls to "pcap_datalink()" in a routine that attempts to compensateGuy Harris1-0/+50
for AIX 5.x's non-standard libpcap, where "pcap_datalink()" doesn't return DLT_ values, it returns RFC 1573 ifType values. Put that wrapper, and the routine to get the interface list, in a separate file, for packet-capture utility routines, so not everybody who includes "util.h" needs to include <pcap.h>. Fix up the Wiretap hack for dealing with said incompatibility to use the correct ifType value for Token Ring. svn path=/trunk/; revision=4184