xorp

FibConfigEntrySetRtmV2 Class Reference

Inheritance diagram for FibConfigEntrySetRtmV2:
FibConfigEntrySet

List of all members.

Public Member Functions

 FibConfigEntrySetRtmV2 (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigEntrySetRtmV2 ()
 Virtual destructor.
virtual int start (string &error_msg)
 Start operation.
virtual int stop (string &error_msg)
 Stop operation.
virtual int add_entry4 (const Fte4 &fte)
 Add a single IPv4 forwarding entry.
virtual int delete_entry4 (const Fte4 &fte)
 Delete a single IPv4 forwarding entry.
virtual int add_entry6 (const Fte6 &fte)
 Add a single IPv6 forwarding entry.
virtual int delete_entry6 (const Fte6 &fte)
 Delete a single IPv6 forwarding entry.
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 add_entry (const FteX &fte)
int delete_entry (const FteX &fte)

Private Attributes

WinRtmPipe_rs4
WinRtmPipe_rs6

Constructor & Destructor Documentation

FibConfigEntrySetRtmV2::FibConfigEntrySetRtmV2 ( FeaDataPlaneManager fea_data_plane_manager)

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

virtual int FibConfigEntrySetRtmV2::add_entry4 ( const Fte4 fte) [virtual]

Add a single IPv4 forwarding entry.

Must be within a configuration interval.

Parameters:
ftethe entry to add.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigEntrySet.

virtual int FibConfigEntrySetRtmV2::add_entry6 ( const Fte6 fte) [virtual]

Add a single IPv6 forwarding entry.

Must be within a configuration interval.

Parameters:
ftethe entry to add.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigEntrySet.

virtual int FibConfigEntrySetRtmV2::delete_entry4 ( const Fte4 fte) [virtual]

Delete a single IPv4 forwarding entry.

Must be with a configuration interval.

Parameters:
ftethe entry to delete. Only destination and netmask are used.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigEntrySet.

virtual int FibConfigEntrySetRtmV2::delete_entry6 ( const Fte6 fte) [virtual]

Delete a single IPv6 forwarding entry.

Must be within a configuration interval.

Parameters:
ftethe entry to delete. Only destination and netmask are used.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigEntrySet.

virtual int FibConfigEntrySetRtmV2::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 FibConfigEntrySet.

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

Start operation.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigEntrySet.

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

Stop operation.

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

Implements FibConfigEntrySet.


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