| 
		| class IfTreeVif | Fea class for virtual (logical) interface state. More... |  
 |  | 
Public Types
- typedef map<const IPv4, IfTreeAddr4>  V4Map
- typedef map<const IPv6, IfTreeAddr6>  V6Map
Public Methods
Protected Methods
- inline IfTreeVif::V4Map::iterator
 get_addr (const IPv4& a) 
- inline IfTreeVif::V6Map::iterator
 get_addr (const IPv6& a) 
- inline IfTreeVif::V4Map::const_iterator
 get_addr (const IPv4& a)  const
- inline IfTreeVif::V6Map::const_iterator
 get_addr (const IPv6& a)  const
Protected Members
 Fea class for virtual (logical) interface state.
 
| IfTreeVif (const string& ifname, const string& vifname) 
 | IfTreeVif | 
| const string&  ifname () 
 | ifname | 
 [const]
| const string&  vifname () 
 | vifname | 
 [const]
| inline uint16_t  pif_index () 
 | pif_index | 
 [const]
| inline void  set_pif_index (uint16_t v) 
 | set_pif_index | 
| inline bool  enabled () 
 | enabled | 
 [const]
| inline bool  broadcast () 
 | broadcast | 
 [const]
| inline bool  loopback () 
 | loopback | 
 [const]
| inline bool  point_to_point () 
 | point_to_point | 
 [const]
| inline bool  multicast () 
 | multicast | 
 [const]
| inline void  set_enabled (bool en) 
 | set_enabled | 
| inline void  set_broadcast (bool v) 
 | set_broadcast | 
| inline void  set_loopback (bool v) 
 | set_loopback | 
| inline void  set_point_to_point (bool v) 
 | set_point_to_point | 
| inline void  set_multicast (bool v) 
 | set_multicast | 
| inline const V4Map&  v4addrs () 
 | v4addrs | 
 [const]
| inline V4Map&  v4addrs () 
 | v4addrs | 
| inline const V6Map&  v6addrs () 
 | v6addrs | 
 [const]
| inline V6Map&  v6addrs () 
 | v6addrs | 
| inline V4Map::iterator  get_addr (const IPv4& a) 
 | get_addr | 
| inline V6Map::iterator  get_addr (const IPv6& a) 
 | get_addr | 
| inline V4Map::const_iterator  get_addr (const IPv4& a) 
 | get_addr | 
 [const]
| inline V6Map::const_iterator  get_addr (const IPv6& a) 
 | get_addr | 
 [const]
| bool  add_addr (const IPv4& v4addr) 
 | add_addr | 
 Add address.
Parameters:
| v4addr | address to be added. | 
Returns: true on success, false if address already exists
     
| bool  remove_addr (const IPv4& v4addr) 
 | remove_addr | 
 Mark address as DELETED.  Deletion occurs when finalize_state is called.
Parameters:
| v4addr | address to labelled. | 
Returns: true on success, false if address does not exist.
     
| bool  add_addr (const IPv6& v6addr) 
 | add_addr | 
 Add address.
Parameters:
| v4addr | address to be added. | 
Returns: true on success, false if address already exists
     
| bool  remove_addr (const IPv6& v6addr) 
 | remove_addr | 
 Mark address as DELETED.  Deletion occurs when finalize_state is called.
Parameters:
| v4addr | address to labelled. | 
Returns: true on success, false if address does not exist.
     
| inline void  copy_state (const IfTreeVif& o) 
 | copy_state | 
 Copy state of internal variables from another IfTreeVif.
     
| inline bool  is_same_state (const IfTreeVif& o) 
 | is_same_state | 
 Test if the vif-specific internal state is same.
Parameters:
| o | the IfTreeVif to compare against. | 
Returns: true if the vif-specific internal state is same.
     
| void  finalize_state () 
 | finalize_state | 
Reimplemented from IfTreeItem.
 [const]
Reimplemented from IfTreeItem.
| const string  _ifname | _ifname | 
 [protected]
| const string  _vifname | _vifname | 
 [protected]
| uint16_t	  _pif_index | _pif_index | 
 [protected]
 [protected]
| bool	  _broadcast | _broadcast | 
 [protected]
 [protected]
| bool	  _point_to_point | _point_to_point | 
 [protected]
| bool	  _multicast | _multicast | 
 [protected]
 [protected]
 [protected]
| inline IfTreeVif::V4Map::iterator
 get_addr (const IPv4& a) 
 | get_addr | 
 [protected]
| inline IfTreeVif::V6Map::iterator
 get_addr (const IPv6& a) 
 | get_addr | 
 [protected]
| inline IfTreeVif::V4Map::const_iterator
 get_addr (const IPv4& a) 
 | get_addr | 
 [protected const]
| inline IfTreeVif::V6Map::const_iterator
 get_addr (const IPv6& a) 
 | get_addr | 
 [protected const]
	
	| Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:10 2003, using kdoc 2.0a54+XORP. |