The basic entry in the MribTable lookup tree.
More...
#include <mrib_table.hh>
List of all members.
Detailed Description
The basic entry in the MribTable lookup tree.
Constructor & Destructor Documentation
| MribLookup::MribLookup |
( |
MribLookup * |
parent | ) |
[inline] |
Constructor for a given parent entry.
- Parameters:
-
Member Function Documentation
Get the next MribLookup entry.
The ordering of the entries is "depth-first search", where the nodes are returned in the following order: (a) the parent node; (b) the left-child node and all nodes within its subtree; (c) the right-child node and all nodes within its subtree;
- Returns:
- the next MribLookup entry if exists, otherwise NULL.
| Mrib* MribLookup::mrib |
( |
| ) |
const [inline] |
Get the corresponding Mrib entry.
- Returns:
- the corresponding Mrib entry if exists, otherwise NULL.
| void MribLookup::set_left_child |
( |
MribLookup * |
v | ) |
[inline] |
| void MribLookup::set_mrib |
( |
Mrib * |
v | ) |
[inline] |
Set the corresponding Mrib entry.
Note that the previous value of the corresponding Mrib entry is overwritten.
- Parameters:
-
| void MribLookup::set_parent |
( |
MribLookup * |
v | ) |
[inline] |
Set the parent MribLookup entry.
Note that the previous value of the parent is overwritten.
- Parameters:
-
| void MribLookup::set_right_child |
( |
MribLookup * |
v | ) |
[inline] |
Set the right child MribLookup entry.
Note that the previous value of the right child is overwritten.
- Parameters:
-
The documentation for this class was generated from the following files:
- /home/greearb/git/xorp.ct.github/xorp/mrt/mrib_table.hh
- /home/greearb/git/xorp.ct.github/xorp/mrt/mrib_table.cc