Searched refs:get_lease (Results 1 – 1 of 1) sorted by relevance
1281 static uint32_t get_lease(uint32_t req_exp) in get_lease() function1361 if (update) *req_exp = get_lease(*req_exp + ((dyn_lease*) listdls->arg)->expires); in addip_to_lease()1373 if (update) *req_exp = get_lease(*req_exp + now); in addip_to_lease()1392 if (update) *lifetime = get_lease(*lifetime + ((dyn_lease6*) listdls->arg)->expires); in addip6_to_lease()1406 if (update) *lifetime = get_lease(*lifetime + now); in addip6_to_lease()2023 reqested_lease = htonl(get_lease(reqested_lease + time(NULL))); in dhcpd_main()