rpc_peeraddr2str9
Return remote peer address in printable format
Usage
const char * rpc_peeraddr2str(struct rpc_clnt * clnt, enum rpc_display_format_t format);
Arguments
clnt
RPC client structure
format
address format
Overview
NB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.
Releases
5 releases since Debian 5.0 (Lenny); the text changed 4 times.