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

#include <introspected-doxygen.hpp>

Detailed Description

Config Paths

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

  • "/NodeList/[i]/$ns3::Ipv4L3Protocol"

Attributes

  • DefaultTtl: The TTL value set by default on all outgoing packets generated on this node.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint8_t 0:255
    • Initial value: 64
    • Flags: construct write read
  • FragmentExpirationTimeout: When this timeout expires, the fragments will be cleared from the buffer.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +3e+10ns
    • Flags: construct write read
  • EnableDuplicatePacketDetection: Enable multicast duplicate packet detection based on RFC 6621
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: false
    • Flags: construct write read
  • DuplicateExpire: Expiration delay for duplicate cache entries
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1e+06ns
    • Flags: construct write read
  • PurgeExpiredPeriod: Time between purges of expired duplicate packet entries, 0 means never purge
    • Set with class: ns3::TimeValue
    • Underlying type: Time +0ns:+9.22337e+18ns
    • Initial value: +1e+09ns
    • Flags: construct write read
  • InterfaceList: The set of Ipv4 interfaces associated to this Ipv4 stack.
    • Set with class: ns3::ObjectPtrContainerValue
    • Underlying type: ns3::Ptr< ns3::Ipv4Interface>
    • Flags: read

Attributes defined in parent class ns3::Ipv4

  • IpForward: Globally enable or disable IP forwarding for all current and future Ipv4 devices.
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: true
    • Flags: construct write read
  • WeakEsModel: RFC1122 term for whether host accepts datagram with a dest. address on another interface
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: true
    • Flags: construct write read

TraceSources

  • Tx: Send ipv4 packet to outgoing interface.
    Callback signature: ns3::Ipv4L3Protocol::TxRxTracedCallback
  • Rx: Receive ipv4 packet from incoming interface.
    Callback signature: ns3::Ipv4L3Protocol::TxRxTracedCallback
  • Drop: Drop ipv4 packet
    Callback signature: ns3::Ipv4L3Protocol::DropTracedCallback
  • SendOutgoing: A newly-generated packet by this node is about to be queued for transmission
    Callback signature: ns3::Ipv4L3Protocol::SentTracedCallback
  • UnicastForward: A unicast IPv4 packet was received by this node and is being forwarded to another node
    Callback signature: ns3::Ipv4L3Protocol::SentTracedCallback
  • MulticastForward: A multicast IPv4 packet was received by this node and is being forwarded to another node
    Callback signature: ns3::Ipv4L3Protocol::SentTracedCallback
  • LocalDeliver: An IPv4 packet was received by/for this node, and it is being forward up the stack
    Callback signature: ns3::Ipv4L3Protocol::SentTracedCallback

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


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