22 #include "ns3/tap-bridge.h" 
   23 #include "ns3/names.h" 
   64   NS_LOG_LOGIC (
"Install TapBridge on node " << node->
GetId () << 
" bridging net device " << nd);
 
   68   bridge->SetBridgedNetDevice (nd);
 
   76   Ptr<Node> node = Names::Find<Node> (nodeName);
 
   90   Ptr<Node> node = Names::Find<Node> (nodeName);
 
void SetAttribute(std::string n1, const AttributeValue &v1)
Set an attribute in the underlying TapBridge net device when these devices are automatically created...
 
Smart pointer class similar to boost::intrusive_ptr. 
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
 
Hold a value for an Attribute. 
 
ns-3 creates and configures tap device 
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
void SetTypeId(TypeId tid)
Set the TypeId of the Objects to be created by this factory. 
 
#define NS_LOG_FUNCTION_NOARGS()
Output the name of the function. 
 
Hold variables of type enum. 
 
Ptr< Object > Create(void) const 
Create an Object instance of the configured TypeId. 
 
A bridge to make it appear that a real host process is connected to an ns-3 net device. 
 
TapBridgeHelper()
Construct a TapBridgeHelper to make life easier for people wanting to have their simulations interact...
 
#define NS_LOG_LOGIC(msg)
Use NS_LOG to output a message of level LOG_LOGIC. 
 
ObjectFactory m_deviceFactory
Object factory. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
void Set(std::string name, const AttributeValue &value)
Set an attribute to be set during construction. 
 
AttributeValue implementation for Ipv4Address. 
 
Ipv4 addresses are stored in host order in this class. 
 
uint32_t AddDevice(Ptr< NetDevice > device)
Associate a NetDevice to this node. 
 
uint32_t GetId(void) const 
 
Ptr< NetDevice > Install(Ptr< Node > node, Ptr< NetDevice > nd)
This method installs a TapBridge on the specified Node and forms the bridge with the NetDevice specif...