Lines Matching refs:expires
190 uint32_t expires; member
200 uint32_t expires; member
1211 tmp_time = dls->expires; in write_leasefile()
1212 dls->expires -= curr; in write_leasefile()
1213 if ((int32_t) dls->expires < 0) goto skip; in write_leasefile()
1214 dls->expires = htonl(dls->expires); in write_leasefile()
1217 dls->expires = tmp_time; in write_leasefile()
1248 tmp_time = dls6->expires; in write_lease6file()
1249 dls6->expires -= curr; in write_lease6file()
1250 if ((int32_t) dls6->expires < 0) goto skip; in write_lease6file()
1251 dls6->expires = htonl(dls6->expires); in write_lease6file()
1254 dls6->expires = tmp_time; in write_lease6file()
1337 if (((int32_t)(((dyn_lease*) listdls->arg)->expires) - time(NULL)) < 0) in verifyip_in_lease()
1361 if (update) *req_exp = get_lease(*req_exp + ((dyn_lease*) listdls->arg)->expires); in addip_to_lease()
1362 ((dyn_lease*) listdls->arg)->expires = *req_exp + now; in addip_to_lease()
1374 dls->expires = *req_exp + now; in addip_to_lease()
1392 if (update) *lifetime = get_lease(*lifetime + ((dyn_lease6*) listdls->arg)->expires); in addip6_to_lease()
1393 ((dyn_lease6*) listdls->arg)->expires = *lifetime + now; in addip6_to_lease()
1407 dls6->expires = *lifetime + now; in addip6_to_lease()
1424 ((dyn_lease*) listdls->arg)->expires = del_time + time(NULL); in delip_from_lease()
1562 tmp_time = ntohl(dls->expires) - passed; in read_leasefile()
1593 tmp_time = ntohl(dls6->expires) - passed; in read_lease6file()