1RPC_CLNT_ITERATE_FOR(9) Linux Networking RPC_CLNT_ITERATE_FOR(9)
2
3
4
6 rpc_clnt_iterate_for_each_xprt - Apply a function to all transports
7
9 int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt * clnt,
10 int (*fn) (struct rpc_clnt *, struct rpc_xprt *, void *),
11 void * data);
12
14 clnt
15 pointer to client
16
17 fn
18 function to apply
19
20 data
21 void pointer to function data
22
24 Iterates through the list of RPC transports currently attached to the
25 client and applies the function fn(clnt, xprt, data).
26
27 On error, the iteration stops, and the function returns the error
28 value.
29
31Kernel Hackers Manual 3.10 June 2019 RPC_CLNT_ITERATE_FOR(9)