Lines Matching refs:uuid
181 #include "uuid.h"
244 * Each uuid is 16 bytes long.
247 /* uuid_make -- construct a random UUID
252 static void uuid_make(u8 uuid[UUID_LEN])
254 os_get_random(uuid, UUID_LEN);
257 uuid[6] &= 0x0f; uuid[6] |= (4 << 4); /* version 4 == random gen */
258 uuid[8] &= 0x3f; uuid[8] |= 0x80;
579 /* subscription_find -- return existing subscription matching uuid, if any
583 const u8 uuid[UUID_LEN])
587 if (os_memcmp(s->uuid, uuid, UUID_LEN) == 0)
729 uuid_make(s->uuid);
760 const u8 uuid[UUID_LEN])
764 struct subscription *s = subscription_find(sm, uuid);