ns3::NrNetDevice class

The NrNetDevice class.

This is the base class for NrUeNetDevice and NrGnbNetDevice.

Config Paths

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

  • /NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice

Attributes

  • Mtu: The MAC-level Maximum Transmission Unit
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 0:65535
    • Initial value: 30000
    • Flags: construct write read

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

Derived classes

class NrGnbNetDevice
The NrGnbNetDevice class.
class NrUeNetDevice
The User Equipment NetDevice.

Public static functions

static auto GetTypeId() -> TypeId
GetTypeId.

Constructors, destructors, conversion operators

NrNetDevice()
NrNetDevice.
~NrNetDevice() override
~NrNetDevice

Protected variables

TracedCallback<Ptr<const Packet>> m_rxTrace
Traced Callback for received packets.
TracedCallback<Ptr<const Packet>, const Address&> m_txTrace
Traced Callback for transmitted packets.

Function documentation

static TypeId ns3::NrNetDevice::GetTypeId()

GetTypeId.

Returns the object type id