| FtiConfigEntryGet (FtiConfig& ftic)
| FtiConfigEntryGet |
| ~FtiConfigEntryGet ()
| ~FtiConfigEntryGet |
[virtual]
| FtiConfig& ftic ()
| ftic |
| void register_ftic_primary ()
| register_ftic_primary |
[virtual]
| void register_ftic_secondary ()
| register_ftic_secondary |
[virtual]
| void set_primary ()
| set_primary |
[virtual]
| void set_secondary ()
| set_secondary |
[virtual]
| bool is_primary ()
| is_primary |
[const virtual]
| bool is_secondary ()
| is_secondary |
[const virtual]
| bool is_running ()
| is_running |
[const virtual]
| int start (string& error_msg)
| start |
[pure virtual]
Start operation.
Parameters:
| error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
| int stop (string& error_msg)
| stop |
[pure virtual]
Stop operation.
Parameters:
| error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
| bool lookup_route_by_dest4 (const IPv4& dst, Fte4& fte)
| lookup_route_by_dest4 |
[pure virtual]
Lookup a route by destination address.
Parameters:
| dst | host address to resolve. |
| fte | return-by-reference forwarding table entry. |
Returns: bool on success, otherwise false.
| bool lookup_route_by_network4 (const IPv4Net& dst, Fte4& fte)
| lookup_route_by_network4 |
[pure virtual]
Lookup route by network address.
Parameters:
| dst | network address to resolve. |
| fte | return-by-reference forwarding table entry. |
Returns: true on success, otherwise false.
| bool lookup_route_by_dest6 (const IPv6& dst, Fte6& fte)
| lookup_route_by_dest6 |
[pure virtual]
Lookup a route by destination address.
Parameters:
| dst | host address to resolve. |
| fte | return-by-reference forwarding table entry. |
Returns: true on success, otherwise false.
| bool lookup_route_by_network6 (const IPv6Net& dst, Fte6& fte)
| lookup_route_by_network6 |
[pure virtual]
Lookup route by network address.
Parameters:
| dst | network address to resolve. |
| fte | return-by-reference forwarding table entry. |
Returns: true on success, otherwise false.
| bool parse_buffer_rtm (FteX& fte, const uint8_t *buf, size_t buf_bytes,
FtiFibMsgSet filter)
| parse_buffer_rtm |
Parse information about routing entry 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:
| fte | the Fte storage to store the parsed information. |
| buf | the buffer with the data to parse. |
| buf_bytes | buf_bytes the size of the data in the buffer. |
| filter | the set of messages that caller is interested in. |
Returns: true on success, otherwise false.
See also: FteX.
| bool parse_buffer_nlm (FteX& fte, const uint8_t *buf, size_t buf_bytes,
bool is_nlm_get_only)
| parse_buffer_nlm |
Parse information about routing entry information received from the underlying system.
The information to parse is in NETLINK format (e.g., obtained by netlink(7) sockets mechanism).
Parameters:
| fte | the Fte storage to store the parsed information. |
| buf | the buffer with the data to parse. |
| buf_bytes | buf_bytes the size of the data in the buffer. |
| is_nlm_get_only | if true, consider only the entries obtained by RTM_GETROUTE. |
Returns: true on success, otherwise false.
See also: FteX.
| int sock (int family)
| sock |
[protected]
| int _s4 | _s4 |
[protected]
| int _s6 | _s6 |
[protected]
| bool _is_running | _is_running |
[protected]