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 339 of file types.hpp.
◆ l2_address_t() [1/3]
VOM::l2_address_t::l2_address_t |
( |
const uint8_t |
bytes[8], |
|
|
uint8_t |
n_bytes |
|
) |
| |
◆ l2_address_t() [2/3]
VOM::l2_address_t::l2_address_t |
( |
std::initializer_list< uint8_t > |
bytes | ) |
|
◆ l2_address_t() [3/3]
◆ operator!=()
Comparison operator.
Definition at line 251 of file types.cpp.
◆ operator==()
Comparison operator.
Definition at line 245 of file types.cpp.
◆ to_bytes()
void VOM::l2_address_t::to_bytes |
( |
uint8_t * |
array, |
|
|
uint8_t |
len |
|
) |
| const |
Convert to byte array.
Definition at line 208 of file types.cpp.
◆ to_mac()
MAC address conversion.
Definition at line 216 of file types.cpp.
◆ to_string()
std::string VOM::l2_address_t::to_string |
( |
void |
| ) |
const |
String conversion.
Definition at line 226 of file types.cpp.
◆ bytes
std::vector<uint8_t> VOM::l2_address_t::bytes |
Underlying bytes array - filled from least to most significant.
Definition at line 383 of file types.hpp.
◆ ONE
An all 1's L2 address.
Definition at line 353 of file types.hpp.
◆ ZERO
An all 0's L2 address.
Definition at line 358 of file types.hpp.
The documentation for this struct was generated from the following files: