gnutls_dtls_get_data_mtu(3)
π gnutls_dtls_get_data_mtu π
okay bestie, welcome to the gnutls manual, section 3 β we're deep in the library call girlies today. this one lives in the gnutls docs and it's called gnutls_dtls_get_data_mtu, and yes she's an API function, no cap. π
β¨ NAME β¨
gnutls_dtls_get_data_mtu β API function. that's it, that's the name, she's serving exactly what it says on the tin. π
πΈ SYNOPSIS πΈ
#include <gnutls/dtls.h>
unsigned int gnutls_dtls_get_data_mtu(gnutls_session_t session);
literally the whole vibe. include the header, call the function, get your number back. π¦
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's the whole personality. your session, your girl, your context. she knows things. π«Ά
π DESCRIPTION π
okay so here's the tea. this function returns the actual maximum transfer unit for application data. and "actual" is doing WORK in that sentence, because it's not just handing you whatever MTU you set β no ma'am. it takes the MTU you configured with gnutls_dtls_set_mtu() and it subtracts the DTLS headers from it. β¨
so what you're getting back is the real, usable, app-data-only budget. the header tax has already been paid. it's giving honest numbers only. π
β RETURNS β
the maximum allowed transfer unit. that's the whole return value, she's concise and she's correct. π₯
π SINCE π
3.0 β she's been here since 3.0, an absolute icon, a veteran, main character energy since day one. π
π REPORTING BUGS π
found something cursed? not me manifesting bugs, but if it happens:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
fr fr, tell them. they want to know. π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. slay, and also legally binding. π
π§ SEE ALSO π§
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit
https://www.gnutls.org/manual/
go read the big one, bestie, it's all there. πΈ
and that's the whole page, mwah π β this was gnutls_dtls_get_data_mtu(3) from the gnutls 3.8.13 manual, dated with all the love of a Free Software Foundation copyright spanning 2001-2023. take care of her, she's an API function. πβ¨
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms