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

#include <proto.h>

Inherited by ChoiceBase, ProtoElement< Derived >, ProtoElement< BgpAttributeValue< Size, C, T, Member > >, ProtoElement< BgpErmVpnNlriLen >, ProtoElement< BgpErmVpnNlriType >, ProtoElement< BgpEvpnNlriLen >, ProtoElement< BgpEvpnNlriType >, ProtoElement< BgpHoldTime >, ProtoElement< BgpIdentifier >, ProtoElement< BgpMarker >, ProtoElement< BgpMsgLength >, ProtoElement< BgpMvpnNlriLen >, ProtoElement< BgpMvpnNlriType >, ProtoElement< BgpOpenAsNum >, ProtoElement< BgpOpenCapabilityCode >, ProtoElement< BgpOpenCapabilityLength >, ProtoElement< BgpOpenCapabilityValue >, ProtoElement< BgpOpenVersion >, ProtoElement< BgpPathAttrAs4PathSegmentLength >, ProtoElement< BgpPathAttrAs4PathSegmentValue >, ProtoElement< BgpPathAttrAsPath4ByteSegmentLength >, ProtoElement< BgpPathAttrAsPath4ByteSegmentValue >, ProtoElement< BgpPathAttrAsPathSegmentLength >, ProtoElement< BgpPathAttrAsPathSegmentValue >, ProtoElement< BgpPathAttributeClusterListData >, ProtoElement< BgpPathAttributeCommunityList >, ProtoElement< BgpPathAttributeDiscoveryEdgeAddressLen >, ProtoElement< BgpPathAttributeDiscoveryEdgeAddressValue >, ProtoElement< BgpPathAttributeDiscoveryEdgeLabelLen >, ProtoElement< BgpPathAttributeDiscoveryEdgeLabelValues >, ProtoElement< BgpPathAttributeExtendedCommunityList >, ProtoElement< BgpPathAttributeFlags >, ProtoElement< BgpPathAttributeForwardingEdgeAddressLen >, ProtoElement< BgpPathAttributeForwardingEdgeInAddressValue >, ProtoElement< BgpPathAttributeForwardingEdgeInLabel >, ProtoElement< BgpPathAttributeForwardingEdgeLen >, ProtoElement< BgpPathAttributeForwardingEdgeOutAddressValue >, ProtoElement< BgpPathAttributeForwardingEdgeOutLabel >, ProtoElement< BgpPathAttributeMpNlriNexthopAddr >, ProtoElement< BgpPathAttributeMpNlriNextHopLength >, ProtoElement< BgpPathAttributeOriginVnList >, ProtoElement< BgpPathAttributePmsiTunnelIdentifier >, ProtoElement< BgpPathAttributeReserved >, ProtoElement< BgpPathAttrLength >, ProtoElement< BgpPathAttrUnknownValue >, ProtoElement< BgpPrefixAddress >, ProtoElement< BgpPrefixLen >, ProtoElement< DesiredMinTxInterval >, ProtoElement< DetectionTimeMultiplier >, ProtoElement< Flags >, ProtoElement< Length >, ProtoElement< NotificationData >, ProtoElement< NotificationErrorCode >, ProtoElement< NotificationErrorSubcode >, ProtoElement< ReceiverDiscriminator >, ProtoElement< RequiredMinEchoRXInterval >, ProtoElement< RequiredMinRxInterval >, ProtoElement< SenderDiscriminator >, ProtoElement< VersionAndDiagnostic >, and SequenceBase.

Classes

struct  NoMatch
 
struct  NullCtxInit
 

Public Types

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 Attributes

static const int kSize = 0
 
static const int kErrorCode = 0
 
static const int kErrorSubcode = 0
 

Detailed Description

Definition at line 167 of file src/contrail-common/base/proto.h.

Member Typedef Documentation

Definition at line 191 of file src/contrail-common/base/proto.h.

Definition at line 186 of file src/contrail-common/base/proto.h.

Definition at line 190 of file src/contrail-common/base/proto.h.

Definition at line 185 of file src/contrail-common/base/proto.h.

typedef void ElementBase::Setter

Definition at line 189 of file src/contrail-common/base/proto.h.

Definition at line 192 of file src/contrail-common/base/proto.h.

Member Function Documentation

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

Definition at line 180 of file src/contrail-common/base/proto.h.

Member Data Documentation

const int ElementBase::kErrorCode = 0
static

Definition at line 169 of file src/contrail-common/base/proto.h.

const int ElementBase::kErrorSubcode = 0
static

Definition at line 170 of file src/contrail-common/base/proto.h.

const int ElementBase::kSize = 0
static

Definition at line 168 of file src/contrail-common/base/proto.h.


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