1RPC_CLNT_ADD_XPRT(9) Linux Networking RPC_CLNT_ADD_XPRT(9)
2
3
4
6 rpc_clnt_add_xprt - Add a new transport to a rpc_clnt
7
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
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
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)