OpenSDN source code
BgpAttrUnknown Struct Reference

#include <bgp_attr.h>

Inheritance diagram for BgpAttrUnknown:
Collaboration diagram for BgpAttrUnknown:

Public Member Functions

 BgpAttrUnknown ()
 
 BgpAttrUnknown (const BgpAttribute &rhs)
 
- Public Member Functions inherited from BgpAttribute
 BgpAttribute ()
 
 BgpAttribute (uint8_t code, uint8_t flags)
 
 BgpAttribute (uint8_t code, uint8_t subcode, uint8_t flags)
 
virtual size_t EncodeLength () const
 
uint8_t GetEncodeFlags () const
 
virtual std::string ToString () const
 
virtual int CompareTo (const BgpAttribute &rhs) const
 
virtual void ToCanonical (BgpAttr *attr)
 
- Public Member Functions inherited from ParseObject
virtual ~ParseObject ()
 

Public Attributes

std::vector< uint8_t > value
 
- Public Attributes inherited from BgpAttribute
uint8_t code
 
uint8_t subcode
 
uint8_t flags
 

Additional Inherited Members

- Public Types inherited from BgpAttribute
enum  Flag { Optional = 1 << 7 , Transitive = 1 << 6 , Partial = 1 << 5 , ExtendedLength = 1 << 4 }
 
enum  Code {
  Reserved = 0 , Origin = 1 , AsPath = 2 , NextHop = 3 ,
  MultiExitDisc = 4 , LocalPref = 5 , AtomicAggregate = 6 , Aggregator = 7 ,
  Communities = 8 , OriginatorId = 9 , ClusterList = 10 , MPReachNlri = 14 ,
  MPUnreachNlri = 15 , ExtendedCommunities = 16 , As4Path = 17 , As4Aggregator = 18 ,
  PmsiTunnel = 22 , LargeCommunities = 32 , McastEdgeDiscovery = 241 , McastEdgeForwarding = 242 ,
  OriginVnPath = 243
}
 
enum  Subcode {
  OList = 1 , LabelBlock = 2 , SourceRd = 3 , Esi = 4 ,
  Params = 5 , LeafOList = 6 , SubProtocol = 7
}
 
- Static Public Attributes inherited from BgpAttribute
static const uint8_t FLAG_MASK = Optional|Transitive
 

Detailed Description

Definition at line 763 of file bgp_attr.h.

Constructor & Destructor Documentation

◆ BgpAttrUnknown() [1/2]

BgpAttrUnknown::BgpAttrUnknown ( )
inline

Definition at line 764 of file bgp_attr.h.

◆ BgpAttrUnknown() [2/2]

BgpAttrUnknown::BgpAttrUnknown ( const BgpAttribute rhs)
inlineexplicit

Definition at line 765 of file bgp_attr.h.

Member Data Documentation

◆ value

std::vector<uint8_t> BgpAttrUnknown::value

Definition at line 766 of file bgp_attr.h.


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