.\" Automatically generated by Pandoc 2.2.1 .\" .TH "RDMA_ESTABLISH" "3" "2019\-01\-16" "librdmacm" "Librdmacm Programmer'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[] .fi .SH DESCRIPTION .PP \f[B]rdma_establish()\f[] 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 .B \f[I]id\f[] RDMA identifier. .RS .RE .SH RETURN VALUE .PP \f[B]rdma_establish()\f[] 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[](3), \f[B]rdma_disconnect\f[](3) \f[B]rdma_get_cm_event\f[](3) .SH AUTHORS .PP Danit Goldberg .PP Yossi Itigin