xorp

FibConfigTableGetIPHelper Class Reference

Inheritance diagram for FibConfigTableGetIPHelper:
FibConfigTableGet

List of all members.

Public Member Functions

 FibConfigTableGetIPHelper (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigTableGetIPHelper ()
 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.

Private Member Functions

int get_table (int family, list< FteX > &fte_list)

Constructor & Destructor Documentation

FibConfigTableGetIPHelper::FibConfigTableGetIPHelper ( FeaDataPlaneManager fea_data_plane_manager)

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

virtual int FibConfigTableGetIPHelper::get_table4 ( list< Fte4 > &  fte_list) [virtual]

Obtain the IPv4 unicast forwarding table.

Parameters:
fte_listthe 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 FibConfigTableGetIPHelper::get_table6 ( list< Fte6 > &  fte_list) [virtual]

Obtain the IPv6 unicast forwarding table.

Parameters:
fte_listthe return-by-reference list with all entries in the IPv6 unicast forwarding table.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigTableGet.

virtual int FibConfigTableGetIPHelper::notify_table_id_change ( uint32_t  new_tbl) [inline, virtual]

Routing table ID that we are interested in might have changed.

Maybe something can filter on this for increased efficiency.

Implements FibConfigTableGet.

virtual int FibConfigTableGetIPHelper::start ( string &  error_msg) [virtual]

Start operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigTableGet.

virtual int FibConfigTableGetIPHelper::stop ( string &  error_msg) [virtual]

Stop operation.

Parameters:
error_msgthe 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:
 All Classes Namespaces Functions Variables Typedefs Enumerations