Home
last modified time | relevance | path

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

/external/dhcpcd-6.8.2/
Dduid.c94 if ((fp = fopen(DUID, "r"))) { in duid_get()
114 "error reading DUID: %s: %m", DUID); in duid_get()
137 if (!(fp = fopen(DUID, "w"))) { in duid_get()
138 logger(ifp->ctx, LOG_ERR, "error writing DUID: %s: %m", DUID); in duid_get()
146 logger(ifp->ctx, LOG_ERR, "error writing DUID: %s: %m", DUID); in duid_get()
147 unlink(DUID); in duid_get()
Ddefs.h42 #ifndef DUID
43 # define DUID SYSCONFDIR "/" PACKAGE ".duid" macro
/external/toybox/toys/pending/
Ddhcp6.c106 } DUID; typedef
127 static DUID *duid;
190 duid = (DUID*)malloc(sizeof(DUID)); in fill_clientID()
197 memcpy(tmp,(uint8_t*)duid,sizeof(DUID)); in fill_clientID()
201 memcpy(tmp,(uint8_t*)duid,sizeof(DUID)); in fill_clientID()
203 TT.length += sizeof(DUID); in fill_clientID()
331 DUID one = *((DUID*)(data+4)); in check_client_id()
332 DUID two = *((DUID*)&mesg.options[4]); in check_client_id()
334 if (!memcmp(&one, &two, sizeof(DUID))) return 1; in check_client_id()