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

#include <bgp_proto.h>

Inheritance diagram for BgpProto::Update:
Collaboration diagram for BgpProto::Update:

Public Member Functions

 Update ()
 
 ~Update ()
 
int Validate (const BgpPeer *, std::string *data)
 
int CompareTo (const Update &rhs) const
 
- Public Member Functions inherited from BgpProto::BgpMessage
 BgpMessage (MessageType type)
 
virtual const std::string ToString () const
 
- Public Member Functions inherited from ParseObject
virtual ~ParseObject ()
 

Static Public Member Functions

static BgpProto::UpdateDecode (const uint8_t *data, size_t size)
 
static int EncodeData (Update *msg, uint8_t *data, size_t size)
 

Public Attributes

std::vector< BgpProtoPrefix * > withdrawn_routes
 
std::vector< BgpAttribute * > path_attributes
 
std::vector< BgpProtoPrefix * > nlri
 
- Public Attributes inherited from BgpProto::BgpMessage
MessageType type
 

Detailed Description

Definition at line 427 of file bgp_proto.h.

Constructor & Destructor Documentation

BgpProto::Update::Update ( )

Definition at line 386 of file bgp_proto.cc.

BgpProto::Update::~Update ( )

Definition at line 390 of file bgp_proto.cc.

Here is the call graph for this function:

Member Function Documentation

int BgpProto::Update::CompareTo ( const Update rhs) const

Definition at line 490 of file bgp_proto.cc.

static BgpProto::Update* BgpProto::Update::Decode ( const uint8_t *  data,
size_t  size 
)
static
static int BgpProto::Update::EncodeData ( Update msg,
uint8_t *  data,
size_t  size 
)
static
int BgpProto::Update::Validate ( const BgpPeer ,
std::string *  data 
)

Definition at line 407 of file bgp_proto.cc.

Here is the call graph for this function:

Member Data Documentation

std::vector<BgpProtoPrefix *> BgpProto::Update::nlri

Definition at line 436 of file bgp_proto.h.

std::vector<BgpAttribute *> BgpProto::Update::path_attributes

Definition at line 435 of file bgp_proto.h.

std::vector<BgpProtoPrefix *> BgpProto::Update::withdrawn_routes

Definition at line 434 of file bgp_proto.h.


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