Lines Matching refs:handshake
84 static void dtls_handshake_dealloc(dtls_handshake_parameters_t *handshake) { in dtls_handshake_dealloc() argument
85 free(handshake); in dtls_handshake_dealloc()
110 static void dtls_handshake_dealloc(dtls_handshake_parameters_t *handshake) { in dtls_handshake_dealloc() argument
111 memb_free(&handshake_storage, handshake); in dtls_handshake_dealloc()
125 dtls_handshake_parameters_t *handshake; in dtls_handshake_new() local
127 handshake = dtls_handshake_malloc(); in dtls_handshake_new()
128 if (!handshake) { in dtls_handshake_new()
133 memset(handshake, 0, sizeof(*handshake)); in dtls_handshake_new()
135 if (handshake) { in dtls_handshake_new()
141 dtls_hash_init(&handshake->hs_state.hs_hash); in dtls_handshake_new()
143 return handshake; in dtls_handshake_new()
146 void dtls_handshake_free(dtls_handshake_parameters_t *handshake) in dtls_handshake_free() argument
148 if (!handshake) in dtls_handshake_free()
151 netq_delete_all(handshake->reorder_queue); in dtls_handshake_free()
152 dtls_handshake_dealloc(handshake); in dtls_handshake_free()