]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/nfsrpc.h
getport: Recognize "rdma" and "rdma6" netid
[nfs-utils.git] / support / include / nfsrpc.h
index 4db35abf8d1a1df32c81db758c7cfc7b5f43968f..d50fe94c8870017f30112af272671cefe62ecdc9 100644 (file)
 #include <rpc/types.h>
 #include <rpc/clnt.h>
 
+/*
+ * IANA does not define an IP protocol number for RDMA transports.
+ * Choose an arbitrary value we can use locally.
+ */
+#define NFSPROTO_RDMA          (3939)
+
 /*
  * Conventional RPC program numbers
  */
@@ -160,4 +166,7 @@ extern int          nfs_rpc_ping(const struct sockaddr *sap,
                                const unsigned short protocol,
                                const struct timeval *timeout);
 
+/* create AUTH_SYS handle with no supplemental groups */
+extern AUTH *                   nfs_authsys_create(void);
+
 #endif /* !__NFS_UTILS_NFSRPC_H */