nbd_stats_bytes_received3
Statistics of bytes received over connection so far
Usage
#include <libnbd.h>uint64_t nbd_stats_bytes_received (struct nbd_handle *h);
Overview
Return the number of bytes that the client has received from the server.
This tracks the plaintext bytes utilized by the NBD protocol; it may differ from the number of bytes actually received over the connection, particularly when TLS is in use.
Return value
This call returns a counter.
Errors
This function does not fail.
The following parameters must not be NULL: "h". For more information see "Non-NULL parameters" in libnbd(3).
Version
This function first appeared in libnbd 1.16.
If you need to test if this function is available at compile time check if the following macro is defined:
#define LIBNBD_HAVE_NBD_STATS_BYTES_RECEIVED 1
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.