#include <mac_address.h>
Definition at line 14 of file mac_address.h.
◆ MacAddress() [1/7]
MacAddress::MacAddress |
( |
| ) |
|
◆ MacAddress() [2/7]
MacAddress::MacAddress |
( |
const uint8_t * |
data | ) |
|
|
explicit |
◆ MacAddress() [3/7]
◆ MacAddress() [4/7]
MacAddress::MacAddress |
( |
const struct ether_addr & |
a | ) |
|
|
inlineexplicit |
◆ MacAddress() [5/7]
MacAddress::MacAddress |
( |
const struct ether_addr * |
a | ) |
|
|
inlineexplicit |
◆ MacAddress() [6/7]
MacAddress::MacAddress |
( |
unsigned int |
a, |
|
|
unsigned int |
b, |
|
|
unsigned int |
c, |
|
|
unsigned int |
d, |
|
|
unsigned int |
e, |
|
|
unsigned int |
f |
|
) |
| |
◆ MacAddress() [7/7]
MacAddress::MacAddress |
( |
const std::string & |
s, |
|
|
boost::system::error_code * |
error = NULL |
|
) |
| |
|
explicit |
◆ bit_len()
static size_t MacAddress::bit_len |
( |
| ) |
|
|
inlinestatic |
◆ Broadcast()
void MacAddress::Broadcast |
( |
| ) |
|
|
inline |
◆ BroadcastMac()
static const MacAddress& MacAddress::BroadcastMac |
( |
| ) |
|
|
inlinestatic |
◆ CompareTo()
int MacAddress::CompareTo |
( |
const MacAddress & |
rhs, |
|
|
int |
len = 0 |
|
) |
| const |
◆ FromString()
MacAddress MacAddress::FromString |
( |
const std::string & |
str, |
|
|
boost::system::error_code * |
error = NULL |
|
) |
| |
|
static |
◆ GetData()
const uint8_t* MacAddress::GetData |
( |
| ) |
const |
|
inline |
◆ IsBroadcast()
bool MacAddress::IsBroadcast |
( |
| ) |
const |
◆ IsMulticast()
bool MacAddress::IsMulticast |
( |
| ) |
const |
◆ IsZero()
bool MacAddress::IsZero |
( |
| ) |
const |
◆ last_octet()
u_int8_t& MacAddress::last_octet |
( |
| ) |
|
|
inline |
◆ Multicast()
void MacAddress::Multicast |
( |
| ) |
|
|
inline |
◆ MulticastMac()
static const MacAddress& MacAddress::MulticastMac |
( |
| ) |
|
|
inlinestatic |
◆ operator const ether_addr &()
MacAddress::operator const ether_addr & |
( |
| ) |
const |
|
inline |
◆ operator const int8_t *()
MacAddress::operator const int8_t * |
( |
| ) |
const |
|
inline |
◆ operator const u_int8_t *()
MacAddress::operator const u_int8_t * |
( |
| ) |
const |
|
inline |
◆ operator ether_addr()
MacAddress::operator ether_addr |
( |
| ) |
|
|
inline |
◆ operator ether_addr &()
MacAddress::operator ether_addr & |
( |
| ) |
|
|
inline |
◆ operator int8_t *()
MacAddress::operator int8_t * |
( |
| ) |
|
|
inline |
◆ operator sockaddr()
MacAddress::operator sockaddr |
( |
| ) |
const |
|
inline |
◆ operator u_int8_t *()
MacAddress::operator u_int8_t * |
( |
| ) |
|
|
inline |
◆ operator!=()
bool MacAddress::operator!= |
( |
const MacAddress & |
rhs | ) |
const |
|
inline |
◆ operator<()
bool MacAddress::operator< |
( |
const MacAddress & |
rhs | ) |
const |
|
inline |
◆ operator=() [1/5]
◆ operator=() [2/5]
MacAddress& MacAddress::operator= |
( |
const struct ether_addr & |
ea | ) |
|
|
inline |
◆ operator=() [3/5]
MacAddress& MacAddress::operator= |
( |
const struct sockaddr & |
sa | ) |
|
|
inline |
◆ operator=() [4/5]
MacAddress & MacAddress::operator= |
( |
const struct sockaddr * |
sa | ) |
|
◆ operator=() [5/5]
MacAddress & MacAddress::operator= |
( |
const u_int8_t * |
c | ) |
|
◆ operator==() [1/2]
bool MacAddress::operator== |
( |
const MacAddress & |
rhs | ) |
const |
|
inline |
◆ operator==() [2/2]
bool MacAddress::operator== |
( |
const MacAddress * |
rhs | ) |
const |
|
inline |
◆ operator>()
bool MacAddress::operator> |
( |
const MacAddress & |
rhs | ) |
const |
|
inline |
◆ operator[]() [1/2]
u_int8_t& MacAddress::operator[] |
( |
size_t |
i | ) |
|
|
inline |
◆ operator[]() [2/2]
u_int8_t MacAddress::operator[] |
( |
size_t |
i | ) |
const |
|
inline |
◆ size()
static size_t MacAddress::size |
( |
| ) |
|
|
inlinestatic |
◆ ToArray()
bool MacAddress::ToArray |
( |
u_int8_t * |
p, |
|
|
size_t |
s |
|
) |
| const |
◆ ToString()
string MacAddress::ToString |
( |
| ) |
const |
◆ Zero()
void MacAddress::Zero |
( |
| ) |
|
|
inline |
◆ ZeroMac()
◆ addr_
struct ether_addr MacAddress::addr_ |
|
private |
◆ kBroadcastMac
◆ kMulticastMac
◆ kZeroMac
The documentation for this class was generated from the following files: