'\" t .\" Title: rpc_peeraddr2str .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "RPC_PEERADDR2STR" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" rpc_peeraddr2str \- return remote peer address in printable format .SH "SYNOPSIS" .HP \w'const\ char\ *\ rpc_peeraddr2str('u .BI "const char * rpc_peeraddr2str(struct\ rpc_clnt\ *\ " "clnt" ", enum\ rpc_display_format_t\ " "format" ");" .SH "ARGUMENTS" .PP \fIclnt\fR .RS 4 RPC client structure .RE .PP \fIformat\fR .RS 4 address format .RE .SH "DESCRIPTION" .PP 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\&. .SH "COPYRIGHT" .br