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