1
0
Fork 0

Merging upstream version 1.5.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:09:15 +01:00
parent 8f9ab756e2
commit 70a0abe13f
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
874 changed files with 9553 additions and 1347 deletions

View file

@ -67,6 +67,12 @@ libnvme utility functions
``ENVME_CONNECT_CONNREFUSED``
connection refused
``ENVME_CONNECT_ADDRNOTAVAIL``
cannot assign requested address
``ENVME_CONNECT_IGNORED``
connect attempt is ignored due to configuration
.. c:function:: __u8 nvme_status_to_errno (int status, bool fabrics)
@ -575,3 +581,20 @@ https://www.rfc-editor.org/rfc/rfc4122#section-4.4
Returns error code if generating of random number fails.
.. c:function:: bool nvme_ipaddrs_eq (const char *addr1, const char *addr2)
Check if 2 IP addresses are equal.
**Parameters**
``const char *addr1``
IP address (can be IPv4 or IPv6)
``const char *addr2``
IP address (can be IPv4 or IPv6)
**Return**
true if addr1 == addr2. false otherwise.