rpma_ep_shutdown3
Stop listening and delete the endpoint
Usage
#include <librpma.h>
struct rpma_ep;
int rpma_ep_shutdown(struct rpma_ep **ep_ptr);
Overview
rpma_ep_shutdown() stops listening for incoming connections and deletes the endpoint. The connections established using the endpoint will still exist after deleting the endpoint.
Return value
The rpma_ep_shutdown() function returns 0 on success or a negative error code on failure. rpma_ep_shutdown() does not set *ep_ptr value to NULL on failure.
Errors
rpma_ep_shutdown() can fail with the following errors:
•
|
RPMA_E_INVAL - ep_ptr is NULL |
|---|---|
•
|
RPMA_E_PROVIDER - rdma_destroy_id(3) failed |
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.