This section documents the API of the ns-3 network module. More...
| Topics | |
| Address | |
| Network Address abstractions, including MAC, IPv4 and IPv6. | |
| Channel | |
| Data Rate | |
| Error Model | |
| Network Device | |
| Network module unit tests | |
| Packet | |
| Packet Performance | |
| The current implementation of the byte buffers and tag list is based on COW (Copy On Write. | |
| Queue | |
| Queue size | |
| Sequence Counter | |
| "sequence number" classes | |
| Socket | |
| Files | |
| file | header-serialization-test.h | 
| Contains the implementation of the HeaderSerializationTestCase base class. | |
| Classes | |
| class | ns3::ChannelList | 
| the list of simulation channels.  More... | |
| class | ns3::ChannelListPriv | 
| private implementation detail of the ChannelList API.  More... | |
| class | ns3::DynamicQueueLimits | 
| DynamicQueueLimits would be used in conjunction with a producer/consumer type queue (possibly a netdevice queue).  More... | |
| class | ns3::EthernetHeader | 
| Packet header for Ethernet.  More... | |
| class | ns3::EthernetTrailer | 
| Packet trailer for Ethernet.  More... | |
| class | ns3::LlcSnapHeader | 
| Header for the LLC/SNAP encapsulation.  More... | |
| class | ns3::Mac8Address | 
| A class used for addressing MAC8 MAC's.  More... | |
| class | MyHeader | 
| A simple example of an Header implementation.  More... | |
| class | MyTag | 
| A simple example of an Tag implementation.  More... | |
| class | ns3::Node | 
| A network Node.  More... | |
| class | ns3::NodeList | 
| the list of simulation nodes.  More... | |
| class | ns3::NodeListPriv | 
| private implementation detail of the NodeList API.  More... | |
| class | ns3::QueueDiscItem | 
| QueueDiscItem is the abstract base class for items that are stored in a queue disc.  More... | |
| class | ns3::QueueLimits | 
| Abstract base class for NetDevice queue length controller.  More... | |
| Typedefs | |
| typedef void(* | ns3::TracedValueCallback::DataRate) (DataRate oldValue, DataRate newValue) | 
| TracedValue callback signature for DataRate. | |
| Enumerations | |
| enum | ns3::ethernet_header_t { ns3::LENGTH , ns3::VLAN , ns3::QINQ } | 
| Types of ethernet packets.  More... | |
This section documents the API of the ns-3 network module.
For a generic functional description, please refer to the ns-3 manual.
| typedef void(* ns3::TracedValueCallback::DataRate) (DataRate oldValue, DataRate newValue) | 
TracedValue callback signature for DataRate.
| [in] | oldValue | original value of the traced variable | 
| [in] | newValue | new value of the traced variable | 
Definition at line 316 of file data-rate.h.
Types of ethernet packets.
Indicates the type of the current header.
| Enumerator | |
|---|---|
| LENGTH | Basic ethernet packet, no tags, type/length field indicates packet length or IP/ARP packet. | 
| VLAN | Single tagged packet. Header includes VLAN tag | 
| QINQ | Double tagged packet. Header includes two VLAN tags | 
Definition at line 27 of file ethernet-header.h.