X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Finclude%2Fnfsrpc.h;h=d50fe94c8870017f30112af272671cefe62ecdc9;hb=9f660799d03e6235015ada0a1c22a87073ee6cc3;hp=4db35abf8d1a1df32c81db758c7cfc7b5f43968f;hpb=f0d3a4bedccca7cce48296757bc1c8bd59b80828;p=nfs-utils.git diff --git a/support/include/nfsrpc.h b/support/include/nfsrpc.h index 4db35ab..d50fe94 100644 --- a/support/include/nfsrpc.h +++ b/support/include/nfsrpc.h @@ -26,6 +26,12 @@ #include #include +/* + * 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 */