OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpHoldTime Class Reference
Inheritance diagram for BgpHoldTime:
Collaboration diagram for BgpHoldTime:

Public Types

typedef Accessor
< BgpProto::OpenMessage,
int32_t,&BgpProto::OpenMessage::holdtime
Setter
 
- Public Types inherited from ProtoElement< BgpHoldTime >
typedef void SequenceLength
 
- Public Types inherited from ElementBase
typedef void SaveOffset
 
typedef void ContextType
 
typedef NullCtxInit ContextInit
 
typedef NoMatch ContextMatch
 
typedef void Setter
 
typedef void EncodingCallback
 
typedef void ContextSwap
 
typedef void SizeSetter
 

Static Public Member Functions

static bool Verifier (const BgpProto::OpenMessage *obj, const uint8_t *data, size_t size, ParseContext *context)
 
- Static Public Member Functions inherited from ProtoElement< BgpHoldTime >
static void Writer (T *msg, uint8_t *data, size_t size)
 
static int Parse (const uint8_t *data, size_t size, ParseContext *context, T *obj)
 
static int Encode (EncodeContext *context, const T *msg, uint8_t *data, size_t size)
 
- Static Public Member Functions inherited from ElementBase
static bool Verifier (const void *obj, const uint8_t *data, size_t size, ParseContext *context)
 

Static Public Attributes

static const int kSize = 2
 
static const int kErrorCode = BgpProto::Notification::OpenMsgErr
 
static const int kErrorSubcode
 
- Static Public Attributes inherited from ElementBase
static const int kSize = 0
 
static const int kErrorCode = 0
 
static const int kErrorSubcode = 0
 

Detailed Description

Definition at line 589 of file bgp_proto.cc.

Member Typedef Documentation

Member Function Documentation

static bool BgpHoldTime::Verifier ( const BgpProto::OpenMessage obj,
const uint8_t *  data,
size_t  size,
ParseContext context 
)
inlinestatic

Definition at line 595 of file bgp_proto.cc.

Here is the call graph for this function:

Member Data Documentation

const int BgpHoldTime::kErrorCode = BgpProto::Notification::OpenMsgErr
static

Definition at line 592 of file bgp_proto.cc.

const int BgpHoldTime::kErrorSubcode
static
Initial value:

Definition at line 593 of file bgp_proto.cc.

const int BgpHoldTime::kSize = 2
static

Definition at line 591 of file bgp_proto.cc.


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