OpenSDN source code
ElementBase Struct Reference

#include <proto.h>

Inherited by ProtoElement< BgpPathAttributeMpNlriNextHopLength >, ProtoElement< BgpPathAttributeFlags >, ProtoElement< BgpPathAttrAsPath4ByteSegmentLength >, ProtoElement< BgpPathAttributeForwardingEdgeOutAddressValue >, ProtoElement< BgpPrefixLen >, ProtoElement< BgpPathAttributeDiscoveryEdgeAddressValue >, ProtoElement< BgpPathAttrAsPathSegmentValue >, ProtoElement< BgpOpenVersion >, ProtoElement< BgpPathAttributeForwardingEdgeInAddressValue >, ProtoElement< BgpPathAttrUnknownValue >, ProtoElement< BgpMvpnNlriLen >, ProtoElement< RequiredMinEchoRXInterval >, ProtoElement< BgpPathAttributeForwardingEdgeInLabel >, ProtoElement< BgpPathAttributeForwardingEdgeAddressLen >, ProtoElement< BgpOpenAsNum >, ProtoElement< BgpPathAttributeMpNlriNexthopAddr >, ProtoElement< BgpPathAttributeDiscoveryEdgeLabelLen >, ProtoElement< BgpPathAttrLength >, ProtoElement< BgpOpenCapabilityCode >, ProtoElement< BgpMvpnNlriType >, ProtoElement< BgpErmVpnNlriLen >, ProtoElement< BgpPathAttributeReserved >, ProtoElement< Flags >, ProtoElement< BgpPathAttributeDiscoveryEdgeLabelValues >, ProtoElement< BgpPathAttributeCommunityList >, ProtoElement< ReceiverDiscriminator >, ProtoElement< NotificationData >, ProtoElement< BgpPathAttributeDiscoveryEdgeAddressLen >, ProtoElement< BgpPathAttributeClusterListData >, ProtoElement< BgpPathAttrAs4PathSegmentValue >, ProtoElement< BgpIdentifier >, ProtoElement< BgpPathAttributeForwardingEdgeOutLabel >, ProtoElement< BgpPathAttrAsPathSegmentLength >, ProtoElement< BgpErmVpnNlriType >, ProtoElement< BgpAttributeValue< Size, C, T, Member > >, ProtoElement< NotificationErrorSubcode >, ProtoElement< BgpPathAttributePmsiTunnelIdentifier >, ProtoElement< BgpPathAttrAs4PathSegmentLength >, ProtoElement< BgpOpenCapabilityValue >, ProtoElement< BgpMsgLength >, ProtoElement< Length >, ProtoElement< BgpPrefixAddress >, ProtoElement< BgpPathAttributeForwardingEdgeLen >, ProtoElement< BgpPathAttrAsPath4ByteSegmentValue >, ProtoElement< BgpMarker >, ProtoElement< BgpEvpnNlriType >, ProtoElement< VersionAndDiagnostic >, ProtoElement< BgpEvpnNlriLen >, ProtoElement< RequiredMinRxInterval >, ProtoElement< NotificationErrorCode >, ProtoElement< BgpPathAttributeExtendedCommunityList >, ProtoElement< BgpOpenCapabilityLength >, ProtoElement< SenderDiscriminator >, ProtoElement< DetectionTimeMultiplier >, ProtoElement< BgpPathAttributeOriginVnList >, ProtoElement< BgpHoldTime >, ProtoElement< DesiredMinTxInterval >, ChoiceBase, ProtoElement< Derived >, 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 170 of file src/contrail-common/base/proto.h.

Member Typedef Documentation

◆ ContextInit

◆ ContextMatch

◆ ContextSwap

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

◆ ContextType

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

◆ EncodingCallback

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

◆ SaveOffset

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

◆ Setter

typedef void ElementBase::Setter

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

◆ SizeSetter

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

Member Function Documentation

◆ Verifier()

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

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

Member Data Documentation

◆ kErrorCode

const int ElementBase::kErrorCode = 0
static

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

◆ kErrorSubcode

const int ElementBase::kErrorSubcode = 0
static

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

◆ kSize

const int ElementBase::kSize = 0
static

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


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