diff options
author | Michael Mann <mmann78@netscape.net> | 2017-11-19 20:26:50 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-11-20 02:26:35 +0000 |
commit | 5b5584878998ed602f560fffda326670ac1c9083 (patch) | |
tree | dd1f2a1eddc1a75ac41416b50b36bd307d85602c /doc/README.dissector | |
parent | 51ff1df443c02f03d93a68a989255aa90740acc6 (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>
Diffstat (limited to 'doc/README.dissector')
-rw-r--r-- | doc/README.dissector | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 252abbdc64..bc4a41338f 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 |