Searched refs:duid_len (Results 1 – 6 of 6) sorted by relevance
/external/dhcpcd-6.8.2/ |
D | duid.c | 162 ifp->ctx->duid_len = duid_get(ifp->ctx->duid, ifp); in duid_init() 164 return ifp->ctx->duid_len; in duid_init()
|
D | dhcpcd.h | 103 size_t duid_len; member
|
D | dhcp6.c | 607 len += sizeof(*o) + ifp->ctx->duid_len; in dhcp6_makemessage() 756 o->len = htons((uint16_t)ifp->ctx->duid_len); in dhcp6_makemessage() 757 memcpy(D6_OPTION_DATA(o), ifp->ctx->duid, ifp->ctx->duid_len); in dhcp6_makemessage() 2725 if (o == NULL || ntohs(o->len) != dctx->duid_len || in dhcp6_handledata() 2726 memcmp(D6_COPTION_DATA(o), dctx->duid, dctx->duid_len) != 0) in dhcp6_handledata()
|
D | dhcp.c | 3504 state->clientid = malloc(ifp->ctx->duid_len + 6); in dhcp_init() 3507 state->clientid[0] =(uint8_t)(ifp->ctx->duid_len + 5); in dhcp_init() 3511 ifp->ctx->duid_len); in dhcp_init()
|
D | dhcpcd.c | 782 ifp->ctx->duid_len, in dhcpcd_startinterface()
|
/external/toybox/toys/pending/ |
D | dhcpd.c | 182 uint16_t duid_len; member 198 uint16_t duid_len; member 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() 1400 dls6->duid_len = 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() 1534 addip6_to_lease(nip6, duid, duid_len, ia_type, iaid, lifetime, 1); in getip6_from_pool() [all …]
|