Lines Matching refs:peers
216 HASH_FIND_PEER(ctx->peers, session, p); in dtls_get_peer()
218 for (p = list_head(ctx->peers); p; p = list_item_next(p)) in dtls_get_peer()
229 HASH_ADD_PEER(ctx->peers, session, peer); in dtls_add_peer()
231 list_add(ctx->peers, peer); in dtls_add_peer()
1514 HASH_DEL_PEER(ctx->peers, peer); in dtls_destroy_peer()
1516 list_remove(ctx->peers, peer); in dtls_destroy_peer()
3520 HASH_DEL_PEER(ctx->peers, peer); in handle_alert()
3522 list_remove(ctx->peers, peer); in handle_alert()
3777 LIST_STRUCT_INIT(c, peers); in dtls_new_context()
3812 if (ctx->peers) { in dtls_free_context()
3813 HASH_ITER(hh, ctx->peers, p, tmp) { in dtls_free_context()
3818 for (p = list_head(ctx->peers); p; p = list_item_next(p)) in dtls_free_context()