libnvmf_get_default_trsvcid-libnvme3(2)

libnvmf_get_default_trsvcid-libnvme32

Get default transport service id

Usage

const char * libnvmf_get_default_trsvcid (const char *transport , bool discovery_ctrl );

Arguments

transport

Transport type string (e.g., "tcp", "rdma")

discovery_ctrl

True if for discovery controller, false otherwise

Overview

Returns the default trsvcid (port) for the given transport and controller type.

Return

Allocated string with default trsvcid, or NULL on failure.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.