OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpAttrDB Class Reference

#include <bgp_attr.h>

Inheritance diagram for BgpAttrDB:
Collaboration diagram for BgpAttrDB:

Public Member Functions

 BgpAttrDB (BgpServer *server)
 
BgpAttrPtr ReplaceAsPathAndLocate (const BgpAttr *attr, AsPathPtr aspath)
 
BgpAttrPtr ReplaceCommunityAndLocate (const BgpAttr *attr, CommunityPtr community)
 
BgpAttrPtr ReplaceOriginAndLocate (const BgpAttr *attr, BgpAttrOrigin::OriginType origin)
 
BgpAttrPtr ReplaceExtCommunityAndLocate (const BgpAttr *attr, ExtCommunityPtr extcomm)
 
BgpAttrPtr ReplaceOriginVnPathAndLocate (const BgpAttr *attr, OriginVnPathPtr ovnpath)
 
BgpAttrPtr ReplaceLocalPreferenceAndLocate (const BgpAttr *attr, uint32_t local_pref)
 
BgpAttrPtr ReplaceOriginatorIdAndLocate (const BgpAttr *attr, Ip4Address originator_id)
 
BgpAttrPtr ReplaceSourceRdAndLocate (const BgpAttr *attr, const RouteDistinguisher &source_rd)
 
BgpAttrPtr ReplaceEsiAndLocate (const BgpAttr *attr, const EthernetSegmentId &esi)
 
BgpAttrPtr ReplaceOListAndLocate (const BgpAttr *attr, const BgpOListSpec *olist_spec)
 
BgpAttrPtr ReplaceLeafOListAndLocate (const BgpAttr *attr, const BgpOListSpec *leaf_olist_spec)
 
BgpAttrPtr ReplacePmsiTunnelAndLocate (const BgpAttr *attr, const PmsiTunnelSpec *pmsi_spec)
 
BgpAttrPtr ReplaceNexthopAndLocate (const BgpAttr *attr, const IpAddress &addr)
 
BgpAttrPtr ReplaceSubProtocolAndLocate (const BgpAttr *attr, const std::string &sbp)
 
BgpServerserver ()
 
const BgpServerserver () const
 
- Public Member Functions inherited from BgpPathAttributeDB< BgpAttr, BgpAttrPtr, BgpAttrSpec, BgpAttrCompare, BgpAttrDB >
 BgpPathAttributeDB (int hash_size=GetHashSize())
 
size_t Size ()
 
void Delete (BgpAttr *attr)
 
BgpAttrPtr Locate (BgpAttr *attr)
 
BgpAttrPtr Locate (const BgpAttrSpec &spec)
 

Private Attributes

BgpServerserver_
 

Detailed Description

Definition at line 999 of file bgp_attr.h.

Constructor & Destructor Documentation

BgpAttrDB::BgpAttrDB ( BgpServer server)
explicit

Definition at line 1302 of file bgp_attr.cc.

Member Function Documentation

BgpAttrPtr BgpAttrDB::ReplaceAsPathAndLocate ( const BgpAttr attr,
AsPathPtr  aspath 
)

Definition at line 1306 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceCommunityAndLocate ( const BgpAttr attr,
CommunityPtr  community 
)

Definition at line 1314 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceEsiAndLocate ( const BgpAttr attr,
const EthernetSegmentId esi 
)

Definition at line 1370 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceExtCommunityAndLocate ( const BgpAttr attr,
ExtCommunityPtr  extcomm 
)

Definition at line 1330 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceLeafOListAndLocate ( const BgpAttr attr,
const BgpOListSpec leaf_olist_spec 
)

Definition at line 1387 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceLocalPreferenceAndLocate ( const BgpAttr attr,
uint32_t  local_pref 
)

Definition at line 1346 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceNexthopAndLocate ( const BgpAttr attr,
const IpAddress addr 
)

Definition at line 1413 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceOListAndLocate ( const BgpAttr attr,
const BgpOListSpec olist_spec 
)

Definition at line 1378 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceOriginAndLocate ( const BgpAttr attr,
BgpAttrOrigin::OriginType  origin 
)

Definition at line 1322 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceOriginatorIdAndLocate ( const BgpAttr attr,
Ip4Address  originator_id 
)

Definition at line 1354 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceOriginVnPathAndLocate ( const BgpAttr attr,
OriginVnPathPtr  ovnpath 
)

Definition at line 1338 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplacePmsiTunnelAndLocate ( const BgpAttr attr,
const PmsiTunnelSpec pmsi_spec 
)

Definition at line 1405 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceSourceRdAndLocate ( const BgpAttr attr,
const RouteDistinguisher source_rd 
)

Definition at line 1362 of file bgp_attr.cc.

Here is the call graph for this function:

BgpAttrPtr BgpAttrDB::ReplaceSubProtocolAndLocate ( const BgpAttr attr,
const std::string &  sbp 
)

Definition at line 1396 of file bgp_attr.cc.

Here is the call graph for this function:

BgpServer* BgpAttrDB::server ( )
inline

Definition at line 1031 of file bgp_attr.h.

const BgpServer* BgpAttrDB::server ( ) const
inline

Definition at line 1032 of file bgp_attr.h.

Member Data Documentation

BgpServer* BgpAttrDB::server_
private

Definition at line 1035 of file bgp_attr.h.


The documentation for this class was generated from the following files: