|
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_ |
| std::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 66 of file static_route.h.
| typedef T::AddressT StaticRouteMgr< T >::AddressT |
Definition at line 71 of file static_route.h.
| typedef T::PrefixT StaticRouteMgr< T >::PrefixT |
Definition at line 70 of file static_route.h.
| typedef T::RouteT StaticRouteMgr< T >::RouteT |
Definition at line 68 of file static_route.h.
|
private |
Definition at line 116 of file static_route.h.
| typedef std::map<RouteKey, StaticRoutePtr> StaticRouteMgr< T >::StaticRouteMap |
Definition at line 90 of file static_route.h.
|
private |
Definition at line 115 of file static_route.h.
| typedef StaticRoute<T> StaticRouteMgr< T >::StaticRouteT |
Definition at line 72 of file static_route.h.
| typedef T::VpnRouteT StaticRouteMgr< T >::VpnRouteT |
Definition at line 69 of file static_route.h.
|
explicit |
| StaticRouteMgr< T >::~StaticRouteMgr |
Definition at line 831 of file static_route.cc.
|
private |
Definition at line 871 of file static_route.cc.
|
private |
Definition at line 860 of file static_route.cc.
|
private |
Definition at line 876 of file static_route.cc.
|
inlineprivatevirtual |
Implements IStaticRouteMgr.
Definition at line 140 of file static_route.h.

|
privatevirtual |
Implements IStaticRouteMgr.
Definition at line 909 of file static_route.cc.
|
private |
|
inlineprivatevirtual |
Implements IStaticRouteMgr.
Definition at line 141 of file static_route.h.

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

|
virtual |
Implements IStaticRouteMgr.
Definition at line 851 of file static_route.cc.
| Ip4Address StaticRouteMgr< StaticRouteInet >::GetAddress | ( | IpAddress | addr | ) | const |
Definition at line 626 of file static_route.cc.
| Ip6Address StaticRouteMgr< StaticRouteInet6 >::GetAddress | ( | IpAddress | addr | ) | const |
Definition at line 632 of file static_route.cc.
| AddressT StaticRouteMgr< T >::GetAddress | ( | IpAddress | addr | ) | const |
|
virtual |
Implements IStaticRouteMgr.
Definition at line 925 of file static_route.cc.

| Address::Family StaticRouteMgr< StaticRouteInet >::GetFamily | ( | ) | const |
Definition at line 616 of file static_route.cc.
| Address::Family StaticRouteMgr< StaticRouteInet6 >::GetFamily | ( | ) | const |
Definition at line 621 of file static_route.cc.
| Address::Family StaticRouteMgr< T >::GetFamily | ( | ) | const |
|
virtual |
Implements IStaticRouteMgr.
Definition at line 919 of file static_route.cc.
|
inlineprivatevirtual |
Implements IStaticRouteMgr.
Definition at line 142 of file static_route.h.

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

|
virtual |
Implements IStaticRouteMgr.
Definition at line 819 of file static_route.cc.
|
private |
|
private |
|
inlineprivate |
Definition at line 143 of file static_route.h.
|
inline |
Definition at line 101 of file static_route.h.
|
private |
Definition at line 594 of file static_route.cc.
|
private |
Definition at line 596 of file static_route.cc.
|
private |
|
private |
|
private |
Definition at line 730 of file static_route.cc.
|
virtual |
Implements IStaticRouteMgr.
Definition at line 898 of file static_route.cc.

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

|
friend |
Definition at line 114 of file static_route.h.
|
private |
Definition at line 146 of file static_route.h.
|
private |
Definition at line 149 of file static_route.h.
|
private |
Definition at line 145 of file static_route.h.
|
private |
Definition at line 147 of file static_route.h.
|
private |
Definition at line 148 of file static_route.h.
|
staticprivate |
Definition at line 120 of file static_route.h.
|
private |
Definition at line 151 of file static_route.h.
|
private |
Definition at line 150 of file static_route.h.