Function switchml::Mac2Str(const rte_ether_addr)¶
Defined in File dpdk_utils.h
Function Documentation¶
-
std::string
switchml::Mac2Str(const rte_ether_addr addr)¶ Take a MAC address as an array of 6 bytes and return the string representation of it.
- Parameters
addr – 6 byte array representing the MAC address
- Returns
std::string the string represntation of the MAC address (FF:FF:FF:FF:FF:FF)