libdoip  0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
MacAddress.h File Reference
#include <array>
#include <cstdint>
Include dependency graph for MacAddress.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 doip
 

Typedefs

using doip::MacAddress = std::array< uint8_t, 6 >
 Type alias for MAC address (6 bytes) More...
 

Functions

bool doip::getMacAddress (const char *ifname, MacAddress &mac)
 
bool doip::getFirstMacAddress (MacAddress &mac)
 Retrieves the MAC address of the first available network interface. More...