summaryrefslogtreecommitdiffstats
path: root/lib/libncp/ncp_mod.h
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-10-12 11:56:41 +0000
committerbp <bp@FreeBSD.org>1999-10-12 11:56:41 +0000
commit41cfec2c0234181158049ff25ca1f5de503d7f1a (patch)
tree5df7367bbf1788b36cc6e008c01b2b3fe1e5f0e9 /lib/libncp/ncp_mod.h
parentc364c2223a670b6987002786543b211abaca4862 (diff)
downloadFreeBSD-src-41cfec2c0234181158049ff25ca1f5de503d7f1a.zip
FreeBSD-src-41cfec2c0234181158049ff25ca1f5de503d7f1a.tar.gz
Initial import of ncp library sources.
Reviewed by: jdp, mdodd
Diffstat (limited to 'lib/libncp/ncp_mod.h')
-rw-r--r--lib/libncp/ncp_mod.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libncp/ncp_mod.h b/lib/libncp/ncp_mod.h
new file mode 100644
index 0000000..4bdc39a
--- /dev/null
+++ b/lib/libncp/ncp_mod.h
@@ -0,0 +1,16 @@
+/*
+ * Describes all ncp_lib kernel functions
+ *
+ * $FreeBSD$
+ */
+#ifndef _NCP_MOD_H_
+#define _NCP_MOD_H_
+
+/* order of calls in syscall table relative to offset in system table */
+#define NCP_SE(callno) (callno+sysentoffset)
+#define NCP_CONNSCAN NCP_SE(0)
+#define NCP_CONNECT NCP_SE(1)
+#define NCP_INTFN NCP_SE(2)
+#define SNCP_REQUEST NCP_SE(3)
+
+#endif /* !_NCP_MOD_H_ */ \ No newline at end of file
OpenPOWER on IntegriCloud