---
name: "nvme_mi_admin_security_send"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_mi_admin_security_send"
---

# nvme\_mi\_admin\_security\_send(2)

Perform a Security Send command on a controller.

## NAME

nvme\_mi\_admin\_security\_send - Perform a Security Send command on a controller.

## SYNOPSIS

**int nvme\_mi\_admin\_security\_send** **(nvme\_mi\_ctrl\_t ctrl** *,* **struct nvme\_security\_send\_args \*args** *);*

## ARGUMENTS

- ctrl

  Controller to send command to

- args

  Security Send command arguments

## DESCRIPTION

Performs a Security Send Admin command as specified by *args*. Response data is stored in *args-\>data*, which should be a buffer of *args-\>data\_len* bytes. Resulting data length is stored in *args-\>data\_len* on successful command completion.

Security Send data length should not be greater than 4096 bytes to comply with specification limits.

See: *struct nvme\_get\_log\_args*

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
