5G-LENA nr-v3.1-69-g2dd513a7
The 5G/NR module for the ns-3 simulator
|
The NrNetDevice class. More...
#include "nr-net-device.h"
Public Member Functions | |
NrNetDevice () | |
NrNetDevice. | |
~NrNetDevice () override | |
~NrNetDevice | |
void | AddLinkChangeCallback (Callback< void > callback) override |
Address | GetAddress () const override |
Address | GetBroadcast () const override |
Ptr< Channel > | GetChannel () const override |
uint32_t | GetIfIndex () const override |
uint16_t | GetMtu () const override |
Address | GetMulticast (Ipv4Address multicastGroup) const override |
Address | GetMulticast (Ipv6Address addr) const override |
Ptr< Node > | GetNode () const override |
bool | IsBridge () const override |
bool | IsBroadcast () const override |
bool | IsLinkUp () const override |
bool | IsMulticast () const override |
bool | IsPointToPoint () const override |
bool | NeedsArp () const override |
void | Receive (Ptr< Packet > p) |
bool | Send (Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber) override |
bool | SendFrom (Ptr< Packet > packet, const Address &source, const Address &dest, uint16_t protocolNumber) override |
void | SetAddress (Address address) override |
void | SetIfIndex (const uint32_t index) override |
bool | SetMtu (const uint16_t mtu) override |
void | SetNode (Ptr< Node > node) override |
void | SetPromiscReceiveCallback (PromiscReceiveCallback cb) override |
void | SetReceiveCallback (ReceiveCallback cb) override |
bool | SupportsSendFrom () const override |
Static Public Member Functions | |
static TypeId | GetTypeId () |
GetTypeId. | |
Protected Member Functions | |
void | DoDispose () override |
virtual bool | DoSend (Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)=0 |
Protected Attributes | |
NetDevice::ReceiveCallback | m_rxCallback |
TracedCallback< Ptr< const Packet > > | m_rxTrace |
Traced Callback for received packets. | |
TracedCallback< Ptr< const Packet >, const Address & > | m_txTrace |
Traced Callback for transmitted packets. | |
The NrNetDevice class.
This is the base class for NrUeNetDevice and NrGnbNetDevice.
ns3::NrNetDevice is accessible through the following paths with Config::Set and Config::Connect:
/NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice
Size of this type is 136 bytes (on a 64-bit architecture).
Definition at line 26 of file nr-net-device.h.
ns3::NrNetDevice::NrNetDevice | ( | ) |
Definition at line 45 of file nr-net-device.cc.
|
override |
~NrNetDevice
Definition at line 50 of file nr-net-device.cc.
|
override |
Definition at line 114 of file nr-net-device.cc.
|
overrideprotected |
Definition at line 56 of file nr-net-device.cc.
|
override |
Definition at line 88 of file nr-net-device.cc.
|
override |
Definition at line 125 of file nr-net-device.cc.
|
override |
Definition at line 75 of file nr-net-device.cc.
|
override |
Definition at line 69 of file nr-net-device.cc.
|
override |
Definition at line 102 of file nr-net-device.cc.
|
override |
Definition at line 137 of file nr-net-device.cc.
|
override |
Definition at line 183 of file nr-net-device.cc.
|
override |
Definition at line 165 of file nr-net-device.cc.
|
static |
|
override |
Definition at line 143 of file nr-net-device.cc.
|
override |
Definition at line 119 of file nr-net-device.cc.
|
override |
Definition at line 108 of file nr-net-device.cc.
|
override |
Definition at line 131 of file nr-net-device.cc.
|
override |
Definition at line 149 of file nr-net-device.cc.
|
override |
Definition at line 177 of file nr-net-device.cc.
void ns3::NrNetDevice::Receive | ( | Ptr< Packet > | p | ) |
Definition at line 207 of file nr-net-device.cc.
|
override |
Definition at line 237 of file nr-net-device.cc.
|
override |
Definition at line 155 of file nr-net-device.cc.
|
override |
Definition at line 81 of file nr-net-device.cc.
|
override |
Definition at line 63 of file nr-net-device.cc.
|
override |
Definition at line 95 of file nr-net-device.cc.
|
override |
Definition at line 171 of file nr-net-device.cc.
|
override |
Definition at line 196 of file nr-net-device.cc.
|
override |
Definition at line 189 of file nr-net-device.cc.
|
override |
Definition at line 201 of file nr-net-device.cc.
|
protected |
Definition at line 80 of file nr-net-device.h.
|
protected |
Traced Callback for received packets.
Definition at line 79 of file nr-net-device.h.
Referenced by GetTypeId().
|
protected |
Traced Callback for transmitted packets.
Definition at line 78 of file nr-net-device.h.
Referenced by GetTypeId().