table of contents
other versions
- stretch 4.9.168-1
RPC_CLNT_ITERATE_FOR(9) | Linux Networking | RPC_CLNT_ITERATE_FOR(9) |
NAME¶
rpc_clnt_iterate_for_each_xprt - Apply a function to all transportsSYNOPSIS¶
int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt * clnt, int (*fn) (struct rpc_clnt *, struct rpc_xprt *, void *), void * data);
ARGUMENTS¶
clntpointer to client
fn
function to apply
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¶
April 2019 | Kernel Hackers Manual 4.9. |