]> git.decadent.org.uk Git - nfs-utils.git/commit
Add AF_INET6-capable API to acquire an RPC CLIENT *
authorChuck Lever <chuck.lever@oracle.com>
Mon, 17 Nov 2008 21:08:03 +0000 (16:08 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 17 Nov 2008 21:08:03 +0000 (16:08 -0500)
commit162cbdd19830abaf6a3fd64a22839023ce99185d
treec238f0a45a871c7a034193abcb40079d4246c49e
parent971b780d47558e4688316b6b35bb15989b1541d0
Add AF_INET6-capable API to acquire an RPC CLIENT *

Provide a simple interface that any component of nfs-utils can use to acquire
an RPC CLIENT *.  This is an AF_INET6-enabled API, and can also handle
PF_LOCAL sockets if libtirpc is present on the system.

When libtirpc is not available, legacy RPC services will be used instead,
and an attempt to connect to an AF_INET6 address will fail.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac
support/include/nfsrpc.h [new file with mode: 0644]
support/nfs/Makefile.am
support/nfs/rpc_socket.c [new file with mode: 0644]