openthread-br  0.3.0-72c0388
Public Member Functions | Public Attributes | List of all members
otbr::MacAddress Class Reference

#include <src/common/types.hpp>

Public Member Functions

 MacAddress (void)
 
std::string ToString (void) const
 

Public Attributes

union {
   uint8_t   m8 [6]
 
   uint16_t   m16 [3]
 
}; 
 

Detailed Description

This class represents an ethernet MAC address.

Constructor & Destructor Documentation

◆ MacAddress()

otbr::MacAddress::MacAddress ( void  )
inline

Default constructor.

Member Function Documentation

◆ ToString()

std::string otbr::MacAddress::ToString ( void  ) const

This method returns the string representation for the MAC address.

Returns
The string representation of the MAC address.

The documentation for this class was generated from the following files: