Field Sub-Package

The Field sub-package contains the following KPs.

  • op_pk_fd_access_ptr() Accesses a structure stored in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_access_read_only_ptr() Accesses a structure stored in the specified packet for reading only; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get() Obtains the value of a field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get_dbl() Obtains the value of a double field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get_int32() Obtains the value of a 32-bit integer field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get_int64() Obtains the value of a 64-bit integer field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get_objid() Obtains the value of an object ID field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get_pkid() Obtains the value of a packet ID field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get_pkt() Obtains the value of a packet field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_get_ptr() Obtains the value of a structure field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_index_to_name() Converts a numeric field index into the corresponding field name, based on the format of the specified packet.
  • op_pk_fd_info_get() Retrieve information about a packet’s fields and their properties; the field-of-interest is specified by a numeric index.
  • op_pk_fd_is_set() Determines if a field in the specified packet is set; the field-of-interest is specified by a numeric index.
  • op_pk_fd_max_index() Provides the integer index which is the highest of any field defined in the specified packet.
  • op_pk_fd_print_proc_set() Associates a custom print procedure with the specified field of the specified unformatted packet (field type must be structure); the field-of-interest is specified by a numeric index.
  • op_pk_fd_set() (integer, double, and packet fields) Assigns the type, value, and size of an integer, double, or packet field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set() (information fields) Assigns the type and size of an information field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set() (structure fields) Assigns the value of a structure field in the specified packet, as well as the type, size, and procedures for structure copying and deallocation; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_dbl() Assigns the type, value, and size of a double field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_info() Assigns the type and size of an information field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_int32() Assigns the type, value, and size of a 32-bit integer field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_int64() Assigns the type, value, and size of a 64-bit integer field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_objid() Assigns the type, value, and size of an object ID field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_pkid() Assigns the type, value, and size of a packet ID field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_pkt() Assigns the type, value, and size of a packet field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_set_ptr() Assigns the value of a structure field in the specified packet, as well as the type, size, and procedures for structure copying and deallocation; the field-of-interest is specified by a numeric index.
  • op_pk_fd_size() Obtains the modeled size of a field in the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_strip() Removes a field from the specified packet; the field-of-interest is specified by a numeric index.
  • op_pk_fd_type() Obtains the type of a field in the specified packet; the field-of-interest is specified by a numeric index.

See Field Sub-Package for an overview of this sub-package.