Home
last modified time | relevance | path

Searched refs:monosec (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Drenew.c104 if (monosec() + TOO_CLOSE >= t2) { in dhcp_renew()
106 monosec() > t2 ? "" : "almost ", dsmp->dsm_name); in dhcp_renew()
118 if (monosec() + RETRY_DELAY < t2) { in dhcp_renew()
183 expiremax = monosec(); in dhcp_rebind()
223 if (monosec() + RETRY_DELAY < expiremax) { in dhcp_rebind()
535 if (monosec() + TOO_CLOSE >= t2) { in stop_extending()
537 monosec() > t2 ? "" : "almost ", dsmp->dsm_name); in stop_extending()
H A Dutil.c137 monosec_to_string(monosec_t monosec) in monosec_to_string() argument
139 time_t time = monosec_to_time(monosec); in monosec_to_string()
156 monosec(void) in monosec() function
171 return (abs_monosec - monosec()) + time(NULL); in monosec_to_time()
H A Dutil.h72 monosec_t monosec(void);
H A Dpacket.c217 dsmp->dsm_newstart_monosec = monosec(); in init_pkt()
911 dsmp->dsm_newstart_monosec = monosec(); in send_pkt_internal()
918 dpkt->pkt->secs = htons(monosec() - in send_pkt_internal()
923 dsmp->dsm_newstart_monosec = monosec(); in send_pkt_internal()
930 dpkt->pkt->secs = htons(monosec() - in send_pkt_internal()
1510 mono = monosec(); in next_retransmission()
H A DREADME389 been used. The function monosec() in util.c returns the current
390 monosec, and monosec_to_time() can convert a given monosec to wall
H A Dbound.c143 dsmp->dsm_newstart_monosec = monosec(); in dhcp_bound()