table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
RPC_CLNT_SETUP_TEST_(9) | Linux Networking | RPC_CLNT_SETUP_TEST_(9) |
NAME¶
rpc_clnt_setup_test_and_add_xprt -SYNOPSIS¶
int
rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt * clnt,
struct rpc_xprt_switch * xps,
struct rpc_xprt * xprt,
void * data);
ARGUMENTS¶
clntstruct rpc_clnt to get the new transport
xps
the rpc_xprt_switch to hold the new transport
xprt
the rpc_xprt to test
data
a struct rpc_add_xprt_test pointer that holds the test
function and test function call data
DESCRIPTION¶
This is an rpc_clnt_add_xprt setup function which returns 1 so: 1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine. Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switchCOPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |