Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
seastar::net::ethernet_address Struct Reference

Public Member Functions

 ethernet_address (const uint8_t *eaddr) noexcept
 
 ethernet_address (std::initializer_list< uint8_t > eaddr) noexcept
 
template<typename Adjuster >
void adjust_endianness (Adjuster) noexcept
 
void write (char *p) const noexcept
 
void produce (char *&p) const noexcept
 

Static Public Member Functions

static ethernet_address read (const char *p) noexcept
 
static ethernet_address consume (const char *&p) noexcept
 
static constexpr size_t size () noexcept
 

Public Attributes

std::array< uint8_t, 6 > mac
 

The documentation for this struct was generated from the following file: