Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 28) sorted by relevance

12

/net-tools-2.7.6/mbedtls-2.4.0/library/
Dssl_cache.c50 cache->timeout = MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT; in mbedtls_ssl_cache_init()
81 if( cache->timeout != 0 && in mbedtls_ssl_cache_get()
82 (int) ( t - entry->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_get()
161 if( cache->timeout != 0 && in mbedtls_ssl_cache_set()
162 (int) ( t - cur->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_set()
286 void mbedtls_ssl_cache_set_timeout( mbedtls_ssl_cache_context *cache, int timeout ) in mbedtls_ssl_cache_set_timeout() argument
288 if( timeout < 0 ) timeout = 0; in mbedtls_ssl_cache_set_timeout()
290 cache->timeout = timeout; in mbedtls_ssl_cache_set_timeout()
Dssl_cookie.c84 ctx->timeout = MBEDTLS_SSL_COOKIE_TIMEOUT; in mbedtls_ssl_cookie_init()
93 ctx->timeout = delay; in mbedtls_ssl_cookie_set_timeout()
255 if( ctx->timeout != 0 && cur_time - cookie_time > ctx->timeout ) in mbedtls_ssl_cookie_check()
Dnet_sockets.c495 uint32_t timeout ) in mbedtls_net_recv_timeout() argument
508 tv.tv_sec = timeout / 1000; in mbedtls_net_recv_timeout()
509 tv.tv_usec = ( timeout % 1000 ) * 1000; in mbedtls_net_recv_timeout()
511 ret = select( fd + 1, &read_fds, NULL, NULL, timeout == 0 ? NULL : &tv ); in mbedtls_net_recv_timeout()
Dssl_tls.c2226 uint32_t timeout; in mbedtls_ssl_fetch_input() local
2303 timeout = ssl->handshake->retransmit_timeout; in mbedtls_ssl_fetch_input()
2305 timeout = ssl->conf->read_timeout; in mbedtls_ssl_fetch_input()
2307 MBEDTLS_SSL_DEBUG_MSG( 3, ( "f_recv_timeout: %u ms", timeout ) ); in mbedtls_ssl_fetch_input()
2311 timeout ); in mbedtls_ssl_fetch_input()
5643 void mbedtls_ssl_conf_read_timeout( mbedtls_ssl_config *conf, uint32_t timeout ) in mbedtls_ssl_conf_read_timeout() argument
5645 conf->read_timeout = timeout; in mbedtls_ssl_conf_read_timeout()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dssl_cache.h78 int timeout; /*!< cache entry timeout */ member
120 void mbedtls_ssl_cache_set_timeout( mbedtls_ssl_cache_context *cache, int timeout );
Dssl_cookie.h58 unsigned long timeout; /*!< timeout delay, in seconds if HAVE_TIME, member
Dnet_sockets.h212 uint32_t timeout );
Dssl.h485 uint32_t timeout );
1137 void mbedtls_ssl_conf_read_timeout( mbedtls_ssl_config *conf, uint32_t timeout );
/net-tools-2.7.6/tinydtls-0.8.2/tests/
Ddtls-server.c278 struct timeval timeout; local
361 timeout.tv_sec = 5;
362 timeout.tv_usec = 0;
364 result = select( fd+1, &rfds, &wfds, 0, &timeout);
Ddtls-client.c343 struct timeval timeout; local
480 timeout.tv_sec = 5;
481 timeout.tv_usec = 0;
483 result = select(fd+1, &rfds, &wfds, 0, &timeout);
/net-tools-2.7.6/
Decho-client.c395 int c, ret, fd, i = 0, timeout = -1, port = SERVER_PORT; in main() local
649 timeout++; in main()
658 timeout = i; in main()
740 ret = timeout + 1; in main()
Dthroughput-client.c342 int c, ret, fd, i = 0, timeout = -1, port = SERVER_PORT; in main() local
548 timeout = i; in main()
587 ret = timeout + 1; in main()
Decho-server.c372 i = 0, timeout = 0; in main() local
/net-tools-2.7.6/tinydtls-0.8.2/
Dnetq.h42 unsigned int timeout; /**< randomized timeout value */ member
/net-tools-2.7.6/libcoap/examples/
Dcoap-server.c450 struct timeval tv, *timeout; in main() local
513 timeout = &tv; in main()
517 timeout = &tv; in main()
519 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
Detsi_coaptest.sh16 timeoutcmd=/usr/bin/timeout
Detsi_iot_01.c676 struct timeval tv, *timeout; in main() local
732 timeout = &tv; in main()
736 timeout = &tv; in main()
738 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
Dcoap-rd.c677 struct timeval tv, *timeout; in main() local
739 timeout = &tv; in main()
743 timeout = &tv; in main()
745 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
/net-tools-2.7.6/libcoap/
DChangeLog25 to calculate retransmission timeout.
36 * net.c (coap_send_confirmed): Fixed retransmission timeout
211 -B to set timeout after which the main loop is left.
/net-tools-2.7.6/libcoap/include/coap/
Dnet.h36 unsigned int timeout; /**< the randomized timeout value */ member
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-hashing/
DREADME.md52 {{timeout;10}}
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-authcrypt/
DREADME.md52 {{timeout;10}}
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-selftest/
DREADME.md52 {{timeout;40}}
/net-tools-2.7.6/libcoap/src/
Dnet.c726 node->timeout = calc_timeout(r); in coap_send_confirmed()
742 node->t = node->timeout; in coap_send_confirmed()
746 node->t = (now - context->sendqueue_basetime) + node->timeout; in coap_send_confirmed()
781 node->t = node->timeout << node->retransmit_cnt; in coap_retransmit()
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-benchmark/
DREADME.md52 {{timeout;150}}

12