xorp

RouteInjector< A > Struct Template Reference

Unary function object to inject routes into a route database. More...

#include <test_utils.hh>

List of all members.

Public Member Functions

 RouteInjector (RouteDB< A > &r, const A &my_addr, const string &ifname, const string &vifname, uint32_t cost, Peer< A > *peer)
void operator() (const IPNet< A > &net)
uint32_t injected () const

Protected Attributes

RouteDB< A > & _r
_m
string _ifname
string _vifname
uint32_t _c
Peer< A > * _p
uint32_t _injected

Detailed Description

template<typename A>
struct RouteInjector< A >

Unary function object to inject routes into a route database.


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