A Discrete-Event Network Simulator
API
File Descriptor Network Device

This section documents the API of the ns-3 fd-net-device module. More...

Classes

class  ns3::FdNetDevice
 a NetDevice to read/write network traffic from/into a file descriptor. More...
 

Enumerations

enum  ns3::FdNetDevice::EncapsulationMode { ns3::FdNetDevice::DIX, ns3::FdNetDevice::LLC, ns3::FdNetDevice::DIXPI }
 Enumeration of the types of frames supported in the class. More...
 

Detailed Description

This section documents the API of the ns-3 fd-net-device module.

For a generic functional description, please refer to the ns-3 manual.

Enumeration Type Documentation

Enumeration of the types of frames supported in the class.

Enumerator
DIX 

DIX II / Ethernet II packet.

LLC 

802.2 LLC/SNAP Packet

DIXPI 

When using TAP devices, if flag IFF_NO_PI is not set on the device, IP packets will have an extra header: Flags [2 bytes] Proto [2 bytes] Raw protocol(IP, IPv6, etc) frame.

Definition at line 90 of file fd-net-device.h.