NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::Queue< Packet > Class Reference

#include <introspected-doxygen.hpp>

Detailed Description

Config Paths

ns3::Queue<Packet> is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/DeviceList/[i]/$ns3::SimpleNetDevice/TxQueue"
  • "/NodeList/[i]/DeviceList/[i]/$ns3::PointToPointNetDevice/TxQueue"
  • "/NodeList/[i]/DeviceList/[i]/$ns3::CsmaNetDevice/TxQueue"
  • "/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Queue"

No Attributes are defined for this type.

TraceSources

  • Enqueue: Enqueue a packet in the queue.
    Callback signature: ns3::Packet::TracedCallback
  • Dequeue: Dequeue a packet from the queue.
    Callback signature: ns3::Packet::TracedCallback
  • Drop: Drop a packet (for whatever reason).
    Callback signature: ns3::Packet::TracedCallback
  • DropBeforeEnqueue: Drop a packet before enqueue.
    Callback signature: ns3::Packet::TracedCallback
  • DropAfterDequeue: Drop a packet after dequeue.
    Callback signature: ns3::Packet::TracedCallback

TraceSources defined in parent class ns3::QueueBase

  • PacketsInQueue: Number of packets currently stored in the queue
    Callback signature: ns3::TracedValueCallback::Uint32
  • BytesInQueue: Number of bytes currently stored in the queue
    Callback signature: ns3::TracedValueCallback::Uint32

Size of this type is 296 bytes (on a 64-bit architecture).


The documentation for this class was generated from the following file: