static const IPv4Net 0 | 0 |
#include <constants.hh>
static const IPv6Net 0 | 0 |
#include <constants.hh>
enum RipHorizon { NONE = 0, SPLIT = 1, SPLIT_POISON_REVERSE = 2 } | RipHorizon |
#include <constants.hh>
Enumeration of RIP Horizon types.
inline const char*
rip_horizon_name (RipHorizon h)
| rip_horizon_name |
[static]
#include <constants.hh>
inline uint32_t
weak_random ()
| weak_random |
[static]
#include <test_utils.hh>
A weak but platform independent random number generator.
template <typename A>
inline A random_addr ()
| random_addr |
#include <test_utils.hh>
template <>
IPv4
random_addr | random_addr |
#include <test_utils.hh>
Generate a random IPv4 address.
template <>
IPv6
random_addr | random_addr |
#include <test_utils.hh>
Generate a random IPv6 address.
template <typename A>
void
make_nets (set<IPNet<A> >& nets, uint32_t n_nets)
| make_nets |
#include <test_utils.hh>
bool verbose ()
| verbose |
#include <test_utils.hh>
void set_verbose (bool v)
| set_verbose |
#include <test_utils.hh>
const char* xrl_rib_name ()
| xrl_rib_name |
#include <xrl_config.hh>
Get name to address RIB by in XRL calls.
const char* xrl_fea_name ()
| xrl_fea_name |
#include <xrl_config.hh>
Get name to address FEA by in XRL calls.
void set_xrl_rib_name (const char* rib_name)
| set_xrl_rib_name |
#include <xrl_config.hh>
Set name to address RIB by in XRL calls.
NB this call should be made before any calls to xrl_rib_name().
void set_xrl_fea_name (const char* fea_name)
| set_xrl_fea_name |
#include <xrl_config.hh>
Set name to address FEA by in XRL calls.
NB this call should be made before any calls to xrl_rib_name().