Scroll to navigation

libnvmf_get_discovery_log(9) libnvme API manual libnvmf_get_discovery_log(9)

NAME

libnvmf_get_discovery_log - Fetch the NVMe-oF discovery log page

SYNOPSIS

int libnvmf_get_discovery_log (libnvme_ctrl_t ctrl , const struct libnvmf_discovery_args *args , struct nvmf_discovery_log **logp );

ARGUMENTS

Discovery controller
Optional arguments (pass NULL for defaults)
On success, set to the allocated log page (caller must free)

DESCRIPTION

Issues the three-phase Get Log Page protocol against ctrl, validates generation-counter atomicity, and normalises each log entry.

RETURN

0 on success, negative error code otherwise.

libnvmf_get_discovery_log July 2026