Lines Matching defs:duid
186 uint8_t duid[20];
203 uint8_t duid[20];
1306 static int verifyip6_in_lease(uint8_t *nip6, uint8_t *duid, uint16_t ia_type, uint32_t iaid)
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)
1391 if (!memcmp(((dyn_lease6*) listdls->arg)->duid, duid, ((dyn_lease6*) listdls->arg)->duid_len)) {
1401 memcpy(dls6->duid, duid, duid_len);
1480 static uint8_t *getip6_from_pool(uint8_t *duid, uint16_t duid_len, uint16_t ia_type, uint32_t iaid, uint32_t *lifetime)
1487 if (!memcmp(((dyn_lease6*)listdls6->arg)->duid, duid, duid_len)) {
1494 if(verifyip6_in_lease(nip6, duid, ia_type, iaid) < 0)
1504 if(!memcmp(sls6->duid, duid, 6)) {
1515 if(!verifyip6_in_lease(nip6, duid, ia_type, iaid)) break;
1534 addip6_to_lease(nip6, duid, duid_len, ia_type, iaid, lifetime, 1);
1595 addip6_to_lease(dls6->lease_nip6, dls6->duid, dls6->duid_len, dls6->ia_type, dls6->iaid,
1767 //Receive: Client Identifier (DUID)
1855 //DUID type: link-layer address plus time
1871 //Response: Server Identifier (DUID)
1890 //Receive: Client Identifier (DUID)
1956 //Receive: Server Identifier (DUID)