table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
RPC_CLNT_ADD_XPRT(9) | Linux Networking | RPC_CLNT_ADD_XPRT(9) |
NAME¶
rpc_clnt_add_xprt - Add a new transport to a rpc_clntSYNOPSIS¶
int
rpc_clnt_add_xprt(struct rpc_clnt * clnt,
struct xprt_create * xprtargs,
int (*setup) (struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *),
void * data);
ARGUMENTS¶
clntpointer to struct rpc_clnt
xprtargs
pointer to struct xprt_create
setup
callback to test and/or set up the connection
data
pointer to setup function data
DESCRIPTION¶
Creates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |