1RPC_CLNT_ADD_XPRT(9)           Linux Networking           RPC_CLNT_ADD_XPRT(9)
2
3
4

NAME

6       rpc_clnt_add_xprt - Add a new transport to a rpc_clnt
7

SYNOPSIS

9       int rpc_clnt_add_xprt(struct rpc_clnt * clnt,
10                             struct xprt_create * xprtargs,
11                             int (*setup) (struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *),
12                             void * data);
13

ARGUMENTS

15       clnt
16           pointer to struct rpc_clnt
17
18       xprtargs
19           pointer to struct xprt_create
20
21       setup
22           callback to test and/or set up the connection
23
24       data
25           pointer to setup function data
26

DESCRIPTION

28       Creates a new transport using the parameters set in args and adds it to
29       clnt. If ping is set, then test that connectivity succeeds before
30       adding the new transport.
31
33Kernel Hackers Manual 3.10         June 2019              RPC_CLNT_ADD_XPRT(9)
Impressum