OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpProto::OpenMessage::Capability::LLGR Struct Reference

#include <bgp_proto.h>

Classes

struct  Family
 

Public Types

enum  { ForwardingStatePreservedFlag = 0x80, RestartTimeMask = 0x00FFFFFF }
 

Public Member Functions

 LLGR ()
 
void Initialize ()
 

Static Public Member Functions

static CapabilityEncode (uint32_t llgr_time, uint8_t llgr_afi_flags, const std::vector< Address::Family > &llgr_families)
 
static bool Decode (LLGR *llgr_params, const std::vector< Capability * > &capabilities)
 
static void GetFamilies (const LLGR &llgr_params, std::vector< std::string > *families)
 

Public Attributes

uint32_t time
 
std::vector< Familyfamilies
 

Detailed Description

Definition at line 173 of file bgp_proto.h.

Member Enumeration Documentation

anonymous enum
Enumerator
ForwardingStatePreservedFlag 
RestartTimeMask 

Definition at line 174 of file bgp_proto.h.

Constructor & Destructor Documentation

BgpProto::OpenMessage::Capability::LLGR::LLGR ( )
inlineexplicit

Definition at line 178 of file bgp_proto.h.

Here is the call graph for this function:

Member Function Documentation

bool BgpProto::OpenMessage::Capability::LLGR::Decode ( LLGR llgr_params,
const std::vector< Capability * > &  capabilities 
)
static

Definition at line 227 of file bgp_proto.cc.

Here is the call graph for this function:

BgpProto::OpenMessage::Capability * BgpProto::OpenMessage::Capability::LLGR::Encode ( uint32_t  llgr_time,
uint8_t  llgr_afi_flags,
const std::vector< Address::Family > &  llgr_families 
)
static

Definition at line 207 of file bgp_proto.cc.

Here is the call graph for this function:

void BgpProto::OpenMessage::Capability::LLGR::GetFamilies ( const LLGR llgr_params,
std::vector< std::string > *  families 
)
static

Definition at line 260 of file bgp_proto.cc.

Here is the call graph for this function:

void BgpProto::OpenMessage::Capability::LLGR::Initialize ( )
inline

Definition at line 179 of file bgp_proto.h.

Member Data Documentation

std::vector<Family> BgpProto::OpenMessage::Capability::LLGR::families

Definition at line 206 of file bgp_proto.h.

uint32_t BgpProto::OpenMessage::Capability::LLGR::time

Definition at line 205 of file bgp_proto.h.


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