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

#include <introspected-doxygen.hpp>

Detailed Description

Config Paths

ns3::PacketSink is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/ApplicationList/[i]/$ns3::PacketSink"

Attributes

  • Local: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Protocol: The type id of the protocol to use for the rx socket.
    • Set with class: TypeIdValue
    • Underlying type: TypeId
    • Initial value: ns3::UdpSocketFactory
    • Flags: construct write read
  • EnableSeqTsSizeHeader: Enable optional header tracing of SeqTsSizeHeader
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: false
    • Flags: construct write read

Attributes defined in parent class ns3::Application

  • StartTime: Time at which the application will start
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • StopTime: Time at which the application will stop
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read

TraceSources

  • Rx: A packet has been received
    Callback signature: ns3::Packet::AddressTracedCallback
  • RxWithAddresses: A packet has been received
    Callback signature: ns3::Packet::TwoAddressTracedCallback
  • RxWithSeqTsSize: A packet with SeqTsSize header has been received
    Callback signature: ns3::PacketSink::SeqTsSizeCallback

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


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