xorp

FibConfigEntryGet Class Reference

Inheritance diagram for FibConfigEntryGet:
FibConfigEntryGetDummy FibConfigEntryGetIPHelper FibConfigEntryGetRtmV2

List of all members.

Public Member Functions

 FibConfigEntryGet (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigEntryGet ()
 Virtual destructor.
FibConfigfibconfig ()
 Get the FibConfig instance.
FeaDataPlaneManagerfea_data_plane_manager ()
 Get the FeaDataPlaneManager instance.
virtual bool is_running () const
 Test whether this instance is running.
virtual int start (string &error_msg)=0
 Start operation.
virtual int stop (string &error_msg)=0
 Stop operation.
virtual int lookup_route_by_dest4 (const IPv4 &dst, Fte4 &fte)=0
 Lookup an IPv4 route by destination address.
virtual int lookup_route_by_network4 (const IPv4Net &dst, Fte4 &fte)=0
 Lookup an IPv4 route by network address.
virtual int lookup_route_by_dest6 (const IPv6 &dst, Fte6 &fte)=0
 Lookup an IPv6 route by destination address.
virtual int lookup_route_by_network6 (const IPv6Net &dst, Fte6 &fte)=0
 Lookup an IPv6 route by network address.
virtual int notify_table_id_change (uint32_t new_tbl)=0
 Routing table ID that we are interested in might have changed.

Protected Attributes

bool _is_running

Private Attributes

FibConfig_fibconfig
FeaDataPlaneManager_fea_data_plane_manager

Constructor & Destructor Documentation

FibConfigEntryGet::FibConfigEntryGet ( FeaDataPlaneManager fea_data_plane_manager) [inline]

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

FeaDataPlaneManager& FibConfigEntryGet::fea_data_plane_manager ( ) [inline]

Get the FeaDataPlaneManager instance.

Returns:
the FeaDataPlaneManager instance.
FibConfig& FibConfigEntryGet::fibconfig ( ) [inline]

Get the FibConfig instance.

Returns:
the FibConfig instance.
virtual bool FibConfigEntryGet::is_running ( ) const [inline, virtual]

Test whether this instance is running.

Returns:
true if the instance is running, otherwise false.
virtual int FibConfigEntryGet::lookup_route_by_dest4 ( const IPv4 dst,
Fte4 fte 
) [pure virtual]

Lookup an IPv4 route by destination address.

Parameters:
dsthost address to resolve.
ftereturn-by-reference forwarding table entry.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.

virtual int FibConfigEntryGet::lookup_route_by_dest6 ( const IPv6 dst,
Fte6 fte 
) [pure virtual]

Lookup an IPv6 route by destination address.

Parameters:
dsthost address to resolve.
ftereturn-by-reference forwarding table entry.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.

virtual int FibConfigEntryGet::lookup_route_by_network4 ( const IPv4Net dst,
Fte4 fte 
) [pure virtual]

Lookup an IPv4 route by network address.

Parameters:
dstnetwork address to resolve.
ftereturn-by-reference forwarding table entry.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.

virtual int FibConfigEntryGet::lookup_route_by_network6 ( const IPv6Net dst,
Fte6 fte 
) [pure virtual]

Lookup an IPv6 route by network address.

Parameters:
dstnetwork address to resolve.
ftereturn-by-reference forwarding table entry.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.

virtual int FibConfigEntryGet::notify_table_id_change ( uint32_t  new_tbl) [pure virtual]

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

Maybe something can filter on this for increased efficiency.

Implemented in FibConfigEntryGetDummy, and FibConfigEntryGetIPHelper.

virtual int FibConfigEntryGet::start ( string &  error_msg) [pure virtual]

Start operation.

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

Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.

virtual int FibConfigEntryGet::stop ( string &  error_msg) [pure virtual]

Stop operation.

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

Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.


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