aboutsummaryrefslogtreecommitdiffstats
path: root/conf/sa_dref/sa_dref_aoi.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf/sa_dref/sa_dref_aoi.h')
-rw-r--r--conf/sa_dref/sa_dref_aoi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/sa_dref/sa_dref_aoi.h b/conf/sa_dref/sa_dref_aoi.h
new file mode 100644
index 000000000000..4215c04852d2
--- /dev/null
+++ b/conf/sa_dref/sa_dref_aoi.h
@@ -0,0 +1,7 @@
+/* $srcdir/conf/sa_dref/sa_dref_aoi.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