rpc_gss_max_data_length(3t)

rpc_gss_max_data_length3t

Calculate maximum data size

Usage

#include <rpc/rpcsec_gss.h>

int

rpc_gss_max_data_length(AUTH *auth, int max_tp_unit_len);

Overview

Calculate the maximum message size that will fit into a packet of size max_tp_unit_len, given the current service and QoP setting.

Parameters

auth

A handle to a RPCSEC_GSS security context

max_tp_unit_len

Maximum packet size of the underlying transport protocol

Return values

The maximum message size that can be encoded

Releases

Unchanged in 5 releases since Debian 10 (Buster).

  1. 10–Arch

Availability

The rpc_gss_max_data_length() function is part of libtirpc.

Authors

This manual page was written by Doug Rabson ⟨[email protected]⟩.

From libtirpc 1.3.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.