/third_party/libcoap/include/coap3/ |
H A D | coap_block_internal.h | 130 coap_pdu_t pdu; /**< skeletal PDU */ 167 coap_pdu_t pdu; /**< skeletal PDU */ 212 coap_pdu_t *pdu, 225 coap_pdu_t *request, 231 coap_mid_t coap_block_test_q_block(coap_session_t *session, coap_pdu_t *actual); 240 coap_pdu_t *pdu, 261 coap_pdu_t *response, 266 coap_pdu_t *pdu, 267 coap_pdu_t *response, 273 coap_pdu_t *pd [all...] |
H A D | coap_pdu.h | 302 coap_pdu_t *coap_pdu_from_pbuf(struct pbuf *pbuf); 371 * node coap_pdu_t object on success, or @c NULL on error. The storage allocated 382 coap_pdu_t *coap_pdu_init(coap_pdu_type_t type, coap_pdu_code_t code, 395 coap_pdu_t *coap_new_pdu(coap_pdu_type_t type, coap_pdu_code_t code, 406 void coap_delete_pdu(coap_pdu_t *pdu); 421 coap_pdu_t *coap_pdu_duplicate(const coap_pdu_t *old_pdu, 444 coap_pdu_t *pdu); 460 int coap_add_token(coap_pdu_t *pdu, 485 size_t coap_add_option(coap_pdu_t *pd [all...] |
H A D | coap_pdu_internal.h | 100 * Separate COAP_PDU_BUF is allocated with offsets held in coap_pdu_t. 119 struct coap_pdu_t { struct 170 int coap_pdu_resize(coap_pdu_t *pdu, size_t new_size); 181 int coap_pdu_check_resize(coap_pdu_t *pdu, size_t new_size); 217 int coap_pdu_parse_header(coap_pdu_t *pdu, coap_proto_t proto); 230 int coap_pdu_parse_opt(coap_pdu_t *pdu); 236 * pointer to a coap_pdu_t object created e.g. by coap_pdu_init(). 241 void coap_pdu_clear(coap_pdu_t *pdu, size_t size); 263 size_t coap_add_option_internal(coap_pdu_t *pdu, 275 int coap_remove_option(coap_pdu_t *pd [all...] |
H A D | coap_block.h | 133 int coap_get_block(const coap_pdu_t *pdu, coap_option_num_t number, 152 int coap_get_block_b(const coap_session_t *session, const coap_pdu_t *pdu, 177 coap_pdu_t *pdu, 203 coap_pdu_t *pdu, 219 int coap_add_block(coap_pdu_t *pdu, 235 int coap_add_block_b_data(coap_pdu_t *pdu, size_t len, const uint8_t *data, 273 void coap_add_data_blocked_response(const coap_pdu_t *request, 274 coap_pdu_t *response, 335 coap_pdu_t *pdu, 393 const coap_pdu_t *reques [all...] |
H A D | coap_net.h | 63 const coap_pdu_t *sent, 64 const coap_pdu_t *received, 76 const coap_pdu_t *sent, 88 const coap_pdu_t *received, 99 const coap_pdu_t *received, 420 coap_pdu_t *coap_new_error_response(const coap_pdu_t *request, 440 const coap_pdu_t *request, 455 coap_mid_t coap_send_message_type(coap_session_t *session, const coap_pdu_t *request, 469 coap_mid_t coap_send_ack(coap_session_t *session, const coap_pdu_t *reques [all...] |
H A D | coap_oscore_internal.h | 83 coap_pdu_t *coap_oscore_new_pdu_encrypted(coap_session_t *session, 84 coap_pdu_t *pdu, 98 struct coap_pdu_t *coap_oscore_decrypt_pdu(coap_session_t *session, 99 coap_pdu_t *pdu); 123 size_t coap_oscore_overhead(coap_session_t *session, coap_pdu_t *pdu); 132 int coap_rebuild_pdu_for_proxy(coap_pdu_t *pdu);
|
H A D | coap_net_internal.h | 43 coap_pdu_t *pdu; /**< the CoAP PDU to send */ 129 coap_pdu_t *unknown_pdu; /** PDU used for unknown resource request */ 323 coap_pdu_t *pdu); 357 coap_pdu_t *pdu, 371 coap_pdu_t *coap_wellknown_response(coap_context_t *context, 373 coap_pdu_t *request); 405 coap_mid_t coap_send_internal(coap_session_t *session, coap_pdu_t *pdu);
|
H A D | coap_cache.h | 72 const coap_pdu_t *pdu, 102 const coap_pdu_t *pdu, 153 const coap_pdu_t *pdu, 194 const coap_pdu_t *pdu, 205 const coap_pdu_t *coap_cache_get_pdu(const coap_cache_entry_t *cache_entry);
|
H A D | coap_forward_decls.h | 90 typedef struct coap_pdu_t coap_pdu_t; typedef
|
H A D | coap_option.h | 193 coap_opt_iterator_t *coap_option_iterator_init(const coap_pdu_t *pdu, 228 coap_opt_t *coap_check_option(const coap_pdu_t *pdu, 314 * coap_pdu_t *pdu = coap_new_pdu(session); 360 int coap_add_optlist_pdu(coap_pdu_t *pdu, coap_optlist_t **optlist_chain);
|
H A D | coap_subscribe_internal.h | 67 coap_pdu_t *pdu; /**< PDU to use for additional requests */ 108 const coap_pdu_t *pdu);
|
/third_party/libcoap/src/ |
H A D | coap_pdu.c | 42 coap_pdu_clear(coap_pdu_t *pdu, size_t size) { in coap_pdu_clear() 68 coap_pdu_t * 70 coap_pdu_t *pdu; in coap_pdu_from_pbuf() 80 pdu = coap_malloc_type(COAP_PDU, sizeof(coap_pdu_t)); in coap_pdu_from_pbuf() 96 coap_pdu_t * 99 coap_pdu_t *pdu; in coap_pdu_init() 115 pdu = coap_malloc_type(COAP_PDU, sizeof(coap_pdu_t)); in coap_pdu_init() 152 coap_pdu_t * 155 coap_pdu_t *pdu = coap_pdu_init(type, code, coap_new_message_id(session), in coap_new_pdu() 163 coap_delete_pdu(coap_pdu_t *pd [all...] |
H A D | coap_cache.c | 73 const coap_pdu_t *pdu, in coap_cache_derive_key_w_ignore() 139 const coap_pdu_t *pdu, in coap_cache_derive_key() 152 coap_new_cache_entry(coap_session_t *session, const coap_pdu_t *pdu, in coap_new_cache_entry() 173 memcpy(entry->pdu, pdu, offsetof(coap_pdu_t, token)); in coap_new_cache_entry() 211 const coap_pdu_t *request, in coap_cache_get_by_pdu() 246 const coap_pdu_t *
|
H A D | coap_block.c | 58 coap_get_block_b(const coap_session_t *session, const coap_pdu_t *pdu, in coap_get_block_b() 111 coap_get_block(const coap_pdu_t *pdu, coap_option_num_t number, in coap_get_block() 128 setup_block_b(coap_session_t *session, coap_pdu_t *pdu, coap_block_b_t *block, in setup_block_b() 171 coap_pdu_t *pdu, size_t data_length) { in coap_write_block_opt() 205 coap_pdu_t *pdu, size_t data_length) { in coap_write_block_b_opt() 234 coap_add_block(coap_pdu_t *pdu, size_t len, const uint8_t *data, in coap_add_block() 248 coap_add_block_b_data(coap_pdu_t *pdu, size_t len, const uint8_t *data, in coap_add_block_b_data() 273 coap_add_data_blocked_response(const coap_pdu_t *request, in coap_add_data_blocked_response() 274 coap_pdu_t *response, in coap_add_data_blocked_response() 437 coap_pdu_t *pd in coap_cancel_observe() [all...] |
/third_party/libcoap/examples/ |
H A D | oscore-interop-server.c | 91 const coap_pdu_t *request, in hnd_get_index() 93 coap_pdu_t *response) { in hnd_get_index() 107 const coap_pdu_t *request, in hnd_get_hello_coap() 109 coap_pdu_t *response) { in hnd_get_hello_coap() 120 const coap_pdu_t *request, in hnd_get_hello_1() 122 coap_pdu_t *response) { in hnd_get_hello_1() 133 const coap_pdu_t *request, in hnd_get_hello_2() 135 coap_pdu_t *response) { in hnd_get_hello_2() 146 const coap_pdu_t *request, in hnd_get_hello_3() 148 coap_pdu_t *respons in hnd_get_hello_3() [all...] |
H A D | etsi_iot_01.c | 97 coap_pdu_t *request COAP_UNUSED, 99 coap_pdu_t *response) { 119 const coap_pdu_t *request, in hnd_get_resource() 121 coap_pdu_t *response) { in hnd_get_resource() 144 const coap_pdu_t *request COAP_UNUSED, in hnd_delete_resource() 146 coap_pdu_t *response) { in hnd_delete_resource() 162 const coap_pdu_t *request, in hnd_post_test() 164 coap_pdu_t *response) { in hnd_post_test() 228 const coap_pdu_t *request, in hnd_put_test() 230 coap_pdu_t *respons in hnd_put_test() [all...] |
H A D | coap-rd.c | 140 const coap_pdu_t *request COAP_UNUSED, in hnd_get_resource() 142 coap_pdu_t *response) { in hnd_get_resource() 164 const coap_pdu_t *request COAP_UNUSED, in hnd_put_resource() 166 coap_pdu_t *response) { in hnd_put_resource() 172 coap_pdu_t *response; in hnd_put_resource() 240 const coap_pdu_t *request COAP_UNUSED, in hnd_delete_resource() 242 coap_pdu_t *response) { in hnd_delete_resource() 258 const coap_pdu_t *request COAP_UNUSED, in hnd_get_rd() 260 coap_pdu_t *response) { in hnd_get_rd() 351 make_rd(const coap_pdu_t *pd [all...] |
H A D | coap-server.c | 266 const coap_pdu_t *request, in hnd_get_index() 268 coap_pdu_t *response) { in hnd_get_index() 280 const coap_pdu_t *request, in hnd_get_fetch_time() 282 coap_pdu_t *response) { in hnd_get_fetch_time() 335 const coap_pdu_t *request, in hnd_put_time() 337 coap_pdu_t *response) { in hnd_put_time() 383 const coap_pdu_t *request COAP_UNUSED, in hnd_delete_time() 385 coap_pdu_t *response COAP_UNUSED) { in hnd_delete_time() 399 const coap_pdu_t *request, in hnd_get_async() 401 coap_pdu_t *respons in hnd_get_async() [all...] |
/third_party/libcoap/tests/ |
H A D | test_error_response.c | 19 static coap_pdu_t *pdu; /* Holds the request PDU for most tests */ 34 coap_pdu_t *response; in t_error_response1() 63 coap_pdu_t *response; in t_error_response2() 93 coap_pdu_t *response; in t_error_response3() 132 coap_pdu_t *response; in t_error_response4() 173 coap_pdu_t *response; in t_error_response5() 214 coap_pdu_t *response; in t_error_response6() 255 coap_pdu_t *response; in t_error_response7() 291 coap_pdu_t *response; in t_error_response8()
|
H A D | test_options.c | 474 coap_pdu_t pdu = { in t_iterate_option1() 499 coap_pdu_t pdu = { in t_iterate_option2() 526 coap_pdu_t pdu = { in t_iterate_option3() 569 coap_pdu_t pdu = { in t_iterate_option4() 611 coap_pdu_t pdu = { in t_iterate_option5() 644 coap_pdu_t pdu = { in t_iterate_option6() 689 coap_pdu_t pdu = { in t_iterate_option7() 736 coap_pdu_t pdu = { in t_iterate_option8() 767 coap_pdu_t pdu = { in t_iterate_option9() 798 coap_pdu_t pd in t_iterate_option10() [all...] |
/third_party/libcoap/tests/oss-fuzz/ |
H A D | pdu_parse_tcp_target.c | 4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t); 8 coap_pdu_t *pdu = coap_pdu_init(0, 0, 0, size); in LLVMFuzzerTestOneInput()
|
H A D | pdu_parse_udp_target.c | 4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t); 8 coap_pdu_t *pdu = coap_pdu_init(0, 0, 0, size); in LLVMFuzzerTestOneInput()
|
H A D | pdu_parse_ws_target.c | 4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t); 8 coap_pdu_t *pdu = coap_pdu_init(0, 0, 0, size); in LLVMFuzzerTestOneInput()
|
/third_party/libcoap/examples/lwip/ |
H A D | client-coap.c | 35 const coap_pdu_t *sent, in message_handler() 36 const coap_pdu_t *received, in message_handler() 58 const coap_pdu_t *sent COAP_UNUSED, in nack_handler() 105 coap_pdu_t *pdu; in client_coap_init()
|
/third_party/libcoap/examples/riot/examples_libcoap_client/ |
H A D | client-coap.c | 49 const coap_pdu_t *sent, in message_handler() 50 const coap_pdu_t *received, in message_handler() 72 const coap_pdu_t *sent COAP_UNUSED, in nack_handler() 120 coap_pdu_t *pdu; in client_coap_init()
|