Revision history [back]
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
You will need to build the string then add it to the tree.
subtree:add(pf.payload, tvb:range(2,8):le_uint64():tohex()) headerSubtree:add(myproto_protocol.fields["USID"], buffer:range(2,8):le_uint64():tohex())
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
You will need to build the string then add it to the tree.
subtree:add(pf.payload,subtree:add_le(pf.payload, tvb:range(2,8):le_uint64():tohex())headerSubtree:add(myproto_protocol.fields["USID"],headerSubtree:add_le(myproto_protocol.fields["USID"], buffer:range(2,8):le_uint64():tohex())
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
You will need to build the string then add it to the tree.
subtree:add_le(pf.payload, tvb:range(2,8):le_uint64():tohex()) headerSubtree:add_le(myproto_protocol.fields["USID"], buffer:range(2,8):le_uint64():tohex())
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
You will need to build the string then add it to the tree.
subtree:add_le(pf.payload, tvb:range(2,8):le_uint64():tohex()) headerSubtree:add_le(myproto_protocol.fields["USID"], buffer:range(2,8):le_uint64():tohex())
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
You will need to build the string then add it to the tree.
subtree:add_le(pf.payload, tvb:range(2,8):le_uint64():tohex())headerSubtree:add_le(myproto_protocol.fields["USID"], buffer:range(2,8):le_uint64():tohex())
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
You will need to build the string then add it to the tree.
subtree:add_le(pf.payload, tvb:range(2,8):le_uint64():tohex())
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
From the WSDG:
11.7.2.1. treeitem:add_le([protofield], [tvbrange], [value], [label])
If the ProtoField represents a numeric value (int, uint or float), then it’s treated as a Little Endian value.
You will need to build the string then add it to the tree.