Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Ddhcpd.c122 } dyn_lease; typedef
866 dyn_lease *dls; in write_leasefile()
878 dls = (dyn_lease*)listdls->arg; in write_leasefile()
883 writeall(fd, dls, sizeof(dyn_lease)); in write_leasefile()
932 if (((dyn_lease*) listdls->arg)->lease_nip == nip) { in verifyip_in_lease()
933 if (((int32_t)(((dyn_lease*) listdls->arg)->expires) - time(NULL)) < 0) in verifyip_in_lease()
937 if (!memcmp(((dyn_lease*) listdls->arg)->lease_mac, mac, 6)) return -1; in verifyip_in_lease()
951 dyn_lease *dls; in addip_to_lease()
956 if (!memcmp(((dyn_lease*) listdls->arg)->lease_mac, mac, 6)) { in addip_to_lease()
957 if (update) *req_exp = get_lease(*req_exp + ((dyn_lease*) listdls->arg)->expires); in addip_to_lease()
[all …]