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

Classes

struct  Offset
 
struct  SetLength
 

Public Types

typedef Offset SaveOffset
 
typedef SetLength EncodingCallback
 
- Public Types inherited from ProtoElement< BgpMsgLength >
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 void *obj, const uint8_t *data, size_t size, ParseContext *context)
 
- Static Public Member Functions inherited from ProtoElement< BgpMsgLength >
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::MsgHdrErr
 
static const int kErrorSubcode = BgpProto::Notification::BadMsgLength
 
- 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 535 of file bgp_proto.cc.

Member Typedef Documentation

Definition at line 564 of file bgp_proto.cc.

Definition at line 545 of file bgp_proto.cc.

Member Function Documentation

static bool BgpMsgLength::Verifier ( const void *  obj,
const uint8_t *  data,
size_t  size,
ParseContext context 
)
inlinestatic

Definition at line 546 of file bgp_proto.cc.

Here is the call graph for this function:

Member Data Documentation

const int BgpMsgLength::kErrorCode = BgpProto::Notification::MsgHdrErr
static

Definition at line 538 of file bgp_proto.cc.

const int BgpMsgLength::kErrorSubcode = BgpProto::Notification::BadMsgLength
static

Definition at line 539 of file bgp_proto.cc.

const int BgpMsgLength::kSize = 2
static

Definition at line 537 of file bgp_proto.cc.


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