xorp

FibConfigEntryGetRtmV2 Class Reference

Inheritance diagram for FibConfigEntryGetRtmV2:
FibConfigEntryGet

List of all members.

Public Member Functions

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

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

FibConfigEntryGetRtmV2::FibConfigEntryGetRtmV2 ( FeaDataPlaneManager fea_data_plane_manager)

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (ref FeaDataPlaneManager).

Member Function Documentation

virtual int FibConfigEntryGetRtmV2::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 FibConfigEntryGetRtmV2::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 FibConfigEntryGetRtmV2::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 FibConfigEntryGetRtmV2::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 FibConfigEntryGetRtmV2::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 FibConfigEntryGetRtmV2::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 FibConfigEntryGetRtmV2::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 FibConfigEntryGetRtmV2::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