/net-tools-latest/libcoap/include/coap/ |
D | net.h | 56 struct coap_context_t; 62 typedef void (*coap_response_handler_t)(struct coap_context_t *, 76 typedef struct coap_context_t { struct 124 ssize_t (*network_send)(struct coap_context_t *context, argument 131 } coap_context_t; typedef 141 coap_register_response_handler(coap_context_t *context, in coap_register_response_handler() 153 coap_register_option(coap_context_t *ctx, unsigned char type) { in coap_register_option() 162 unsigned int coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now); 167 coap_queue_t *coap_peek_next( coap_context_t *context ); 172 coap_queue_t *coap_pop_next( coap_context_t *context ); [all …]
|
D | resource.h | 42 (coap_context_t *, 131 void coap_add_resource(coap_context_t *context, coap_resource_t *resource); 143 int coap_delete_resource(coap_context_t *context, coap_key_t key); 150 void coap_delete_all_resources(coap_context_t *context); 265 coap_resource_t *coap_get_resource_from_key(coap_context_t *context, 321 void coap_touch_observer(coap_context_t *context, 344 void coap_check_notify(coap_context_t *context); 388 coap_print_status_t coap_print_wellknown(coap_context_t *, 393 void coap_handle_failed_notify(coap_context_t *,
|
D | async.h | 85 coap_register_async(coap_context_t *context, 106 int coap_remove_async(coap_context_t *context, 132 coap_async_state_t *coap_find_async(coap_context_t *context, coap_tid_t id);
|
D | coap_io.h | 33 struct coap_context_t; 51 struct coap_context_t *context; 79 ssize_t coap_network_send(struct coap_context_t *context,
|
D | lwippools.h | 49 LWIP_MEMPOOL(COAP_CONTEXT, MEMP_NUM_COAPCONTEXT, sizeof(coap_context_t), "COAP_CONTEXT")
|
/net-tools-latest/libcoap/src/ |
D | net.c | 135 static void coap_retransmittimer_restart(coap_context_t *ctx); 164 coap_context_t the_coap_context; 180 coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now) { in coap_adjust_basetime() 290 coap_peek_next( coap_context_t *context ) { in coap_peek_next() 298 coap_pop_next( coap_context_t *context ) { in coap_pop_next() 332 coap_context_t * 336 coap_context_t *c = coap_malloc_type(COAP_CONTEXT, sizeof( coap_context_t ) ); in coap_new_context() 339 coap_context_t *c; in coap_new_context() 377 memset(c, 0, sizeof( coap_context_t ) ); in coap_new_context() 419 coap_free_context(coap_context_t *context) { in coap_free_context() [all …]
|
D | async.c | 24 coap_register_async(coap_context_t *context, coap_address_t *peer, in coap_register_async() 73 coap_find_async(coap_context_t *context, coap_tid_t id) { in coap_find_async() 80 coap_remove_async(coap_context_t *context, coap_tid_t id, in coap_remove_async()
|
D | resource.c | 162 coap_print_wellknown(coap_context_t *context, unsigned char *buf, size_t *buflen, 167 coap_print_wellknown(coap_context_t *context, unsigned char *buf, size_t *buflen, 399 coap_add_resource(coap_context_t *context, coap_resource_t *resource) { 428 coap_delete_resource(coap_context_t *context, coap_key_t key) { 449 coap_delete_all_resources(coap_context_t *context) { 468 coap_get_resource_from_key(coap_context_t *context, coap_key_t key) { 579 coap_touch_observer(coap_context_t *context, const coap_address_t *observer, 608 coap_notify_observers(coap_context_t *context, coap_resource_t *r) { 688 coap_check_notify(coap_context_t *context) { 706 coap_remove_failed_observers(coap_context_t *context, [all …]
|
D | coap_io.c | 238 coap_network_send(struct coap_context_t *context UNUSED_PARAM, in coap_network_send()
|
/net-tools-latest/libcoap/examples/ |
D | coap-server.c | 69 hnd_get_index(coap_context_t *ctx UNUSED_PARAM, in hnd_get_index() 92 hnd_get_time(coap_context_t *ctx, in hnd_get_time() 159 hnd_put_time(coap_context_t *ctx UNUSED_PARAM, in hnd_put_time() 195 hnd_delete_time(coap_context_t *ctx UNUSED_PARAM, in hnd_delete_time() 210 hnd_get_async(coap_context_t *ctx, in hnd_get_async() 248 check_async(coap_context_t *ctx, in check_async() 289 init_resources(coap_context_t *ctx) { in init_resources() 343 static coap_context_t * 345 coap_context_t *ctx = NULL; in get_context() 386 join(coap_context_t *ctx, char *group_name){ in join() [all …]
|
D | etsi_iot_01.c | 129 hnd_get_index(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_index() 147 hnd_get_resource(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_resource() 223 hnd_delete_resource(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_delete_resource() 239 hnd_post_test(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_post_test() 305 hnd_put_test(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_put_test() 356 hnd_delete_test(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_delete_test() 372 hnd_get_query(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_query() 410 hnd_get_separate(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_separate() 455 check_async(coap_context_t *ctx, coap_tick_t now) { in check_async() 533 init_resources(coap_context_t *ctx) { in init_resources() [all …]
|
D | tiny.c | 65 coap_context_t * 67 coap_context_t *ctx = NULL; in get_context() 101 coap_context_t *ctx; in main()
|
D | coap-rd.c | 96 hnd_get_resource(coap_context_t *ctx UNUSED_PARAM, in hnd_get_resource() 124 hnd_put_resource(coap_context_t *ctx UNUSED_PARAM, in hnd_put_resource() 202 hnd_delete_resource(coap_context_t *ctx, in hnd_delete_resource() 224 hnd_get_rd(coap_context_t *ctx UNUSED_PARAM, in hnd_get_rd() 388 hnd_post_rd(coap_context_t *ctx, in hnd_post_rd() 540 init_resources(coap_context_t *ctx) { in init_resources() 572 static coap_context_t * 574 coap_context_t *ctx = NULL; in get_context() 615 join(coap_context_t *ctx, char *group_name) { in join() 675 coap_context_t *ctx; in main()
|
D | client.c | 132 coap_new_request(coap_context_t *ctx, in coap_new_request() 178 clear_obs(coap_context_t *ctx, in clear_obs() 315 message_handler(struct coap_context_t *ctx, in message_handler() 981 static coap_context_t * 983 coap_context_t *ctx = NULL; in get_context() 1025 coap_context_t *ctx = NULL; in main()
|
/net-tools-latest/libcoap/examples/contiki/ |
D | server.c | 41 static coap_context_t *coap_context; 52 init_coap_server(coap_context_t **ctx) { in init_coap_server() 92 hnd_get_time(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_time() 144 init_coap_resources(coap_context_t *ctx) { in init_coap_resources()
|
D | coap-observer.c | 41 static coap_context_t *coap_context; 96 message_handler(struct coap_context_t *ctx, in message_handler()
|
/net-tools-latest/libcoap/tests/ |
D | test_sendqueue.c | 114 struct coap_context_t ctx; in t_sendqueue5() 163 struct coap_context_t ctx; in t_sendqueue6() 239 struct coap_context_t ctx; in t_sendqueue9() 269 struct coap_context_t ctx; in t_sendqueue10()
|
D | test_wellknown.c | 23 coap_context_t *ctx; /* Holds the coap context for most tests */
|
/net-tools-latest/libcoap/examples/lwip/ |
D | server-coap.c | 3 coap_context_t *main_coap_context;
|
/net-tools-latest/ |
D | coap-client.c | 166 static coap_pdu_t *coap_new_request(coap_context_t *ctx, 373 coap_context_t *coap_ctx; 881 coap_context_t *ctx, coap_address_t *src) in dispatch_data() 1099 static bool is_our_own(coap_context_t *coap_ctx, in is_our_own() 1152 static coap_pdu_t *coap_new_request(coap_context_t *ctx, in coap_new_request() 1204 static coap_pdu_t *read_blocks(coap_context_t *coap_ctx, in read_blocks() 1335 static void coap_message_handler(struct coap_context_t *coap_ctx, in coap_message_handler() 1505 static ssize_t my_coap_network_send(struct coap_context_t *ctx, in my_coap_network_send() 1528 static coap_context_t *get_coap_context(struct sockaddr *ipaddr, int ipaddrlen) in get_coap_context() 1531 coap_context_t *ctx; in get_coap_context() [all …]
|