summaryrefslogtreecommitdiffstats
path: root/support/misc/tcpwrapper.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-12-11 10:30:20 -0500
committerSteve Dickson <steved@redhat.com>2008-12-11 10:30:20 -0500
commit8a5ef964599438ea45f849a0cd1431a0c26bf054 (patch)
tree0564322876cad38537febe0a2331f835c38b6b0b /support/misc/tcpwrapper.c
parent299a990de1b16ff769201fa0ed38249853254497 (diff)
downloadnfs-utils-8a5ef964599438ea45f849a0cd1431a0c26bf054.tar.gz
nfs-utils-8a5ef964599438ea45f849a0cd1431a0c26bf054.tar.xz
nfs-utils-8a5ef964599438ea45f849a0cd1431a0c26bf054.zip
mount command: AF_INET6 support for probe_bothports()
Introduce an AF_INET6 capable probe_bothports() API. This means replacing "struct sockaddr_in *" arguments with a "struct sockaddr *" and a socklen_t arguments. These functions often combine a "struct sockaddr_in" and a "struct pmap" into a single "clnt_addr_t" argument. Instead of modifying "clnt_addr_t" and all the legacy code that uses it, I'm going to create a new probe_bothports() API for the text-based mount command that takes a "struct sockaddr *" and sockaddr length, and leave the existing probe_bothports() interface, which takes "clnt_addr_t" arguments, for legacy use. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/misc/tcpwrapper.c')
0 files changed, 0 insertions, 0 deletions