rdma_set_option man page

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

RDMA identifier.

level

Protocol level of the option to set.

optname

Name of the option, relative to the level, to set.

optval

Reference to the option data.  The data is dependent on the level and optname.

optlen

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 relevent header files.

See Also

rdma_create_id(3)

Referenced By

rdma_cm(7), rdma_create_id(3).

2007-08-06 librdmacm Librdmacm Programmer's Manual