Scroll to navigation

libnvme_sed_discover(2) libnvme API manual libnvme_sed_discover(2)

NAME

libnvme_sed_discover - Retrieve the TCG Level 0 Discovery data

SYNOPSIS

int libnvme_sed_discover (struct libnvme_transport_handle *hdl , void *buf , __u32 len );

ARGUMENTS

Transport handle
Buffer for the Level 0 Discovery data
Size of buf in bytes

DESCRIPTION

Issues a Security Receive for the Level 0 Discovery ComID. The data is returned unparsed; use libnvme_sed_l0_for_each or libnvme_sed_l0_find to walk the feature descriptors.

RETURN

0 on success, the NVMe command status if a response was received (see enum nvme_status_field) or a negative error code otherwise.

libnvme_sed_discover October 2026