|
xorp
|
IPv4 configuration atom. More...
#include <ifmgr_atoms.hh>
Public Member Functions | |
| IfMgrIPv4Atom (const IPv4 &addr) | |
| const IPv4 & | addr () 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 IPv4 & | broadcast_addr () const |
| bool | has_endpoint () const |
| void | remove_endpoint () |
| void | set_endpoint_addr (const IPv4 &endpoint) |
| const IPv4 & | endpoint_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() |
IPv4 configuration atom.
Represents an address associated with a virtual interface in XORP's model of forwarding h/w.