16 #ifndef __MAC_ADDRESS_H__ 17 #define __MAC_ADDRESS_H__
static_always_inline int mac_address_is_zero(const mac_address_t *mac)
const mac_address_t ZERO_MAC_ADDRESS
static u64 ethernet_mac_address_u64(const u8 *a)
#define static_always_inline
static int ethernet_mac_address_is_zero(const u8 *mac)
static_always_inline void mac_address_from_bytes(mac_address_t *mac, const u8 *bytes)
static void ethernet_mac_address_from_u64(u64 u, u8 *a)
static_always_inline void mac_address_from_u64(u64 u, mac_address_t *mac)
#define clib_memcpy(a, b, c)
struct mac_address_t_ mac_address_t
static_always_inline u64 mac_address_as_u64(const mac_address_t *mac)
u8 * format_mac_address_t(u8 *s, va_list *args)