#include <netelem.h>
Inheritance diagram for SrcSink:
Public Member Functions | |
virtual void | Recv (timeunits now, Packet *p) |
virtual void | FragmentDrop (Packet *p) |
void | Reset (bool dump=false) |
|
Similar to SrcSink::Recv(void), needs to be called for dropped packets. This enables keeping count of lost framents, and avoids waiting to complete for a packet with a lost fragment. per-source count of received packets and fragments.
Reimplemented from NetElement. |
|
Keeps count of number of received fragments and complete packets, then delete the packet.
Reimplemented from PacketSink. |
|
Resets counters of complete and incomplete packets and fragments. Reimplemented from PacketSink. |