aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-39/+39
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer2002-08-021-5/+1
| | | | | | | | equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
* Update tethereal to handle the "<description> : <device ID>" interfaceGerald Combs2002-06-271-2/+9
| | | | | | | | names that are generated under Windows. Note in pcap-util.c that we may want to separate interface device names and descriptions in the future. svn path=/trunk/; revision=5770
* In the Windows capture dialog, place the interface description before theGerald Combs2002-05-181-32/+41
| | | | | | interface name. svn path=/trunk/; revision=5499
* Put in incomplete definitions of "struct mbuf" and "struct rtentry" toGuy Harris2002-04-251-1/+6
| | | | | | eliminate compiler warnings on Digital UNIX. svn path=/trunk/; revision=5251
* From Andrew Feren: on Windows, in the drop-down list for the "Interface"Guy Harris2002-04-011-2/+45
| | | | | | | field in the "Capture Options" dialog, put the descriptive name of the device in parentheses after the actual device path. svn path=/trunk/; revision=5069
* From Joerg Mayer: mark function arguments as unused.Guy Harris2002-03-311-3/+7
| | | | svn path=/trunk/; revision=5052
* Fixes from Kazushi Sugyo:Guy Harris2001-11-091-2/+5
| | | | | | | | | | | | | | 1) print the payload length in AH headers correctly (the field's value is length of the payload, minus 2, divided by 2, so we have to add 2 before multiplying by 2); 2) correctly handle, in an SIOCGIFCONF list, entries whose address has an "sa_len" field less than the size of a "struct sockaddr" (the length of the address in an entry is the maximum of the real length and the size of a "struct sockaddr"). svn path=/trunk/; revision=4186
* Put in an XXX note indicating that if we conclude we're using the AIXGuy Harris2001-11-091-1/+7
| | | | | | | libpcap, we may also want to return a flag indicating that we have to map seconds/nanoseconds in the packet header to seconds/microseconds. svn path=/trunk/; revision=4185
* Wrap calls to "pcap_datalink()" in a routine that attempts to compensateGuy Harris2001-11-091-0/+439
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