53 #define RTE_UUID_INIT(a, b, c, d, e) { \
54 ((a) >> 24) & 0xff, ((a) >> 16) & 0xff, \
55 ((a) >> 8) & 0xff, (a) & 0xff, \
56 ((b) >> 8) & 0xff, (b) & 0xff, \
57 ((c) >> 8) & 0xff, (c) & 0xff, \
58 ((d) >> 8) & 0xff, (d) & 0xff, \
59 ((e) >> 40) & 0xff, ((e) >> 32) & 0xff, \
60 ((e) >> 24) & 0xff, ((e) >> 16) & 0xff, \
61 ((e) >> 8) & 0xff, (e) & 0xff \
84 memcpy(dst, src,
sizeof(rte_uuid_t));
122 #define RTE_UUID_STRLEN (36 + 1)
123 void rte_uuid_unparse(
const rte_uuid_t uu,
char *out,
size_t len);
int rte_uuid_parse(const char *in, rte_uuid_t uu)
int rte_uuid_compare(const rte_uuid_t a, const rte_uuid_t b)
bool rte_uuid_is_null(const rte_uuid_t uu)
unsigned char rte_uuid_t[16]
static void rte_uuid_copy(rte_uuid_t dst, const rte_uuid_t src)