#include <route.hh>
Public Member Functions | |
LocalRoute (const address_t &d, unsigned p, const ifaceinfo_t &i) | |
LocalRoute (const This &other) | |
const address_t & | dest_addr () const |
unsigned | prefix () const |
const ifaceinfo_t & | interface_info () const |
bool | operator== (const This &rhs) const |
Static Public Member Functions | |
static const This & | make_key (const address_t &d, unsigned p) |
Private Types | |
typedef LocalRoute | This |
Private Member Functions | |
LocalRoute () | |
Private Attributes | |
const address_t | _d_addr |
Destination address. | |
const unsigned | _prefix |
Prefix length. | |
const ifaceinfo_t | _info |
Output interface information. | |
Static Private Attributes | |
static This | _dummy_for_find |
Static instance for key building. |
A local route is simply a destination address, a prefix length and an output interface.
|
|
|
Private constructor This is provided only for _dummy_for_find. |
|
Constructor
|
|
|
|
Destination address accessor
|
|
Interface accessor
|
|
Key builder
|
|
Equality comparison operator
|
|
Prefix length accessor
|
|
Destination address.
|
|
Static instance for key building.
|
|
Output interface information.
|
|
Prefix length.
|