]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/network.h
mount command: AF_INET6 support for probe_bothports()
[nfs-utils.git] / utils / mount / network.h
index a4dba1b69e3a314a4b544b561e0f7b3ad0aeedfd..075093da5afe302b8fb1fc87c13436034ab53dbe 100644 (file)
@@ -40,6 +40,9 @@ static const struct timeval TIMEOUT = { 20, 0 };
 static const struct timeval RETRY_TIMEOUT = { 3, 0 };
 
 int probe_bothports(clnt_addr_t *, clnt_addr_t *);
 static const struct timeval RETRY_TIMEOUT = { 3, 0 };
 
 int probe_bothports(clnt_addr_t *, clnt_addr_t *);
+int nfs_probe_bothports(const struct sockaddr *, const socklen_t,
+                       struct pmap *, const struct sockaddr *,
+                       const socklen_t, struct pmap *);
 int nfs_gethostbyname(const char *, struct sockaddr_in *);
 int nfs_name_to_address(const char *, const sa_family_t,
                struct sockaddr *, socklen_t *);
 int nfs_gethostbyname(const char *, struct sockaddr_in *);
 int nfs_name_to_address(const char *, const sa_family_t,
                struct sockaddr *, socklen_t *);