I get the following error message: Packet pointer references unowned packet. What does this mean, and what type of errors cause this?
I get the following error message: Packet pointer references unowned packet. What does this mean, and what type of errors cause this?
A packet is an object that can be owned by one entity at any given time. A module gains ownership of a packet when it creates the packet (e.g., op_pk_create ()) or gets a packet (e.g., op_pk_get ()). When a packet is sent (e.g., op_pk_send ()) or destroyed (e.g., op_pk_destroy()), the module no longer owns the packet. If you attempt to manipulate a packet pointer that has already been sent or destroyed, you will obtain this error message.
Verify the following if you get this error:
For a full discussion on packet ownership, please refer to the help section Modeling Concepts -> Communication Mechanisms -> Packet-Based Communications -> General Properties of Packets.
DES Kernel->Process Modeling/Coding