Commit Graph

4 Commits

Author SHA1 Message Date
Guy Harris 5511e79593 Add support for 64-bit signed integers in "int-64bit.[ch]", add an
FT_INT64 type, and make the Diameter dissector use it.

Handle the 64-bit integer types in the display filter semantics checks.

svn path=/trunk/; revision=4125
2001-11-02 10:09:51 +00:00
Guy Harris 752e079f12 In "u64toa()":
If the byte being investigated is 0, don't just do a "continue";
	this might be one of the passes on which we have to propagate
	carries, so skip the processing of that byte's bits, but fall
	through to the carry processing.

	In the carry processing loop, don't use "i" as the loop index,
	as we're already using it as the outer loop index.

In "u64toh()", use lower-case letters rather than upper-case letters, as
we use "%x" rather than "%X" to print 8, 16, 24, and 32-bit integral
values in the "proto.c" code.

svn path=/trunk/; revision=4103
2001-10-30 08:39:02 +00:00
Guy Harris d850e01b43 Constify arguments and variables.
svn path=/trunk/; revision=4101
2001-10-29 21:53:58 +00:00
Guy Harris d82c74d757 From Ronnie Sahlberg: FT_UINT64 support, code to handle 64-bit integers
without requiring compiler support for them, and updates to the
Diameter, L2TP, NFS, and NLM dissectors to use it and to the ONC RPC
dissector to allow ONC RPC subdissectors to use it.

svn path=/trunk/; revision=4099
2001-10-29 21:13:13 +00:00