Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 8 of 8) sorted by relevance

/net-tools-3.4.0/tinydtls-0.8.2/
Dnetq.c61 netq_insert_node(list_t queue, netq_t *node) { in netq_insert_node() argument
64 assert(queue); in netq_insert_node()
67 p = (netq_t *)list_head(queue); in netq_insert_node()
72 list_insert(queue, p, node); in netq_insert_node()
74 list_push(queue, node); in netq_insert_node()
80 netq_head(list_t queue) { in netq_head() argument
81 if (!queue) in netq_head()
84 return list_head(queue); in netq_head()
96 netq_remove(list_t queue, netq_t *p) { in netq_remove() argument
97 if (!queue || !p) in netq_remove()
[all …]
Dnetq.h73 int netq_insert_node(list_t queue, netq_t *node);
80 void netq_delete_all(list_t queue);
89 netq_t *netq_head(list_t queue);
92 void netq_remove(list_t queue, netq_t *p);
99 netq_t *netq_pop_first(list_t queue);
/net-tools-3.4.0/libcoap/examples/
Dcoap_list.c43 coap_delete_list(coap_list_t *queue) { in coap_delete_list() argument
46 if (!queue) in coap_delete_list()
49 LL_FOREACH_SAFE(queue, elt, tmp) { in coap_delete_list()
Dcoap_list.h25 int coap_insert(coap_list_t **queue, coap_list_t *node);
31 void coap_delete_list(coap_list_t *queue);
/net-tools-3.4.0/libcoap/include/coap/
Dnet.h44 int coap_insert_node(coap_queue_t **queue, coap_queue_t *node);
50 void coap_delete_all(coap_queue_t *queue);
409 int coap_remove_from_queue(coap_queue_t **queue,
424 coap_remove_transaction(coap_queue_t **queue, coap_tid_t id) { in coap_remove_transaction() argument
426 if (!coap_remove_from_queue(queue, id, &node)) in coap_remove_transaction()
441 coap_queue_t *coap_find_transaction(coap_queue_t *queue, coap_tid_t id);
/net-tools-3.4.0/libcoap/src/
Dnet.c217 coap_insert_node(coap_queue_t **queue, coap_queue_t *node) { in coap_insert_node() argument
219 if ( !queue || !node ) in coap_insert_node()
223 if ( !*queue ) { in coap_insert_node()
224 *queue = node; in coap_insert_node()
229 q = *queue; in coap_insert_node()
232 *queue = node; in coap_insert_node()
265 coap_delete_all(coap_queue_t *queue) { in coap_delete_all() argument
266 if ( !queue ) in coap_delete_all()
269 coap_delete_all( queue->next ); in coap_delete_all()
270 coap_delete_node( queue ); in coap_delete_all()
[all …]
/net-tools-3.4.0/libcoap/tests/
Dtest_sendqueue.c30 add_timestamps(coap_queue_t *queue, size_t num) { in add_timestamps() argument
32 while (queue && num--) { in add_timestamps()
33 t += queue->t; in add_timestamps()
34 queue = queue->next; in add_timestamps()
/net-tools-3.4.0/
Dcoap-client.c656 static void coap_delete_list(coap_list_t *queue) in coap_delete_list() argument
660 if (!queue) in coap_delete_list()
663 LL_FOREACH_SAFE(queue, elt, tmp) { in coap_delete_list()