IfMgrVifAtom Class Reference

Virtual Interface configuration atom. More...

#include <ifmgr_atoms.hh>

List of all members.

Public Types

typedef map< IPv4, IfMgrIPv4AtomIPv4Map
typedef map< IPv6, IfMgrIPv6AtomIPv6Map

Public Member Functions

 IfMgrVifAtom (const string &name)
const string & name () const
bool enabled () const
void set_enabled (bool v)
bool multicast_capable () const
void set_multicast_capable (bool v)
bool broadcast_capable () const
void set_broadcast_capable (bool v)
bool p2p_capable () const
void set_p2p_capable (bool v)
bool loopback () const
void set_loopback (bool v)
bool pim_register () const
void set_pim_register (bool v)
uint32_t pif_index () const
void set_pif_index (uint32_t v)
uint32_t vif_index () const
void set_vif_index (uint32_t v)
const IPv4Map & ipv4addrs () const
IPv4Map & ipv4addrs ()
const IfMgrIPv4Atomfind_addr (const IPv4 &addr) const
IfMgrIPv4Atomfind_addr (const IPv4 &addr)
const IPv6Map & ipv6addrs () const
IPv6Map & ipv6addrs ()
const IfMgrIPv6Atomfind_addr (const IPv6 &addr) const
IfMgrIPv6Atomfind_addr (const IPv6 &addr)
bool operator== (const IfMgrVifAtom &o) const
string toString () const

Protected Attributes

string _name
bool _enabled
bool _multicast_capable
bool _broadcast_capable
bool _p2p_capable
bool _loopback
bool _pim_register
uint32_t _pif_index
uint32_t _vif_index
IPv4Map _ipv4addrs
IPv6Map _ipv6addrs

Detailed Description

Virtual Interface configuration atom.

Represents a virtual interface in XORP's model of forwarding h/w.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations