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

#include <introspected-doxygen.hpp>

Detailed Description

Config Paths

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

  • "/NodeList/[i]/DeviceList/[i]/$ns3::TapBridge"

Attributes

  • Mtu: The MAC-level Maximum Transmission Unit
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 0:65535
    • Initial value: 0
    • Flags: construct write read
  • DeviceName: The name of the tap device to create.
    • Set with class: StringValue
    • Underlying type:
    • Initial value:
    • Flags: construct write read
  • Gateway: The IP address of the default gateway to assign to the host machine, when in ConfigureLocal mode.
    • Set with class: Ipv4AddressValue
    • Underlying type: Ipv4Address
    • Initial value: 255.255.255.255
    • Flags: construct write read
  • IpAddress: The IP address to assign to the tap device, when in ConfigureLocal mode. This address will override the discovered IP address of the simulated device.
    • Set with class: Ipv4AddressValue
    • Underlying type: Ipv4Address
    • Initial value: 255.255.255.255
    • Flags: construct write read
  • MacAddress: The MAC address to assign to the tap device, when in ConfigureLocal mode. This address will override the discovered MAC address of the simulated device.
    • Set with class: Mac48AddressValue
    • Underlying type: Mac48Address
    • Initial value: ff:ff:ff:ff:ff:ff
    • Flags: construct write read
  • Netmask: The network mask to assign to the tap device, when in ConfigureLocal mode. This address will override the discovered MAC address of the simulated device.
    • Set with class: Ipv4MaskValue
    • Underlying type: Ipv4Mask
    • Initial value: 255.255.255.255
    • Flags: construct write read
  • Start: The simulation time at which to spin up the tap device read thread.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • Stop: The simulation time at which to tear down the tap device read thread.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • Mode: The operating and configuration mode to use.
    • Set with class: ns3::EnumValue
    • Underlying type:
    • Initial value: UseLocal
    • Flags: construct write
  • Verbose: Enable verbose output from tap-creator child process
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: false
    • Flags: construct write read

No TraceSources are defined for this type.
Size of this type is 280 bytes (on a 64-bit architecture).


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