Home
last modified time | relevance | path

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

/external/dhcpcd/
Dshowlease.c306 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()
Dclient.c370 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 …]
Ddhcpcd.h74 uint32_t leasetime; member
Ddhcp.h148 uint32_t leasetime; member
Ddhcp.c857 if (options->leasetime != 0) { in make_message()
860 ul = htonl(options->leasetime); in make_message()
Ddhcpcd.c359 options->leasetime = (uint32_t)strtol(oarg, NULL, 0); in parse_option()
/external/dhcpcd/dhcpcd-hooks/
D95-configured13 setprop dhcp.${interface}.leasetime "${new_dhcp_lease_time}"