|
OpenSDN source code
|
#include <static_route.h>


Classes | |
| struct | RouteKey |
Public Types | |
| typedef T::RouteT | RouteT |
| typedef T::VpnRouteT | VpnRouteT |
| typedef T::PrefixT | PrefixT |
| typedef T::AddressT | AddressT |
| typedef StaticRoute< T > | StaticRouteT |
| typedef std::map< RouteKey, StaticRoutePtr > | StaticRouteMap |
Public Member Functions | |
| StaticRouteMgr (RoutingInstance *instance) | |
| ~StaticRouteMgr () | |
| virtual void | ProcessStaticRouteConfig () |
| virtual void | UpdateStaticRouteConfig () |
| virtual void | FlushStaticRouteConfig () |
| void | EnqueueStaticRouteReq (StaticRouteRequest *req) |
| const StaticRouteMap & | static_route_map () const |
| virtual void | NotifyAllRoutes () |
| virtual void | UpdateAllRoutes () |
| virtual uint32_t | GetRouteCount () const |
| virtual uint32_t | GetDownRouteCount () const |
| virtual bool | FillStaticRouteInfo (RoutingInstance *rtinstance, StaticRouteEntriesInfo *info) const |
| Address::Family | GetFamily () const |
| AddressT | GetAddress (IpAddress addr) const |
| Address::Family | GetFamily () const |
| Address::Family | GetFamily () const |
| Ip4Address | GetAddress (IpAddress addr) const |
| Ip6Address | GetAddress (IpAddress addr) const |
Public Member Functions inherited from IStaticRouteMgr | |
| virtual | ~IStaticRouteMgr () |
Private Types | |
| typedef std::set< StaticRoutePtr > | StaticRouteProcessList |
| typedef BgpInstanceConfig::StaticRouteList | StaticRouteConfigList |
Private Member Functions | |
| int | CompareStaticRoute (typename StaticRouteMap::iterator loc, StaticRouteConfigList::iterator it) |
| void | AddStaticRoute (StaticRouteConfigList::iterator it) |
| void | DelStaticRoute (typename StaticRouteMap::iterator loc) |
| void | UpdateStaticRoute (typename StaticRouteMap::iterator loc, StaticRouteConfigList::iterator it) |
| void | LocateStaticRoutePrefix (const StaticRouteConfig &config) |
| void | RemoveStaticRoutePrefix (const RouteKey &static_route) |
| void | StopStaticRouteDone (BgpTable *table, ConditionMatch *info) |
| void | UnregisterAndResolveStaticRoute (StaticRoutePtr entry) |
| bool | StaticRouteEventCallback (StaticRouteRequest *req) |
| bool | ProcessUnregisterList () |
| virtual void | DisableUnregisterTrigger () |
| virtual void | EnableUnregisterTrigger () |
| virtual void | DisableQueue () |
| virtual void | EnableQueue () |
| virtual bool | IsQueueEmpty () |
| RoutingInstance * | routing_instance () |
| DISALLOW_COPY_AND_ASSIGN (StaticRouteMgr) | |
| int | static_route_task_id_ |
| int | static_route_task_id_ |
Private Attributes | |
| RoutingInstance * | rtinstance_ |
| BgpConditionListener * | listener_ |
| StaticRouteMap | static_route_map_ |
| WorkQueue< StaticRouteRequest * > * | static_route_queue_ |
| tbb::mutex | mutex_ |
| StaticRouteProcessList | unregister_static_route_list_ |
| boost::scoped_ptr< TaskTrigger > | unregister_list_trigger_ |
Static Private Attributes | |
| static int | static_route_task_id_ |
Friends | |
| template<typename U > | |
| class | StaticRouteTest |
Definition at line 64 of file static_route.h.
| typedef T::AddressT StaticRouteMgr< T >::AddressT |
Definition at line 69 of file static_route.h.
| typedef T::PrefixT StaticRouteMgr< T >::PrefixT |
Definition at line 68 of file static_route.h.
| typedef T::RouteT StaticRouteMgr< T >::RouteT |
Definition at line 66 of file static_route.h.
|
private |
Definition at line 114 of file static_route.h.
| typedef std::map<RouteKey, StaticRoutePtr> StaticRouteMgr< T >::StaticRouteMap |
Definition at line 88 of file static_route.h.
|
private |
Definition at line 113 of file static_route.h.
| typedef StaticRoute<T> StaticRouteMgr< T >::StaticRouteT |
Definition at line 70 of file static_route.h.
| typedef T::VpnRouteT StaticRouteMgr< T >::VpnRouteT |
Definition at line 67 of file static_route.h.
|
explicit |
| StaticRouteMgr< T >::~StaticRouteMgr |
Definition at line 830 of file static_route.cc.
|
private |
Definition at line 870 of file static_route.cc.
|
private |
Definition at line 859 of file static_route.cc.
|
private |
Definition at line 875 of file static_route.cc.
|
inlineprivatevirtual |
Implements IStaticRouteMgr.
Definition at line 138 of file static_route.h.

