Scroll to navigation

RPC_PEERADDR(9) Linux Networking RPC_PEERADDR(9)

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

January 2017 Kernel Hackers Manual 4.8.