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

#include <bgp_ribout.h>

Collaboration diagram for RibOutAttr:

Classes

class  NextHop
 

Public Types

typedef std::vector< NextHopNextHopList
 

Public Member Functions

 RibOutAttr ()
 
 RibOutAttr (const RibOutAttr &rhs)
 
 RibOutAttr (const BgpRoute *route, const BgpAttr *attr, bool is_xmpp)
 
 RibOutAttr (const BgpTable *table, const BgpAttr *attr, uint32_t label, uint32_t l3_label=0, bool is_xmpp=false)
 
 RibOutAttr (const BgpTable *table, const BgpRoute *route, const BgpAttr *attr, uint32_t label, bool include_nh=true, bool is_xmpp=false)
 
RibOutAttroperator= (const RibOutAttr &rhs)
 
bool operator== (const RibOutAttr &rhs) const
 
bool operator!= (const RibOutAttr &rhs) const
 
bool IsReachable () const
 
const NextHopListnexthop_list () const
 
const BgpAttrattr () const
 
void set_attr (const BgpTable *table, const BgpAttrPtr &attrp)
 
void set_attr (const BgpTable *table, const BgpAttrPtr &attrp, uint32_t label)
 
void set_attr (const BgpTable *table, const BgpAttrPtr &attrp, uint32_t label, uint32_t l3_label, bool vrf_originated, bool is_xmpp)
 
void set_source_address (Ip4Address source_address)
 
void clear ()
 
uint32_t label () const
 
uint32_t l3_label () const
 
const Ip4Addresssource_address () const
 
Ip4Addresssource_address ()
 
bool is_xmpp () const
 
bool vrf_originated () const
 
const std::string & repr () const
 
void set_repr (const std::string &repr, size_t pos=0) const
 

Private Member Functions

int CompareTo (const RibOutAttr &rhs) const
 

Private Attributes

BgpAttrPtr attr_out_
 
NextHopList nexthop_list_
 
uint32_t label_
 
uint32_t l3_label_
 
Ip4Address source_address_
 
bool is_xmpp_
 
bool vrf_originated_
 
std::string repr_
 

Detailed Description

Definition at line 40 of file bgp_ribout.h.

Member Typedef Documentation

typedef std::vector<NextHop> RibOutAttr::NextHopList

Definition at line 80 of file bgp_ribout.h.

Constructor & Destructor Documentation

RibOutAttr::RibOutAttr ( )

Definition at line 78 of file bgp_ribout.cc.

RibOutAttr::RibOutAttr ( const RibOutAttr rhs)

Definition at line 89 of file bgp_ribout.cc.

RibOutAttr::RibOutAttr ( const BgpRoute route,
const BgpAttr attr,
bool  is_xmpp 
)

Definition at line 132 of file bgp_ribout.cc.

Here is the call graph for this function:

RibOutAttr::RibOutAttr ( const BgpTable table,
const BgpAttr attr,
uint32_t  label,
uint32_t  l3_label = 0,
bool  is_xmpp = false 
)

Definition at line 99 of file bgp_ribout.cc.

Here is the call graph for this function:

RibOutAttr::RibOutAttr ( const BgpTable table,
const BgpRoute route,
const BgpAttr attr,
uint32_t  label,
bool  include_nh = true,
bool  is_xmpp = false 
)

Definition at line 113 of file bgp_ribout.cc.

Here is the call graph for this function:

Member Function Documentation

const BgpAttr* RibOutAttr::attr ( ) const
inline

Definition at line 97 of file bgp_ribout.h.

void RibOutAttr::clear ( )
inline

Definition at line 111 of file bgp_ribout.h.

int RibOutAttr::CompareTo ( const RibOutAttr rhs) const
private

Definition at line 203 of file bgp_ribout.cc.

Here is the call graph for this function:

bool RibOutAttr::is_xmpp ( ) const
inline

Definition at line 123 of file bgp_ribout.h.

bool RibOutAttr::IsReachable ( ) const
inline

Definition at line 94 of file bgp_ribout.h.

uint32_t RibOutAttr::l3_label ( ) const
inline

Definition at line 118 of file bgp_ribout.h.

uint32_t RibOutAttr::label ( ) const
inline

Definition at line 115 of file bgp_ribout.h.

const NextHopList& RibOutAttr::nexthop_list ( ) const
inline

Definition at line 96 of file bgp_ribout.h.

bool RibOutAttr::operator!= ( const RibOutAttr rhs) const
inline

Definition at line 93 of file bgp_ribout.h.

Here is the call graph for this function:

RibOutAttr & RibOutAttr::operator= ( const RibOutAttr rhs)

Definition at line 188 of file bgp_ribout.cc.

bool RibOutAttr::operator== ( const RibOutAttr rhs) const
inline

Definition at line 92 of file bgp_ribout.h.

Here is the call graph for this function:

const std::string& RibOutAttr::repr ( ) const
inline

Definition at line 125 of file bgp_ribout.h.

void RibOutAttr::set_attr ( const BgpTable table,
const BgpAttrPtr attrp 
)
inline

Definition at line 98 of file bgp_ribout.h.

void RibOutAttr::set_attr ( const BgpTable table,
const BgpAttrPtr attrp,
uint32_t  label 
)
inline

Definition at line 101 of file bgp_ribout.h.

Here is the call graph for this function:

void RibOutAttr::set_attr ( const BgpTable table,
const BgpAttrPtr attrp,
uint32_t  label,
uint32_t  l3_label,
bool  vrf_originated,
bool  is_xmpp 
)

Definition at line 217 of file bgp_ribout.cc.

Here is the call graph for this function:

void RibOutAttr::set_repr ( const std::string &  repr,
size_t  pos = 0 
) const
inline

Definition at line 126 of file bgp_ribout.h.

void RibOutAttr::set_source_address ( Ip4Address  source_address)
inline

Definition at line 107 of file bgp_ribout.h.

Here is the call graph for this function:

const Ip4Address& RibOutAttr::source_address ( ) const
inline

Definition at line 121 of file bgp_ribout.h.

Ip4Address* RibOutAttr::source_address ( )
inline

Definition at line 122 of file bgp_ribout.h.

bool RibOutAttr::vrf_originated ( ) const
inline

Definition at line 124 of file bgp_ribout.h.

Member Data Documentation

BgpAttrPtr RibOutAttr::attr_out_
private

Definition at line 134 of file bgp_ribout.h.

bool RibOutAttr::is_xmpp_
private

Definition at line 139 of file bgp_ribout.h.

uint32_t RibOutAttr::l3_label_
private

Definition at line 137 of file bgp_ribout.h.

uint32_t RibOutAttr::label_
private

Definition at line 136 of file bgp_ribout.h.

NextHopList RibOutAttr::nexthop_list_
private

Definition at line 135 of file bgp_ribout.h.

std::string RibOutAttr::repr_
mutableprivate

Definition at line 141 of file bgp_ribout.h.

Ip4Address RibOutAttr::source_address_
private

Definition at line 138 of file bgp_ribout.h.

bool RibOutAttr::vrf_originated_
private

Definition at line 140 of file bgp_ribout.h.


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