diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-31 04:17:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-31 04:17:04 +0000 |
commit | 7e691c813bdf26bf9c51f03ee926818c00cc6e39 (patch) | |
tree | 1ecdb0c04700e31585faf09a0a868cf63814fc51 /src/nvme/util.h | |
parent | Releasing debian version 1.2-3. (diff) | |
download | libnvme-7e691c813bdf26bf9c51f03ee926818c00cc6e39.tar.xz libnvme-7e691c813bdf26bf9c51f03ee926818c00cc6e39.zip |
Merging upstream version 1.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/nvme/util.h')
-rw-r--r-- | src/nvme/util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvme/util.h b/src/nvme/util.h index e72c156..961da18 100644 --- a/src/nvme/util.h +++ b/src/nvme/util.h @@ -36,6 +36,7 @@ * @ENVME_CONNECT_ADDRINUSE: hostnqn already in use * @ENVME_CONNECT_NODEV: invalid interface * @ENVME_CONNECT_OPNOTSUPP: not supported + * @ENVME_CONNECT_CONNREFUSED: connection refused */ enum nvme_connect_err { ENVME_CONNECT_RESOLVE = 1000, @@ -55,6 +56,7 @@ enum nvme_connect_err { ENVME_CONNECT_ADDRINUSE, ENVME_CONNECT_NODEV, ENVME_CONNECT_OPNOTSUPP, + ENVME_CONNECT_CONNREFUSED, }; /** @@ -529,13 +531,13 @@ char *startswith(const char *s, const char *prefix); /** * nvmf_exat_len() - Return length rounded up by 4 - * @val_len: Value lenght + * @val_len: Value length * * Return the size in bytes, rounded to a multiple of 4 (e.g., size of * __u32), of the buffer needed to hold the exat value of size * @val_len. * - * Return: Lenght rounded up by 4 + * Return: Length rounded up by 4 */ static inline __u16 nvmf_exat_len(size_t val_len) { |