/third_party/libcoap/include/coap3/ |
D | coap_net.h | 109 void coap_register_response_handler(coap_context_t *context, 121 void coap_register_nack_handler(coap_context_t *context, 131 void coap_register_ping_handler(coap_context_t *context, 141 void coap_register_pong_handler(coap_context_t *context, 150 void coap_register_option(coap_context_t *ctx, uint16_t type); 155 coap_context_t *coap_new_context(const coap_address_t *listen_addr); 171 int coap_context_set_psk(coap_context_t *context, const char *hint, 183 int coap_context_set_psk2(coap_context_t *context, 195 int coap_context_set_pki(coap_context_t *context, 209 int coap_context_set_pki_root_cas(coap_context_t *context, [all …]
|
D | coap_net_internal.h | 49 struct coap_context_t { struct 234 unsigned int coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now); 239 coap_queue_t *coap_peek_next(coap_context_t *context); 244 coap_queue_t *coap_pop_next(coap_context_t *context); 255 coap_mid_t coap_retransmit(coap_context_t *context, coap_queue_t *node); 270 int coap_handle_dgram(coap_context_t *ctx, coap_session_t *session, uint8_t *data, size_t data_len); 293 coap_mid_t coap_wait_ack(coap_context_t *context, coap_session_t *session, 304 void coap_cancel_all_messages(coap_context_t *context, 315 void coap_cancel_session_messages(coap_context_t *context, 322 void coap_dispatch(coap_context_t *context, coap_session_t *session, [all …]
|
D | coap_oscore.h | 57 coap_session_t *coap_new_client_session_oscore(coap_context_t *ctx, 82 coap_session_t *coap_new_client_session_oscore_psk(coap_context_t *ctx, 108 coap_session_t *coap_new_client_session_oscore_pki(coap_context_t *ctx, 124 int coap_context_oscore_server(coap_context_t *context, 179 int coap_new_oscore_recipient(coap_context_t *context, 193 int coap_delete_oscore_recipient(coap_context_t *context,
|
D | coap_subscribe.h | 123 typedef int (*coap_track_observe_value_t)(coap_context_t *context, 160 typedef int (*coap_resource_deleted_t)(coap_context_t *context, 181 void coap_persist_track_funcs(coap_context_t *context, 208 coap_subscription_t *coap_persist_observe_add(coap_context_t *context, 232 int coap_persist_startup(coap_context_t *context, 250 void coap_persist_stop(coap_context_t *context);
|
D | coap_dtls_internal.h | 53 void *coap_dtls_new_context(coap_context_t *coap_context); 67 int coap_dtls_context_set_spsk(coap_context_t *coap_context, 83 int coap_dtls_context_set_cpsk(coap_context_t *coap_context, 104 int coap_dtls_context_set_pki(coap_context_t *coap_context, 120 int coap_dtls_context_set_pki_root_cas(coap_context_t *coap_context, 133 int coap_dtls_context_check_keys_enabled(coap_context_t *coap_context);
|
D | coap_subscribe_internal.h | 79 void coap_handle_failed_notify(coap_context_t *context, 89 void coap_check_notify(coap_context_t *context); 131 void coap_touch_observer(coap_context_t *context, 156 void coap_delete_observers(coap_context_t *context, coap_session_t *session); 163 void coap_persist_cleanup(coap_context_t *context);
|
D | coap_session.h | 206 coap_context_t *coap_session_get_context(const coap_session_t *session); 248 coap_context_t *ctx, 270 coap_context_t *ctx, 295 coap_context_t *ctx, 347 coap_context_t *ctx, 397 coap_endpoint_t *coap_new_endpoint(coap_context_t *context, const coap_address_t *listen_addr, 425 coap_session_t *coap_session_get_by_peer(const coap_context_t *context,
|
D | coap_resource.h | 286 coap_resource_t *coap_get_resource_from_uri_path(coap_context_t *context, 341 void coap_resource_release_userdata_handler(coap_context_t *context, 352 void coap_add_resource(coap_context_t *context, coap_resource_t *resource); 365 int coap_delete_resource(coap_context_t *context, coap_resource_t *resource); 502 coap_resource_t *coap_get_resource_from_uri_path(coap_context_t *context,
|
D | coap_event.h | 154 void coap_register_event_handler(coap_context_t *context, 170 void coap_set_event_handler(coap_context_t *context, 181 void coap_clear_event_handler(coap_context_t *context);
|
D | coap_cache.h | 126 int coap_cache_ignore_options(coap_context_t *context, 165 void coap_delete_cache_entry(coap_context_t *context, 178 coap_cache_entry_t *coap_cache_get_by_key(coap_context_t *context,
|
D | coap_resource_internal.h | 94 coap_context_t *context; 119 void coap_delete_all_resources(coap_context_t *context); 144 coap_print_status_t coap_print_wellknown(coap_context_t *,
|
D | coap_async_internal.h | 55 coap_tick_t coap_check_async(coap_context_t *context, coap_tick_t now); 62 void coap_delete_all_async(coap_context_t *context);
|
D | coap_forward_decls.h | 75 typedef struct coap_context_t coap_context_t; typedef
|
/third_party/libcoap/man/ |
D | coap_context.txt.in | 31 *coap_context_t *coap_new_context(const coap_address_t *_listen_addr_);* 33 *void coap_free_context(coap_context_t *_context_);* 35 *void coap_context_set_max_idle_sessions(coap_context_t *_context_, 39 const coap_context_t *_context_);* 41 *void coap_context_set_max_handshake_sessions(coap_context_t *_context_, 45 const coap_context_t *_context_);* 47 *void coap_context_set_session_timeout(coap_context_t *_context_, 51 const coap_context_t *_context_);* 53 *void coap_context_set_csm_timeout(coap_context_t *_context_, 56 *unsigned int coap_context_get_csm_timeout(const coap_context_t *_context_);* [all …]
|
D | coap_deprecated.txt.in | 33 *void coap_clear_event_handler(coap_context_t *_context_);* 35 *int coap_context_set_psk(coap_context_t *_context_, const char *_hint_, 40 *coap_session_t *coap_new_client_session_psk(coap_context_t *_context_, 51 *void coap_read(coap_context_t *_context_, coap_tick_t _now_);* 59 *int coap_run_once(coap_context_t *_context_, uint32_t _timeout_ms_);* 61 *void coap_set_event_handler(coap_context_t *_context_, 64 *unsigned int coap_write(coap_context_t *_context_, coap_socket_t *_sockets_[],
|
D | coap_endpoint_server.txt.in | 28 *int coap_context_set_pki(coap_context_t *_context_, 31 *int coap_context_set_pki_root_cas(coap_context_t *_context_, 34 *int coap_context_set_psk2(coap_context_t *_context_, 37 *coap_endpoint_t *coap_new_endpoint(coap_context_t *_context_, 45 *int coap_join_mcast_group_intf(coap_context_t *_context_, 48 *void coap_mcast_per_resource(coap_context_t *_context_);* 61 The CoAP stack's global state is stored in a coap_context_t _context_ object. 63 There can be more than one coap_context_t object per application, it is up to 220 static coap_context_t * 224 coap_context_t *context = coap_new_context(NULL); [all …]
|
D | coap_io.txt.in | 29 *int coap_io_process(coap_context_t *_context_, uint32_t _timeout_ms_)*; 31 *int coap_io_process_with_fds(coap_context_t *_context_, 35 *int coap_context_get_coap_fd(const coap_context_t *_context_)*; 37 *unsigned int coap_io_prepare_io(coap_context_t *_context_, 41 *void coap_io_do_io(coap_context_t *_context_, coap_tick_t _now_)*; 43 *unsigned int coap_io_prepare_epoll(coap_context_t *_context_, 46 *void coap_io_do_epoll(coap_context_t *_context_, struct epoll_event *_events_, 49 *int coap_io_pending(coap_context_t *_context_)*; 51 *int coap_can_exit(coap_context_t *_context_)*; 232 coap_context_t *ctx = NULL; [all …]
|
/third_party/libcoap/src/ |
D | coap_notls.c | 77 coap_dtls_context_set_pki(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_pki() 85 coap_dtls_context_set_pki_root_cas(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_pki_root_cas() 94 coap_dtls_context_set_cpsk(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_cpsk() 103 coap_dtls_context_set_spsk(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_spsk() 111 coap_dtls_context_check_keys_enabled(coap_context_t *ctx COAP_UNUSED) { in coap_dtls_context_check_keys_enabled() 145 coap_dtls_new_context(coap_context_t *coap_context COAP_UNUSED) { in coap_dtls_new_context()
|
D | coap_event.c | 24 coap_register_event_handler(coap_context_t *context, in coap_register_event_handler() 30 coap_set_event_handler(coap_context_t *context, in coap_set_event_handler() 36 coap_clear_event_handler(coap_context_t *context) { in coap_clear_event_handler()
|
D | coap_net.c | 129 coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now) { in coap_adjust_basetime() 246 coap_peek_next(coap_context_t *context) { in coap_peek_next() 254 coap_pop_next(coap_context_t *context) { in coap_pop_next() 325 coap_context_set_psk(coap_context_t *ctx, in coap_context_set_psk() 346 coap_context_set_psk2(coap_context_t *ctx, coap_dtls_spsk_t *setup_data) { in coap_context_set_psk2() 359 coap_context_set_pki(coap_context_t *ctx, in coap_context_set_pki() 375 coap_context_set_pki_root_cas(coap_context_t *ctx, in coap_context_set_pki_root_cas() 385 coap_context_set_keepalive(coap_context_t *context, unsigned int seconds) { in coap_context_set_keepalive() 390 coap_context_set_max_token_size(coap_context_t *context, in coap_context_set_max_token_size() 398 coap_context_set_max_idle_sessions(coap_context_t *context, in coap_context_set_max_idle_sessions() [all …]
|
D | coap_subscribe.c | 31 coap_persist_track_funcs(coap_context_t *context, in coap_persist_track_funcs() 49 coap_persist_observe_add(coap_context_t *context, in coap_persist_observe_add() 411 coap_op_observe_load_disk(coap_context_t *ctx) { in coap_op_observe_load_disk() 651 coap_op_obs_cnt_load_disk(coap_context_t *context) { in coap_op_obs_cnt_load_disk() 694 coap_op_obs_cnt_track_observe(coap_context_t *context, in coap_op_obs_cnt_track_observe() 762 coap_op_obs_cnt_deleted(coap_context_t *context, in coap_op_obs_cnt_deleted() 889 coap_op_dyn_resource_load_disk(coap_context_t *ctx) { in coap_op_dyn_resource_load_disk() 977 coap_context_t *context = session->context; in coap_op_dyn_resource_added() 1046 coap_op_resource_deleted(coap_context_t *context, in coap_op_resource_deleted() 1114 coap_persist_startup(coap_context_t *context, in coap_persist_startup() [all …]
|
/third_party/libcoap/include/oscore/ |
D | oscore_context.h | 163 oscore_ctx_t *oscore_derive_ctx(coap_context_t *c_context, 178 oscore_ctx_t *oscore_duplicate_ctx(coap_context_t *c_context, 194 void oscore_free_contexts(coap_context_t *c_context); 196 int oscore_remove_context(coap_context_t *c_context, oscore_ctx_t *osc_ctx); 243 oscore_ctx_t *oscore_find_context(const coap_context_t *c_context,
|
/third_party/libcoap/doc/ |
D | upgrade_4.2.1_4.3.0.txt | 45 hnd_get_time(coap_context_t *context, 62 coap_context_t *context = coap_session_get_context(session); 80 message_handler(struct coap_context_t *context, 94 coap_context_t *context = coap_session_get_context(session); 109 nack_handler(coap_context_t *context, 123 coap_context_t *context = coap_session_get_context(session); 137 event_handler(coap_context_t *context, 148 coap_context_t *context = coap_session_get_context(session); 164 ping_handler(coap_context_t *context, 176 coap_context_t *context = coap_session_get_context(session); [all …]
|
/third_party/libcoap/tests/ |
D | test_oscore.c | 64 coap_context_t ctx[1]; in t_oscore_c_1_1() 128 coap_context_t ctx[1]; in t_oscore_c_1_2() 191 coap_context_t ctx[1]; in t_oscore_c_2_1() 254 coap_context_t ctx[1]; in t_oscore_c_2_2() 319 coap_context_t ctx[1]; in t_oscore_c_3_1() 384 coap_context_t ctx[1]; in t_oscore_c_3_2() 440 coap_context_t ctx[1]; in t_oscore_c_4() 507 coap_context_t ctx[1]; in t_oscore_c_5() 576 coap_context_t ctx[1]; in t_oscore_c_6() 654 coap_context_t ctx[1]; in t_oscore_c_7() [all …]
|
/third_party/libcoap/examples/contiki/ |
D | server.c | 36 static coap_context_t *coap_context; 47 init_coap_server(coap_context_t **ctx) { in init_coap_server() 113 init_coap_resources(coap_context_t *ctx) { in init_coap_resources()
|