aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-11-19 20:26:50 -0500
committerMichael Mann <mmann78@netscape.net>2017-11-20 02:26:35 +0000
commit5b5584878998ed602f560fffda326670ac1c9083 (patch)
treedd1f2a1eddc1a75ac41416b50b36bd307d85602c
parent51ff1df443c02f03d93a68a989255aa90740acc6 (diff)
README.dissector: Add note to add 2 encodings for FT_UINT_BYTES in proto_tree_add_item
Change-Id: I728091998c531c992aa1b741b03e653460a0e77f Reviewed-on: https://code.wireshark.org/review/24499 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--doc/README.dissector4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/README.dissector b/doc/README.dissector
index 252abbd..bc4a413 100644
--- a/doc/README.dissector
+++ b/doc/README.dissector
@@ -1566,6 +1566,10 @@ FT_AX25, FT_VINES, FT_SYSTEM_ID, FT_FCWWN fields, and 'protocol' fields
the encoding is not relevant; the 'encoding' argument should be
ENC_NA (Not Applicable).
+For FT_UINT_BYTES fields, the byte order of the count must be specified
+as well as the 'encoding' for bytes which should be ENC_NA,
+i.e. ENC_LITTLE_ENDIAN|ENC_NA
+
For integral, floating-point, Boolean, FT_GUID, and FT_EUI64 fields,
the encoding specifies the byte order of the value; the 'encoding'
argument should be ENC_LITTLE_ENDIAN if the value is little-endian