Searched refs:uuid_ether (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/sys/kern/
H A Dkern_uuid.c85 static struct uuid_macaddr uuid_ether[UUID_NETHER]; variable in typeref:struct:uuid_macaddr
101 if (uuid_ether[0].state == UUID_ETHER_EMPTY) {
103 uuid_ether[0].node[i] = (uint16_t)arc4random();
104 *((uint8_t*)uuid_ether[0].node) |= 0x01;
105 uuid_ether[0].state = UUID_ETHER_RANDOM;
108 node[i] = uuid_ether[0].node[i];
221 while (i < UUID_NETHER && uuid_ether[i].state == UUID_ETHER_UNIQUE) {
222 if (!bcmp(addr, uuid_ether[i].node, UUID_NODE_LEN)) {
234 if (uuid_ether[i].state == UUID_ETHER_RANDOM && i < UUID_NETHER - 1)
235 uuid_ether[
[all...]

Completed in 53 milliseconds