Home
last modified time | relevance | path

Searched refs:hostidstr (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_config.c111 char hostidstr[16]; in ndmpd_config_get_host_info_v2() local
124 if (sysinfo(SI_HW_SERIAL, hostidstr, sizeof (hostidstr)) < 0) { in ndmpd_config_get_host_info_v2()
133 hostid = strtoul(hostidstr, 0, 0); in ndmpd_config_get_host_info_v2()
134 (void) snprintf(hostidstr, sizeof (hostidstr), "%lx", hostid); in ndmpd_config_get_host_info_v2()
135 reply.hostid = hostidstr; in ndmpd_config_get_host_info_v2()
294 char hostidstr[16]; in ndmpd_config_get_host_info_v3() local
308 if (sysinfo(SI_HW_SERIAL, hostidstr, sizeof (hostidstr)) < 0) { in ndmpd_config_get_host_info_v3()
318 hostid = strtoul(hostidstr, 0, 0); in ndmpd_config_get_host_info_v3()
319 (void) snprintf(hostidstr, sizeof (hostidstr), "%lx", hostid); in ndmpd_config_get_host_info_v3()
320 reply.hostid = hostidstr; in ndmpd_config_get_host_info_v3()