Searched defs:dllt (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c148 duid_llt_t *dllt; local
151 if ((dllt = malloc(sizeof (*dllt) + len)) == NULL) {
156 (void) memcpy((dllt + 1), dlinfo.di_physaddr, len);
157 dllt->dllt_dutype = htons(DHCPV6_DUID_LLT);
158 dllt->dllt_hwtype = htons(arptype);
160 dllt->dllt_time = htonl(now);
161 *duidlen = sizeof (*dllt) + len;
163 return ((uchar_t *)dllt);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dstates.c914 duid_llt_t *dllt; local
917 client_id_len += sizeof (*dllt);
918 dllt = malloc(client_id_len);
919 if (dllt == NULL)
921 dsmp->dsm_cid = (uchar_t *)dllt;
922 dllt->dllt_dutype = htons(duidtype);
923 dllt->dllt_hwtype = htons(subtype);
925 dllt->dllt_time = htonl(now);
926 cp = (char *)(dllt + 1);
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c765 duid_llt_t dllt; local
791 &dllt.dllt_hwtype, hwtype,
792 optstart + sizeof (dllt));
797 dllt.dllt_dutype = htons(type);
798 dllt.dllt_time = htonl(tstamp);
799 (void) memcpy(optstart, &dllt, sizeof (dllt));
800 length = maclen + sizeof (dllt);
1149 duid_llt_t dllt; local
1151 if (length < sizeof (dllt)) {
[all...]

Completed in 239 milliseconds