aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.developer
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-04-15 20:54:27 +0000
committerGuy Harris <guy@alum.mit.edu>2010-04-15 20:54:27 +0000
commitfd29d272823ef3ba96a82a4f6cbbd37ecef7a434 (patch)
treed58555578d7e62583decf9a4fcbf4ea00a8cc785 /doc/README.developer
parent4327e29ce9bcd9da7b4cef9107e3855302731062 (diff)
Rename FIELDBASE to FIELDDISPLAY, as it's a "how to display this"
indication, not necessarily a base (the base is "how to display" some numeric fields, but it's not how to display some other fields). Note that FIELDDISPLAY is the number of bits in the field containing an FT_BOOLEAN bitfield. svn path=/trunk/; revision=32480
Diffstat (limited to 'doc/README.developer')
-rw-r--r--doc/README.developer9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 2a44c88d67..5913a9ea66 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -931,7 +931,7 @@ proto_register_PROTOABBREV(void)
static hf_register_info hf[] = {
{ &hf_PROTOABBREV_FIELDABBREV,
{ "FIELDNAME", "PROTOABBREV.FIELDABBREV",
- FIELDTYPE, FIELDBASE, FIELDCONVERT, BITMASK,
+ FIELDTYPE, FIELDDISPLAY, FIELDCONVERT, BITMASK,
"FIELDDESCR", HFILL }
}
};
@@ -1085,7 +1085,7 @@ FIELDTYPE FT_NONE, FT_BOOLEAN, FT_UINT8, FT_UINT16, FT_UINT24,
FT_RELATIVE_TIME, FT_STRING, FT_STRINGZ, FT_EBCDIC,
FT_UINT_STRING, FT_ETHER, FT_BYTES, FT_UINT_BYTES, FT_IPv4,
FT_IPv6, FT_IPXNET, FT_FRAMENUM, FT_PROTOCOL, FT_GUID, FT_OID
-FIELDBASE For FT_UINT{8,16,24,32} and FT_INT{8,16,24,32):
+FIELDDISPLAY For FT_UINT{8,16,24,32} and FT_INT{8,16,24,32):
BASE_DEC, BASE_HEX, BASE_OCT, BASE_DEC_HEX, BASE_HEX_DEC,
or BASE_CUSTOM, possibly ORed with BASE_RANGE_STRING
@@ -1095,6 +1095,11 @@ FIELDBASE For FT_UINT{8,16,24,32} and FT_INT{8,16,24,32):
ABSOLUTE_TIME_LOCAL, ABSOLUTE_TIME_UTC, or
ABSOLUTE_TIME_DOY_UTC
+ For FT_BOOLEAN if BITMASK is non-zero:
+
+ Number of bits in the field containing the FT_BOOLEAN
+ bitfield
+
For all other types:
BASE_NONE