OpenSDN source code
|
#include <bgp_multicast.h>
Public Member Functions | |
McastManagerPartition (McastTreeManager *tree_manager, size_t part_id) | |
~McastManagerPartition () | |
McastSGEntry * | FindSGEntry (const Ip4Address &group, const Ip4Address &source) |
const McastSGEntry * | FindSGEntry (const Ip4Address &group, const Ip4Address &source) const |
McastSGEntry * | LocateSGEntry (Ip4Address group, Ip4Address source) |
void | EnqueueSGEntry (McastSGEntry *sg_entry) |
DBTablePartBase * | GetTablePartition () |
const RoutingInstance * | routing_instance () const |
BgpServer * | server () |
const BgpServer * | server () const |
McastTreeManager * | tree_manager () const |
bool | empty () const |
size_t | size () const |
ErmVpnRoute * | GetGlobalTreeRootRoute (const Ip4Address &source, const Ip4Address &group) const |
void | NotifyForestNode (const Ip4Address &source, const Ip4Address &group) |
bool | GetForestNodePMSI (ErmVpnRoute *rt, uint32_t *label, Ip4Address *address, std::vector< std::string > *encap) const |
Private Types | |
typedef std::set< McastSGEntry *, McastSGEntryCompare > | SGList |
Private Member Functions | |
bool | ProcessSGEntry (McastSGEntry *sg_entry) |
DISALLOW_COPY_AND_ASSIGN (McastManagerPartition) | |
Private Attributes | |
McastTreeManager * | tree_manager_ |
size_t | part_id_ |
SGList | sg_list_ |
int | update_count_ |
WorkQueue< McastSGEntry * > | work_queue_ |
Friends | |
class | BgpMulticastTest |
class | ShowMulticastManagerDetailHandler |
Definition at line 307 of file bgp_multicast.h.
|
private |
Definition at line 337 of file bgp_multicast.h.
McastManagerPartition::McastManagerPartition | ( | McastTreeManager * | tree_manager, |
size_t | part_id | ||
) |
Definition at line 748 of file bgp_multicast.cc.
McastManagerPartition::~McastManagerPartition | ( | ) |
|
private |
|
inline |
Definition at line 324 of file bgp_multicast.h.
void McastManagerPartition::EnqueueSGEntry | ( | McastSGEntry * | sg_entry | ) |
McastSGEntry * McastManagerPartition::FindSGEntry | ( | const Ip4Address & | group, |
const Ip4Address & | source | ||
) |
Definition at line 766 of file bgp_multicast.cc.
const McastSGEntry * McastManagerPartition::FindSGEntry | ( | const Ip4Address & | group, |
const Ip4Address & | source | ||
) | const |
Definition at line 776 of file bgp_multicast.cc.
bool McastManagerPartition::GetForestNodePMSI | ( | ErmVpnRoute * | rt, |
uint32_t * | label, | ||
Ip4Address * | address, | ||
std::vector< std::string > * | encap | ||
) | const |
ErmVpnRoute * McastManagerPartition::GetGlobalTreeRootRoute | ( | const Ip4Address & | source, |
const Ip4Address & | group | ||
) | const |
DBTablePartBase * McastManagerPartition::GetTablePartition | ( | ) |
McastSGEntry * McastManagerPartition::LocateSGEntry | ( | Ip4Address | group, |
Ip4Address | source | ||
) |
void McastManagerPartition::NotifyForestNode | ( | const Ip4Address & | source, |
const Ip4Address & | group | ||
) |
|
private |
const RoutingInstance * McastManagerPartition::routing_instance | ( | ) | const |
BgpServer * McastManagerPartition::server | ( | ) |
const BgpServer * McastManagerPartition::server | ( | ) | const |
|
inline |
Definition at line 325 of file bgp_multicast.h.
|
inline |
Definition at line 323 of file bgp_multicast.h.
|
friend |
Definition at line 334 of file bgp_multicast.h.
|
friend |
Definition at line 335 of file bgp_multicast.h.
|
private |
Definition at line 342 of file bgp_multicast.h.
|
private |
Definition at line 343 of file bgp_multicast.h.
|
private |
Definition at line 341 of file bgp_multicast.h.
|
private |
Definition at line 344 of file bgp_multicast.h.
|
private |
Definition at line 345 of file bgp_multicast.h.