Fields Menu Operations

This section contains descriptions and procedures for using the operations available from the Fields Menu of the Packet Format Editor.

Create Field

This operation creates a new field within the current packet format. Fields are represented graphically as colored, rectangular boxes. Right-click on a field to display the Attributes dialog box for that field. Each field within a packet has several attributes:

  • Name – a user selected string
  • Type – can be integer, floating point, structure, packet, information, integer (64 bit), packet ID, or object ID
  • Encoding – specifies binary encoding for integer and floating point field values. Can be signed big endian, unsigned big endian, signed little endian, unsigned little endian, or other
  • Size – measured in bits
  • Default Value – used to specify a numerical value for integer and floating point fields, or a bulk fill pattern for information fields
  • Set At Creation – if set, the value specified in Default Value is assigned to the field at the packet’s creation; if unset, no value is assigned to the field at packet creation
  • Conversion Method – specifies the packet field conversion method to be used to convert this field to and from value vector (vvec) form at simulation time
  • Color – the color in which to display the field
  • Conversion Order – specifies the order in which the fields will be converted to value vector form

For more information about packet fields, see “Packet Format Editor” on page 38.

Interfaces Menu Operations

This section contains descriptions and procedures for using the operations available from the Interfaces Menu of the Packet Format Editor.

Binary Conversion

This operation enables you to specify whether the packet format supports conversion to and from value vector form. If conversion is supported, you can specify a bulk fill pattern and conversion method.

Model Documentation

This operation enables you to add comments to a packet format. These comments can describe the format’s intended use and give a user any other information that may be useful.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com