op_apptrack_rx_record()
Abstract
Writes out receive time for tagged packets, if processing was previously disabled.
Syntax
op_apptrack_rx_record (apptrack_hndl, pkptr)
| Argument | Type | Description |
|---|---|---|
apptrack_hndl |
Apptrackhandle |
ADT state of interest. |
pkptr |
SimT_Packet * |
Packet of interest. |
Return Type
Compcode
OPC_COMPCODE_SUCCESS if the KP completes successfully; OPC_COMPCODE_FAILURE otherwise.
Details
None.
Purpose
This KP writes out the receive time for application instances tagged on a packet. This is useful only if receive processing was previously suppressed by a call to op_apptrack_rx_processing_disable(). It is an error to call this KP without first disabling the systematic receive processing.
Errors
- Recoverable Error: Argument (apptrack_hndl) is NIL.
- Program Abort: Packet pointer is NIL.
- Program Abort: Packet pointer references destroyed packet.
- Program Abort: Packet pointer references unowned packet (
<packet ID>). - Program Abort: Packet pointer references static packet (
<packet ID>). - Recoverable Error: Rx processing was not disabled previously using rx_processing_disable.
Reference
- Use the KP op_apptrack_rx_processing_disable() before calling this KP.