libnvmf_context_set_connection-libnvme32
Set connection parameters for context
Usage
int libnvmf_context_set_connection (struct libnvmf_context *fctx , const char *subsysnqn , const char *transport , const char *traddr , const char *trsvcid , const char *host_traddr , const char *host_iface );
Arguments
fctx
|
Fabrics context |
|---|---|
subsysnqn
|
Subsystem NQN |
transport
|
Transport type |
traddr
|
Transport address |
trsvcid
|
Transport service ID |
host_traddr
|
Host transport address |
host_iface
|
Host interface |
Overview
Sets the connection parameters for the context.
Return
0 on success, negative error code otherwise.