OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bgp_mvpn.h File Reference
#include <tbb/reader_writer_lock.h>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <boost/scoped_ptr.hpp>
#include "base/lifetime.h"
#include "base/address.h"
#include "bgp/bgp_attr.h"
#include "bgp/bgp_table.h"
#include "db/db_entry.h"
Include dependency graph for bgp_mvpn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MvpnNeighbor
 
class  MvpnManagerPartition
 
class  MvpnManager
 
class  MvpnState
 
struct  MvpnState::SG
 
struct  MvpnDBState
 
class  MvpnProjectManagerPartition
 
class  MvpnProjectManager
 

Macros

#define MVPN_RT_LOG(rt,...)
 
#define MVPN_ERMVPN_RT_LOG(rt,...)
 
#define MVPN_LOG(type,...)
 
#define MVPN_TRACE(type,...)
 

Typedefs

typedef boost::intrusive_ptr
< MvpnState
MvpnStatePtr
 

Functions

void intrusive_ptr_add_ref (MvpnState *mvpn_state)
 
void intrusive_ptr_release (MvpnState *mvpn_state)
 

Macro Definition Documentation

#define MVPN_ERMVPN_RT_LOG (   rt,
  ... 
)
Value:
RTINSTANCE_LOG(MvpnErmVpnRoute, this->table()->routing_instance(), \
SandeshLevel::UT_DEBUG, \
(rt)->GetPrefix().source().to_string(), \
(rt)->GetPrefix().group().to_string(), \
(rt)->GetType(), (rt)->ToString(), ##__VA_ARGS__)
static string ToString(PhysicalDevice::ManagementProtocol proto)
#define RTINSTANCE_LOG_FLAG_ALL
#define RTINSTANCE_LOG(type, rtinstance, level, flags,...)

Definition at line 498 of file bgp_mvpn.h.

#define MVPN_LOG (   type,
  ... 
)
Value:
RTINSTANCE_LOG(type, this->table()->routing_instance(), \
SandeshLevel::SYS_DEBUG, RTINSTANCE_LOG_FLAG_ALL, ##__VA_ARGS__)
uint8_t type
Definition: load_balance.h:109
#define RTINSTANCE_LOG_FLAG_ALL
#define RTINSTANCE_LOG(type, rtinstance, level, flags,...)

Definition at line 506 of file bgp_mvpn.h.

#define MVPN_RT_LOG (   rt,
  ... 
)
Value:
RTINSTANCE_LOG(MvpnRoute, this->table()->routing_instance(), \
SandeshLevel::UT_DEBUG, \
(rt)->GetPrefix().source().to_string(), \
(rt)->GetPrefix().group().to_string(), \
(rt)->GetType(), (rt)->ToString(), ##__VA_ARGS__)
static string ToString(PhysicalDevice::ManagementProtocol proto)
#define RTINSTANCE_LOG_FLAG_ALL
#define RTINSTANCE_LOG(type, rtinstance, level, flags,...)

Definition at line 490 of file bgp_mvpn.h.

#define MVPN_TRACE (   type,
  ... 
)
Value:
RTINSTANCE_LOG(type, this->table()->routing_instance(), \
SandeshLevel::UT_DEBUG, RTINSTANCE_LOG_FLAG_ALL, ##__VA_ARGS__)
uint8_t type
Definition: load_balance.h:109
#define RTINSTANCE_LOG_FLAG_ALL
#define RTINSTANCE_LOG(type, rtinstance, level, flags,...)

Definition at line 510 of file bgp_mvpn.h.

Typedef Documentation

typedef boost::intrusive_ptr<MvpnState> MvpnStatePtr

Definition at line 39 of file bgp_mvpn.h.

Function Documentation

void intrusive_ptr_add_ref ( MvpnState mvpn_state)
inline

Definition at line 462 of file bgp_mvpn.h.

void intrusive_ptr_release ( MvpnState mvpn_state)
inline

Definition at line 470 of file bgp_mvpn.h.

Here is the call graph for this function: