Go to the source code of this file.
|
| STATIC_ASSERT ((sizeof(mac_address_t)==6),"MAC address must represent the on wire format") |
|
static u64 | ethernet_mac_address_u64 (const u8 *a) |
|
static void | ethernet_mac_address_from_u64 (u64 u, u8 *a) |
|
static int | ethernet_mac_address_is_multicast_u64 (u64 a) |
|
static int | ethernet_mac_address_is_zero (const u8 *mac) |
|
static void | ethernet_mac_address_generate (u8 *mac) |
|
static int | ethernet_mac_address_equal (const u8 *a, const u8 *b) |
|
static_always_inline void | mac_address_from_bytes (mac_address_t *mac, const u8 *bytes) |
|
static_always_inline void | mac_address_to_bytes (const mac_address_t *mac, u8 *bytes) |
|
static_always_inline int | mac_address_is_zero (const mac_address_t *mac) |
|
static_always_inline u64 | mac_address_as_u64 (const mac_address_t *mac) |
|
static_always_inline void | mac_address_from_u64 (mac_address_t *mac, u64 u) |
|
static_always_inline void | mac_address_copy (mac_address_t *dst, const mac_address_t *src) |
|
static_always_inline int | mac_address_cmp (const mac_address_t *a, const mac_address_t *b) |
|
static_always_inline int | mac_address_equal (const mac_address_t *a, const mac_address_t *b) |
|
static_always_inline void | mac_address_set_zero (mac_address_t *mac) |
|
uword | unformat_mac_address_t (unformat_input_t *input, va_list *args) |
|
u8 * | format_mac_address_t (u8 *s, va_list *args) |
|
static int ethernet_mac_address_equal |
( |
const u8 * |
a, |
|
|
const u8 * |
b |
|
) |
| |
|
inlinestatic |
static void ethernet_mac_address_from_u64 |
( |
u64 |
u, |
|
|
u8 * |
a |
|
) |
| |
|
inlinestatic |
static void ethernet_mac_address_generate |
( |
u8 * |
mac | ) |
|
|
inlinestatic |
static int ethernet_mac_address_is_multicast_u64 |
( |
u64 |
a | ) |
|
|
inlinestatic |
static int ethernet_mac_address_is_zero |
( |
const u8 * |
mac | ) |
|
|
inlinestatic |
static u64 ethernet_mac_address_u64 |
( |
const u8 * |
a | ) |
|
|
inlinestatic |
u8* format_mac_address_t |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |