Home
last modified time | relevance | path

Searched refs:new_option_node (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.5.0/libcoap/examples/
Dclient.c576 new_option_node(unsigned short key, unsigned int length, unsigned char *data) { in new_option_node() function
655 node = new_option_node(key, coap_encode_var_bytes(buf, value[i]), buf); in cmdline_content_type()
675 new_option_node(COAP_OPTION_PROXY_URI, in cmdline_uri()
684 new_option_node(COAP_OPTION_PROXY_URI, in cmdline_uri()
693 new_option_node(COAP_OPTION_URI_PORT, in cmdline_uri()
704 new_option_node(COAP_OPTION_URI_PATH, in cmdline_uri()
719 new_option_node(COAP_OPTION_URI_QUERY, in cmdline_uri()
768 coap_insert(&optlist, new_option_node(opt, opt_length, buf)); in set_blocksize()
775 coap_insert(&optlist, new_option_node(COAP_OPTION_SUBSCRIPTION, 0, NULL)); in cmdline_subscribe()
829 new_option_node(num, strlen(arg), (unsigned char *)arg)); in cmdline_option()
[all …]
/net-tools-3.5.0/
Dcoap-client.c616 static coap_list_t *new_option_node(unsigned short key, in new_option_node() function
687 new_option_node(COAP_OPTION_URI_PATH, in parse_uri()
703 new_option_node(COAP_OPTION_URI_QUERY, in parse_uri()
1501 coap_insert(&optlist, new_option_node(opt, opt_length, buf)); in set_blocksize()
1761 new_option_node(COAP_OPTION_URI_HOST,
1770 new_option_node(COAP_OPTION_URI_PORT,