Searched refs:MSEC_PER_SEC (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Deloop.h36 #define MSEC_PER_SEC 1000 macro
H A Darp.c383 delay = (PROBE_MIN * MSEC_PER_SEC) +
385 (PROBE_MAX - PROBE_MIN) * MSEC_PER_SEC));
388 delay = ANNOUNCE_WAIT * MSEC_PER_SEC;
394 (float)delay / MSEC_PER_SEC);
H A Deloop.c618 seconds = when / MSEC_PER_SEC;
624 nseconds = (when % MSEC_PER_SEC) * NSEC_PER_MSEC;
H A Ddhcp.c1737 RT = (state->interval * MSEC_PER_SEC) +
1738 (arc4random_uniform(MSEC_PER_SEC * 2) - MSEC_PER_SEC);
1747 (float)RT / MSEC_PER_SEC);
4195 delay = MSEC_PER_SEC +
4196 (arc4random_uniform(MSEC_PER_SEC * 2) - MSEC_PER_SEC);
4198 ifp->name, (float)delay / MSEC_PER_SEC);
H A Ddhcp6.c1307 state->RT = state->IMD * MSEC_PER_SEC;
1313 state->RT += MSEC_PER_SEC;
1315 state->RT = state->IRT * MSEC_PER_SEC;
1318 unsigned int mrt = state->MRT * MSEC_PER_SEC;
1345 (float)RT / MSEC_PER_SEC);
H A Dipv6nd.c1035 delay = arc4random_uniform(IDGEN_DELAY * MSEC_PER_SEC);
2209 delay = arc4random_uniform(MAX_RTR_SOLICITATION_DELAY * MSEC_PER_SEC);
2211 ifp->name, (float)delay / MSEC_PER_SEC);

Completed in 112 milliseconds