Reference

libnvme_sed_discover-libnvme3(2)

Retrieve the TCG Level 0 Discovery data

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

hdl

Transport handle

buf

Buffer for the Level 0 Discovery data

len

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.