1NLM4(3) nlm4 4.0 NLM4(3)
2
3
4
6 packet.nfs.nlm4 - NLMv4 decoding module
7
9 class FREE_ALL4args(baseobj.BaseObj)
10 struct FREE_ALL4args {
11 string name<MAXNAMELEN>;
12 int32 state;
13 };
14
15
16 Methods defined here:
17 ---------------------
18
19 __init__(self, unpack)
20
21 class NLM4args(packet.utils.RPCload)
22 union switch NLM4args (nlm_proc4 procedure) {
23 case const.NLMPROC4_NULL:
24 void;
25 case const.NLMPROC4_TEST:
26 TEST4args optest;
27 case const.NLMPROC4_LOCK:
28 LOCK4args oplock;
29 case const.NLMPROC4_CANCEL:
30 CANCEL4args opcancel;
31 case const.NLMPROC4_UNLOCK:
32 UNLOCK4args opunlock;
33 case const.NLMPROC4_GRANTED:
34 GRANTED4args opgranted;
35 case const.NLMPROC4_TEST_MSG:
36 TEST_MSG4args optest_msg;
37 case const.NLMPROC4_LOCK_MSG:
38 LOCK_MSG4args oplock_msg;
39 case const.NLMPROC4_CANCEL_MSG:
40 CANCEL_MSG4args opcancel_msg;
41 case const.NLMPROC4_UNLOCK_MSG:
42 UNLOCK_MSG4args opunlock_msg;
43 case const.NLMPROC4_GRANTED_MSG:
44 GRANTED_MSG4args opgranted_msg;
45 case const.NLMPROC4_TEST_RES:
46 TEST_RES4args optest_res;
47 case const.NLMPROC4_LOCK_RES:
48 LOCK_RES4args oplock_res;
49 case const.NLMPROC4_CANCEL_RES:
50 CANCEL_RES4args opcancel_res;
51 case const.NLMPROC4_UNLOCK_RES:
52 UNLOCK_RES4args opunlock_res;
53 case const.NLMPROC4_GRANTED_RES:
54 GRANTED_RES4args opgranted_res;
55 case const.NLMPROC4_SHARE:
56 SHARE4args opshare;
57 case const.NLMPROC4_UNSHARE:
58 UNSHARE4args opunshare;
59 case const.NLMPROC4_NM_LOCK:
60 NM_LOCK4args opnm_lock;
61 case const.NLMPROC4_FREE_ALL:
62 FREE_ALL4args opfree_all;
63 };
64
65
66 Methods defined here:
67 ---------------------
68
69 __init__(self, unpack, procedure)
70
71 class NLM4res(packet.utils.RPCload)
72 union switch NLM4res (nlm_proc4 procedure) {
73 case const.NLMPROC4_NULL:
74 void;
75 case const.NLMPROC4_TEST:
76 TEST4res optest;
77 case const.NLMPROC4_LOCK:
78 LOCK4res oplock;
79 case const.NLMPROC4_CANCEL:
80 CANCEL4res opcancel;
81 case const.NLMPROC4_UNLOCK:
82 UNLOCK4res opunlock;
83 case const.NLMPROC4_GRANTED:
84 GRANTED4res opgranted;
85 case const.NLMPROC4_TEST_MSG:
86 void;
87 case const.NLMPROC4_LOCK_MSG:
88 void;
89 case const.NLMPROC4_CANCEL_MSG:
90 void;
91 case const.NLMPROC4_UNLOCK_MSG:
92 void;
93 case const.NLMPROC4_GRANTED_MSG:
94 void;
95 case const.NLMPROC4_TEST_RES:
96 void;
97 case const.NLMPROC4_LOCK_RES:
98 void;
99 case const.NLMPROC4_CANCEL_RES:
100 void;
101 case const.NLMPROC4_UNLOCK_RES:
102 void;
103 case const.NLMPROC4_GRANTED_RES:
104 void;
105 case const.NLMPROC4_SHARE:
106 SHARE4res opshare;
107 case const.NLMPROC4_UNSHARE:
108 UNSHARE4res opunshare;
109 case const.NLMPROC4_NM_LOCK:
110 NM_LOCK4res opnm_lock;
111 case const.NLMPROC4_FREE_ALL:
112 void;
113 };
114
115
116 Methods defined here:
117 ---------------------
118
119 __init__(self, unpack, procedure)
120
121 class fsh4_access(packet.utils.Enum)
122 enum fsh4_access
123
124
125 class fsh4_mode(packet.utils.Enum)
126 enum fsh4_mode
127
128
129 class nfs_bool(packet.utils.Enum)
130 enum nfs_bool
131
132
133 class nlm4_cancargs(baseobj.BaseObj)
134 struct nlm4_cancargs {
135 netobj cookie;
136 bool block;
137 bool exclusive;
138 nlm4_lock locker;
139 };
140
141
142 Methods defined here:
143 ---------------------
144
145 __init__(self, unpack)
146
147 class nlm4_holder(baseobj.BaseObj)
148 struct nlm4_holder {
149 bool exclusive;
150 int32 svid;
151 strobj oh;
152 uint64 offset;
153 uint64 length;
154 };
155
156
157 Methods defined here:
158 ---------------------
159
160 __init__(self, unpack)
161
162 class nlm4_lock(baseobj.BaseObj)
163 struct nlm4_lock {
164 string owner<LM_MAXSTRLEN>;
165 nlm_fh fh;
166 strobj oh;
167 int32 svid;
168 uint64 offset;
169 uint64 length;
170 };
171
172
173 Methods defined here:
174 ---------------------
175
176 __init__(self, unpack)
177
178 class nlm4_lockargs(baseobj.BaseObj)
179 struct nlm4_lockargs {
180 netobj cookie;
181 bool block;
182 bool exclusive;
183 nlm4_lock locker;
184 bool reclaim; /* used for recovering locks */
185 int state; /* specify local status monitor state */
186 };
187
188
189 Methods defined here:
190 ---------------------
191
192 __init__(self, unpack)
193
194 class nlm4_res(baseobj.BaseObj)
195 struct nlm4_res {
196 netobj cookie;
197 nlm4_stats status;
198 };
199
200
201 Methods defined here:
202 ---------------------
203
204 __init__(self, unpack)
205
206 class nlm4_share(baseobj.BaseObj)
207 struct nlm4_share {
208 string owner<LM_MAXSTRLEN>;
209 nlm_fh fh;
210 strobj oh;
211 fsh4_mode mode;
212 fsh4_access access;
213 };
214
215
216 Methods defined here:
217 ---------------------
218
219 __init__(self, unpack)
220
221 class nlm4_shareargs(baseobj.BaseObj)
222 struct nlm4_shareargs {
223 netobj cookie;
224 nlm4_share share;
225 bool reclaim;
226 };
227
228
229 Methods defined here:
230 ---------------------
231
232 __init__(self, unpack)
233
234 class nlm4_shareres(baseobj.BaseObj)
235 struct nlm4_shareres {
236 netobj cookie;
237 nlm4_stats status;
238 int sequence;
239 };
240
241
242 Methods defined here:
243 ---------------------
244
245 __init__(self, unpack)
246
247 class nlm4_stats(packet.utils.Enum)
248 enum nlm4_stats
249
250
251 class nlm4_testargs(baseobj.BaseObj)
252 struct nlm4_testargs {
253 netobj cookie;
254 bool exclusive;
255 nlm4_lock locker;
256 };
257
258
259 Methods defined here:
260 ---------------------
261
262 __init__(self, unpack)
263
264 class nlm4_testres(baseobj.BaseObj)
265 struct nlm4_testres {
266 netobj cookie;
267 nlm4_testrply stat;
268 };
269
270
271 Methods defined here:
272 ---------------------
273
274 __init__(self, unpack)
275
276 class nlm4_testrply(baseobj.BaseObj)
277 union switch nlm4_testrply (nlm4_stats status) {
278 case const.NLM4_DENIED:
279 nlm4_holder denied;
280 default:
281 void;
282 };
283
284
285 Methods defined here:
286 ---------------------
287
288 __init__(self, unpack)
289
290 class nlm4_unlockargs(baseobj.BaseObj)
291 struct nlm4_unlockargs {
292 netobj cookie;
293 nlm4_lock locker;
294 };
295
296
297 Methods defined here:
298 ---------------------
299
300 __init__(self, unpack)
301
302 class nlm_proc4(packet.utils.Enum)
303 enum nlm_proc4
304
305
307 netobj(unpack)
308 nlm_fh(unpack)
309 strobj(unpack)
311 baseobj(3), packet.unpack(3), packet.utils(3)
312
313
315 No known bugs.
316
318 Jorge Mora (mora@netapp.com)
319
320
321
322NFStest 2.1.5 14 February 2017 NLM4(3)