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 ENVME_CONNECT_CONNREFUSED
28
29 };
30
32 ENVME_CONNECT_RESOLVE
33 failed to resolve host
34
35 ENVME_CONNECT_ADDRFAM
36 unrecognized address family
37
38 ENVME_CONNECT_TRADDR
39 failed to get traddr
40
41 ENVME_CONNECT_TARG
42 need a transport (-t) argument
43
44 ENVME_CONNECT_AARG
45 need a address (-a) argument
46
47 ENVME_CONNECT_OPEN
48 failed to open nvme-fabrics device
49
50 ENVME_CONNECT_WRITE
51 failed to write to nvme-fabrics device
52
53 ENVME_CONNECT_READ
54 failed to read from nvme-fabrics device
55
56 ENVME_CONNECT_PARSE
57 failed to parse ctrl info
58
59 ENVME_CONNECT_INVAL_TR
60 invalid transport type
61
62 ENVME_CONNECT_LOOKUP_SUBSYS_NAME
63 failed to lookup subsystem name
64
65 ENVME_CONNECT_LOOKUP_SUBSYS
66 failed to lookup subsystem
67
68 ENVME_CONNECT_ALREADY
69 the connect attempt failed, already connected
70
71 ENVME_CONNECT_INVAL
72 invalid arguments/configuration
73
74 ENVME_CONNECT_ADDRINUSE
75 hostnqn already in use
76
77 ENVME_CONNECT_NODEV
78 invalid interface
79
80 ENVME_CONNECT_OPNOTSUPP
81 not supported
82
83 ENVME_CONNECT_CONNREFUSED
84 connection refused
85
86
87
88April 2023 enum nvme_connect_err libnvme(9)