OpenSDN source code
|
#include <bgp_attr_base.h>
Public Member Functions | |
BgpProtoPrefix () | |
uint32_t | ReadLabel (size_t label_offset, bool is_vni=false) const |
void | WriteLabel (size_t label_offset, uint32_t label, bool is_vni=false) |
![]() | |
virtual | ~ParseObject () |
Public Attributes | |
std::vector< uint8_t > | prefix |
int | prefixlen |
uint8_t | type |
Static Public Attributes | |
static const size_t | kLabelSize = 3 |
Definition at line 97 of file bgp_attr_base.h.
BgpProtoPrefix::BgpProtoPrefix | ( | ) |
Definition at line 11 of file bgp_attr_base.cc.
uint32_t BgpProtoPrefix::ReadLabel | ( | size_t | label_offset, |
bool | is_vni = false |
||
) | const |
void BgpProtoPrefix::WriteLabel | ( | size_t | label_offset, |
uint32_t | label, | ||
bool | is_vni = false |
||
) |
|
static |
Definition at line 98 of file bgp_attr_base.h.
std::vector<uint8_t> BgpProtoPrefix::prefix |
Definition at line 105 of file bgp_attr_base.h.
int BgpProtoPrefix::prefixlen |
Definition at line 106 of file bgp_attr_base.h.
uint8_t BgpProtoPrefix::type |
Definition at line 107 of file bgp_attr_base.h.