RPC_PEERADDR

Section: Linux Networking (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

rpc_peeraddr - extract remote peer address from clnt's xprt  

SYNOPSIS

size_t rpc_peeraddr(struct rpc_clnt * clnt, struct sockaddr * buf, size_t bufsize);
 

ARGUMENTS

clnt

RPC client structure

buf

target buffer

bufsize

length of target buffer
 

DESCRIPTION

Returns the number of bytes that are actually in the stored address.  

COPYRIGHT