1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_security_receive_args - Arguments for the NVMe Security Re‐
7 ceive command
8
10 struct nvme_security_receive_args {
11 __u32 *result;
12 void *data;
13 int args_size;
14 int fd;
15 __u32 timeout;
16 __u32 nsid;
17 __u32 al;
18 __u32 data_len;
19 __u8 nssf;
20 __u8 spsp0;
21 __u8 spsp1;
22 __u8 secp;
23 };
24
25
27 result The command completion result from CQE dword0
28
29 data Security data payload to send
30
31 args_size Size of struct nvme_security_receive_args
32
33 fd File descriptor of nvme device
34
35 timeout Timeout in ms
36
37 nsid Namespace ID to issue security command on
38
39 al Protocol specific allocation length
40
41 data_len Data length of the payload in bytes
42
43 nssf NVMe Security Specific field
44
45 spsp0 Security Protocol Specific field
46
47 spsp1 Security Protocol Specific field
48
49 secp Security Protocol
50
51
52
53April 2022 struct nvme_security_receive_args libnvme(9)