aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nlm.h
diff options
context:
space:
mode:
authorUwe Girlich <Uwe.Girlich@philosys.de>2000-08-02 11:32:31 +0000
committerUwe Girlich <Uwe.Girlich@philosys.de>2000-08-02 11:32:31 +0000
commitbfb39fbc44871150b8cb787fb5a9148d3c13afce (patch)
tree4892575cd4e411c6746427d3c1c258f6ee464a33 /packet-nlm.h
parent5f3191082f81e0c596259143eeb805ab78086351 (diff)
downloadwireshark-bfb39fbc44871150b8cb787fb5a9148d3c13afce.tar.gz
wireshark-bfb39fbc44871150b8cb787fb5a9148d3c13afce.tar.bz2
wireshark-bfb39fbc44871150b8cb787fb5a9148d3c13afce.zip
Procedure numbers as constants are much better.
svn path=/trunk/; revision=2194
Diffstat (limited to 'packet-nlm.h')
-rw-r--r--packet-nlm.h32
1 files changed, 31 insertions, 1 deletions
diff --git a/packet-nlm.h b/packet-nlm.h
index 896bcbcce3..77af0c0333 100644
--- a/packet-nlm.h
+++ b/packet-nlm.h
@@ -1,10 +1,40 @@
/* packet-nlm.h (c) 1999 Uwe Girlich */
-/* $Id: packet-nlm.h,v 1.1 1999/11/15 14:17:19 nneul Exp $ */
+/* $Id: packet-nlm.h,v 1.2 2000/08/02 11:32:31 girlich Exp $ */
#ifndef __PACKET_NLM_H__
#define __PACKET_NLM_H__
#define NLM_PROGRAM 100021
+/* synchronous procedures */
+#define NLM_NULL 0
+#define NLM_TEST 1
+#define NLM_LOCK 2
+#define NLM_CANCEL 3
+#define NLM_UNLOCK 4
+#define NLM_GRANTED 5
+
+/* asynchronous requests */
+#define NLM_TEST_MSG 6
+#define NLM_LOCK_MSG 7
+#define NLM_CANCEL_MSG 8
+#define NLM_UNLOCK_MSG 9
+#define NLM_GRANTED_MSG 10
+
+/* asynchronous responses */
+#define NLM_TEST_RES 11
+#define NLM_LOCK_RES 12
+#define NLM_CANCEL_RES 13
+#define NLM_UNLOCK_RES 14
+#define NLM_GRANTED_RES 15
+
+/* 16-19 not assigned */
+
+/* DOS file sharing */
+#define NLM_SHARE 20
+#define NLM_UNSHARE 21
+#define NLM_NM_LOCK 22
+#define NLM_FREE_ALL 23
+
#endif /* packet-nlm.h */