| 
		| class EmulateSubnet |  
		| Bind together a set of IO classes in order to form a virtual subnet
 for testing, one instance per subnet. More... |  
 |  | 
 
Public Methods
-  EmulateSubnet (TestInfo& info, EventLoop& eventloop) 
- virtual   ~EmulateSubnet () 
- void
     receive_frames (const string& interface, const string& vif,
		   IPv4 dst, uint16_t dport, IPv4 src, uint16_t sport,
		   uint8_t* data, uint32_t len, const string instance) 
- virtual  void
     bind_interface (const string& instance,
		   const string& interface, const string& vif,
		   const IPv4& listen_addr, const uint16_t listen_port,
		   DebugIO& io) 
- void
     unbind_interface (const string& instance,
		     const string& interface, const string& vif,
		     const IPv4& listen_addr, const uint16_t listen_port,
		     DebugIO& io) 
- inline void  set_all_nodes_addr (IPv4 all_nodes_addr) 
Protected Types
Protected Methods
Protected Members
 Bind together a set of IO classes in order to form a virtual subnet
 for testing, one instance per subnet.
 
| ~EmulateSubnet () 
 | ~EmulateSubnet | 
 [virtual]
| void
     receive_frames (const string& interface, const string& vif,
		   IPv4 dst, uint16_t dport, IPv4 src, uint16_t sport,
		   uint8_t* data, uint32_t len, const string instance) 
 | receive_frames | 
 Receive frames
 All frames generated by an OLSR instance arrive here. Note
 that a frame arriving from one OLSR instance is not sent
 directly to another. The frames are queued and only when OLSR
 instance gives back control to the eventloop are the frames
 forwarded. This ensures that two OLSR instances are not in each
 others call graphs, which can cause re-entrancy problems.
     
| void
     bind_interface (const string& instance,
		   const string& interface, const string& vif,
		   const IPv4& listen_addr, const uint16_t listen_port,
		   DebugIO& io) 
 | bind_interface | 
 [virtual]
 Bind an interface to the emulated subnet.
     
| void
     unbind_interface (const string& instance,
		     const string& interface, const string& vif,
		     const IPv4& listen_addr, const uint16_t listen_port,
		     DebugIO& io) 
 | unbind_interface | 
 Unbind an interface from the emulated subnet.
     
| inline void  set_all_nodes_addr (IPv4 all_nodes_addr) 
 | set_all_nodes_addr | 
| Multiplex (class) | Multiplex | 
 [protected]
 [protected]
 [protected]
| void  forward (Frame frame) 
 | forward | 
 [protected virtual]
 [protected]
 [protected]
| map<const Multiplex, DebugIO *>  _ios | _ios | 
 [protected]
 [protected]
| deque<Frame>  _queue[2] | _queue[2] | 
 [protected]
| int  _queue_add | _queue_add | 
 [protected]
| int  _queue_remove | _queue_remove | 
 [protected]
| IPv4  _all_nodes_addr | _all_nodes_addr | 
 [protected]
	
Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:13 2008, using kdoc 2.0a54+XORP.