FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mac_address_t_ |
Typedefs | |
typedef struct mac_address_t_ | mac_address_t |
Functions | |
static_always_inline void | mac_address_from_bytes (mac_address_t *mac, const 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 (u64 u, mac_address_t *mac) |
u8 * | format_mac_address_t (u8 *s, va_list *args) |
Variables | |
const mac_address_t | ZERO_MAC_ADDRESS |
typedef struct mac_address_t_ mac_address_t |
Definition at line 25 of file mac_address.c.
static_always_inline u64 mac_address_as_u64 | ( | const mac_address_t * | mac | ) |
Definition at line 41 of file mac_address.h.
static_always_inline void mac_address_from_bytes | ( | mac_address_t * | mac, |
const u8 * | bytes | ||
) |
static_always_inline void mac_address_from_u64 | ( | u64 | u, |
mac_address_t * | mac | ||
) |
Definition at line 47 of file mac_address.h.
static_always_inline int mac_address_is_zero | ( | const mac_address_t * | mac | ) |
Definition at line 35 of file mac_address.h.
const mac_address_t ZERO_MAC_ADDRESS |
Definition at line 18 of file mac_address.c.