libnvmf_context_set_hostnqn-libnvme32
Set host nqn and host id for context
Usage
int libnvmf_context_set_hostnqn (struct libnvmf_context *fctx , const char *hostnqn , const char *hostid );
Arguments
fctx
|
Fabrics context |
|---|---|
hostnqn
|
Host NQN |
hostid
|
Host identifier |
Overview
Sets the host NQN and host ID for the context.
Return
0 on success, negative error code otherwise.