Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dstates.c53 static size_t global_duidlen; variable
828 if (write_stable_duid(global_duid, global_duidlen) == -1) { in duid_retry()
1106 (global_duid = read_stable_duid(&global_duidlen)) == NULL) { in get_smach_cid()
1107 global_duid = make_stable_duid(pif->pif_name, &global_duidlen); in get_smach_cid()
1114 dsmp->dsm_cid = malloc(global_duidlen); in get_smach_cid()
1117 (void) memcpy(dsmp->dsm_cid, global_duid, global_duidlen); in get_smach_cid()
1118 dsmp->dsm_cidlen = global_duidlen; in get_smach_cid()
1120 dsmp->dsm_cid = malloc(5 + global_duidlen); in get_smach_cid()
1128 (void) memcpy(dsmp->dsm_cid + 5, global_duid, global_duidlen); in get_smach_cid()
1129 dsmp->dsm_cidlen = 5 + global_duidlen; in get_smach_cid()