#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.
typedef LocalRoute olsr::net::LocalRoute::This [private] |
| olsr::net::LocalRoute::LocalRoute | ( | ) | [inline, explicit, private] |
Private constructor
This is provided only for _dummy_for_find.
| olsr::net::LocalRoute::LocalRoute | ( | const address_t & | d, | |
| unsigned | p, | |||
| const ifaceinfo_t & | i | |||
| ) | [inline] |
Constructor
| olsr::net::LocalRoute::LocalRoute | ( | const This & | other | ) | [inline] |
| const address_t& olsr::net::LocalRoute::dest_addr | ( | ) | const [inline] |
Destination address accessor
| unsigned olsr::net::LocalRoute::prefix | ( | ) | const [inline] |
Prefix length accessor
| const ifaceinfo_t& olsr::net::LocalRoute::interface_info | ( | ) | const [inline] |
Interface accessor
| bool olsr::net::LocalRoute::operator== | ( | const This & | rhs | ) | const [inline] |
Equality comparison operator
| const LocalRoute & olsr::net::LocalRoute::make_key | ( | const address_t & | d, | |
| unsigned | p | |||
| ) | [inline, static] |
Key builder
const address_t olsr::net::LocalRoute::_d_addr [private] |
Destination address.
const unsigned olsr::net::LocalRoute::_prefix [private] |
Prefix length.
const ifaceinfo_t olsr::net::LocalRoute::_info [private] |
Output interface information.
This olsr::net::LocalRoute::_dummy_for_find [static, private] |
Static instance for key building.
1.5.1