Home
last modified time | relevance | path

Searched refs:netq_t (Results 1 – 3 of 3) sorted by relevance

/net-tools-latest/tinydtls-0.8.2/
Dnetq.c27 static inline netq_t *
29 return (netq_t *)malloc(sizeof(netq_t) + size); in netq_malloc_node()
33 netq_free_node(netq_t *node) { in netq_free_node()
42 MEMB(netq_storage, netq_t, NETQ_MAXCNT);
44 static inline netq_t *
46 return (netq_t *)memb_alloc(&netq_storage); in netq_malloc_node()
50 netq_free_node(netq_t *node) { in netq_free_node()
61 netq_insert_node(list_t queue, netq_t *node) { in netq_insert_node()
62 netq_t *p; in netq_insert_node()
67 p = (netq_t *)list_head(queue); in netq_insert_node()
[all …]
Dnetq.h38 typedef struct netq_t { struct
39 struct netq_t *next; argument
55 } netq_t; argument
73 int netq_insert_node(list_t queue, netq_t *node);
77 void netq_node_free(netq_t *node);
83 netq_t *netq_node_new(size_t size);
89 netq_t *netq_head(list_t queue);
91 netq_t *netq_next(netq_t *p);
92 void netq_remove(list_t queue, netq_t *p);
99 netq_t *netq_pop_first(list_t queue);
Ddtls.c1441 netq_t *n = netq_node_new(overall_len); in dtls_send_multi()
3387 netq_t *n; in handle_handshake()
3395 netq_t *node = netq_head(peer->handshake_params->reorder_queue); in handle_handshake()
3432 netq_t *node = netq_head(peer->handshake_params->reorder_queue); in handle_handshake()
3890 dtls_retransmit(dtls_context_t *context, netq_t *node) { in dtls_retransmit()
3942 netq_t *node; in dtls_stop_retransmission()
3947 netq_t *tmp = node; in dtls_stop_retransmission()
3959 netq_t *node = netq_head(context->sendqueue); in dtls_check_retransmit()
3979 netq_t *node; in PROCESS_THREAD()