Reference

libnvmf_context_set_connection_from_tid-libnvme3(2)

Set connection and identity from a TID

NAME

libnvmf_context_set_connection_from_tid - Set connection and identity from a TID

SYNOPSIS

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

DESCRIPTION

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.