Lines Matching refs:duid
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()
1504 if(!memcmp(sls6->duid, duid, 6)) { in getip6_from_pool()
1515 if(!verifyip6_in_lease(nip6, duid, ia_type, iaid)) break; in getip6_from_pool()
1534 addip6_to_lease(nip6, duid, duid_len, ia_type, iaid, lifetime, 1); in getip6_from_pool()
1595 addip6_to_lease(dls6->lease_nip6, dls6->duid, dls6->duid_len, dls6->ia_type, dls6->iaid, in read_lease6file()