libnvmf_tid_str-libnvme32
Human-readable string form of a tid, for logging.
Usage
const char * libnvmf_tid_str (const struct libnvmf_tid *tid );
Arguments
- tid
-
The transport ID.
Overview
Returns "(transport, traddr, trsvcid[, subsysnqn][, host_iface][, host_traddr])" — the same rendering nvme-stas uses, so logs from both tools line up. hostnqn and hostid are omitted. Lazily computed and cached; invalidated by any setter.
Return
Cached string, or NULL if tid is NULL or on allocation failure.