Home
last modified time | relevance | path

Searched refs:coap_uri_t (Results 1 – 12 of 12) sorted by relevance

/third_party/libcoap/include/coap3/
Dcoap_uri.h76 } coap_uri_t; typedef
79 coap_uri_scheme_is_secure(const coap_uri_t *uri) { in coap_uri_scheme_is_secure()
104 coap_uri_t *coap_new_uri(const uint8_t *uri, unsigned int length);
115 coap_uri_t *coap_clone_uri(const coap_uri_t *uri);
122 void coap_delete_uri(coap_uri_t *uri);
147 int coap_split_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri);
165 int coap_split_proxy_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri);
188 int coap_uri_into_options(const coap_uri_t *uri, const coap_address_t *dst,
/third_party/libcoap/src/
Dcoap_uri.c65 coap_uri_t *uri, in coap_split_uri_sub()
75 memset(uri, 0, sizeof(coap_uri_t)); in coap_split_uri_sub()
269 coap_split_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri) { in coap_split_uri()
274 coap_split_proxy_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri) { in coap_split_proxy_uri()
279 coap_uri_into_options(const coap_uri_t *uri, const coap_address_t *dst, in coap_uri_into_options()
635 #define URI_DATA(uriobj) ((unsigned char *)(uriobj) + sizeof(coap_uri_t))
637 coap_uri_t *
641 result = (unsigned char *)coap_malloc_type(COAP_STRING, length + 1 + sizeof(coap_uri_t)); in coap_new_uri()
649 if (coap_split_uri(URI_DATA(result), length, (coap_uri_t *)result) < 0) { in coap_new_uri()
653 return (coap_uri_t *)result; in coap_new_uri()
[all …]
Dcoap_net.c2828 coap_uri_t uri; in handle_request()
3575 coap_uri_t uri; in coap_dispatch()
Dcoap_oscore.c141 coap_uri_t uri; in coap_rebuild_pdu_for_proxy()
/third_party/libcoap/man/
Dcoap_uri.txt.in27 coap_uri_t *_uri_);*
30 coap_uri_t *_uri_);*
32 *coap_uri_t *coap_new_uri(const uint8_t *_uri_def_, unsigned int _length_);*
34 *coap_uri_t *coap_clone_uri(const coap_uri_t *_uri_);*
36 *void coap_delete_uri(coap_uri_t *_uri_);*
38 *int coap_uri_into_options(const coap_uri_t *_uri_,
80 } coap_uri_t;
102 The *coap_new_uri*() function creates a new coap_uri_t structure and populates
104 coap_uri_t structure needs to be freed off using *coap_delete_uri*().
108 The *coap_clone_uri*() function duplicates a _uri_ coap_uri_t structure.
[all …]
Dcoap_address.txt.in273 get_address(coap_uri_t *uri, coap_address_t *dst) {
/third_party/libcoap/tests/
Dtest_uri.c21 coap_uri_t uri; in t_parse_uri1()
44 coap_uri_t uri; in t_parse_uri2()
67 coap_uri_t uri; in t_parse_uri3()
89 coap_uri_t uri; in t_parse_uri4()
99 coap_uri_t uri; in t_parse_uri5()
122 coap_uri_t uri; in t_parse_uri6()
145 coap_uri_t uri; in t_parse_uri7()
187 coap_uri_t uri; in t_parse_uri8()
204 coap_uri_t uri; in t_parse_uri9()
220 coap_uri_t uri; in t_parse_uri10()
[all …]
/third_party/libcoap/tests/oss-fuzz/
Dsplit_uri_target.c5 coap_uri_t uri; in LLVMFuzzerTestOneInput()
/third_party/libcoap/examples/riot/examples_libcoap_client/
Dclient-coap.c124 coap_uri_t uri; in client_coap_init()
/third_party/libcoap/examples/lwip/
Dclient-coap.c109 coap_uri_t uri; in client_coap_init()
/third_party/libcoap/examples/
Dcoap-server.c635 static coap_uri_t proxy = { {0, NULL}, 0, {0, NULL}, {0, NULL}, 0 };
655 coap_uri_t *uri, in get_uri_proxy_scheme_info()
881 coap_pdu_type_t req_type, const coap_uri_t *uri) { in get_ongoing_proxy_session()
988 coap_uri_t uri; in hnd_proxy_uri()
Dcoap-client.c74 static coap_uri_t uri;
75 static coap_uri_t proxy = { {0, NULL}, 0, {0, NULL}, {0, NULL}, 0 };