Type def of a Ethernet address.
More...
|
std::array< uint8_t, 6 > | bytes |
| Underlying bytes array. More...
|
|
Type def of a Ethernet address.
Definition at line 295 of file types.hpp.
◆ mac_address_t() [1/3]
VOM::mac_address_t::mac_address_t |
( |
const uint8_t |
bytes[6] | ) |
|
◆ mac_address_t() [2/3]
VOM::mac_address_t::mac_address_t |
( |
const std::string & |
str | ) |
|
◆ mac_address_t() [3/3]
VOM::mac_address_t::mac_address_t |
( |
std::initializer_list< uint8_t > |
bytes | ) |
|
◆ operator<()
less than operator
Definition at line 172 of file types.cpp.
◆ operator==()
Comparison operator.
Definition at line 167 of file types.cpp.
◆ to_bytes()
void VOM::mac_address_t::to_bytes |
( |
uint8_t * |
array, |
|
|
uint8_t |
len |
|
) |
| const |
Convert to byte array.
Definition at line 140 of file types.cpp.
◆ to_string()
String conversion.
Definition at line 148 of file types.cpp.
◆ bytes
std::array<uint8_t, 6> VOM::mac_address_t::bytes |
Underlying bytes array.
Definition at line 333 of file types.hpp.
◆ ONE
An all 1's MAC address.
Definition at line 308 of file types.hpp.
◆ ZERO
An all 0's MAC address.
Definition at line 313 of file types.hpp.
The documentation for this struct was generated from the following files: