A Discrete-Event Network Simulator
API
Tap Bridge Network Device

This section documents the API of the ns-3 tap-bridge module. More...

Classes

class  ns3::TapBridge
 A bridge to make it appear that a real host process is connected to an ns-3 net device. More...
 
class  ns3::TapBridgeFdReader
 Class to perform the actual reading from a socket. More...
 

Enumerations

enum  ns3::TapBridge::Mode { ns3::TapBridge::ILLEGAL, ns3::TapBridge::CONFIGURE_LOCAL, ns3::TapBridge::USE_LOCAL, ns3::TapBridge::USE_BRIDGE }
 Enumeration of the operating modes supported in the class. More...
 

Detailed Description

This section documents the API of the ns-3 tap-bridge module.

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

Enumeration Type Documentation

Enumeration of the operating modes supported in the class.

Enumerator
ILLEGAL 

mode not set

CONFIGURE_LOCAL 

ns-3 creates and configures tap device

USE_LOCAL 

ns-3 uses a pre-created tap, without configuring it

USE_BRIDGE 

ns-3 uses a pre-created tap, and bridges to a bridging net device

Definition at line 120 of file tap-bridge.h.