|
privatevirtual |
Implements IStaticRouteMgr.
Definition at line 908 of file static_route.cc.
|
private |
|
inlineprivatevirtual |
Implements IStaticRouteMgr.
Definition at line 139 of file static_route.h.

|
privatevirtual |
Implements IStaticRouteMgr.
Definition at line 913 of file static_route.cc.
| void StaticRouteMgr< T >::EnqueueStaticRouteReq | ( | StaticRouteRequest * | req | ) |
Definition at line 637 of file static_route.cc.
|
virtual |
Implements IStaticRouteMgr.
Definition at line 937 of file static_route.cc.

|
virtual |
Implements IStaticRouteMgr.
Definition at line 850 of file static_route.cc.
| Ip4Address StaticRouteMgr< StaticRouteInet >::GetAddress | ( | IpAddress | addr | ) | const |
Definition at line 625 of file static_route.cc.
| Ip6Address StaticRouteMgr< StaticRouteInet6 >::GetAddress | ( | IpAddress | addr | ) | const |
Definition at line 631 of file static_route.cc.
| AddressT StaticRouteMgr< T >::GetAddress | ( | IpAddress | addr | ) | const |
|
virtual |
Implements IStaticRouteMgr.
Definition at line 924 of file static_route.cc.

| Address::Family StaticRouteMgr< StaticRouteInet >::GetFamily | ( | ) | const |
Definition at line 615 of file static_route.cc.
| Address::Family StaticRouteMgr< StaticRouteInet6 >::GetFamily | ( | ) | const |
Definition at line 620 of file static_route.cc.
| Address::Family StaticRouteMgr< T >::GetFamily | ( | ) | const |
|
virtual |
Implements IStaticRouteMgr.
Definition at line 918 of file static_route.cc.
|
inlineprivatevirtual |
Implements IStaticRouteMgr.
Definition at line 140 of file static_route.h.

|
private |
|
virtual |
Implements IStaticRouteMgr.
Definition at line 886 of file static_route.cc.

|
virtual |
Implements IStaticRouteMgr.
Definition at line 818 of file static_route.cc.
|
private |
|
private |
|
inlineprivate |
Definition at line 141 of file static_route.h.
|
inline |
Definition at line 99 of file static_route.h.
|
private |
Definition at line 593 of file static_route.cc.
|
private |
Definition at line 595 of file static_route.cc.
|
private |
|
private |
|
private |
Definition at line 729 of file static_route.cc.
|
virtual |
Implements IStaticRouteMgr.
Definition at line 897 of file static_route.cc.

|
private |
Definition at line 880 of file static_route.cc.
|
virtual |
Implements IStaticRouteMgr.
Definition at line 836 of file static_route.cc.

|
friend |
Definition at line 112 of file static_route.h.
|
private |
Definition at line 144 of file static_route.h.
|
private |
Definition at line 147 of file static_route.h.
|
private |
Definition at line 143 of file static_route.h.
|
private |
Definition at line 145 of file static_route.h.
|
private |
Definition at line 146 of file static_route.h.
|
staticprivate |
Definition at line 118 of file static_route.h.
|
private |
Definition at line 149 of file static_route.h.
|
private |
Definition at line 148 of file static_route.h.