Searched refs:reqested_lease (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | dhcpd.c | 1081 uint32_t reqested_lease = 0, ip_pool_size = 0; in dhcpd_main() local 1192 reqested_lease = gconfig.offer_time; in dhcpd_main() 1195 …send_pkt.yiaddr = getip_from_pool(requested_nip, gstate.rcvd_pkt.chaddr, &reqested_lease, hstname); in dhcpd_main() 1202 get_optval((uint8_t*) &gstate.rcvd_pkt.options, DHCP_OPT_LEASE_TIME, &reqested_lease); in dhcpd_main() 1203 reqested_lease = htonl(get_lease(reqested_lease + time(NULL))); in dhcpd_main() 1206 optptr = set_optval(optptr, DHCP_OPT_LEASE_TIME, &reqested_lease, 4); in dhcpd_main() 1215 get_optval((uint8_t*) &gstate.rcvd_pkt.options, DHCP_OPT_LEASE_TIME, &reqested_lease); in dhcpd_main() 1217 …send_pkt.yiaddr = getip_from_pool(requested_nip, gstate.rcvd_pkt.chaddr, &reqested_lease, hstname); in dhcpd_main() 1218 if (!serverid) reqested_lease = gconfig.max_lease_sec; in dhcpd_main() 1227 reqested_lease = htonl(reqested_lease); in dhcpd_main() [all …]
|