Searched refs:duid (Results 1 – 9 of 9) sorted by relevance
/external/dhcpcd-6.8.2/ |
D | duid.c | 156 if (ifp->ctx->duid == NULL) { in duid_init() 157 ifp->ctx->duid = malloc(DUID_LEN); in duid_init() 158 if (ifp->ctx->duid == NULL) { in duid_init() 162 ifp->ctx->duid_len = duid_get(ifp->ctx->duid, ifp); in duid_init()
|
D | Android.mk | 26 duid.c \
|
D | dhcpcd.h | 102 unsigned char *duid; member
|
D | Makefile | 4 SRCS= common.c control.c dhcpcd.c duid.c eloop.c
|
D | dhcpcd.c | 776 if (ifp->ctx->duid == NULL) { in dhcpcd_startinterface() 781 hwaddr_ntoa(ifp->ctx->duid, in dhcpcd_startinterface() 1974 free(ctx.duid); in main()
|
D | dhcp6.c | 757 memcpy(D6_OPTION_DATA(o), ifp->ctx->duid, ifp->ctx->duid_len); in dhcp6_makemessage() 2726 memcmp(D6_COPTION_DATA(o), dctx->duid, dctx->duid_len) != 0) in dhcp6_handledata()
|
D | dhcp.c | 3510 memcpy(state->clientid + 6, ifp->ctx->duid, in dhcp_init()
|
/external/toybox/toys/pending/ |
D | dhcp6.c | 127 static DUID *duid; variable 188 if(!duid) { in fill_clientID() 190 duid = (DUID*)malloc(sizeof(DUID)); in fill_clientID() 191 duid->type = htons(1); in fill_clientID() 192 duid->hwtype = htons(1); in fill_clientID() 193 duid->time = htonl((uint32_t)(time(NULL) - 946684800) & 0xffffffff); in fill_clientID() 196 memcpy(duid->lladdr,mac, 6); 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()
|
D | dhcpd.c | 186 uint8_t duid[20]; member 203 uint8_t duid[20]; member 1306 static int verifyip6_in_lease(uint8_t *nip6, uint8_t *duid, uint16_t ia_type, uint32_t iaid) in verifyip6_in_lease() argument 1315 if (!memcmp(((dyn_lease6*) listdls->arg)->duid, duid, ((dyn_lease6*) listdls->arg)->duid_len) in verifyip6_in_lease() 1384 static int addip6_to_lease(uint8_t *assigned_nip, uint8_t *duid, uint16_t duid_len, uint16_t ia_typ… in addip6_to_lease() argument 1391 if (!memcmp(((dyn_lease6*) listdls->arg)->duid, duid, ((dyn_lease6*) listdls->arg)->duid_len)) { in addip6_to_lease() 1401 memcpy(dls6->duid, duid, duid_len); in addip6_to_lease() 1480 static uint8_t *getip6_from_pool(uint8_t *duid, uint16_t duid_len, uint16_t ia_type, uint32_t iaid,… in getip6_from_pool() argument 1487 if (!memcmp(((dyn_lease6*)listdls6->arg)->duid, duid, duid_len)) { in getip6_from_pool() 1494 if(verifyip6_in_lease(nip6, duid, ia_type, iaid) < 0) in getip6_from_pool() [all …]
|