OpenSDN source code
BgpMsgTypeAs4 Class Reference
Inheritance diagram for BgpMsgTypeAs4:
Collaboration diagram for BgpMsgTypeAs4:

Public Types

typedef mpl::map< mpl::pair< mpl::int_< BgpProto::OPEN >, BgpOpenMessage >, mpl::pair< mpl::int_< BgpProto::NOTIFICATION >, BgpNotificationMessage >, mpl::pair< mpl::int_< BgpProto::KEEPALIVE >, BgpKeepaliveMessage >, mpl::pair< mpl::int_< BgpProto::UPDATE >, BgpUpdateMessageAs4 > > Choice
 
- Public Types inherited from ChoiceBase
typedef void ContextStorer
 
- 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 Attributes

static const int kSize = 1
 
static const int kErrorCode = BgpProto::Notification::MsgHdrErr
 
static const int kErrorSubcode = BgpProto::Notification::BadMsgType
 
- Static Public Attributes inherited from ElementBase
static const int kSize = 0
 
static const int kErrorCode = 0
 
static const int kErrorSubcode = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from ProtoChoice< BgpMsgTypeAs4 >
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)
 

Detailed Description

Definition at line 2092 of file bgp_proto.cc.

Member Typedef Documentation

◆ Choice

typedef mpl::map< mpl::pair<mpl::int_<BgpProto::OPEN>, BgpOpenMessage>, mpl::pair<mpl::int_<BgpProto::NOTIFICATION>, BgpNotificationMessage>, mpl::pair<mpl::int_<BgpProto::KEEPALIVE>, BgpKeepaliveMessage>, mpl::pair<mpl::int_<BgpProto::UPDATE>, BgpUpdateMessageAs4> > BgpMsgTypeAs4::Choice

Definition at line 2102 of file bgp_proto.cc.

Member Data Documentation

◆ kErrorCode

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

Definition at line 2095 of file bgp_proto.cc.

◆ kErrorSubcode

const int BgpMsgTypeAs4::kErrorSubcode = BgpProto::Notification::BadMsgType
static

Definition at line 2096 of file bgp_proto.cc.

◆ kSize

const int BgpMsgTypeAs4::kSize = 1
static

Definition at line 2094 of file bgp_proto.cc.


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