Commit Graph

9 Commits

Author SHA1 Message Date
Guy Harris 185a1f1286 Not all platforms have "u_int32_t"; use "guint32" instead.
svn path=/trunk/; revision=7680
2003-05-16 00:30:54 +00:00
Guy Harris 86f3c38c4a From Can Erkin Acar: OpenBSD is now using tcpdump.org-assigned DLT_
value for DLT_PFLOG, and that goes along with a change to the link-layer
header for DLT_PFLOG - support both the old and new values and format.

svn path=/trunk/; revision=7676
2003-05-15 07:14:46 +00:00
Jörg Mayer 7c4176d868 Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.

svn path=/trunk/; revision=6117
2002-08-28 21:04:11 +00:00
Jörg Mayer 173fe5aef4 Replace the types from sys/types.h and netinet/in.h by their glib.h
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
2002-08-02 23:36:07 +00:00
Guy Harris 736c64296e From Joerg Mayer:
Use the GLib macros to convert from network to host byte order.

svn path=/trunk/; revision=5879
2002-07-15 20:55:51 +00:00
Guy Harris 4bd2da9aac Get rid of an unused variable.
Don't register the PFLOG dissector by name; it's only called through the
"wtap_encap" dissector table.

svn path=/trunk/; revision=5118
2002-04-08 02:02:27 +00:00
Guy Harris 007a32e8b1 Clean up a bunch of things:
use value_string tables and make numerical fields numeric,
	with associated value_string tables, rather than strings;

	make a signed integer field signed, which means we don't have to
	format the item for it in the protocol tree ourselves;

	give it a long protocol name, and make the short protocol name
	all-caps, as with other short protocol names.

svn path=/trunk/; revision=4696
2002-02-05 00:43:59 +00:00
Guy Harris c2136d0735 Include <string.h> to declare various string functions.
Include "snprintf.h", when needed, to declare "snprintf()" on platforms
that don't have it.

Fix some formats and arguments to various printing routines.

Fix "diameter_time_to_string()" to properly fetch the time value from
the data buffer handed to it.

svn path=/trunk/; revision=4639
2002-01-30 23:08:27 +00:00
Guy Harris c873f79156 Support for capturing on, and reading captures from, OpenBSD firewall
logging virtual interface, from Mike Frantzen.

svn path=/trunk/; revision=4616
2002-01-29 08:44:53 +00:00