Home
last modified time | relevance | path

Searched refs:node (Results 1 – 19 of 19) sorted by relevance

/net-tools-3.7.0/tinydtls-0.8.2/
Dnetq.c33 netq_free_node(netq_t *node) { in netq_free_node() argument
34 free(node); in netq_free_node()
50 netq_free_node(netq_t *node) { in netq_free_node() argument
51 memb_free(&netq_storage, node); in netq_free_node()
61 netq_insert_node(list_t queue, netq_t *node) { in netq_insert_node() argument
65 assert(node); in netq_insert_node()
68 while(p && p->t <= node->t && list_item_next(p)) in netq_insert_node()
72 list_insert(queue, p, node); in netq_insert_node()
74 list_push(queue, node); in netq_insert_node()
112 netq_t *node; in netq_node_new() local
[all …]
Ddtls.c3395 netq_t *node = netq_head(peer->handshake_params->reorder_queue); in handle_handshake() local
3396 while (node) { in handle_handshake()
3397 dtls_handshake_header_t *node_header = DTLS_HANDSHAKE_HEADER(node->data); in handle_handshake()
3402 node = netq_next(node); in handle_handshake()
3432 netq_t *node = netq_head(peer->handshake_params->reorder_queue); in handle_handshake() local
3433 while (node) { in handle_handshake()
3434 dtls_handshake_header_t *node_header = DTLS_HANDSHAKE_HEADER(node->data); in handle_handshake()
3437 netq_remove(peer->handshake_params->reorder_queue, node); in handle_handshake()
3439 … res = handle_handshake_msg(ctx, peer, session, role, peer->state, node->data, node->length); in handle_handshake()
3446 node = netq_next(node); in handle_handshake()
[all …]
Dnetq.h73 int netq_insert_node(list_t queue, netq_t *node);
77 void netq_node_free(netq_t *node);
/net-tools-3.7.0/libcoap/tests/
Dtest_sendqueue.c27 coap_queue_t *node[5]; variable
42 int result = coap_insert_node(&sendqueue, node[1]); in t_sendqueue1()
46 CU_ASSERT_PTR_EQUAL(sendqueue, node[1]); in t_sendqueue1()
47 CU_ASSERT(node[1]->t == timestamp[1]); in t_sendqueue1()
54 result = coap_insert_node(&sendqueue, node[2]); in t_sendqueue2()
57 CU_ASSERT_PTR_EQUAL(sendqueue, node[1]); in t_sendqueue2()
58 CU_ASSERT_PTR_EQUAL(sendqueue->next, node[2]); in t_sendqueue2()
61 CU_ASSERT(node[2]->t == timestamp[2] - timestamp[1]); in t_sendqueue2()
68 result = coap_insert_node(&sendqueue, node[3]); in t_sendqueue3()
72 CU_ASSERT_PTR_EQUAL(sendqueue, node[3]); in t_sendqueue3()
[all …]
/net-tools-3.7.0/libcoap/src/
Dnet.c126 coap_free_node(coap_queue_t *node) { in coap_free_node() argument
127 coap_free_type(COAP_NODE, node); in coap_free_node()
143 coap_free_node(coap_queue_t *node) { in coap_free_node() argument
144 memp_free(MEMP_COAP_NODE, node); in coap_free_node()
174 coap_free_node(coap_queue_t *node) { in coap_free_node() argument
175 coap_free_type(COAP_NODE, node); in coap_free_node()
217 coap_insert_node(coap_queue_t **queue, coap_queue_t *node) { in coap_insert_node() argument
219 if ( !queue || !node ) in coap_insert_node()
224 *queue = node; in coap_insert_node()
230 if (node->t < q->t) { in coap_insert_node()
[all …]
/net-tools-3.7.0/libcoap/examples/
Dcoap_list.c22 coap_insert(coap_list_t **head, coap_list_t *node) { in coap_insert() argument
23 if (!node) { in coap_insert()
28 LL_APPEND((*head), node); in coap_insert()
31 return node != NULL; in coap_insert()
35 coap_delete(coap_list_t *node) { in coap_delete() argument
36 if (node) { in coap_delete()
37 coap_free(node); in coap_delete()
Dcoap_list.h25 int coap_insert(coap_list_t **queue, coap_list_t *node);
28 int coap_delete(coap_list_t *node);
Dtiny.c66 get_context(const char *node, const char *port) { in get_context() argument
77 s = getaddrinfo(node, port, &hints, &result); in get_context()
92 fprintf(stderr, "no context available for interface '%s'\n", node); in get_context()
Dclient.c577 coap_list_t *node; in new_option_node() local
579 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + length); in new_option_node()
581 if (node) { in new_option_node()
583 option = (coap_option *)(node->data); in new_option_node()
591 return node; in new_option_node()
620 coap_list_t *node; in cmdline_content_type() local
655 node = new_option_node(key, coap_encode_var_bytes(buf, value[i]), buf); in cmdline_content_type()
656 if (node) { in cmdline_content_type()
657 LL_PREPEND(optlist, node); in cmdline_content_type()
982 get_context(const char *node, const char *port) { in get_context() argument
[all …]
Dcoap-server.c344 get_context(const char *node, const char *port) { in get_context() argument
355 s = getaddrinfo(node, port, &hints, &result); in get_context()
378 fprintf(stderr, "no context available for interface '%s'\n", node); in get_context()
Detsi_iot_01.c631 get_context(const char *node, const char *port) { in get_context() argument
642 s = getaddrinfo(node, port, &hints, &result); in get_context()
665 fprintf(stderr, "no context available for interface '%s'\n", node); in get_context()
Dcoap-rd.c573 get_context(const char *node, const char *port) { in get_context() argument
584 s = getaddrinfo(node, port, &hints, &result); in get_context()
607 fprintf(stderr, "no context available for interface '%s'\n", node); in get_context()
/net-tools-3.7.0/libcoap/include/coap/
Dnet.h44 int coap_insert_node(coap_queue_t **queue, coap_queue_t *node);
47 int coap_delete_node(coap_queue_t *node);
359 coap_tid_t coap_retransmit(coap_context_t *context, coap_queue_t *node);
411 coap_queue_t **node);
425 coap_queue_t *node; in coap_remove_transaction() local
426 if (!coap_remove_from_queue(queue, id, &node)) in coap_remove_transaction()
429 coap_delete_node(node); in coap_remove_transaction()
Dpdu.h252 #define COAP_OPTION(node) ((coap_option *)(node)->options) argument
/net-tools-3.7.0/
Dcoap-client.c620 coap_list_t *node; in new_option_node() local
622 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + length); in new_option_node()
624 if (node) { in new_option_node()
625 coap_option *option = (coap_option *)(node->data); in new_option_node()
634 return node; in new_option_node()
637 static int coap_insert(coap_list_t **head, coap_list_t *node) in coap_insert() argument
639 if (!node) { in coap_insert()
642 LL_APPEND((*head), node); in coap_insert()
645 return node != NULL; in coap_insert()
648 static int coap_delete(coap_list_t *node) in coap_delete() argument
[all …]
/net-tools-3.7.0/virtual-hub/
DREADME.md52 make node
57 from the file refers to the node with `QEMU_PIPE_ID` defined with 1. In the
58 same way the second line and column from the file refers to the node with
61 The `make node` command assure the node will setup the pipe correctly.
/net-tools-3.7.0/mbedtls-2.4.0/doxygen/
Dmbedtls.doxyfile1777 # the class node. If there are many fields or methods and many nodes the
1869 # visualized by representing a node as a red box. Note that doxygen if the
1870 # number of direct children of the root node in a graph is already larger than
1879 # that lay further from the root node will be omitted. Note that setting this
/net-tools-3.7.0/tinydtls-0.8.2/doc/
DDoxyfile.in1509 # visualized by representing a node as a red box. Note that doxygen if the
1510 # number of direct children of the root node in a graph is already larger than
1519 # that lay further from the root node will be omitted. Note that setting this
/net-tools-3.7.0/libcoap/doc/
DDoxyfile.in2161 # class node. If there are many fields or methods and many nodes the graph may
2299 # by representing a node as a red box. Note that doxygen if the number of direct
2300 # children of the root node in a graph is already larger than
2311 # further from the root node will be omitted. Note that setting this option to 1