FibConfigForwarding (FeaDataPlaneManager& fea_data_plane_manager)
| FibConfigForwarding |
Constructor.
Parameters:
fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
~FibConfigForwarding ()
| ~FibConfigForwarding |
[virtual]
FibConfig& fibconfig ()
| fibconfig |
Get the FibConfig instance.
Returns: the FibConfig instance.
FeaDataPlaneManager& fea_data_plane_manager ()
| fea_data_plane_manager |
Get the FeaDataPlaneManager instance.
Returns: the FeaDataPlaneManager instance.
const FeaDataPlaneManager& fea_data_plane_manager ()
| fea_data_plane_manager |
[const]
Get the const FeaDataPlaneManager instance.
Returns: the const FeaDataPlaneManager instance.
bool is_running ()
| is_running |
[const virtual]
Test whether this instance is running.
Returns: true if the instance is running, otherwise false.
int start (string& error_msg)
| start |
[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 |
[virtual]
Stop operation.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int unicast_forwarding_enabled4 (bool& ret_value, string& error_msg)
| unicast_forwarding_enabled4 |
[const pure virtual]
Test whether the IPv4 unicast forwarding engine is enabled or disabled to forward packets.
Parameters:
ret_value | if true on return, then the IPv4 unicast forwarding is enabled, otherwise is disabled. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int unicast_forwarding_enabled6 (bool& ret_value, string& error_msg)
| unicast_forwarding_enabled6 |
[const pure virtual]
Test whether the IPv6 unicast forwarding engine is enabled or disabled to forward packets.
Parameters:
ret_value | if true on return, then the IPv6 unicast forwarding is enabled, otherwise is disabled. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int accept_rtadv_enabled6 (bool& ret_value, string& error_msg)
| accept_rtadv_enabled6 |
[const pure virtual]
Test whether the acceptance of IPv6 Router Advertisement messages is enabled or disabled.
Parameters:
ret_value | if true on return, then the acceptance of IPv6 Router Advertisement messages is enabled, otherwise is disabled. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_unicast_forwarding_enabled4 (bool v, string& error_msg)
| set_unicast_forwarding_enabled4 |
[pure virtual]
Set the IPv4 unicast forwarding engine to enable or disable forwarding of packets.
Parameters:
v | if true, then enable IPv4 unicast forwarding, otherwise disable it. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_unicast_forwarding_enabled6 (bool v, string& error_msg)
| set_unicast_forwarding_enabled6 |
[pure virtual]
Set the IPv6 unicast forwarding engine to enable or disable forwarding of packets.
Parameters:
v | if true, then enable IPv6 unicast forwarding, otherwise disable it. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_accept_rtadv_enabled6 (bool v, string& error_msg)
| set_accept_rtadv_enabled6 |
[pure virtual]
Enable or disable the acceptance of IPv6 Router Advertisement messages from other routers. It should be enabled for hosts, and disabled for routers.
Parameters:
v | if true, then enable the acceptance of IPv6 Router Advertisement messages, otherwise disable it. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
bool _is_running | _is_running |
[protected]