|
xorp
|
Public Member Functions | |
| FibConfigEntryGet (FeaDataPlaneManager &fea_data_plane_manager) | |
| Constructor. | |
| virtual | ~FibConfigEntryGet () |
| Virtual destructor. | |
| FibConfig & | fibconfig () |
| Get the FibConfig instance. | |
| FeaDataPlaneManager & | fea_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 |
| FibConfigEntryGet::FibConfigEntryGet | ( | FeaDataPlaneManager & | fea_data_plane_manager | ) | [inline] |
Constructor.
| fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
| FeaDataPlaneManager& FibConfigEntryGet::fea_data_plane_manager | ( | ) | [inline] |
Get the FeaDataPlaneManager instance.
| FibConfig& FibConfigEntryGet::fibconfig | ( | ) | [inline] |
| virtual bool FibConfigEntryGet::is_running | ( | ) | const [inline, virtual] |
Test whether this instance is running.
| virtual int FibConfigEntryGet::lookup_route_by_dest4 | ( | const IPv4 & | dst, |
| Fte4 & | fte | ||
| ) | [pure virtual] |
Lookup an IPv4 route by destination address.
| dst | host address to resolve. |
| fte | return-by-reference forwarding table entry. |
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.
| dst | host address to resolve. |
| fte | return-by-reference forwarding table entry. |
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.
| dst | network address to resolve. |
| fte | return-by-reference forwarding table entry. |
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.
| dst | network address to resolve. |
| fte | return-by-reference forwarding table entry. |
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.
| error_msg | the error message (if error). |
Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.
| virtual int FibConfigEntryGet::stop | ( | string & | error_msg | ) | [pure virtual] |
Stop operation.
| error_msg | the error message (if error). |
Implemented in FibConfigEntryGetDummy, FibConfigEntryGetIPHelper, and FibConfigEntryGetRtmV2.