Searched refs:timeout (Results 1 - 25 of 977) sorted by last modified time

1234567891011>>

/freebsd-9.3-release/contrib/ntp/ntpq/
H A Dntpq.c196 static void timeout (struct parse *, FILE *);
248 { "timeout", timeout, { OPT|NTP_UINT, NO, NO, NO },
311 * Requests are automatically retried once, so total timeout with no
860 /* absolute timeout checks. Not 'time_t' by intention! */
861 uint32_t tobase; /* base value for timeout */
862 uint32_t tospan; /* timeout span (max delay) */
920 * fake a timeout if this is so.
925 n = 0; /* faked timeout return from 'select()'*/
2344 * timeout
2347 timeout( function
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_refclock.c1281 struct timespec timeout; local
1297 ZERO(timeout);
1300 &timeout) < 0) {
1304 timeout = ap->ts; /* save old timestamp for check */
1325 if (0 == (timeout.tv_sec | timeout.tv_nsec))
1332 if (0 == memcmp(&timeout, &ap->ts, sizeof(timeout)))
H A Drefclock_jupiter.c398 struct timespec timeout, ts; local
407 timeout.tv_sec = 0;
408 timeout.tv_nsec = 0;
411 &timeout) < 0)
H A Dntp_timer.c85 u_long sys_revoke = KEY_REVOKE; /* keys revoke timeout (log2 s) */
86 u_long sys_automax = NTP_AUTOMAX; /* key list timeout (log2 s) */
267 * timeout to fire in s seconds, if not reset earlier by a call to
268 * intres_timeout_req(0), which clears any pending timeout. When the
269 * timeout expires, worker_idle_timer_fired() is invoked (again, in the
495 timer_interfacetimeout(u_long timeout) argument
497 interface_timer = timeout;
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dssl_sess.c126 ss->timeout = 60 * 5 + 4; /* 5 minute timeout by default */
266 /* If the context has a default timeout, use it */
268 ss->timeout = SSL_get_default_timeout(s);
270 ss->timeout = s->ctx->session_timeout;
520 if (ret->timeout < (long)(time(NULL) - ret->time)) { /* timeout */
530 * rezero timeout?
712 session->timeout = SSL_get_default_timeout(s);
714 session->timeout
804 static void timeout(SSL_SESSION *s, TIMEOUT_PARAM *p) function
[all...]
H A Dd1_both.c1123 * not a timeout, none of our business, let higher layers handle
1144 if (state->timeout.read_timeouts >= DTLS1_TMO_READ_COUNT)
H A Dssl.h462 long timeout; member in struct:ssl_session_st
695 * If timeout is not 0, it is the default timeout value set when
H A Dd1_lib.c365 /* Set timeout to current time */
378 /* If no timeout is set, just return NULL */
418 /* Get time left until timeout, return false if no timer running */
443 memset(&(s->d1->timeout), 0, sizeof(struct dtls1_timeout_st));
454 s->d1->timeout.num_alerts++;
457 if (s->d1->timeout.num_alerts > 2) {
463 if (s->d1->timeout.num_alerts > DTLS1_TMO_ALERT_COUNT) {
484 s->d1->timeout.read_timeouts++;
485 if (s->d1->timeout.read_timeouts > DTLS1_TMO_READ_COUNT) {
486 s->d1->timeout
[all...]
H A Dssl_asn1.c79 ASN1_INTEGER timeout; member in struct:ssl_session_asn1_st
183 if (in->timeout != 0L) {
184 a.timeout.length = LSIZE2;
185 a.timeout.type = V_ASN1_INTEGER;
186 a.timeout.data = ibuf4;
187 ASN1_INTEGER_set(&(a.timeout), in->timeout);
228 if (in->timeout != 0L)
229 M_ASN1_I2D_len_EXP_opt(&(a.timeout), i2d_ASN1_INTEGER, 2, v2);
267 if (in->timeout !
[all...]
H A Ddtls1.h203 struct dtls1_timeout_st timeout; member in struct:dtls1_state_st
204 /* Indicates when the last handshake msg sent will timeout */
227 /* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
H A Dssl_txt.c196 if (x->timeout != 0L) {
197 if (BIO_printf(bp, "\n Timeout : %ld (sec)", x->timeout) <= 0)
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dresolver.c121 * We need to allow a individual query time to complete / timeout.
318 isc_boolean_t timeout; member in struct:fetchctx
1178 * Log any deferred EDNS timeout messages.
1829 * These timeout can be due to:
1839 if (fctx->timeout) {
1852 fctx->timeout = ISC_FALSE;
3216 FCTXTRACE("timeout");
3227 fctx->timeout = ISC_TRUE;
3610 fctx->timeout = ISC_FALSE;
6899 fctx->timeout
[all...]
/freebsd-9.3-release/contrib/ntp/ntpdc/
H A Dntpdc.c90 static void timeout (struct parse *, FILE *);
118 { "timeout", timeout, { OPT|NTP_UINT, NO, NO, NO },
609 /* absolute timeout checks. Not 'time_t' by intention! */
610 uint32_t tobase; /* base value for timeout */
611 uint32_t tospan; /* timeout span (max delay) */
647 * timeout if this is so.
652 n = 0; /* faked timeout return from 'select()'*/
801 * the timeout base, in case we expect more data.
1614 * timeout
1617 timeout( function
[all...]
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_misc.c494 (void *)args->exceptfds, (void *)args->timeout);
501 if (args->timeout) {
502 if ((error = copyin(args->timeout, &ltv, sizeof(ltv))))
508 printf(LMSG("incoming timeout (%jd/%ld)"),
541 if (args->timeout) {
544 * Compute how much time was left of the timeout,
558 printf(LMSG("outgoing timeout (%jd/%ld)"),
563 if ((error = copyout(&ltv, args->timeout, sizeof(ltv))))
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dwork_thread.c761 * semaphore at all, a timeout occurred, or the caller could
770 struct timespec * timeout /* wall-clock */
784 if (NULL == timeout) {
788 delta = sub_tspec(*timeout, now);
814 if (NULL == timeout)
817 rc = sem_timedwait(sem, timeout);
/freebsd-9.3-release/contrib/ntp/ntpdate/
H A Dntpdate.c57 struct timeval timeout = {0,0}; variable in typeref:struct:timeval
61 * so a 200 ms timeout is needed (TIMER_HZ is 5).
63 struct sock_timeval timeout = {0,1000000/TIMER_HZ}; variable in typeref:struct:sock_timeval
65 struct timeval timeout = {60,0}; variable in typeref:struct:timeval
158 u_long sys_timeout = DEFTIMEOUT; /* timeout time, in TIMER_HZ units */
411 "%s: timeout %s is undecodeable\n",
561 nfound = poll(rdfdes, (unsigned int)nbsock, timeout.tv_sec * 1000);
565 &timeout);
644 * This is called by the timeout routine and by the receive
721 * Update the server timeout an
[all...]
/freebsd-9.3-release/crypto/openssl/demos/easy_tls/
H A Deasy-tls.c838 /* timeout, -1 means no timeout */
845 struct timeval timeout; local
888 timeout.tv_sec = seconds;
889 timeout.tv_usec = 0;
890 timeout_p = &timeout;
/freebsd-9.3-release/crypto/openssl/crypto/bio/
H A Dbss_dgram.c188 /* Read current socket timeout */
190 int timeout; local
192 (void *)&timeout, &sz) < 0) {
195 data->socket_timeout.tv_sec = timeout / 1000;
196 data->socket_timeout.tv_usec = (timeout % 1000) * 1000;
223 * Adjust socket timeout if next handhake message timer will expire
232 timeout = timeleft.tv_sec * 1000 + timeleft.tv_usec / 1000;
234 (void *)&timeout, sizeof(timeout)) < 0) {
256 int timeout local
529 int timeout = tv->tv_sec * 1000 + tv->tv_usec / 1000; local
547 int timeout, sz = sizeof(timeout); local
573 int timeout = tv->tv_sec * 1000 + tv->tv_usec / 1000; local
591 int timeout, sz = sizeof(timeout); local
[all...]
/freebsd-9.3-release/crypto/openssl/apps/
H A Ds_client.c361 struct timeval timeout, *timeoutp; local
509 } else if (strcmp(*argv, "-timeout") == 0)
836 timeout.tv_sec = 0;
837 timeout.tv_usec = DGRAM_RCV_TIMEOUT;
838 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
840 timeout.tv_sec = 0;
841 timeout.tv_usec = DGRAM_SND_TIMEOUT;
842 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout);
1020 DTLSv1_get_timeout(con, &timeout))
1021 timeoutp = &timeout;
[all...]
H A Ds_server.c406 BIO_printf(bio_err, " -timeout - Enable timeouts\n");
649 int timeout; member in struct:tlsextstatusctx_st
742 srctx->timeout);
971 tlscstatp.timeout = atoi(*(++argv));
1040 } else if (strcmp(*argv, "-timeout") == 0)
1579 struct timeval timeout; local
1630 timeout.tv_sec = 0;
1631 timeout.tv_usec = DGRAM_RCV_TIMEOUT;
1632 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
1634 timeout
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dmain.c51 struct timeval timeout; member in struct:dns_ctx
79 /* check the timeout at least once per second */
182 ** - multiple --timeout values in the commandline
321 /* Register an NTP callback for recv/timeout */
355 /* Register an NTP callback for recv/timeout */
407 ctx->timeout = response_tv;
828 ** Socket readable/timeout Callback:
857 (what & EV_TIMEOUT) ? " timeout" : "",
1038 * timeout to fire in s seconds, if not reset earlier by a call to
1039 * intres_timeout_req(0), which clears any pending timeout
[all...]
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf.c377 if (s == NULL || (s)->timeout == PFTM_PURGE) \
394 if (s == NULL || (s)->timeout == PFTM_PURGE) \
653 st->timeout = PFTM_PURGE;
675 (*state)->timeout = PFTM_PURGE;
1355 V_pf_default_rule.timeout[PFTM_INTERVAL]), 0)) {
1363 V_pf_default_rule.timeout[PFTM_INTERVAL]), 1);
1367 / pf_default_rule.timeout[PFTM_INTERVAL]));
1372 if (++nloops >= V_pf_default_rule.timeout[PFTM_INTERVAL]) {
1374 if (++nloops >= pf_default_rule.timeout[PFTM_INTERVAL]) {
1396 u_int32_t timeout; local
1516 u_int32_t timeout; local
[all...]
H A Dpfvar.h94 * Note about PFTM_*: real indices into pf_rule.timeout[] come before
629 u_int32_t timeout[PFTM_MAX]; member in struct:pf_rule
723 #define PFSTATE_ADAPT_START 6000 /* default adaptive timeout start */
724 #define PFSTATE_ADAPT_END 12000 /* default adaptive timeout end */
868 u_int8_t timeout; member in struct:pf_state
930 u_int8_t timeout; member in struct:pfsync_state
1614 int timeout; member in struct:pfioc_tm
H A Dpf_ioctl.c77 #include <sys/timeout.h>
328 u_int32_t *my_timeout = V_pf_default_rule.timeout;
437 u_int32_t *timeout = pf_default_rule.timeout; local
481 timeout[PFTM_TCP_FIRST_PACKET] = PFTM_TCP_FIRST_PACKET_VAL;
482 timeout[PFTM_TCP_OPENING] = PFTM_TCP_OPENING_VAL;
483 timeout[PFTM_TCP_ESTABLISHED] = PFTM_TCP_ESTABLISHED_VAL;
484 timeout[PFTM_TCP_CLOSING] = PFTM_TCP_CLOSING_VAL;
485 timeout[PFTM_TCP_FIN_WAIT] = PFTM_TCP_FIN_WAIT_VAL;
486 timeout[PFTM_TCP_CLOSE
[all...]
H A Dpf_norm.c271 V_pf_default_rule.timeout[PFTM_FRAG];
274 pf_default_rule.timeout[PFTM_FRAG];
441 /* XXX Are we sure we want to update the timeout? */
2048 if ((ts_fudge = state->rule.ptr->timeout[PFTM_TS_DIFF]) == 0)
2050 ts_fudge = V_pf_default_rule.timeout[PFTM_TS_DIFF];
2052 ts_fudge = pf_default_rule.timeout[PFTM_TS_DIFF];

Completed in 401 milliseconds

1234567891011>>