OpenSDN source code
|
#include <bgp_multicast.h>
Public Member Functions | |
McastForwarder (McastSGEntry *sg_entry, ErmVpnRoute *route) | |
~McastForwarder () | |
bool | Update (ErmVpnRoute *route) |
std::string | ToString () const |
uint8_t | GetLevel () const |
McastForwarder * | FindLink (McastForwarder *forwarder) |
void | AddLink (McastForwarder *forwarder) |
void | RemoveLink (McastForwarder *forwarder) |
void | FlushLinks () |
void | AllocateLabel () |
void | ReleaseLabel () |
void | AddGlobalTreeRoute () |
void | DeleteGlobalTreeRoute () |
UpdateInfo * | GetUpdateInfo (ErmVpnTable *table) |
uint8_t | level () const |
uint32_t | label () const |
const LabelBlock * | label_block () const |
Ip4Address | address () const |
std::vector< std::string > | encap () const |
ErmVpnRoute * | route () |
const RouteDistinguisher & | route_distinguisher () const |
Ip4Address | router_id () const |
bool | empty () |
ErmVpnRoute * | global_tree_route () const |
![]() | |
virtual | ~DBState () |
Private Member Functions | |
void | AddLocalOListElems (BgpOListSpec *olist_spec) |
void | AddGlobalOListElems (BgpOListSpec *olist_spec) |
DISALLOW_COPY_AND_ASSIGN (McastForwarder) | |
Private Attributes | |
McastSGEntry * | sg_entry_ |
ErmVpnRoute * | route_ |
ErmVpnRoute * | global_tree_route_ |
uint8_t | level_ |
LabelBlockPtr | label_block_ |
uint32_t | label_ |
Ip4Address | address_ |
RouteDistinguisher | rd_ |
Ip4Address | router_id_ |
std::vector< std::string > | encap_ |
McastForwarderList | tree_links_ |
Friends | |
class | BgpMulticastTest |
class | ShowMulticastManagerDetailHandler |
Definition at line 83 of file bgp_multicast.h.
McastForwarder::McastForwarder | ( | McastSGEntry * | sg_entry, |
ErmVpnRoute * | route | ||
) |
McastForwarder::~McastForwarder | ( | ) |
|
private |
void McastForwarder::AddGlobalTreeRoute | ( | ) |
void McastForwarder::AddLink | ( | McastForwarder * | forwarder | ) |
|
private |
Definition at line 293 of file bgp_multicast.cc.
|
inline |
Definition at line 107 of file bgp_multicast.h.
void McastForwarder::AllocateLabel | ( | ) |
Definition at line 184 of file bgp_multicast.cc.
void McastForwarder::DeleteGlobalTreeRoute | ( | ) |
|
private |
|
inline |
Definition at line 113 of file bgp_multicast.h.
|
inline |
Definition at line 108 of file bgp_multicast.h.
McastForwarder * McastForwarder::FindLink | ( | McastForwarder * | forwarder | ) |
Definition at line 137 of file bgp_multicast.cc.
void McastForwarder::FlushLinks | ( | ) |
Definition at line 170 of file bgp_multicast.cc.
uint8_t McastForwarder::GetLevel | ( | ) | const |
UpdateInfo * McastForwarder::GetUpdateInfo | ( | ErmVpnTable * | table | ) |
|
inline |
Definition at line 114 of file bgp_multicast.h.
|
inline |
Definition at line 105 of file bgp_multicast.h.
|
inline |
Definition at line 106 of file bgp_multicast.h.
|
inline |
Definition at line 104 of file bgp_multicast.h.
void McastForwarder::ReleaseLabel | ( | ) |
Definition at line 192 of file bgp_multicast.cc.
void McastForwarder::RemoveLink | ( | McastForwarder * | forwarder | ) |
Definition at line 156 of file bgp_multicast.cc.
|
inline |
Definition at line 109 of file bgp_multicast.h.
|
inline |
Definition at line 110 of file bgp_multicast.h.
|
inline |
Definition at line 111 of file bgp_multicast.h.
std::string McastForwarder::ToString | ( | ) | const |
bool McastForwarder::Update | ( | ErmVpnRoute * | route | ) |
|
friend |
Definition at line 117 of file bgp_multicast.h.
|
friend |
Definition at line 118 of file bgp_multicast.h.
|
private |
Definition at line 129 of file bgp_multicast.h.
|
private |
Definition at line 132 of file bgp_multicast.h.
|
private |
Definition at line 125 of file bgp_multicast.h.
|
private |
Definition at line 128 of file bgp_multicast.h.
|
private |
Definition at line 127 of file bgp_multicast.h.
|
private |
Definition at line 126 of file bgp_multicast.h.
|
private |
Definition at line 130 of file bgp_multicast.h.
|
private |
Definition at line 124 of file bgp_multicast.h.
|
private |
Definition at line 131 of file bgp_multicast.h.
|
private |
Definition at line 123 of file bgp_multicast.h.
|
private |
Definition at line 133 of file bgp_multicast.h.