Type def of a L2 address as read from VPP.
More...
|
std::vector< uint8_t > | bytes |
| Underlying bytes array - filled from least to most significant. More...
|
|
Type def of a L2 address as read from VPP.
Definition at line 265 of file types.hpp.
VOM::l2_address_t::l2_address_t |
( |
const uint8_t |
bytes[8], |
|
|
uint8_t |
n_bytes |
|
) |
| |
VOM::l2_address_t::l2_address_t |
( |
std::initializer_list< uint8_t > |
bytes | ) |
|
Comparison operator.
Definition at line 244 of file types.cpp.
Comparison operator.
Definition at line 238 of file types.cpp.
void VOM::l2_address_t::to_bytes |
( |
uint8_t * |
array, |
|
|
uint8_t |
len |
|
) |
| const |
Convert to byte array.
Definition at line 201 of file types.cpp.
MAC address conversion.
Definition at line 209 of file types.cpp.
std::string VOM::l2_address_t::to_string |
( |
void |
| ) |
const |
String conversion.
Definition at line 219 of file types.cpp.
std::vector<uint8_t> VOM::l2_address_t::bytes |
Underlying bytes array - filled from least to most significant.
Definition at line 309 of file types.hpp.
An all 1's L2 address.
Definition at line 279 of file types.hpp.
An all 0's L2 address.
Definition at line 284 of file types.hpp.
The documentation for this struct was generated from the following files: