DOKK / manpages / debian 12 / libnvme-dev / nvmf_get_discovery_wargs.2.en
nvmf_get_discovery_wargs(2) libnvme API manual nvmf_get_discovery_wargs(2)

nvmf_get_discovery_wargs - Get the discovery log page with args

struct nvmf_discovery_log * nvmf_get_discovery_wargs (struct nvme_get_discovery_args *args );

Argument structure

This function is similar to nvmf_get_discovery_log, but takes an extensible args parameter. args provides more options than nvmf_get_discovery_log.

This function performs a get discovery log page (DLP) command and returns the DLP. The memory allocated for the returned DLP must be freed by the caller using free.

Pointer to the discovery log page (to be freed). NULL on failure and errno is set.

nvmf_get_discovery_wargs January 2023