aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.h
AgeCommit message (Collapse)AuthorFilesLines
2004-07-19Pull the address (and port and circuit type) stuff out ofGuy Harris1-6/+3
"epan/packet_info.h" and put it in "epan/address.h". Use the AT_ values from "epan/address.h" for address types in the interface lists rather than having our own FAM_ enums. svn path=/trunk/; revision=11427
2004-07-18Add support for IPv6 addresses for interfaces.Guy Harris1-2/+18
svn path=/trunk/; revision=11411
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-107/+107
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-07-17if using the get_interface_list function, try to get the IP addresses tooUlf Lamping1-105/+107
svn path=/trunk/; revision=11395
2004-06-12On Windows, if "get_interface_list()" returns CANT_GET_INTERFACE_LISTGuy Harris1-1/+7
and the error message includes "Not enough storage is available to process this command" or "The operation completed successfully", suggest that the user install a WinPcap version later than 3.0 - this is definitely a Frequently Asked Question on the Ethereal list. svn path=/trunk/; revision=11143
2003-11-01Based on a patch from Brian Fundakowski Feldman, add support for settingGuy Harris1-2/+25
link-layer type when capturing, using the "pcap_set_datalink()" and related APIs. svn path=/trunk/; revision=8848
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