/third_party/libcoap/include/coap3/ |
D | net.h | 102 coap_register_response_handler(coap_context_t *context, 115 coap_register_nack_handler(coap_context_t *context, 126 coap_register_ping_handler(coap_context_t *context, 137 coap_register_pong_handler(coap_context_t *context, 147 coap_register_option(coap_context_t *ctx, uint16_t type); 152 coap_context_t *coap_new_context(const coap_address_t *listen_addr); 166 int coap_context_set_psk( coap_context_t *context, const char *hint, 178 int coap_context_set_psk2(coap_context_t *context, 191 coap_context_set_pki(coap_context_t *context, 206 coap_context_set_pki_root_cas(coap_context_t *context, [all …]
|
D | coap_net_internal.h | 45 struct coap_context_t { struct 186 unsigned int coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now); 191 coap_queue_t *coap_peek_next( coap_context_t *context ); 196 coap_queue_t *coap_pop_next( coap_context_t *context ); 207 coap_mid_t coap_retransmit(coap_context_t *context, coap_queue_t *node); 222 int coap_handle_dgram(coap_context_t *ctx, coap_session_t *session, uint8_t *data, size_t data_len); 246 coap_wait_ack( coap_context_t *context, coap_session_t *session, 258 void coap_cancel_all_messages(coap_context_t *context, 271 coap_cancel_session_messages(coap_context_t *context, 278 void coap_dispatch(coap_context_t *context, coap_session_t *session, [all …]
|
D | coap_dtls_internal.h | 42 coap_dtls_new_context(coap_context_t *coap_context); 56 coap_dtls_context_set_spsk(coap_context_t *coap_context, 71 coap_dtls_context_set_cpsk(coap_context_t *coap_context, 92 coap_dtls_context_set_pki(coap_context_t *coap_context, 109 coap_dtls_context_set_pki_root_cas(coap_context_t *coap_context, 122 int coap_dtls_context_check_keys_enabled(coap_context_t *coap_context);
|
D | resource.h | 167 coap_resource_t *coap_get_resource_from_uri_path(coap_context_t *context, 222 void coap_resource_release_userdata_handler(coap_context_t *context, 233 void coap_add_resource(coap_context_t *context, coap_resource_t *resource); 245 int coap_delete_resource(coap_context_t *context, coap_resource_t *resource); 368 coap_resource_t *coap_get_resource_from_uri_path(coap_context_t *context,
|
D | coap_session.h | 186 coap_context_t *coap_session_get_context(const coap_session_t *session); 228 coap_context_t *ctx, 247 coap_context_t *ctx, 272 coap_context_t *ctx, 315 coap_context_t *ctx, 361 coap_endpoint_t *coap_new_endpoint(coap_context_t *context, const coap_address_t *listen_addr, coap… 385 coap_session_t *coap_session_get_by_peer(const coap_context_t *ctx,
|
D | coap_subscribe_internal.h | 70 coap_handle_failed_notify(coap_context_t *context, 80 void coap_check_notify(coap_context_t *context); 122 void coap_touch_observer(coap_context_t *context, 147 void coap_delete_observers(coap_context_t *context, coap_session_t *session);
|
D | coap_event.h | 75 void coap_register_event_handler(coap_context_t *context, 91 void coap_set_event_handler(coap_context_t *context, 102 void coap_clear_event_handler(coap_context_t *context);
|
D | coap_cache.h | 124 int coap_cache_ignore_options(coap_context_t *context, 163 void coap_delete_cache_entry(coap_context_t *context, 176 coap_cache_entry_t *coap_cache_get_by_key(coap_context_t *context,
|
D | coap_resource_internal.h | 83 coap_context_t *context; 108 void coap_delete_all_resources(coap_context_t *context); 133 coap_print_status_t coap_print_wellknown(coap_context_t *,
|
D | coap_async_internal.h | 53 coap_tick_t coap_check_async(coap_context_t *context, coap_tick_t now); 61 coap_delete_all_async(coap_context_t *context);
|
D | coap_forward_decls.h | 73 typedef struct coap_context_t coap_context_t; typedef
|
D | coap_session_internal.h | 63 coap_context_t *context; /**< session's context */ 138 coap_context_t *context; /**< endpoint's context */ 196 coap_context_t *ctx,
|
/third_party/libcoap/man/ |
D | coap_context.txt.in | 30 *coap_context_t *coap_new_context(const coap_address_t *_listen_addr_);* 32 *void coap_free_context(coap_context_t *_context_);* 34 *void coap_context_set_max_idle_sessions(coap_context_t *_context_, 38 const coap_context_t *_context_);* 40 *void coap_context_set_max_handshake_sessions(coap_context_t *_context_, 44 const coap_context_t *_context_);* 46 *void coap_context_set_session_timeout(coap_context_t *_context_, 50 const coap_context_t *_context_);* 52 *void coap_context_set_csm_timeout(coap_context_t *_context_, 55 *unsigned int coap_context_get_csm_timeout(const coap_context_t *_context_);* [all …]
|
D | coap_endpoint_server.txt.in | 27 *int coap_context_set_pki(coap_context_t *_context_, 30 *int coap_context_set_pki_root_cas(coap_context_t *_context_, 33 *int coap_context_set_psk2(coap_context_t *_context_, 36 *coap_endpoint_t *coap_new_endpoint(coap_context_t *_context_, 44 *int coap_join_mcast_group_intf(coap_context_t *_context_, 58 The CoAP stack's global state is stored in a coap_context_t Context object. 60 There can be more than one coap_context_t object per application, it is up to 176 static coap_context_t * 180 coap_context_t *context = coap_new_context(NULL); 277 static coap_context_t * [all …]
|
D | coap_io.txt.in | 27 *int coap_io_process(coap_context_t *_context_, uint32_t _timeout_ms_)*; 29 *int coap_io_process_with_fds(coap_context_t *_context_, 33 *int coap_context_get_coap_fd(const coap_context_t *_context_)*; 35 *unsigned int coap_io_prepare_io(coap_context_t *_context_, 39 *void coap_io_do_io(coap_context_t *_context_, coap_tick_t _now_)*; 41 *unsigned int coap_io_prepare_epoll(coap_context_t *_context_, 44 *void coap_io_do_epoll(coap_context_t *_context_, struct epoll_event *_events_, 186 coap_context_t *ctx = NULL; 231 coap_context_t *ctx = NULL; 285 coap_context_t *ctx = NULL; [all …]
|
D | coap_endpoint_client.txt.in | 25 *coap_session_t *coap_new_client_session(coap_context_t *_context_, 29 *coap_session_t *coap_new_client_session_psk2(coap_context_t *_context_, 33 *coap_session_t *coap_new_client_session_pki(coap_context_t *_context_, 53 The CoAP stack's global state is stored in a coap_context_t Context object. 55 There can be more than one coap_context_t object per application, it is up to 165 coap_context_t *context = coap_new_context(NULL); 231 coap_context_t *context = coap_new_context(NULL); 324 coap_context_t *context = coap_new_context(NULL); 375 coap_context_t *context = coap_new_context(NULL);
|
D | coap_handler.txt.in | 29 *void coap_register_response_handler(coap_context_t *_context_, 32 *void coap_register_nack_handler(coap_context_t *_context_, 35 *void coap_register_ping_handler(coap_context_t *_context_, 38 *void coap_register_pong_handler(coap_context_t *_context_, 41 *void coap_register_event_handler(coap_context_t *_context_, 266 response_handler(coap_context_t *ctx, coap_session_t *session,
|
/third_party/libcoap/src/ |
D | coap_notls.c | 36 coap_dtls_context_set_pki(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_pki() 44 coap_dtls_context_set_pki_root_cas(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_pki_root_cas() 52 coap_dtls_context_set_cpsk(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_cpsk() 59 coap_dtls_context_set_spsk(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_spsk() 66 coap_dtls_context_check_keys_enabled(coap_context_t *ctx COAP_UNUSED) in coap_dtls_context_check_keys_enabled() 98 coap_dtls_new_context(coap_context_t *coap_context COAP_UNUSED) { in coap_dtls_new_context()
|
D | coap_event.c | 19 coap_register_event_handler(coap_context_t *context, in coap_register_event_handler() 25 coap_set_event_handler(coap_context_t *context, in coap_set_event_handler() 31 coap_clear_event_handler(coap_context_t *context) { in coap_clear_event_handler()
|
D | net.c | 115 static void coap_retransmittimer_restart(coap_context_t *ctx); 141 coap_context_t the_coap_context; 157 coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now) { in coap_adjust_basetime() 274 coap_peek_next(coap_context_t *context) { in coap_peek_next() 282 coap_pop_next(coap_context_t *context) { in coap_pop_next() 388 int coap_context_set_psk(coap_context_t *ctx, in coap_context_set_psk() 408 int coap_context_set_psk2(coap_context_t *ctx, in coap_context_set_psk2() 422 int coap_context_set_pki(coap_context_t *ctx, in coap_context_set_pki() 437 int coap_context_set_pki_root_cas(coap_context_t *ctx, in coap_context_set_pki_root_cas() 447 void coap_context_set_keepalive(coap_context_t *context, unsigned int seconds) { in coap_context_set_keepalive() [all …]
|
D | resource.c | 166 coap_print_wellknown(coap_context_t *context, unsigned char *buf, size_t *buflen, 171 coap_print_wellknown(coap_context_t *context, unsigned char *buf, size_t *buflen, 489 static void coap_notify_observers(coap_context_t *context, coap_resource_t *r, 536 coap_add_resource(coap_context_t *context, coap_resource_t *resource) { 565 coap_delete_resource(coap_context_t *context, coap_resource_t *resource) { 590 coap_delete_all_resources(coap_context_t *context) { 615 coap_get_resource_from_uri_path(coap_context_t *context, coap_str_const_t *uri_path) { 803 coap_touch_observer(coap_context_t *context, coap_session_t *session, 842 coap_delete_observers(coap_context_t *context, coap_session_t *session) { 858 coap_notify_observers(coap_context_t *context, coap_resource_t *r, [all …]
|
D | coap_cache.c | 42 coap_cache_ignore_options(coap_context_t *ctx, in coap_cache_ignore_options() 186 coap_cache_get_by_key(coap_context_t *ctx, const coap_cache_key_t *cache_key) { in coap_cache_get_by_key() 220 coap_delete_cache_entry(coap_context_t *ctx, coap_cache_entry_t *cache_entry) { in coap_delete_cache_entry() 256 coap_expire_cache_entries(coap_context_t *ctx) { in coap_expire_cache_entries()
|
D | coap_tinydtls.c | 31 coap_context_t *coap_context; 122 coap_context_t *coap_context = t_context ? t_context->coap_context : NULL; in dtls_send_to_peer() 141 coap_context_t *coap_context = t_context ? t_context->coap_context : NULL; in dtls_application_data() 206 coap_context_t *coap_context = t_context ? t_context->coap_context : NULL; in get_psk_info() 438 coap_dtls_new_context(coap_context_t *coap_context) { in coap_dtls_new_context() 973 coap_dtls_context_set_pki(coap_context_t *ctx, in coap_dtls_context_set_pki() 1134 coap_dtls_context_set_pki_root_cas(coap_context_t *ctx COAP_UNUSED, in coap_dtls_context_set_pki_root_cas() 1143 coap_dtls_context_set_cpsk(coap_context_t *coap_context COAP_UNUSED, in coap_dtls_context_set_cpsk() 1153 coap_dtls_context_set_spsk(coap_context_t *coap_context COAP_UNUSED, in coap_dtls_context_set_spsk() 1168 coap_dtls_context_check_keys_enabled(coap_context_t *ctx COAP_UNUSED) in coap_dtls_context_check_keys_enabled()
|
/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/examples/contiki/ |
D | server.c | 43 static coap_context_t *coap_context; 54 init_coap_server(coap_context_t **ctx) { in init_coap_server() 138 init_coap_resources(coap_context_t *ctx) { in init_coap_resources()
|