table of contents
other versions
RPC_CLNT_ITERATE_FOR(9) | Linux Networking | RPC_CLNT_ITERATE_FOR(9) |
NAME¶
rpc_clnt_iterate_for_each_xprt - Apply a function to all transports
SYNOPSIS¶
int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt * clnt, int (*fn) (struct rpc_clnt *, struct rpc_xprt *, void *), void * data);
ARGUMENTS¶
struct rpc_clnt * clnt
pointer to client
int (*)(struct rpc_clnt *, struct rpc_xprt *, void *) fn
function to apply
void * data
void pointer to function data
DESCRIPTION¶
Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data).
On error, the iteration stops, and the function returns the error value.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |