How do I record the number of packets destroyed by the receiver?

Categories:
Solution Number:
S20642
Last Modified:
2013-08-20
Issue

How do I record the number of packets destroyed by the receiver?

Solution

You need to modify the ecc pipeline stage that you are using to count and record this number as a statisticIn a custom process model declare the statistic and register it as you normally would. Then the ecc pipeline stage needs to be able to get access to the Stathandle; the easiest thing to do is make the stathandle a global. A better alternative is to place the stathandle in a state variable of the process model, use the topo package of kernel procedure to get the Objid of module in which the process model resides, and then use op_ima_obj_svar_get () to retrieve the value. You can then use the stathandle to make calls to op_stat_write () in the pipeline stage.

Environment

DES Kernel->Process Modeling/Coding

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case