xorp

FibConfigEntryGetIPHelper Class Reference

Inheritance diagram for FibConfigEntryGetIPHelper:
FibConfigEntryGet

List of all members.

Public Member Functions

 FibConfigEntryGetIPHelper (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigEntryGetIPHelper ()
 Virtual destructor.
virtual int start (string &error_msg)
 Start operation.
virtual int stop (string &error_msg)
 Stop operation.
virtual int lookup_route_by_dest4 (const IPv4 &dst, Fte4 &fte)
 Lookup an IPv4 route by destination address.
virtual int lookup_route_by_network4 (const IPv4Net &dst, Fte4 &fte)
 Lookup an IPv4 route by network address.
virtual int lookup_route_by_dest6 (const IPv6 &dst, Fte6 &fte)
 Lookup an IPv6 route by destination address.
virtual int lookup_route_by_network6 (const IPv6Net &dst, Fte6 &fte)
 Lookup an IPv6 route by network address.
virtual int notify_table_id_change (uint32_t new_tbl)
 Routing table ID that we are interested in might have changed.

Private Member Functions

virtual int lookup_route_by_dest (const IPvX &dst, FteX &fte)
 Lookup a route by destination address.
virtual int lookup_route_by_network (const IPvXNet &dst, FteX &fte)
 Lookup a route by network address.

Constructor & Destructor Documentation

FibConfigEntryGetIPHelper::FibConfigEntryGetIPHelper ( FeaDataPlaneManager fea_data_plane_manager)

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

virtual int FibConfigEntryGetIPHelper::lookup_route_by_dest ( const IPvX dst,
FteX fte 
) [private, virtual]

Lookup a route by destination address.

Parameters:
dsthost address to resolve.
ftereturn-by-reference forwarding table entry.
Returns:
XORP_OK on success, otherwise XORP_ERROR.
virtual int FibConfigEntryGetIPHelper::lookup_route_by_dest4 ( const IPv4 dst,
Fte4 fte 
) [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.

Implements FibConfigEntryGet.

virtual int FibConfigEntryGetIPHelper::lookup_route_by_dest6 ( const IPv6 dst,
Fte6 fte 
) [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.

Implements FibConfigEntryGet.

virtual int FibConfigEntryGetIPHelper::lookup_route_by_network ( const IPvXNet dst,
FteX fte 
) [private, virtual]

Lookup a route by network address.

Parameters:
dstnetwork address to resolve.
ftereturn-by-reference forwarding table entry.
Returns:
XORP_OK on success, otherwise XORP_ERROR.
virtual int FibConfigEntryGetIPHelper::lookup_route_by_network4 ( const IPv4Net dst,
Fte4 fte 
) [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.

Implements FibConfigEntryGet.

virtual int FibConfigEntryGetIPHelper::lookup_route_by_network6 ( const IPv6Net dst,
Fte6 fte 
) [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.

Implements FibConfigEntryGet.

virtual int FibConfigEntryGetIPHelper::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 FibConfigEntryGet.

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

Start operation.

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

Implements FibConfigEntryGet.

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

Stop operation.

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

Implements FibConfigEntryGet.


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