Searched refs:hostuuid (Results 1 – 6 of 6) sorted by relevance
| /freebsd/sys/netinet6/ |
| H A D | in6_ifattach.c | 348 uint8_t hostuuid[HOSTUUIDLEN + 1], hmac_key[SHA256_BLOCK_LENGTH], in in6_get_stableifid() local 376 getcredhostuuid(curthread->td_ucred, hostuuid, sizeof(hostuuid)); in in6_get_stableifid() 377 if (strncmp(hostuuid, DEFAULT_HOSTUUID, sizeof(hostuuid)) == 0) { in in6_get_stableifid() 379 arc4rand(hostuuid, HOSTUUIDLEN, 0); in in6_get_stableifid() 380 hostuuid[HOSTUUIDLEN] = '\0'; in in6_get_stableifid() 382 hostuuid_len = strlen(hostuuid); in in6_get_stableifid() 396 memcpy(hmac_key, hostuuid, hostuuid_len); in in6_get_stableifid() 400 SHA256_Update(&ctxt, hostuuid, hostuuid_len); in in6_get_stableifid() 427 SHA256_Update(&ctxt, hostuuid, hostuuid_len); in in6_get_stableifid()
|
| /freebsd/libexec/rc/rc.d/ |
| H A D | hostid_save | 29 current_hostid=`$SYSCTL_N kern.hostuuid`
|
| H A D | hostid | 53 ${SYSCTL} kern.hostuuid="${uuid}" >/dev/null
|
| /freebsd/lib/libnvmf/ |
| H A D | nvmf_host.c | 450 uuid_t hostuuid; in nvmf_hostid_from_hostuuid() local 458 uuid_from_string(hostuuid_str, &hostuuid, &status); in nvmf_hostid_from_hostuuid() 468 uuid_enc_le(hostid, &hostuuid); in nvmf_hostid_from_hostuuid()
|
| /freebsd/sys/kern/ |
| H A D | kern_mib.c | 408 SYSCTL_PROC(_kern, KERN_HOSTUUID, hostuuid,
|
| H A D | kern_jail.c | 5167 SYSCTL_JAIL_PARAM_STRING(_host, hostuuid, CTLFLAG_RW, HOSTUUIDLEN,
|