List of all members.
Classes |
| struct | FibMsg |
| | Flag values used to tell underlying FIB message parsing routines which messages the caller is interested in. More...
|
Public Types |
|
typedef uint32_t | FibMsgSet |
Public Member Functions |
| | FibConfigTableGetSysctl (FeaDataPlaneManager &fea_data_plane_manager) |
| | Constructor.
|
|
virtual | ~FibConfigTableGetSysctl () |
| | Virtual destructor.
|
| virtual int | start (string &error_msg) |
| | Start operation.
|
| virtual int | stop (string &error_msg) |
| | Stop operation.
|
| virtual int | get_table4 (list< Fte4 > &fte_list) |
| | Obtain the IPv4 unicast forwarding table.
|
| virtual int | get_table6 (list< Fte6 > &fte_list) |
| | Obtain the IPv6 unicast forwarding table.
|
|
virtual int | notify_table_id_change (uint32_t new_tbl) |
| | Routing table ID that we are interested in might have changed.
|
Static Public Member Functions |
| static int | parse_buffer_routing_socket (int family, const IfTree &iftree, list< FteX > &fte_list, const vector< uint8_t > &buffer, FibMsgSet filter) |
| | Parse information about routing table information received from the underlying system.
|
Private Member Functions |
|
int | get_table (int family, list< FteX > &fte_list) |
Constructor & Destructor Documentation
| FibConfigTableGetSysctl::FibConfigTableGetSysctl |
( |
FeaDataPlaneManager & |
fea_data_plane_manager | ) |
|
Member Function Documentation
| virtual int FibConfigTableGetSysctl::get_table4 |
( |
list< Fte4 > & |
fte_list | ) |
[virtual] |
Obtain the IPv4 unicast forwarding table.
- Parameters:
-
| fte_list | the return-by-reference list with all entries in the IPv4 unicast forwarding table. |
- Returns:
- XORP_OK on success, otherwise XORP_ERROR.
Implements FibConfigTableGet.
| virtual int FibConfigTableGetSysctl::get_table6 |
( |
list< Fte6 > & |
fte_list | ) |
[virtual] |
Obtain the IPv6 unicast forwarding table.
- Parameters:
-
| fte_list | the return-by-reference list with all entries in the IPv6 unicast forwarding table. |
- Returns:
- XORP_OK on success, otherwise XORP_ERROR.
Implements FibConfigTableGet.
| static int FibConfigTableGetSysctl::parse_buffer_routing_socket |
( |
int |
family, |
|
|
const IfTree & |
iftree, |
|
|
list< FteX > & |
fte_list, |
|
|
const vector< uint8_t > & |
buffer, |
|
|
FibMsgSet |
filter |
|
) |
| [static] |
Parse information about routing table information received from the underlying system.
The information to parse is in RTM format (e.g., obtained by routing sockets or by sysctl(3) mechanism).
- Parameters:
-
| family | the address family to consider only ((e.g., AF_INET or AF_INET6 for IPv4 and IPv6 respectively). |
| iftree | the interface tree to use. |
| fte_list | the list with the Fte entries to store the result. |
| buffer | the buffer with the data to parse. |
| filter | the set of messages that caller is interested in. |
- Returns:
- XORP_OK on success, otherwise XORP_ERROR.
- See also:
- FteX.
| virtual int FibConfigTableGetSysctl::start |
( |
string & |
error_msg | ) |
[virtual] |
Start operation.
- Parameters:
-
| error_msg | the error message (if error). |
- Returns:
- XORP_OK on success, otherwise XORP_ERROR.
Implements FibConfigTableGet.
| virtual int FibConfigTableGetSysctl::stop |
( |
string & |
error_msg | ) |
[virtual] |
Stop operation.
- Parameters:
-
| error_msg | the error message (if error). |
- Returns:
- XORP_OK on success, otherwise XORP_ERROR.
Implements FibConfigTableGet.
The documentation for this class was generated from the following file: