diff options
author | Michael Mann <mmann78@netscape.net> | 2014-12-24 00:06:35 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-12-28 20:05:29 +0000 |
commit | 71c02b20eb798569393da09fc6557c314244e3e8 (patch) | |
tree | 8b5108b3b9892fedf2ee345be60a1657f270fa34 /doc | |
parent | 8965e90a25a79eaa5569e9de6589f7fc5b3ccb3c (diff) | |
download | wireshark-71c02b20eb798569393da09fc6557c314244e3e8.tar.gz |
Create FT_FCWWN field type.
Also, convert the "string" hf_ entries that used tvb_fcwwn_to_str as a string to use proto_tree_add_item with FT_FCWWN type.
Change-Id: I4ca77870499fd8239584a70874998b5d194a7167
Reviewed-on: https://code.wireshark.org/review/6036
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dissector | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index d30e042b8a..78a2723134 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -106,7 +106,8 @@ FIELDTYPE FT_NONE, FT_BOOLEAN, FT_UINT8, FT_UINT16, FT_UINT24, FT_RELATIVE_TIME, FT_STRING, FT_STRINGZ, FT_EUI64, FT_UINT_STRING, FT_ETHER, FT_BYTES, FT_UINT_BYTES, FT_IPv4, FT_IPv6, FT_IPXNET, FT_FRAMENUM, FT_PROTOCOL, FT_GUID, FT_OID, - FT_REL_OID + FT_REL_OID, FT_AX25, FT_VINES, FT_SYSTEM_ID, FT_FCWWN + FIELDDISPLAY --For FT_UINT{8,16,24,32,64} and FT_INT{8,16,24,32,64): BASE_DEC, BASE_HEX, BASE_OCT, BASE_DEC_HEX, BASE_HEX_DEC, @@ -741,7 +742,11 @@ The type of value this field holds. The current field types are: FT_GUID A Globally Unique Identifier FT_OID An ASN.1 Object Identifier FT_REL_OID An ASN.1 Relative Object Identifier - FT_EUI64 A EUI-64 Address + FT_EUI64 A EUI-64 Address + FT_AX25 A AX-25 Address + FT_VINES A Vines Address + FT_SYSTEM_ID An OSI System-ID + FT_FCWWN A Fibre Channel WWN Address Some of these field types are still not handled in the display filter routines, but the most common ones are. The FT_UINT* variables all @@ -1374,9 +1379,10 @@ proto_register_*() function) and a value. The value will be fetched from the tvbuff by proto_tree_add_item(), based on the type of the field and the encoding of the value as specified by the "encoding" argument. -For FT_NONE, FT_BYTES, FT_ETHER, FT_IPv6, FT_IPXNET, FT_OID, FT_REL_OID -fields, and 'protocol' fields the encoding is not relevant; the 'encoding' -argument should be ENC_NA (Not Applicable). +For FT_NONE, FT_BYTES, FT_ETHER, FT_IPv6, FT_IPXNET, FT_OID, FT_REL_OID, +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 integral, floating-point, Boolean, FT_GUID, and FT_EUI64 fields, the encoding specifies the byte order of the value; the 'encoding' |