---
name: "rpc_gss_get_versions"
section: "3t"
platform: "linux"
package: "libtirpc"
version: "1.3.8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/rpc_gss_get_versions/3t"
---

# rpc\_gss\_get\_versions(3t)

Get supported protocol version

## NAME

**rpc\_gss\_get\_versions** – Get supported protocol version

## SYNOPSIS

**#include \<rpc/rpcsec\_gss.h\>**

*bool\_t*\

**rpc\_gss\_get\_versions**(*u\_int \*vers\_hi*, *u\_int \*vers\_lo*);

## DESCRIPTION

Return the highest and lowest supported versions of the RPCSEC\_GSS protocol.

## PARAMETERS

- vers\_hi

  The value of *\*vers\_hi* is set to the highest supported protocol version

- vers\_lo

  The value of *\*vers\_lo* is set to the lowest supported protocol version

## AVAILABILITY

The **rpc\_gss\_get\_versions**() function is part of libtirpc.

## SEE ALSO

[rpc(3)](/rpc/3.md), [gssapi(3)](/gssapi/3.md), [rpcsec\_gss(3)](/rpcsec_gss/3.md)

## AUTHORS

This manual page was written by Doug Rabson ⟨dfr@FreeBSD.org⟩.
