.\" Automatically generated by Pandoc 3.6.1 .\" .TH "RDMA_ESTABLISH" "3" "2019\-01\-16" "librdmacm" "Librdmacm Programmer\[cq]s Manual" .SH NAME rdma_establish \- Complete an active connection request. .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int rdma_establish(\f[B]struct\f[R] rdma_cm_id *id); .EE .SH DESCRIPTION \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 \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 \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 Danit Goldberg \c .MT danitg@mellanox.com .ME \c .PP Yossi Itigin \c .MT yosefe@mellanox.com .ME \c