Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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.

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.

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.

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,         subtree:add(pf.payload, tvb:range(2,8):le_uint64():tohex())

headerSubtree:add_le(myproto_protocol.fields["USID"], headerSubtree:add(myproto_protocol.fields["USID"], buffer:range(2,8):le_uint64():tohex())