summaryrefslogtreecommitdiff
path: root/lib/libncp/ncp_mod.h
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>1999-10-12 11:56:41 +0000
committerBoris Popov <bp@FreeBSD.org>1999-10-12 11:56:41 +0000
commitefef966da8db50f4da90b4bed651b4421d6c82f5 (patch)
tree5df7367bbf1788b36cc6e008c01b2b3fe1e5f0e9 /lib/libncp/ncp_mod.h
parentcff51c813aa71405702445d52489e82674d59f08 (diff)
Notes
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 000000000000..4bdc39af3d07
--- /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