summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/nfs
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2013-06-17 10:34:00 -0400
committerGordon Ross <gwr@nexenta.com>2015-06-04 16:46:25 -0400
commitb819cea2f73f98c5662230cc9affc8cc84f77fcf (patch)
treea3677952ded5706400717b9b79b0aeaa3d93a739 /usr/src/uts/common/nfs
parent83d2dfe69259e79314662cf95e6d1f9103dcffe2 (diff)
downloadillumos-joyent-b819cea2f73f98c5662230cc9affc8cc84f77fcf.tar.gz
5917 User-mode SMB server
Authored by: Thomas Keiser <thomas.keiser@nexenta.com> Authored by: Albert Lee <trisk@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/uts/common/nfs')
-rw-r--r--usr/src/uts/common/nfs/lm.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/uts/common/nfs/lm.h b/usr/src/uts/common/nfs/lm.h
index fa467faa4b..0328a9686c 100644
--- a/usr/src/uts/common/nfs/lm.h
+++ b/usr/src/uts/common/nfs/lm.h
@@ -23,9 +23,8 @@
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-
/*
- * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _NFS_LM_H
@@ -43,9 +42,9 @@ extern "C" {
#include <sys/fcntl.h>
#include <sys/types.h>
#include <sys/vnode.h>
-#include <rpc/rpc.h>
+#include <rpc/xdr.h>
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_FAKE_KERNEL)
/*
* Common interfaces.
@@ -77,6 +76,8 @@ struct exportinfo;
* Struct used to represent a host.
*/
struct lm_sysid;
+struct knetconfig;
+struct netbuf;
/*
* Given a knetconfig and network address, returns a reference to the