/net-tools-2.7.6/libcoap/tests/ |
D | test_options.c | 28 coap_option_t option; in t_parse_option1() local 31 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option1() 33 CU_ASSERT(option.delta == 0); in t_parse_option1() 34 CU_ASSERT(option.length == 0); in t_parse_option1() 44 coap_option_t option; in t_parse_option2() local 46 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option2() 48 CU_ASSERT(option.delta == 12); in t_parse_option2() 49 CU_ASSERT(option.length == 1); in t_parse_option2() 50 CU_ASSERT(option.value == teststr.s + 1); in t_parse_option2() 60 coap_option_t option; in t_parse_option3() local [all …]
|
/net-tools-2.7.6/libcoap/ |
D | ChangeLog | 72 options. COAP_OPT_BLOCK_LAST now returns NULL when the option 98 * option.h (coap_option_setb): increased size of option type 104 * tests/test_pdu.c (t_encode_pdu5): fixed number for option Accept 106 * net.c (coap_new_error_response): fixed option size calculation 110 * net.c (coap_new_context): register critical Accept option 112 * pdu.c: option codes for Accept and Size1 according to coap-18 124 * option.h: renamed option field in coap_opt_iterator_t to 129 * configure.in: new option --with-tests to enable unit tests 138 * option.c: Klaus-encoding for coap-13, including new option 143 * net.c (next_option_safe): made option parsing more robust in [all …]
|
D | Makefile.libcoap | 1 libcoap_src = pdu.c net.c debug.c encode.c uri.c subscribe.c resource.c hashkey.c str.c option.c as…
|
D | Makefile.am | 61 src/option.c \ 87 include/coap/option.h \
|
/net-tools-2.7.6/libcoap/src/ |
D | block.c | 47 coap_opt_t *option; in coap_get_block() local 52 if (pdu && (option = coap_check_option(pdu, type, &opt_iter))) { in coap_get_block() 53 block->szx = COAP_OPT_BLOCK_SZX(option); in coap_get_block() 54 if (COAP_OPT_BLOCK_MORE(option)) in coap_get_block() 56 block->num = coap_opt_block_num(option); in coap_get_block()
|
D | debug.c | 380 coap_opt_t *option; in coap_show_pdu() local 398 while ((option = coap_option_next(&opt_iter))) { in coap_show_pdu() 407 content_format = (int)coap_decode_var_bytes(COAP_OPT_VALUE(option), in coap_show_pdu() 408 COAP_OPT_LENGTH(option)); in coap_show_pdu() 418 coap_opt_block_num(option), /* block number */ in coap_show_pdu() 419 COAP_OPT_BLOCK_MORE(option) ? 'M' : '_', /* M bit */ in coap_show_pdu() 420 (2 << (COAP_OPT_BLOCK_SZX(option) + 4))); /* block size */ in coap_show_pdu() 430 coap_decode_var_bytes(COAP_OPT_VALUE(option), in coap_show_pdu() 431 COAP_OPT_LENGTH(option))); in coap_show_pdu() 447 buf_len = print_readable(COAP_OPT_VALUE(option), in coap_show_pdu() [all …]
|
D | option.c | 160 coap_option_t option; in coap_option_next() local 178 optsize = coap_opt_parse(oi->next_option, oi->length, &option); in coap_option_next() 185 oi->type += option.delta; in coap_option_next() 322 coap_option_t option; in coap_opt_size() local 325 return coap_opt_parse(opt, (size_t)-1, &option); in coap_opt_size()
|
D | resource.c | 386 coap_opt_t *option; local 394 while ((option = coap_option_next(&opt_iter))) 395 coap_hash(COAP_OPT_VALUE(option), COAP_OPT_LENGTH(option), key);
|
D | pdu.c | 323 coap_option_t option; in next_option_safe() local 329 optsize = coap_opt_parse(*optp, *length, &option); in next_option_safe()
|
D | net.c | 1038 coap_opt_t *option; in coap_new_error_response() local 1067 while((option = coap_option_next(&opt_iter))) { in coap_new_error_response() 1081 size += coap_opt_length(option); in coap_new_error_response() 1082 switch (*option & 0x0f) { in coap_new_error_response() 1109 while((option = coap_option_next(&opt_iter))) in coap_new_error_response() 1111 COAP_OPT_LENGTH(option), in coap_new_error_response() 1112 COAP_OPT_VALUE(option)); in coap_new_error_response()
|
/net-tools-2.7.6/libcoap/include/coap/ |
D | pdu.h | 219 #define COAP_OPTION_KEY(option) (option).key argument 220 #define COAP_OPTION_LENGTH(option) (option).length argument 221 #define COAP_OPTION_DATA(option) ((unsigned char *)&(option) + sizeof(coap_option)) argument
|
D | coap.h.in | 45 #include "option.h"
|
/net-tools-2.7.6/libcoap/examples/ |
D | client.c | 182 coap_list_t *option; in clear_obs() local 201 for (option = optlist; option; option = option->next ) { in clear_obs() 202 coap_option *o = (coap_option *)(option->data); in clear_obs() 222 for (option = optlist; option; option = option->next ) { in clear_obs() 223 coap_option *o = (coap_option *)(option->data); in clear_obs() 326 coap_list_t *option; in message_handler() local 382 for (option = optlist; option; option = option->next ) { in message_handler() 383 coap_option *o = (coap_option *)(option->data); in message_handler() 446 for (option = optlist; option; option = option->next ) { in message_handler() 447 coap_option *o = (coap_option *)(option->data); in message_handler() [all …]
|
D | etsi_iot_01.c | 243 coap_opt_t *option; in hnd_post_test() local 280 option = coap_check_option(request, COAP_OPTION_CONTENT_TYPE, &opt_iter); in hnd_post_test() 281 if (option) { in hnd_post_test() 283 coap_decode_var_bytes(COAP_OPT_VALUE(option), COAP_OPT_LENGTH(option)); in hnd_post_test() 309 coap_opt_t *option; in hnd_put_test() local 336 option = coap_check_option(request, COAP_OPTION_CONTENT_TYPE, &opt_iter); in hnd_put_test() 337 if (option) { in hnd_put_test() 340 coap_decode_var_bytes(COAP_OPT_VALUE(option), COAP_OPT_LENGTH(option)); in hnd_put_test() 414 coap_opt_t *option; in hnd_get_separate() local 433 while ((option = coap_option_next(&opt_iter))) { in hnd_get_separate() [all …]
|
D | coap-server.c | 100 coap_opt_t *option; in hnd_get_time() local 136 && (option = coap_check_option(request, COAP_OPTION_URI_QUERY, &opt_iter)) in hnd_get_time() 137 && memcmp(COAP_OPT_VALUE(option), "ticks", in hnd_get_time() 138 min(5, COAP_OPT_LENGTH(option))) == 0) { in hnd_get_time() 218 coap_opt_t *option; in hnd_get_async() local 231 option = coap_check_option(request, COAP_OPTION_URI_QUERY, &opt_iter); in hnd_get_async() 232 if (option) { in hnd_get_async() 233 unsigned char *p = COAP_OPT_VALUE(option); in hnd_get_async() 236 for (size = COAP_OPT_LENGTH(option); size; --size, ++p) in hnd_get_async()
|
D | coap-client.txt.in | 42 option in its response to a GET request, coap-client will automatically 89 described for option *-t*. 95 Send NON-confirmable message. If option *-N* is not specified, a 99 Add option 'num' with contents of 'text' to the request. 102 Address (and port) for proxy to use (automatically adds Proxy-Uri option
|
D | README.etsi_iot | 23 [+] TD_COAP_CORE_10 Handle request containing Token option 24 [+] TD_COAP_CORE_11 Handle request not containing Token option
|
/net-tools-2.7.6/mbedtls-2.4.0/ |
D | CMakeLists.txt | 4 option(USE_PKCS11_HELPER_LIBRARY "Build mbed TLS with the pkcs11-helper library." OFF) 5 option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF) 7 option(ENABLE_PROGRAMS "Build mbed TLS programs." ON) 9 option(UNSAFE_BUILD "Allow unsafe builds. These builds ARE NOT SECURE." OFF) 13 option(ENABLE_TESTING "Build mbed TLS tests." OFF) 15 option(ENABLE_TESTING "Build mbed TLS tests." ON) 43 This option is not safe for production use and negates all security \ 46 To confirm you want to build with this option, re-run cmake with the \ 47 option: \n\
|
/net-tools-2.7.6/libcoap/examples/contiki/ |
D | server.c | 97 coap_opt_t *option; in hnd_get_time() local 130 && (option = coap_check_option(request, COAP_OPTION_URI_QUERY, &opt_iter)) in hnd_get_time() 131 && memcmp(COAP_OPT_VALUE(option), "ticks", in hnd_get_time() 132 min(5, COAP_OPT_LENGTH(option))) == 0) { in hnd_get_time()
|
D | Makefile.common | 11 COAPOBJS = net.o debug.o option.o resource.o hashkey.o pdu.o encode.o subscribe.o coap_io.o block.o…
|
/net-tools-2.7.6/ |
D | coap-client.c | 625 coap_option *option = (coap_option *)(node->data); in new_option_node() local 627 COAP_OPTION_KEY(*option) = key; in new_option_node() 628 COAP_OPTION_LENGTH(*option) = length; in new_option_node() 629 memcpy(COAP_OPTION_DATA(*option), data, length); in new_option_node() 717 coap_option *option = (coap_option *)(item->data); in clone_option() local 720 option->length); in clone_option() 722 memcpy(node->data, option, in clone_option() 723 sizeof(coap_option) + option->length); in clone_option() 1118 coap_list_t *option; in add_options() local 1120 for (option = optlist; option; option = option->next ) { in add_options() [all …]
|
D | monitor_15_4.c | 92 int option = LOG_NDELAY | LOG_PID; in log_init() local 96 option |= LOG_PERROR; in log_init() 98 openlog("monitor", option, LOG_DAEMON); in log_init()
|
/net-tools-2.7.6/mbedtls-2.4.0/include/ |
D | CMakeLists.txt | 1 option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON)
|
/net-tools-2.7.6/mbedtls-2.4.0/library/ |
D | CMakeLists.txt | 1 option(USE_STATIC_MBEDTLS_LIBRARY "Build mbed TLS static library." ON) 2 option(USE_SHARED_MBEDTLS_LIBRARY "Build mbed TLS shared library." OFF) 3 option(LINK_WITH_PTHREAD "Explicitly link mbed TLS library to pthread." OFF)
|
/net-tools-2.7.6/mbedtls-2.4.0/doxygen/ |
D | mbedtls.doxyfile | 62 # Enabling this option can be useful when feeding doxygen a huge amount of 283 # If you use Microsoft's C++/CLI language, you should set this option to YES to 295 # getter and setter methods for a property. Setting this option to YES (the 299 # methods anyway, you should set this option to NO. 406 # This option has no effect if EXTRACT_ALL is enabled. 413 # overviews. This option has no effect if EXTRACT_ALL is enabled. 442 # and Mac users are advised to set this option to NO. 503 # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. 504 # Note: This option applies only to the class list, not to the 509 # If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to [all …]
|