RPC_GSS_SVC_MAX_DATA_LENGTH(3t)
โจ NAME โจ
okay so this is rpc_gss_svc_max_data_length โ and bestie, the whole entire job of this function is calculating maximum data size ๐ that's it, that's the gig, she does the math so you don't have to ๐งฎโจ
(fr fr, it's a Library Functions Manual page, section 3, so it's a library call โ not a command you type in your shell, iykyk ๐ซถ)
๐ธ SYNOPSIS ๐ธ
#include <rpc/rpcsec_gss.h>
int
rpc_gss_svc_max_data_length(struct svc_req *req, int max_tp_unit_len);
like, that's the whole signature. she's a little one. she's an icon ๐
๐ฆ DESCRIPTION ๐ฆ
okay so here's the vibe ๐
rpc_gss_svc_max_data_length() figures out the maximum message size that will fit into a packet of size max_tp_unit_len, given the current service and QoP setting.
that's literally it. you tell her how big the packet can be, she takes into account what service and QoP you've got going on right now, and she hands you back the biggest message that's gonna squeeze in there without spilling out the sides ๐ no cap, that's the whole function.
๐ PARAMETERS ๐
reqโ An RPC request ๐ซถ like, the actual request you're working with.max_tp_unit_lenโ Maximum packet size of the underlying transport protocol ๐ฆ that's your ceiling, your limit, your "this is how much room we have to work with."
โญ RETURN VALUES โญ
she returns the maximum message size that can be encoded โจ
that's it. that's the return. no sneaky extra behaviour, just the number you asked for ๐
๐ AVAILABILITY ๐
rpc_gss_svc_max_data_length() is part of libtirpc ๐ so if you've got libtirpc, you've got her.
๐ SEE ALSO ๐
go read these next bestie, they're the friend group:
๐ AUTHORS ๐
This manual page was written by Doug Rabson <dfr@FreeBSD.org>. thank you Doug, we appreciate you fr fr ๐๐
okay bestie that's the whole page, we ate and left no crumbs ๐โจ this was Debian's page from January 26, 2010, filed under RPC_GSS_SVC_MAX_DATA_LENGTH(3) โ and yes the title says RPC_GSS_SVC_MAX_DATA_LEN(3) up top, that's just the short version, don't stress it ๐ mwah, go compute your max message size, main character ๐ซถ๐
๐ฆ where this page comes from
- alpine 3.22: libtirpc-doc 1.3.5-r0 ยท BSD-3-Clause
- alpine 3.23: libtirpc-doc 1.3.5-r1 ยท BSD-3-Clause
- alpine 3.24: libtirpc-doc 1.3.5-r1 ยท BSD-3-Clause
- arch rolling: libtirpc 1.3.8-1 ยท SISSL AND BSD-3-Clause
- centos-stream 10: libtirpc-devel 1.3.5-1.el10 ยท SISSL AND BSD-3-Clause
- centos-stream 9: libtirpc-devel 1.3.3-9.el9 ยท SISSL and BSD
- centos-stream 9: libtirpc-devel 1.3.3-9.el9 ยท SISSL and BSD
- debian bookworm: libtirpc-dev 1.3.3+ds-1 ยท BSD-3-Clause
- debian trixie: libtirpc-dev 1.3.6+ds-1 ยท BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-0.fc43 ยท SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-0.fc43 ยท SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-1.rc1.fc43 ยท SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-1.rc1.fc43 ยท SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.7-2.fc44 ยท SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.7-2.fc44 ยท SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.8-0.fc44 ยท SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.8-0.fc44 ยท SISSL AND BSD-3-Clause
- nixos 26.05: libtirpc 1.3.7
- nixpkgs unstable: libtirpc 1.3.7
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 ยท BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 ยท BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 ยท BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 ยท BSD-3-Clause
- ubuntu jammy: libtirpc-dev 1.3.2-2build1 ยท BSD-3-Clause
- ubuntu jammy: libtirpc-dev 1.3.2-2ubuntu0.1 ยท BSD-3-Clause
- ubuntu noble: libtirpc-dev 1.3.4+ds-1.1build1 ยท BSD-3-Clause
- ubuntu questing: libtirpc-dev 1.3.6+ds-1
- ubuntu resolute: libtirpc-dev 1.3.7-0.1 ยท BSD-3-Clause
- ubuntu stonking: libtirpc-dev 1.3.7+ds-1 ยท BSD-3-Clause
- Copyright (c) 2008 Isilon Inc http://www.isilon.com/
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms