op_apptrack_pk_deliver()

Abstract

Timestamps a packet with the time that it will be sent and received via op_pk_deliver().

Syntax

op_apptrack_pk_deliver (pkptr, dest_objid, total_delay)
Argument Type Description
pkptr SimT_Packet * Packet of interest.
dest_objid VosT_uInt64 Object ID of the packet's destination module.
total_delay double Time from current sim time until packet reception, in seconds.

Return Type

Compcode

OPC_COMPCODE_SUCCESS if the KP completes successfully; OPC_COMPCODE_FAILURE otherwise.

Details

/* For efficiency mode, deliver the packet directly. */
if (efficiency_enabled)
   {
   /* Apptrack for efficiency mode. */
   op_apptrack_pk_deliver (mpdu_pkptr, op_topo_parent (enb_as_objid), LTEC_SUBFRAME_DUR - 1E-6);

   op_pk_deliver_delayed (mpdu_pkptr, enb_as_objid, 1, LTEC_SUBFRAME_DUR - 1E-6);
   }
else

None.

Purpose

This KP provides a way to stamp the transmit and receive times for a packet that will be sent via op_pk_deliver(). It is intended for use when the transmit/receive pipeline is being skipped entirely (for example, in the efficiency mode of the Riverbed LTE model).

Errors

  • None.

Reference

  • None.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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