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.