libnvmf_context_set_connection_from_tid-libnvme32
Set connection and identity from a tid
Usage
int libnvmf_context_set_connection_from_tid (struct libnvmf_context *fctx , const struct libnvmf_tid *tid );
Arguments
fctx
|
Fabrics context |
|---|---|
tid
|
Transport ID to copy from |
Overview
Equivalent to libnvmf_context_set_connection followed by libnvmf_context_set_hostnqn, reading every field from tid.
Return
0 on success, -EINVAL if fctx or tid is NULL.