Reference

libnvmf_config_conn_get_transport-libnvme3(2)

a connection's transport.

NAME

libnvmf_config_conn_get_transport - a connection's transport.

SYNOPSIS

const char * libnvmf_config_conn_get_transport (const struct libnvmf_config_conn *conn );

ARGUMENTS

conn

the resolved connection

DESCRIPTION

Addressing is exposed as raw strings, not a TID: the configuration is a human interface and traddr/host-traddr may legitimately name a host, while TID construction rejects one. Resolve first, then build a TID with libnvmf_tid_from_fields + libnvmf_tid_set_identity.

RETURN

borrowed string, valid while the owning configuration is alive.