aboutsummaryrefslogtreecommitdiffstats
path: root/conf/sa_dref/sa_dref_svr4.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf/sa_dref/sa_dref_svr4.h')
-rw-r--r--conf/sa_dref/sa_dref_svr4.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/sa_dref/sa_dref_svr4.h b/conf/sa_dref/sa_dref_svr4.h
new file mode 100644
index 000000000000..c4ecc49ea4ff
--- /dev/null
+++ b/conf/sa_dref/sa_dref_svr4.h
@@ -0,0 +1,7 @@
+/* $srcdir/conf/sa_dref/sa_dref_svr4.h */
+#define NFS_SA_DREF(dst, src) { \
+ (dst)->addr->buf = (char *) (src); \
+ (dst)->addr->len = sizeof(struct sockaddr_in); \
+ (dst)->addr->maxlen = sizeof(struct sockaddr_in); \
+ }
+#define NFS_ARGS_T_ADDR_IS_POINTER 1