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

/osnet-11/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c45 #define DUID_FILE "/var/dhcp/duid"
49 #define OLD_DUID_FILE "/etc/dhcp/duid"
71 uchar_t *duid = NULL; local
77 (duid = malloc(sb.st_size)) != NULL) {
78 retv = read(fd, duid, sb.st_size);
82 free(duid);
89 duid = NULL;
93 return (duid);
105 write_stable_duid(const uchar_t *duid, size_t duidlen) argument
113 retv = write(fd, duid, duidle
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_addr.c3962 char **duid)
3996 *duid = malloc(strlen(value) + 1);
3997 if (*duid == NULL) {
4001 (void) strlcpy(*duid, value, strlen(value) + 1);
3961 i_ipadm_parse_rfc3315_duid(dhcp_symbol_t *ds, uchar_t *cid, size_t cidlen, char **duid) argument

Completed in 32 milliseconds