Classes | |
class | ns3::LoopbackNetDevice |
Virtual network interface that loops back any data sent to it to be immediately received on the same interface. More... | |
class | ns3::NetDevice |
Network layer to device interface. More... | |
class | ns3::SimpleNetDevice |
This device assumes 48-bit mac addressing; there is also the possibility to add an ErrorModel if you want to force losses on the device. More... | |
Enumerations | |
enum | ns3::NetDevice::PacketType { ns3::NetDevice::PACKET_HOST = 1, ns3::NetDevice::NS3_PACKET_HOST = PACKET_HOST, ns3::NetDevice::PACKET_BROADCAST, ns3::NetDevice::NS3_PACKET_BROADCAST = PACKET_BROADCAST, ns3::NetDevice::PACKET_MULTICAST, ns3::NetDevice::NS3_PACKET_MULTICAST = PACKET_MULTICAST, ns3::NetDevice::PACKET_OTHERHOST, ns3::NetDevice::NS3_PACKET_OTHERHOST = PACKET_OTHERHOST } |
Packet types are used as they are in Linux. More... | |
Packet types are used as they are in Linux.
GCC name resolution on typedef enum {} PacketType is broken for the foreseeable future, so if you need to use ns-3 PacketType in a driver that also uses the Linux packet types you're hosed unless we define a shadow type, which we do here.
Enumerator | |
---|---|
PACKET_HOST |
Packet addressed oo us. |
NS3_PACKET_HOST | |
PACKET_BROADCAST |
Packet addressed to all. |
NS3_PACKET_BROADCAST | |
PACKET_MULTICAST |
Packet addressed to multicast group. |
NS3_PACKET_MULTICAST | |
PACKET_OTHERHOST |
Packet addressed to someone else. |
NS3_PACKET_OTHERHOST |
Definition at line 276 of file net-device.h.