---
name: "xprt_register_transport"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/xprt_register_transport"
---

# xprt\_register\_transport(9)

register a transport implementation

## NAME

xprt\_register\_transport - register a transport implementation

## SYNOPSIS

**int xprt\_register\_transport(struct xprt\_class \*** *transport***);**

## ARGUMENTS

*transport*

transport to register

## DESCRIPTION

If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.

## RETURN

0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloaded

## COPYRIGHT
