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

NAME

6       rpc_clnt_setup_test_and_add_xprt -
7

SYNOPSIS

9       int rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt * clnt,
10                                            struct rpc_xprt_switch * xps,
11                                            struct rpc_xprt * xprt,
12                                            void * data);
13

ARGUMENTS

15       clnt
16           struct rpc_clnt to get the new transport
17
18       xps
19           the rpc_xprt_switch to hold the new transport
20
21       xprt
22           the rpc_xprt to test
23
24       data
25           a struct rpc_add_xprt_test pointer that holds the test function and
26           test function call data
27

DESCRIPTION

29       This is an rpc_clnt_add_xprt setup function which returns 1 so: 1)
30       caller of the test function must dereference the rpc_xprt_switch and
31       the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt,
32       usually in the rpc_call_done routine.
33
34       Upon success (return of 1), the test function adds the new transport to
35       the rpc_clnt xprt switch
36
38Kernel Hackers Manual 3.10         June 2019           RPC_CLNT_SETUP_TEST_(9)
Impressum