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

/external/dhcpcd-6.8.2/
H A Dduid.c51 #include "duid.h"
144 /* Failed to write the duid? scrub it, we cannot use it */
156 if (ifp->ctx->duid == NULL) {
157 ifp->ctx->duid = malloc(DUID_LEN);
158 if (ifp->ctx->duid == NULL) {
162 ifp->ctx->duid_len = duid_get(ifp->ctx->duid, ifp);
H A Ddhcpcd.h102 unsigned char *duid; member in struct:dhcpcd_ctx
H A DAndroid.mk26 duid.c \
H A DMakefile4 SRCS= common.c control.c dhcpcd.c duid.c eloop.c
H A Ddhcpcd.c65 #include "duid.h"
776 if (ifp->ctx->duid == NULL) {
781 hwaddr_ntoa(ifp->ctx->duid,
1974 free(ctx.duid);
H A Ddhcp6.c48 #include "duid.h"
757 memcpy(D6_OPTION_DATA(o), ifp->ctx->duid, ifp->ctx->duid_len);
2726 memcmp(D6_COPTION_DATA(o), dctx->duid, dctx->duid_len) != 0)
H A Ddhcp.c59 #include "duid.h"
3510 memcpy(state->clientid + 6, ifp->ctx->duid,
/external/toybox/toys/pending/
H A Ddhcp6.c127 static DUID *duid; variable
188 if(!duid) {
190 duid = (DUID*)malloc(sizeof(DUID));
191 duid->type = htons(1);
192 duid->hwtype = htons(1);
193 duid->time = htonl((uint32_t)(time(NULL) - 946684800) & 0xffffffff);
196 memcpy(duid->lladdr,mac, 6);
197 memcpy(tmp,(uint8_t*)duid,sizeof(DUID));
201 memcpy(tmp,(uint8_t*)duid,sizeof(DUID));
H A Ddhcpd.c186 uint8_t duid[20]; member in struct:static_lease6_s
203 uint8_t duid[20]; member in struct:__anon16797
1306 static int verifyip6_in_lease(uint8_t *nip6, uint8_t *duid, uint16_t ia_type, uint32_t iaid) argument
1315 if (!memcmp(((dyn_lease6*) listdls->arg)->duid, duid, ((dyn_lease6*) listdls->arg)->duid_len)
1384 static int addip6_to_lease(uint8_t *assigned_nip, uint8_t *duid, uint16_t duid_len, uint16_t ia_type, uint32_t iaid, uint32_t *lifetime, uint8_t update) argument
1391 if (!memcmp(((dyn_lease6*) listdls->arg)->duid, duid, ((dyn_lease6*) listdls->arg)->duid_len)) {
1401 memcpy(dls6->duid, duid, duid_le
1480 getip6_from_pool(uint8_t *duid, uint16_t duid_len, uint16_t ia_type, uint32_t iaid, uint32_t *lifetime) argument
[all...]

Completed in 127 milliseconds