aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nlm.h
blob: db11fd7ae271f7cd6ebc25ea94ccc976e1c236dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* packet-nlm.h (c) 1999 Uwe Girlich */
/*
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#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 */