Commit Graph

7 Commits

Author SHA1 Message Date
Gerald Combs 0bc4c2d329 In the Windows capture dialog, place the interface description before the
interface name.

svn path=/trunk/; revision=5499
2002-05-18 02:41:46 +00:00
Guy Harris 45cffd9f12 Put in incomplete definitions of "struct mbuf" and "struct rtentry" to
eliminate compiler warnings on Digital UNIX.

svn path=/trunk/; revision=5251
2002-04-25 22:03:54 +00:00
Guy Harris 8ae18ded80 From Andrew Feren: on Windows, in the drop-down list for the "Interface"
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
2002-04-01 03:55:44 +00:00
Guy Harris 2eb1990b0b From Joerg Mayer: mark function arguments as unused.
svn path=/trunk/; revision=5052
2002-03-31 21:05:47 +00:00
Guy Harris 45900852ff Fixes from Kazushi Sugyo:
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
2001-11-09 08:16:25 +00:00
Guy Harris 4279815244 Put in an XXX note indicating that if we conclude we're using the AIX
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
2001-11-09 07:51:01 +00:00
Guy Harris 40b22f317b Wrap calls to "pcap_datalink()" in a routine that attempts to compensate
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
2001-11-09 07:44:51 +00:00