Home
last modified time | relevance | path

Searched refs:nip6 (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Ddhcpd.c185 uint8_t nip6[16]; 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
1312 if (!memcmp(((dyn_lease6*) listdls->arg)->lease_nip6, nip6, sizeof(uint32_t)*4)) in verifyip6_in_lease()
1320 if (memcmp(sls6->nip6, nip6, sizeof(uint32_t)*4)==0) return -2; in verifyip6_in_lease()
1322 if (memcmp(nip6, gconfig.start_ip6, sizeof(uint32_t)*4) < 0 || in verifyip6_in_lease()
1323 memcmp(nip6, gconfig.end_ip6, sizeof(uint32_t)*4) > 0) in verifyip6_in_lease()
1482 static uint8_t nip6[16] = {0, }; in getip6_from_pool() local
1488 memcpy(nip6, ((dyn_lease6*)listdls6->arg)->lease_nip6, sizeof(nip6)); in getip6_from_pool()
1494 if(verifyip6_in_lease(nip6, duid, ia_type, iaid) < 0) in getip6_from_pool()
1495 memset(nip6, 0, sizeof(nip6)); in getip6_from_pool()
[all …]