table of contents
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¶
struct rpc_clnt * clnt
struct rpc_xprt_switch * xps
struct rpc_xprt * xprt
void * 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 switch
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |