1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_connect_err - nvme connect error codes
7
9 enum nvme_connect_err {
10 ENVME_CONNECT_RESOLVE ,
11 ENVME_CONNECT_ADDRFAM ,
12 ENVME_CONNECT_TRADDR ,
13 ENVME_CONNECT_TARG ,
14 ENVME_CONNECT_AARG ,
15 ENVME_CONNECT_OPEN ,
16 ENVME_CONNECT_WRITE ,
17 ENVME_CONNECT_READ ,
18 ENVME_CONNECT_PARSE ,
19 ENVME_CONNECT_INVAL_TR ,
20 ENVME_CONNECT_LOOKUP_SUBSYS_NAME ,
21 ENVME_CONNECT_LOOKUP_SUBSYS ,
22 ENVME_CONNECT_ALREADY ,
23 ENVME_CONNECT_INVAL ,
24 ENVME_CONNECT_ADDRINUSE ,
25 ENVME_CONNECT_NODEV ,
26 ENVME_CONNECT_OPNOTSUPP
27
28 };
29
31 ENVME_CONNECT_RESOLVE
32 failed to resolve host
33
34 ENVME_CONNECT_ADDRFAM
35 unrecognized address family
36
37 ENVME_CONNECT_TRADDR
38 failed to get traddr
39
40 ENVME_CONNECT_TARG
41 need a transport (-t) argument
42
43 ENVME_CONNECT_AARG
44 need a address (-a) argument
45
46 ENVME_CONNECT_OPEN
47 failed to open nvme-fabrics device
48
49 ENVME_CONNECT_WRITE
50 failed to write to nvme-fabrics device
51
52 ENVME_CONNECT_READ
53 failed to read from nvme-fabrics device
54
55 ENVME_CONNECT_PARSE
56 failed to parse ctrl info
57
58 ENVME_CONNECT_INVAL_TR
59 invalid transport type
60
61 ENVME_CONNECT_LOOKUP_SUBSYS_NAME
62 failed to lookup subsystem name
63
64 ENVME_CONNECT_LOOKUP_SUBSYS
65 failed to lookup subsystem
66
67 ENVME_CONNECT_ALREADY
68 the connect attempt failed, already connected
69
70 ENVME_CONNECT_INVAL
71 invalid arguments/configuration
72
73 ENVME_CONNECT_ADDRINUSE
74 hostnqn already in use
75
76 ENVME_CONNECT_NODEV
77 invalid interface
78
79 ENVME_CONNECT_OPNOTSUPP
80 not supported
81
82
83
84November 2022 enum nvme_connect_err libnvme(9)