nbd_stats_bytes_sent(3)
π NAME π
Welcome to the LIBNBD manual page for nbd_stats_bytes_sent(3) β literally the statistics of bytes sent over the connection so far β¨
β¨ SYNOPSIS β¨
#include <libnbd.h>
uint64_t nbd_stats_bytes_sent (
struct nbd_handle *h
);
π DESCRIPTION π
Okay so this function returns the number of bytes that the client has sent to the server. That's the whole vibe π«Ά
It tracks the plaintext bytes utilized by the NBD protocol; it may differ from the number of bytes actually sent over the connection, particularly when TLS is in use. Not me explaining TLS math, but yes bestie, that's the caveat π
π RETURN VALUE π
This call returns a counter. That's it. That's the icon. No cap π
π«Ά ERRORS π«Ά
This function does not fail. Slay.
The following parameters must not be NULL: "h". For more information see "Non-NULL parameters" in libnbd(3). So don't pass a NULL handle, bestie β that's a no π
π¦ 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_SENT 1
π SEE ALSO π
Go read these next, bestie β they're all linked up and iconic:
nbd_create(3)nbd_stats_bytes_received(3)nbd_stats_chunks_received(3)nbd_stats_chunks_sent(3)libnbd(3)
π AUTHORS π
- Eric Blake
- Richard W.M. Jones
π COPYRIGHT π
Copyright Red Hat
π₯ LICENSE π₯
Okay legal bestie moment β here's the whole license, every word kept:
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
π cute sign-off from the footer: this page is libnbd-1.25.8, dated 2026-10-13, for nbd_stats_bytes_sent(3) β and yes bestie, that's the whole footer vibe. periodt. π«Ά
π¦ where this page comes from
- centos-stream 10: libnbd-devel 1.25.8-1.el10 Β· LGPL-2.0-or-later AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms