RPC_GSS_MAX_DATA_LENGTH(3)
π NAME π
okay so bestie, this is the RPC_GSS_MAX_DATA_LENGTH(3) page from the Library Functions Manual β and itβs all about rpc_gss_max_data_length, which calculates maximum data size. No cap, thatβs the whole flex. π
π LIBRARY π
This icon lives in the RPC GSS-API Authentication Library β thatβs librpcsec_gss, and you link it with -lrpcsec_gss. Slay. β¨
πΈ SYNOPSIS πΈ
#include <rpc/rpcsec_gss.h>
int
rpc_gss_max_data_length(AUTH *auth, int max_tp_unit_len);
π«Ά DESCRIPTION π«Ά
So hereβs the tea, bestie: this function calculates the maximum message size that will fit into a packet of size max_tp_unit_len, given the current service and QoP setting. Itβs literally giving βwill my message fit in this transport packet?β energy. π
π PARAMETERS π
authβ a handle to a RPCSEC_GSS security context. Like, your little security-context bestie.max_tp_unit_lenβ the maximum packet size of the underlying transport protocol. The packetβs size limit, periodt.
β RETURN VALUES β
It returns the maximum message size that can be encoded. Thatβs the number you get back, bestie. β¨
π SEE ALSO π
π¦ HISTORY π¦
The rpc_gss_max_data_length function first appeared in FreeBSD 8.0. Iconic behavior from the FreeBSD 8.0 era. π
π AUTHORS π
This manual page was written by Doug Rabson <dfr@FreeBSD.org>. Shoutout to Doug, fr fr. π«Ά
Cute sign-off time: this cutie was brought to you by Debian, dated January 26, 2010. Byeee ππ¦
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2008 Isilon Inc http://www.isilon.com/
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms