Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Ddhcpd.c195 } dyn_lease; typedef
1200 dyn_lease *dls; in write_leasefile()
1210 dls = (dyn_lease*)listdls->arg; in write_leasefile()
1215 writeall(fd, dls, sizeof(dyn_lease)); in write_leasefile()
1336 if (((dyn_lease*) listdls->arg)->lease_nip == nip) { in verifyip_in_lease()
1337 if (((int32_t)(((dyn_lease*) listdls->arg)->expires) - time(NULL)) < 0) in verifyip_in_lease()
1341 if (!memcmp(((dyn_lease*) listdls->arg)->lease_mac, mac, 6)) return -1; in verifyip_in_lease()
1355 dyn_lease *dls; in addip_to_lease()
1360 if (!memcmp(((dyn_lease*) listdls->arg)->lease_mac, mac, 6)) { in addip_to_lease()
1361 if (update) *req_exp = get_lease(*req_exp + ((dyn_lease*) listdls->arg)->expires); in addip_to_lease()
[all …]