/net-tools-3.4.0/libcoap/tests/ |
D | test_sendqueue.c | 113 coap_tick_t now; in t_sendqueue5() local 127 coap_ticks(&now); in t_sendqueue5() 129 ctx.sendqueue_basetime = now; in t_sendqueue5() 131 now -= delta1; in t_sendqueue5() 132 result = coap_adjust_basetime(&ctx, now); in t_sendqueue5() 136 CU_ASSERT(ctx.sendqueue_basetime == now); in t_sendqueue5() 139 now += delta2; in t_sendqueue5() 140 result = coap_adjust_basetime(&ctx, now); in t_sendqueue5() 142 CU_ASSERT(ctx.sendqueue_basetime == now); in t_sendqueue5() 161 coap_tick_t now; in t_sendqueue6() local [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | x509.c | 866 static int x509_get_current_time( mbedtls_x509_time *now ) in x509_get_current_time() argument 872 now->year = st.wYear; in x509_get_current_time() 873 now->mon = st.wMonth; in x509_get_current_time() 874 now->day = st.wDay; in x509_get_current_time() 875 now->hour = st.wHour; in x509_get_current_time() 876 now->min = st.wMinute; in x509_get_current_time() 877 now->sec = st.wSecond; in x509_get_current_time() 882 static int x509_get_current_time( mbedtls_x509_time *now ) in x509_get_current_time() argument 900 now->year = lt->tm_year + 1900; in x509_get_current_time() 901 now->mon = lt->tm_mon + 1; in x509_get_current_time() [all …]
|
/net-tools-3.4.0/ |
D | net-capture.py | 91 now = datetime.utcnow() 92 hdr = now.strftime("%Y%m%dZ%H:%M:%S") + "." + str(now.microsecond)
|
D | coap-client.c | 1583 coap_tick_t now; local 1813 coap_ticks(&now); 1815 (now - coap_ctx->sendqueue_basetime)) { 1821 max_wait) - now) { 1827 tv.tv_usec = ((obs_wait - now) % 1830 tv.tv_sec = (obs_wait - now) / 1833 tv.tv_usec = ((max_wait - now) % 1836 tv.tv_sec = (max_wait - now) /
|
/net-tools-3.4.0/libcoap/examples/ |
D | coap-server.c | 103 time_t now; in hnd_get_time() local 133 now = my_clock_base + (t / COAP_TICKS_PER_SECOND); in hnd_get_time() 143 "%u", (unsigned int)now); in hnd_get_time() 148 tmp = gmtime(&now); in hnd_get_time() 250 coap_tick_t now) { in check_async() argument 256 if (!async || now < async->created + (unsigned long)async->appdata) in check_async() 452 coap_tick_t now; in main() local 503 coap_ticks(&now); in main() 504 while (nextpdu && nextpdu->t <= now - ctx->sendqueue_basetime) { in main() 537 check_async(ctx, ctx->endpoint, now); in main()
|
D | etsi_iot_01.c | 455 check_async(coap_context_t *ctx, coap_tick_t now) { in check_async() argument 461 if (!async || now < async->created + (unsigned long)async->appdata) in check_async() 678 coap_tick_t now; in main() local 722 coap_ticks(&now); in main() 723 while ( nextpdu && nextpdu->t <= now ) { in main() 728 if ( nextpdu && nextpdu->t <= now + COAP_RESOURCE_CHECK_TIME_SEC ) { in main() 730 tv.tv_usec = ((nextpdu->t - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main() 731 tv.tv_sec = (nextpdu->t - now) / COAP_TICKS_PER_SECOND; in main() 753 check_async(ctx, now); in main()
|
D | coap-rd.c | 451 coap_tick_t now; in hnd_post_rd() local 452 coap_ticks(&now); in hnd_post_rd() 457 (unsigned int)(now & (unsigned int)-1)); in hnd_post_rd() 679 coap_tick_t now; in main() local 728 coap_ticks(&now); in main() 729 while ( nextpdu && nextpdu->t <= now ) { in main() 734 if ( nextpdu && nextpdu->t <= now + COAP_RESOURCE_CHECK_TIME ) { in main() 737 tv.tv_usec = ((nextpdu->t - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main() 738 tv.tv_sec = (nextpdu->t - now) / COAP_TICKS_PER_SECOND; in main()
|
D | client.c | 1032 coap_tick_t now; in main() local 1215 coap_ticks(&now); in main() 1216 while (nextpdu && nextpdu->t <= now - ctx->sendqueue_basetime) { in main() 1221 if (nextpdu && nextpdu->t < min(obs_wait ? obs_wait : max_wait, max_wait) - now) { in main() 1228 tv.tv_usec = ((obs_wait - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main() 1229 tv.tv_sec = (obs_wait - now) / COAP_TICKS_PER_SECOND; in main() 1231 tv.tv_usec = ((max_wait - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main() 1232 tv.tv_sec = (max_wait - now) / COAP_TICKS_PER_SECOND; in main() 1246 coap_ticks(&now); in main() 1247 if (max_wait <= now) { in main() [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/ |
D | ChangeLog | 22 scripts, which is also now called by all.sh. 131 * Fix non-compliance server extension handling. Extensions for SSLv3 are now 191 * mbedtls_x509_crt_verify(_with_profile)() now also checks the key type and 316 * The PEM parser now accepts a trailing space at end of lines (#226). 317 * It is now possible to #include a user-provided configuration file at the 346 You now need to link to all of them if you use TLS for example. 355 * Headers are now found in the 'mbedtls' directory (previously 'polarssl'). 378 * mbedtls_ssl_conf_ca_chain() lost its last argument (peer_cn), now set 382 * On server, mbedtls_ssl_conf_session_tickets_cb() must now be used in 386 * mbedtls_ssl_conf_truncated_hmac() now returns void. [all …]
|
/net-tools-3.4.0/libcoap/examples/contiki/ |
D | server.c | 100 coap_tick_t now; in hnd_get_time() local 127 now = my_clock_base + (t / COAP_TICKS_PER_SECOND); in hnd_get_time() 136 "%u", (unsigned int)now); in hnd_get_time()
|
/net-tools-3.4.0/libcoap/src/ |
D | net.c | 180 coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now) { in coap_adjust_basetime() argument 182 coap_tick_diff_t delta = now - ctx->sendqueue_basetime; in coap_adjust_basetime() 707 coap_tick_t now; in coap_send_confirmed() local 740 coap_ticks(&now); in coap_send_confirmed() 743 context->sendqueue_basetime = now; in coap_send_confirmed() 746 node->t = (now - context->sendqueue_basetime) + node->timeout; in coap_send_confirmed() 1655 coap_tick_t now; local 1669 coap_ticks(&now); 1670 while (nextpdu && nextpdu->t <= now) { 1677 nextpdu ? nextpdu->t - now : 0xFFFF); [all …]
|
D | debug.c | 79 time_t now = coap_ticks_to_rt(t); in print_timestamp() local 80 tmp = localtime(&now); in print_timestamp() 485 coap_tick_t now; in coap_log_impl() local 494 coap_ticks(&now); in coap_log_impl() 495 if (print_timestamp(timebuf,sizeof(timebuf), now)) in coap_log_impl()
|
/net-tools-3.4.0/libcoap/ |
D | ChangeLog | 64 * resource.c (coap_print_link): This function now takes an offset 72 options. COAP_OPT_BLOCK_LAST now returns NULL when the option 78 descriptions. The function now provides a sliding window over the 85 additional parameter now is used to provide the offset into the 117 directive. #warning is now only used for gcc only (close sf bug #15)
|
D | CONTRIBUTE | 78 At this point you can now work as known with git, modify the source, commit 85 To be able to send a patch series you will now create the series itself as 98 useful information's for the mailing list. After finish this you now can send 203 how the libcoap can be used. Right now these binaries are fully usable and 211 The libcoap library has now a lot of functions you can use.
|
D | configure.ac | 160 # now checking dot (needed for graphics) 213 # Check now for libcunit
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/ |
D | udp_proxy.c | 277 struct timeval now; in ellapsed_time() 285 gettimeofday( &now, NULL ); in ellapsed_time() 286 return( 1000 * ( now.tv_sec - ref.tv_sec ) in ellapsed_time() 287 + ( now.tv_usec - ref.tv_usec ) / 1000 ); in ellapsed_time()
|
/net-tools-3.4.0/tinydtls-0.8.2/ |
D | dtls.c | 1443 dtls_tick_t now; in dtls_send_multi() local 1444 dtls_ticks(&now); in dtls_send_multi() 1445 n->t = now + 2 * CLOCK_SECOND; in dtls_send_multi() 1746 dtls_tick_t now; in dtls_send_server_hello() local 1761 dtls_ticks(&now); in dtls_send_server_hello() 1762 dtls_int_to_uint32(handshake->tmp.random.server, now / CLOCK_SECOND); in dtls_send_server_hello() 2317 dtls_tick_t now; in dtls_send_client_hello() local 2340 dtls_ticks(&now); in dtls_send_client_hello() 2341 dtls_int_to_uint32(handshake->tmp.random.client, now / CLOCK_SECOND); in dtls_send_client_hello() 3742 dtls_tick_t now; in dtls_new_context() local [all …]
|
/net-tools-3.4.0/libcoap/include/coap/ |
D | net.h | 162 unsigned int coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now);
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_hmac_drbg.function | 208 /* And now the normal entropy-based variant */
|
D | test_suite_rsa.function | 403 /* And now with the copy */ 481 /* And now one more time with the copy */
|
/net-tools-3.4.0/tinydtls-0.8.2/sha2/ |
D | README | 217 program and now use a perl script with a subdirectory full
|
/net-tools-3.4.0/libcoap/doc/ |
D | Doxyfile.in | 968 # source code will now point to the output of htags. 1227 # files are now used as the Windows 98 help format, and will replace the old
|