xref: /freebsd/contrib/ofed/librdmacm/man/rdma_ack_cm_event.3 (revision 6ba2210ee039f2f12878c217bcf058e9c8b26b29)
Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
"RDMA_ACK_CM_EVENT" 3 "2007-05-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
NAME
rdma_ack_cm_event - Free a communication event.
SYNOPSIS
"#include <rdma/rdma_cma.h>"

"int" rdma_ack_cm_event "(struct rdma_cm_event *" event ");"

ARGUMENTS
"event" 12
Event to be released.
"DESCRIPTION"
All events which are allocated by rdma_get_cm_event must be released, there should be a one-to-one correspondence between successful gets and acks. This call frees the event structure and any memory that it references.
"RETURN VALUE"
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
"SEE ALSO"
rdma_get_cm_event(3), rdma_destroy_id(3)