jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Classes | Namespaces | Functions
eui48.hpp File Reference
#include <cstring>
#include <string>
#include <memory>
#include <cstdint>
#include <vector>
#include <jau/basic_types.hpp>
#include <jau/packed_attribute.hpp>
Include dependency graph for eui48.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jau::EUI48
 A packed 48 bit EUI-48 identifier, formerly known as MAC-48 or simply network device MAC address (Media Access Control address). More...
 
struct  jau::EUI48Sub
 A 48 bit EUI-48 sub-identifier, see EUI48. More...
 
struct  std::hash< jau::EUI48 >
 
struct  std::hash< jau::EUI48Sub >
 

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 
namespace  std
 STL namespace.
 

Functions

constexpr EUI48 jau::be_to_cpu (EUI48 const &n) noexcept
 
constexpr EUI48 jau::bswap (EUI48 const &source) noexcept
 
static constexpr void jau::bswap_6bytes (uint8_t *sink, const uint8_t *source) noexcept
 
constexpr EUI48 jau::cpu_to_be (EUI48 const &h) noexcept
 
constexpr EUI48 jau::cpu_to_le (EUI48 const &h) noexcept
 
constexpr EUI48 jau::le_to_cpu (EUI48 const &l) noexcept
 
bool jau::operator!= (const EUI48 &lhs, const EUI48 &rhs) noexcept
 
bool jau::operator!= (const EUI48Sub &lhs, const EUI48Sub &rhs) noexcept
 
bool jau::operator== (const EUI48 &lhs, const EUI48 &rhs) noexcept
 
bool jau::operator== (const EUI48Sub &lhs, const EUI48Sub &rhs) noexcept
 
std::string jau::to_string (const EUI48 &a) noexcept
 
std::string jau::to_string (const EUI48Sub &a) noexcept