xorp

FibConfigForwardingDummy Class Reference

Inheritance diagram for FibConfigForwardingDummy:
FibConfigForwarding

List of all members.

Public Member Functions

 FibConfigForwardingDummy (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigForwardingDummy ()
 Virtual destructor.
virtual int unicast_forwarding_enabled4 (bool &ret_value, string &error_msg) const
 Test whether the IPv4 unicast forwarding engine is enabled or disabled to forward packets.
virtual int unicast_forwarding_enabled6 (bool &ret_value, string &error_msg) const
 Test whether the IPv6 unicast forwarding engine is enabled or disabled to forward packets.
virtual int accept_rtadv_enabled6 (bool &ret_value, string &error_msg) const
 Test whether the acceptance of IPv6 Router Advertisement messages is enabled or disabled.
virtual int set_unicast_forwarding_enabled4 (bool v, string &error_msg)
 Set the IPv4 unicast forwarding engine to enable or disable forwarding of packets.
virtual int set_unicast_forwarding_enabled6 (bool v, string &error_msg)
 Set the IPv6 unicast forwarding engine to enable or disable forwarding of packets.
virtual int set_accept_rtadv_enabled6 (bool v, string &error_msg)
 Enable or disable the acceptance of IPv6 Router Advertisement messages from other routers.

Private Attributes

bool _unicast_forwarding_enabled4
bool _unicast_forwarding_enabled6
bool _accept_rtadv_enabled6

Constructor & Destructor Documentation

FibConfigForwardingDummy::FibConfigForwardingDummy ( FeaDataPlaneManager fea_data_plane_manager)

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

int FibConfigForwardingDummy::accept_rtadv_enabled6 ( bool &  ret_value,
string &  error_msg 
) const [virtual]

Test whether the acceptance of IPv6 Router Advertisement messages is enabled or disabled.

Parameters:
ret_valueif true on return, then the acceptance of IPv6 Router Advertisement messages is enabled, otherwise is disabled.
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigForwarding.

int FibConfigForwardingDummy::set_accept_rtadv_enabled6 ( bool  v,
string &  error_msg 
) [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:
vif true, then enable the acceptance of IPv6 Router Advertisement messages, otherwise disable it.
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigForwarding.

int FibConfigForwardingDummy::set_unicast_forwarding_enabled4 ( bool  v,
string &  error_msg 
) [virtual]

Set the IPv4 unicast forwarding engine to enable or disable forwarding of packets.

Parameters:
vif true, then enable IPv4 unicast forwarding, otherwise disable it.
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigForwarding.

int FibConfigForwardingDummy::set_unicast_forwarding_enabled6 ( bool  v,
string &  error_msg 
) [virtual]

Set the IPv6 unicast forwarding engine to enable or disable forwarding of packets.

Parameters:
vif true, then enable IPv6 unicast forwarding, otherwise disable it.
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigForwarding.

int FibConfigForwardingDummy::unicast_forwarding_enabled4 ( bool &  ret_value,
string &  error_msg 
) const [virtual]

Test whether the IPv4 unicast forwarding engine is enabled or disabled to forward packets.

Parameters:
ret_valueif true on return, then the IPv4 unicast forwarding is enabled, otherwise is disabled.
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigForwarding.

int FibConfigForwardingDummy::unicast_forwarding_enabled6 ( bool &  ret_value,
string &  error_msg 
) const [virtual]

Test whether the IPv6 unicast forwarding engine is enabled or disabled to forward packets.

Parameters:
ret_valueif true on return, then the IPv6 unicast forwarding is enabled, otherwise is disabled.
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigForwarding.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations