Searched refs:leasetime (Results 1 – 7 of 7) sorted by relevance
662 if (ifo->leasetime != 0) { in make_message()665 ul = htonl(ifo->leasetime); in make_message()760 if (get_option_uint32(&lease->leasetime, dhcp, DHO_LEASETIME) == 0) { in get_lease()763 if (now.tv_sec + (time_t)lease->leasetime < now.tv_sec) in get_lease()764 lease->leasetime = ~0U; /* Infinite lease */ in get_lease()766 lease->leasetime = ~0U; /* Default to infinite lease */ in get_lease()
89 uint32_t leasetime; member
460 if (lease->leasetime == ~0U) in configure()464 lease->leasetime, lease->leasetime / (60*60*24+.0)); in configure()
161 uint32_t leasetime; member
187 u_int32_t leasetime; in bootp() local200 leasetime = htonl(300); in bootp()201 (void)memcpy(&bp->bp_vend[index], &leasetime, 4); in bootp()
644 u_int32_t leasetime; in bootpc_call() local657 leasetime = htonl(300); in bootpc_call()658 memcpy(&bootp->bp_vend[index], &leasetime, 4); in bootpc_call()
1263 uint32_t leasetime; in bootpc_compose_query() local1323 leasetime = htonl(300); in bootpc_compose_query()1324 memcpy(vendp, &leasetime, 4); in bootpc_compose_query()