Scroll to navigation

XPRT_REGISTER_TRANSP(9) Linux Networking XPRT_REGISTER_TRANSP(9)

NAME

xprt_register_transport - register a transport implementation

SYNOPSIS

int xprt_register_transport(struct xprt_class * transport);

ARGUMENTS

struct xprt_class * 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

July 2017 Kernel Hackers Manual 4.11