xref: /freebsd/contrib/ofed/librdmacm/man/rdma_set_option.3 (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
"RDMA_SET_OPTION" 3 "2007-08-06" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
NAME
rdma_set_option - Set communication options for an rdma_cm_id.
SYNOPSIS
"#include <rdma/rdma_cma.h>"

"int" rdma_set_option "(struct rdma_cm_id *" id "," "int " level "," "int " optname "," "void *" optval "," "size_t " optlen ");"

ARGUMENTS
"id" 12
RDMA identifier.
"level" 12
Protocol level of the option to set.
"optname" 12
Name of the option, relative to the level, to set.
"optval" 12
Reference to the option data. The data is dependent on the level and optname.
"optlen" 12
The size of the %optval buffer.
"DESCRIPTION"
Sets communication options for an rdma_cm_id. This call is used to override the default system settings.
"RETURN VALUE"
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
"NOTES"
Option details may be found in the relevant header files.
"SEE ALSO"
rdma_create_id(3)