|
OpenSDN source code
|
This class defines interfaces for manipulating the prefix of a route stored in an Agent VRF table. More...
#include <agent_route.h>
Public Member Functions | |
| AgentRoutePrefix (const PrefixType &new_prefix, uint8_t new_plen) | |
| Creates a new route prefix. More... | |
| ~AgentRoutePrefix () | |
| The destructor of a route prefix. More... | |
| virtual const PrefixType & | prefix_address () const |
| Returns the value of a stored prefix address (IPv4, IPv6 or MAC address) More... | |
| void | set_prefix_length (uint8_t new_plen) |
| Sets the length of a stored prefix address. More... | |
Protected Attributes | |
| PrefixType | prefix_address_ |
| The prefix address. More... | |
| uint8_t | prefix_length_ |
| The prefix length. More... | |
Private Member Functions | |
| AgentRoutePrefix () | |
| Forbid default ctor. More... | |
| DISALLOW_COPY_AND_ASSIGN (AgentRoutePrefix) | |
This class defines interfaces for manipulating the prefix of a route stored in an Agent VRF table.
Definition at line 377 of file agent_route.h.
|
inline |
Creates a new route prefix.
Definition at line 381 of file agent_route.h.
|
inline |
The destructor of a route prefix.
Definition at line 385 of file agent_route.h.
|
private |
Forbid default ctor.
|
private |
|
inlinevirtual |
Returns the value of a stored prefix address (IPv4, IPv6 or MAC address)
Definition at line 389 of file agent_route.h.
|
inline |
Sets the length of a stored prefix address.
Definition at line 392 of file agent_route.h.
|
protected |
The prefix address.
Definition at line 399 of file agent_route.h.
|
protected |
The prefix length.
Definition at line 402 of file agent_route.h.