.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "RDMA_ESTABLISH" "3" "2019-01-16" "librdmacm" "Librdmacm Programmer\[cq]s Manual" .hy .SH NAME .PP rdma_establish - Complete an active connection request. .SH SYNOPSIS .IP .nf \f[C] #include int rdma_establish(struct rdma_cm_id *id); \f[R] .fi .SH DESCRIPTION .PP \f[B]rdma_establish()\f[R] Acknowledge an incoming connection response event and complete the connection establishment. .PP Notes: .PP If a QP has not been created on the rdma_cm_id, this function should be called by the active side to complete the connection, .PP after getting connect response event. .PP This will trigger a connection established event on the passive side. .PP This function should not be used on an rdma_cm_id on which a QP has been created. .SH ARGUMENTS .TP \f[I]id\f[R] RDMA identifier. .SH RETURN VALUE .PP \f[B]rdma_establish()\f[R] returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason. .SH SEE ALSO .PP \f[B]rdma_connect\f[R](3), \f[B]rdma_disconnect\f[R](3) \f[B]rdma_get_cm_event\f[R](3) .SH AUTHORS .PP Danit Goldberg .PP Yossi Itigin