IfMgrIPv4Atom Class Reference

IPv4 configuration atom. More...

#include <ifmgr_atoms.hh>

List of all members.

Public Member Functions

 IfMgrIPv4Atom (const IPv4 &addr)
const IPv4addr () const
uint32_t prefix_len () const
void set_prefix_len (uint32_t v)
bool enabled () const
void set_enabled (bool v)
bool multicast_capable () const
void set_multicast_capable (bool v)
bool loopback () const
void set_loopback (bool v)
bool has_broadcast () const
void remove_broadcast ()
void set_broadcast_addr (const IPv4 &baddr)
const IPv4broadcast_addr () const
bool has_endpoint () const
void remove_endpoint ()
void set_endpoint_addr (const IPv4 &endpoint)
const IPv4endpoint_addr () const
bool operator== (const IfMgrIPv4Atom &o) const
string toString () const

Protected Attributes

IPv4 _addr
uint32_t _prefix_len
bool _enabled
bool _multicast_capable
bool _loopback
bool _broadcast
bool _p2p
IPv4 _other_addr

Static Protected Attributes

static const IPv4 _ZERO_ADDR = IPv4::ZERO()

Detailed Description

IPv4 configuration atom.

Represents an address associated with 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