Searched refs:leasetime (Results 1 – 7 of 7) sorted by relevance
306 printf("leasetime: %d\n", lease->leasetime); in showlease()335 if (get_option_uint32(&lease->leasetime, dhcp, DHO_LEASETIME) != 0) in main()336 lease->leasetime = DEFAULT_LEASETIME; in main()340 if ((lease->leasetime != ~0U) && (lease->leasetime > MAX_LEASETIME)) in main()341 lease->leasetime = MAX_LEASETIME; in main()
370 if (get_option_uint32(&lease->leasetime, dhcp, DHO_LEASETIME) == 0) { in get_lease()373 if (t + (time_t)lease->leasetime < t) { in get_lease()375 "treating as infinite", lease->leasetime); in get_lease()376 lease->leasetime = ~0U; /* Infinite lease */ in get_lease()379 lease->leasetime = DEFAULT_LEASETIME; in get_lease()428 tv.tv_sec - lease->leasedfrom > (time_t)lease->leasetime) in get_old_lease()431 offset + lease->leasetime); in get_old_lease()773 if (state->lease.leasetime == ~0U && in wait_for_fd()918 state->lease.leasetime = ~0U; in bind_dhcp()936 if (lease->leasetime == ~0U) { in bind_dhcp()[all …]
74 uint32_t leasetime; member
148 uint32_t leasetime; member
857 if (options->leasetime != 0) { in make_message()860 ul = htonl(options->leasetime); in make_message()
359 options->leasetime = (uint32_t)strtol(oarg, NULL, 0); in parse_option()
13 setprop dhcp.${interface}.leasetime "${new_dhcp_lease_time}"