Searched refs:duid (Results 1 - 9 of 9) sorted by relevance
/external/dhcpcd-6.8.2/ |
H A D | duid.c | 51 #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 D | dhcpcd.h | 102 unsigned char *duid; member in struct:dhcpcd_ctx
|
H A D | Android.mk | 26 duid.c \
|
H A D | Makefile | 4 SRCS= common.c control.c dhcpcd.c duid.c eloop.c
|
H A D | dhcpcd.c | 65 #include "duid.h" 776 if (ifp->ctx->duid == NULL) { 781 hwaddr_ntoa(ifp->ctx->duid, 1974 free(ctx.duid);
|
H A D | dhcp6.c | 48 #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 D | dhcp.c | 59 #include "duid.h" 3510 memcpy(state->clientid + 6, ifp->ctx->duid,
|
/external/toybox/toys/pending/ |
H A D | dhcp6.c | 127 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 D | dhcpd.c | 186 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