NAME
libnvmf_context_set_connection - Set connection parameters for context
SYNOPSIS
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
DESCRIPTION
Sets the connection parameters for the context.
RETURN
0 on success, negative error code otherwise.