#include <introspected-doxygen.hpp>
Config Paths
ns3::CsmaNetDevice is accessible through the following paths with Config::Set and Config::Connect:
-
"/NodeList/[i]/DeviceList/[i]/$ns3::CsmaNetDevice"
Attributes
-
Address: The MAC address of this device.
-
Set with class: Mac48AddressValue
-
Underlying type: Mac48Address
-
Initial value: ff:ff:ff:ff:ff:ff
-
Flags: construct write read
-
Mtu: The MAC-level Maximum Transmission Unit
-
Set with class: ns3::UintegerValue
-
Underlying type: uint16_t 0:65535
-
Initial value: 1500
-
Flags: construct write read
-
EncapsulationMode: The link-layer encapsulation type to use.
-
Set with class: ns3::EnumValue
-
Underlying type:
-
Initial value: Dix
-
Flags: construct write
-
SendEnable: Enable or disable the transmitter section of the device.
-
Set with class: BooleanValue
-
Underlying type: bool
-
Initial value: true
-
Flags: construct write read
-
ReceiveEnable: Enable or disable the receiver section of the device.
-
Set with class: BooleanValue
-
Underlying type: bool
-
Initial value: true
-
Flags: construct write read
-
ReceiveErrorModel: The receiver error model used to simulate packet loss
-
Set with class: ns3::PointerValue
-
Underlying type: ns3::Ptr< ns3::ErrorModel>
-
Initial value: 0
-
Flags: construct write read
-
TxQueue: A queue to use as the transmit queue in the device.
-
Set with class: ns3::PointerValue
-
Underlying type: ns3::Ptr< ns3::Queue<Packet>>
-
Initial value: 0
-
Flags: construct write read
TraceSources
-
MacTx: Trace source indicating a packet has arrived for transmission by this device
Callback signature: ns3::Packet::TracedCallback
-
MacTxDrop: Trace source indicating a packet has been dropped by the device before transmission
Callback signature: ns3::Packet::TracedCallback
-
MacPromiscRx: A packet has been received by this device, has been passed up from the physical layer and is being forwarded up the local protocol stack. This is a promiscuous trace,
Callback signature: ns3::Packet::TracedCallback
-
MacRx: A packet has been received by this device, has been passed up from the physical layer and is being forwarded up the local protocol stack. This is a non-promiscuous trace,
Callback signature: ns3::Packet::TracedCallback
-
MacTxBackoff: Trace source indicating a packet has been delayed by the CSMA backoff process
Callback signature: ns3::Packet::TracedCallback
-
PhyTxBegin: Trace source indicating a packet has begun transmitting over the channel
Callback signature: ns3::Packet::TracedCallback
-
PhyTxEnd: Trace source indicating a packet has been completely transmitted over the channel
Callback signature: ns3::Packet::TracedCallback
-
PhyTxDrop: Trace source indicating a packet has been dropped by the device during transmission
Callback signature: ns3::Packet::TracedCallback
-
PhyRxEnd: Trace source indicating a packet has been completely received by the device
Callback signature: ns3::Packet::TracedCallback
-
PhyRxDrop: Trace source indicating a packet has been dropped by the device during reception
Callback signature: ns3::Packet::TracedCallback
-
Sniffer: Trace source simulating a non-promiscuous packet sniffer attached to the device
Callback signature: ns3::Packet::TracedCallback
-
PromiscSniffer: Trace source simulating a promiscuous packet sniffer attached to the device
Callback signature: ns3::Packet::TracedCallback
Size of this type is 544 bytes (on a 64-bit architecture).
The documentation for this class was generated from the following file: