Home
last modified time | relevance | path

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

/netbsd/src/usr.bin/rump_dhcpclient/
Ddhcp.c662 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()
Dif-options.h89 uint32_t leasetime; member
Dconfigure.c460 if (lease->leasetime == ~0U) in configure()
464 lease->leasetime, lease->leasetime / (60*60*24+.0)); in configure()
Ddhcp.h161 uint32_t leasetime; member
/netbsd/src/sys/lib/libsa/
Dbootp.c187 u_int32_t leasetime; in bootp() local
200 leasetime = htonl(300); in bootp()
201 (void)memcpy(&bp->bp_vend[index], &leasetime, 4); in bootp()
/netbsd/src/sys/nfs/
Dnfs_bootdhcp.c644 u_int32_t leasetime; in bootpc_call() local
657 leasetime = htonl(300); in bootpc_call()
658 memcpy(&bootp->bp_vend[index], &leasetime, 4); in bootpc_call()
/netbsd/src/sys/fs/nfs/common/
Dbootp_subr.c1263 uint32_t leasetime; in bootpc_compose_query() local
1323 leasetime = htonl(300); in bootpc_compose_query()
1324 memcpy(vendp, &leasetime, 4); in bootpc_compose_query()