1. NAME▲

rpc_peeraddr2str - return remote peer address in printable format

2. SYNOPSIS ▲

const char * rpc_peeraddr2str(struct rpc_clnt *  clnt , enum rpc_display_format_t  format );

3. ARGUMENTS ▲

clnt
    RPC client structure

format
    address format

4. 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.

5. COPYRIGHT ▲