aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.h
Commit message (Collapse)AuthorAgeFilesLines
* Based on a patch from Brian Fundakowski Feldman, add support for settingGuy Harris2003-11-011-2/+25
| | | | | | | link-layer type when capturing, using the "pcap_set_datalink()" and related APIs. svn path=/trunk/; revision=8848
* Get the version number of the libpcap/WinPcap with which we're runningGuy Harris2003-10-101-1/+16
| | | | | | with "pcap_lib_version()", if available. svn path=/trunk/; revision=8656
* Have "get_interface_list()" return a list of "if_info_t" structuresGuy Harris2003-09-101-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
* From Nathan Jennings:Guy Harris2003-09-081-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
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-4/+4
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Wrap calls to "pcap_datalink()" in a routine that attempts to compensateGuy Harris2001-11-091-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