Home | History | Annotate | Download | only in ssl

Lines Matching refs:next_timeout

122   if (ssl->d1->next_timeout.tv_sec == 0 && ssl->d1->next_timeout.tv_usec == 0) {
127 ssl_get_current_time(ssl, &ssl->d1->next_timeout);
130 ssl->d1->next_timeout.tv_sec += ssl->d1->timeout_duration_ms / 1000;
131 ssl->d1->next_timeout.tv_usec += (ssl->d1->timeout_duration_ms % 1000) * 1000;
132 if (ssl->d1->next_timeout.tv_usec >= 1000000) {
133 ssl->d1->next_timeout.tv_sec++;
134 ssl->d1->next_timeout.tv_usec -= 1000000;
164 OPENSSL_memset(&ssl->d1->next_timeout, 0, sizeof(ssl->d1->next_timeout));
203 if (ssl->d1->next_timeout.tv_sec == 0 && ssl->d1->next_timeout.tv_usec == 0) {
211 if (ssl->d1->next_timeout.tv_sec < timenow.tv_sec ||
212 (ssl->d1->next_timeout.tv_sec == timenow.tv_sec &&
213 ssl->d1->next_timeout.tv_usec <= timenow.tv_usec)) {
220 OPENSSL_memcpy(&ret, &ssl->d1->next_timeout, sizeof(ret));