Named Field Sub-Package

The Named Field sub-package contains the following KPs.

  • op_pk_nfd_access() Obtains the value of an integer, double, structure, or information field in the specified packet, leaving the field unchanged; the field-of-interest is specified by name.
  • op_pk_nfd_access_read_only_ptr() Accesses a structure stored in the specified packet for reading only; the field-of-interest is specified by name.
  • op_pk_nfd_default() Obtains the default value of a field in the specified formatted packet; the field-of-interest is specified by name.
  • op_pk_nfd_exists() Determines whether a packet contains a specified field.
  • op_pk_nfd_get() [DEPRECATED] Obtains the value of a field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_get_dbl() Obtains the value of a double field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_get_int32() Obtains the value of a 32-bit integer field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_get_int64() Obtains the value of a 64-bit integer field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_get_objid() Obtains the value of an object ID field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_get_pkid() Obtains the value of a packet ID field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_get_pkt() Obtains the value of a packet field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_get_ptr() Obtains the value of a structure field in the specified packet, changing the status of some field types to unset; the field-of-interest is specified by name.
  • op_pk_nfd_is_set() Determines if a field in the specified packet is set; the field-of-interest is specified by name.
  • op_pk_nfd_name_to_index() Converts a field name into the corresponding numeric field index, based on the format of a specified packet.
  • op_pk_nfd_set() (integer, double, and packet fields) [DEPRECATED] Assigns the value of an integer, double, or packet field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set() (information fields) [DEPRECATED] Sets a predefined information field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set() (structure fields) [DEPRECATED] Assigns the value of a structure field in the specified packet, in addition to structure copying and deallocation procedures; the field-of-interest is specified by name.
  • op_pk_nfd_set_dbl() Assigns the value of a double field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set_info() Assigns the value of an information field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set_int32() Assigns the value of a 32-bit integer field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set_int64() Assigns the value of a 64-bit integer field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set_objid() Assigns the value of an object ID field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set_pkid() Assigns the value of a packet ID field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set_pkt() Assigns the value of a packet field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_set_ptr() Assigns the value of a structure field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_size() Obtains the modeled size (in bits) of a field in the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_size_set() Sets the size of a named field.
  • op_pk_nfd_strip() Removes a field from the specified packet; the field-of-interest is specified by name.
  • op_pk_nfd_type() Obtains the type of a field in the specified packet; the field-of-interest is specified by name.

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