2 * Lustre 1.6 dissection (http://www.lustre.org/)
3 * Author: Laurent George <george@ocre.cea.fr>
4 * based on packet-agentx.c and packet-afs.c
5 * partially generated by Pidl
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1999 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33 #include <epan/packet.h>
35 #include <epan/dissectors/packet-windows-common.h>
36 #include <plugins/lnet/packet-lnet.h>
39 /* --------------------------------------------------------------------------------------- */
40 /* def and macro to know where we are the the lustre payload */
41 #define LUSTRE_MAGIC_OFFSET 8
42 #define LUSTRE_MSG_MAGIC_V1 0x0BD00BD0
43 #define LUSTRE_MSG_MAGIC_V2 0x0BD00BD3
45 #define LUSTRE_BUFCOUNT_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 0 : 60)
46 #define LUSTRE_BUFCOUNT ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) \
47 ? (tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF)) : ((tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF))) )
48 /* remark : BUFLENOFF don't have the same meaning if it's for v1 or v2
49 * v1 : LUSTRE_BUFLEN_OFF = offset buflen[0] - 4 bytes.
50 * v2 : LUSTRE_BUFLEN_OFF = offset buflen[0]
52 #define LUSTRE_BUFLEN_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 32 : 60)
54 #define LUSTRE_REQ_REC_OFF 1 /* normal request record offset */
55 #define LUSTRE_REPLY_REC_OFF 1 /* normal reply record offset */
57 #define LUSTRE_DLM_INTENT_IT_OFF 2 /* intent lock it offset */
58 #define LUSTRE_DLM_INTENT_REC_OFF 3 /* intent lock record offset */
59 #define LUSTRE_DLM_LOCKREPLY_OFF 1 /* lockrep offset */
60 #define LUSTRE_DLM_REPLY_REC_OFF 2 /* reply record offset */
61 /* --------------------------------------------------------------------------------------- */
64 #define LUSTRE_PTLRPC_MSG_VERSION 0x00000003
65 #define LUSTRE_VERSION_MASK 0xffff0000
66 #define LUSTRE_OBD_VERSION 0x00010000
67 #define LUSTRE_MDS_VERSION 0x00020000
68 #define LUSTRE_OST_VERSION 0x00030000
69 #define LUSTRE_DLM_VERSION 0x00040000
70 #define LUSTRE_LOG_VERSION 0x00050000
71 #define LUSTRE_MGS_VERSION 0x00060000
75 #define LOV_MAGIC_V1 0x0BD10BD0
76 #define LOV_MAGIC LOV_MAGIC_V1
77 #define LOV_MAGIC_JOIN_V1 0x0BD20BD0
80 OST_REPLY = 0, /* reply ? */
94 /* OST_SAN_READ = 14, deprecated */
95 /* OST_SAN_WRITE = 15, deprecated */
100 OST_QUOTA_ADJUST_QUNIT = 20,
111 #define OBD_FIRST_OPC OBD_PING
115 MDS_GETATTR_NAME = 34,
126 MDS_DONE_WRITING = 45,
138 #define IT_OPEN 0x0001
139 #define IT_CREAT 0x0002
140 #define IT_READDIR 0x0004
141 #define IT_GETATTR 0x0008
142 #define IT_LOOKUP 0x0010
143 #define IT_UNLINK 0x0020
144 #define IT_GETXATTR 0x0040
145 #define IT_EXEC 0x0080
146 #define IT_PIN 0x0100
150 #define MDS_FIRST_OPC MDS_GETATTR
151 #define LDLM_FIRST_OPC LDLM_ENQUEUE
170 LDLM_BL_CALLBACK = 104,
171 LDLM_CP_CALLBACK = 105,
172 LDLM_GL_CALLBACK = 106,
175 #define LDLM_FIRST_OPC LDLM_ENQUEUE
177 #define LDLM_FL_LOCK_CHANGED 0x000001
178 #define LDLM_FL_BLOCK_GRANTED 0x000002
179 #define LDLM_FL_BLOCK_CONV 0x000004
180 #define LDLM_FL_BLOCK_WAIT 0x000008
181 #define LDLM_FL_CBPENDING 0x000010
182 #define LDLM_FL_AST_SENT 0x000020
183 #define LDLM_FL_WAIT_NOREPROC 0x000040
184 #define LDLM_FL_CANCEL 0x000080
185 #define LDLM_FL_REPLAY 0x000100
186 #define LDLM_FL_INTENT_ONLY 0x000200
187 #define LDLM_FL_LOCAL_ONLY 0x000400
188 #define LDLM_FL_FAILED 0x000800
189 #define LDLM_FL_HAS_INTENT 0x001000
190 #define LDLM_FL_CANCELING 0x002000
191 #define LDLM_FL_LOCAL 0x004000
192 #define LDLM_FL_WARN 0x008000
193 #define LDLM_FL_DISCARD_DATA 0x010000
194 #define LDLM_FL_NO_TIMEOUT 0x020000
195 #define LDLM_FL_BLOCK_NOWAIT 0x040000
196 #define LDLM_FL_TEST_LOCK 0x080000
197 #define LDLM_FL_LVB_READY 0x100000
198 #define LDLM_FL_KMS_IGNORE 0x200000
199 #define LDLM_FL_NO_LRU 0x400000
200 #define LDLM_FL_CANCEL_ON_BLOCK 0x800000
201 #define LDLM_FL_CP_REQD 0x1000000
202 #define LDLM_FL_CLEANED 0x2000000
203 #define LDLM_FL_ATOMIC_CB 0x4000000
204 #define LDLM_FL_BL_AST 0x10000000
205 #define LDLM_FL_BL_DONE 0x20000000
206 #define LDLM_FL_DENY_ON_CONTENTION 0x40000000
207 #define LDLM_AST_DISCARD_DATA 0x80000000
211 #define LDLM_ENQUEUE (101)
212 #define LDLM_CONVERT (102)
213 #define LDLM_CANCEL (103)
214 #define LDLM_BL_CALLBACK (104)
215 #define LDLM_CP_CALLBACK (105)
216 #define LDLM_GL_CALLBACK (106)
217 #define LCK_MINMODE (0)
224 #define LCK_GROUP (64)
225 #define LDLM_PLAIN (10)
226 #define LDLM_EXTENT (11)
227 #define LDLM_FLOCK (12)
228 #define LDLM_IBITS (13)
229 //#define MGS_CONNECT (250)
230 #define OBD_PING (400)
233 * Opcodes for mountconf (mgs and mgc)
238 MGS_EXCEPTION, /* node died, etc. */
239 MGS_TARGET_REG, /* whenever target starts up */
244 #define MGS_FIRST_OPC MGS_CONNECT
248 LLOG_ORIGIN_HANDLE_CREATE = 501,
249 LLOG_ORIGIN_HANDLE_NEXT_BLOCK = 502,
250 LLOG_ORIGIN_HANDLE_READ_HEADER = 503,
251 LLOG_ORIGIN_HANDLE_WRITE_REC = 504,
252 LLOG_ORIGIN_HANDLE_CLOSE = 505,
253 LLOG_ORIGIN_CONNECT = 506,
254 LLOG_CATINFO = 507, /* for lfs catinfo */
255 LLOG_ORIGIN_HANDLE_PREV_BLOCK = 508,
256 LLOG_ORIGIN_HANDLE_DESTROY = 509, /* for destroy llog object*/
260 #define LLOG_FIRST_OPC LLOG_ORIGIN_HANDLE_CREATE
261 /*flag for the LLOG*/
262 #define LLOG_OP_MAGIC 0x10600000
263 #define LLOG_OP_MASK 0xfff00000
266 LLOG_PAD_MAGIC = LLOG_OP_MAGIC | 0x00000,
267 OST_SZ_REC = LLOG_OP_MAGIC | 0x00f00,
268 OST_RAID1_REC = LLOG_OP_MAGIC | 0x01000,
269 MDS_UNLINK_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_UNLINK,
270 MDS_SETATTR_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_SETATTR,
271 OBD_CFG_REC = LLOG_OP_MAGIC | 0x20000,
272 PTL_CFG_REC = LLOG_OP_MAGIC | 0x30000, /* obsolete */
273 LLOG_GEN_REC = LLOG_OP_MAGIC | 0x40000,
274 LLOG_JOIN_REC = LLOG_OP_MAGIC | 0x50000, /* obsolete */
275 LLOG_HDR_MAGIC = LLOG_OP_MAGIC | 0x45539,
276 LLOG_LOGID_MAGIC = LLOG_OP_MAGIC | 0x4553b,
280 /*defined in lustre/include/lustre/lustre_idl.h*/
281 #define LLOG_F_ZAP_WHEN_EMPTY 0x1
282 #define LLOG_F_IS_CAT 0x2
283 #define LLOG_F_IS_PLAIN 0x4
285 #define PTL_RPC_MSG_REQUEST 4711
286 #define PTL_RPC_MSG_ERR 4712
287 #define PTL_RPC_MSG_REPLY 4713
290 /* Ett declarations */
291 static gint ett_lustre_llog_log_llh_flags = -1 ;
292 static gint ett_lustre = -1;
293 static gint ett_lustre_lustre_handle_cookie = -1;
294 static gint ett_lustre_lustre_msg_v1 = -1;
295 static gint ett_lustre_lustre_handle_v1 = -1;
296 static gint ett_lustre_lustre_msg_v2 = -1;
297 static gint ett_lustre_ptlrpc_body = -1;
298 static gint ett_lustre_lustre_handle_v2 = -1;
299 static gint ett_lustre_obd_connect_data = -1;
300 static gint ett_lustre_lov_mds_md_v1 = -1;
301 static gint ett_lustre_lov_ost_data_v1 = -1;
302 static gint ett_lustre_obd_statfs = -1;
303 static gint ett_lustre_obd_ioobj = -1;
304 static gint ett_lustre_niobuf_remote = -1;
305 static gint ett_lustre_ost_lvb = -1;
306 static gint ett_lustre_ll_fid = -1;
307 static gint ett_lustre_mdt_body = -1;
308 static gint ett_lustre_mdt_rec_setattr = -1;
309 static gint ett_lustre_mdt_rec_create = -1;
310 static gint ett_lustre_mdt_rec_link = -1;
311 static gint ett_lustre_mdt_rec_unlink = -1;
312 static gint ett_lustre_mdt_rec_rename = -1;
313 static gint ett_lustre_mdt_rec_setxattr = -1;
314 static gint ett_lustre_obd_quotactl = -1;
315 static gint ett_lustre_obd_dqinfo = -1;
316 static gint ett_lustre_obd_dqblk = -1;
317 static gint ett_lustre_quota_adjust_qunit = -1;
318 static gint ett_lustre_lov_desc = -1;
319 static gint ett_lustre_obd_uuid = -1;
320 static gint ett_lustre_ldlm_res_id = -1;
321 static gint ett_lustre_ldlm_extent = -1;
322 static gint ett_lustre_ldlm_inodebits = -1;
323 static gint ett_lustre_ldlm_flock = -1;
324 static gint ett_lustre_ldlm_intent_opc = -1;
325 static gint ett_lustre_ldlm_resource_desc = -1;
326 static gint ett_lustre_ldlm_lock_desc = -1;
327 static gint ett_lustre_ldlm_request = -1;
328 static gint ett_lustre_lustre_handle = -1;
329 static gint ett_lustre_ldlm_reply = -1;
330 static gint ett_lustre_mgs_send_param = -1;
331 static gint ett_lustre_mgs_target_info = -1;
332 static gint ett_lustre_cfg_marker = -1;
333 static gint ett_lustre_llog_catid = -1;
334 static gint ett_lustre_llog_rec_hdr = -1;
335 static gint ett_lustre_llog_logid_rec = -1;
336 static gint ett_lustre_llog_logid = -1;
337 static gint ett_lustre_llog_rec_tail = -1;
338 static gint ett_lustre_lov_mds_md = -1;
339 static gint ett_lustre_llog_create_rec = -1;
340 static gint ett_lustre_llog_orphan_rec = -1;
341 static gint ett_lustre_llog_unlink_rec = -1;
342 static gint ett_lustre_llog_setattr_rec = -1;
343 static gint ett_lustre_llog_size_change_rec = -1;
344 static gint ett_lustre_llog_gen_rec = -1;
345 static gint ett_lustre_llog_log_hdr = -1;
346 static gint ett_lustre_llog_cookie = -1;
347 static gint ett_lustre_llogd_body = -1;
348 static gint ett_lustre_llogd_conn_body = -1;
349 static gint ett_lustre_llog_gen = -1;
350 static gint ett_lustre_obdo = -1;
351 static gint ett_lustre_ost_body = -1;
352 static gint ett_lustre_qunit_data = -1;
353 static gint ett_lustre_qunit_data_old2 = -1;
354 static gint ett_lustre_qunit_data_old = -1;
355 static gint ett_lustre_ldlm_lock_flags = -1 ;
357 /* -----------------------------------------------*/
358 /* Header field declarations */
359 static int hf_lustre_ptlrpc_body_pb = -1 ;
360 static int hf_lustre_ost_body = -1 ;
361 static int hf_lustre_obd_statfs = -1 ;
362 static int hf_lustre_obd_quotactl = -1 ;
363 static int hf_lustre_quota_adjust_qunit = -1 ;
364 static int hf_lustre_extra_padding = -1 ;
365 static int hf_lustre_ldlm_reply = -1 ;
366 static int hf_lustre_ldlm_request = -1 ;
367 static int hf_lustre_obd_uuid = -1 ;
368 static int hf_lustre_obd_connect_data = -1 ;
369 static int hf_lustre_ldlm_intent = -1;
370 static int hf_lustre_obd_ioobj = -1 ;
371 static int hf_lustre_niobuf_remote = -1 ;
372 static int hf_lustre_ost_key = -1 ;
373 static int hf_lustre_nio= -1 ;
374 static int hf_lustre_ost_val= -1;
375 static int hf_lustre_llogd_body = -1;
376 static int hf_lustre_llogd_log_hdr= -1;
377 static int hf_lustre_llog_logid_rec =-1 ;
378 static int hf_lustre_llogd_chunk= -1;
379 static int hf_lustre_llogd_keyword= -1;
380 static int hf_lustre_llogd_client= -1;
381 static int hf_lustre_llogd_name= -1;
383 static int hf_lustre_mds_xattr_name = -1;
384 static int hf_lustre_lov_mds_md_v1= -1;
385 static int hf_lustre_llog_cookie= -1;
386 static int hf_lustre_mds_md_data= -1;
387 static int hf_lustre_mds_reint_opcode= -1;
388 static int hf_lustre_mds_xattr_eadata = -1;
390 static int hf_lustre_reint_name= -1;
391 static int hf_lustre_reint_old_name= -1;
392 static int hf_lustre_reint_new_name= -1;
394 static int hf_lustre_mgs_target_info = -1 ;
395 static int hf_lustre_mgs_send_param = -1;
397 static int hf_lustre_ost_lvb = -1 ;
399 static int hf_lustre_ldlm_fl_lock_changed = -1;
400 static int hf_lustre_ldlm_fl_block_granted = -1;
401 static int hf_lustre_ldlm_fl_block_conv = -1;
402 static int hf_lustre_ldlm_fl_block_wait = -1;
403 static int hf_lustre_ldlm_fl_cbpending = -1;
404 static int hf_lustre_ldlm_fl_ast_sent = -1;
405 static int hf_lustre_ldlm_fl_wait_noreproc = -1;
406 static int hf_lustre_ldlm_fl_cancel = -1;
407 static int hf_lustre_ldlm_fl_replay = -1;
408 static int hf_lustre_ldlm_fl_intent_only = -1;
409 static int hf_lustre_ldlm_fl_local_only = -1;
410 static int hf_lustre_ldlm_fl_failed = -1;
411 static int hf_lustre_ldlm_fl_has_intent = -1;
412 static int hf_lustre_ldlm_fl_canceling = -1;
413 static int hf_lustre_ldlm_fl_local = -1;
414 static int hf_lustre_ldlm_fl_warn = -1;
415 static int hf_lustre_ldlm_fl_discard_data = -1;
416 static int hf_lustre_ldlm_fl_no_timeout = -1;
417 static int hf_lustre_ldlm_fl_block_nowait = -1;
418 static int hf_lustre_ldlm_fl_test_lock = -1;
419 static int hf_lustre_ldlm_fl_lvb_ready = -1;
420 static int hf_lustre_ldlm_fl_kms_ignore = -1;
421 static int hf_lustre_ldlm_fl_no_lru = -1;
422 static int hf_lustre_ldlm_fl_cancel_on_block = -1;
423 static int hf_lustre_ldlm_fl_cp_reqd = -1;
424 static int hf_lustre_ldlm_fl_cleaned = -1;
425 static int hf_lustre_ldlm_fl_atomic_cb = -1;
426 static int hf_lustre_ldlm_fl_bl_ast = -1;
427 static int hf_lustre_ldlm_fl_bl_done = -1;
428 static int hf_lustre_ldlm_fl_deny_on_contention = -1;
429 static int hf_lustre_ldlm_ast_discard_data = -1;
431 static int hf_lustre_mdt_body = -1 ;
432 static int hf_lustre_mdt_body_fid1 = -1;
433 static int hf_lustre_mdt_body_fid2 = -1;
434 static int hf_lustre_mdt_body_handle = -1;
435 static int hf_lustre_mdt_body_valid = -1;
436 static int hf_lustre_mdt_body_size = -1;
437 static int hf_lustre_mdt_body_mtime = -1;
438 static int hf_lustre_mdt_body_atime = -1;
439 static int hf_lustre_mdt_body_ctime = -1;
440 static int hf_lustre_mdt_body_blocks = -1;
441 static int hf_lustre_mdt_body_ioepoch = -1;
442 static int hf_lustre_mdt_body_ino = -1;
443 static int hf_lustre_mdt_body_fsuid = -1;
444 static int hf_lustre_mdt_body_fsgid = -1;
445 static int hf_lustre_mdt_body_capability = -1;
446 static int hf_lustre_mdt_body_mode = -1;
447 static int hf_lustre_mdt_body_uid = -1;
448 static int hf_lustre_mdt_body_gid = -1;
449 static int hf_lustre_mdt_body_flags = -1;
450 static int hf_lustre_mdt_body_rdev = -1;
451 static int hf_lustre_mdt_body_nlink = -1;
452 static int hf_lustre_mdt_body_generation = -1;
453 static int hf_lustre_mdt_body_suppgid = -1;
454 static int hf_lustre_mdt_body_eadatasize = -1;
455 static int hf_lustre_mdt_body_aclsize = -1;
456 static int hf_lustre_mdt_body_max_mdsize = -1;
457 static int hf_lustre_mdt_body_max_cookiesize = -1;
458 static int hf_lustre_mdt_body_uid_h = -1;
459 static int hf_lustre_mdt_body_gid_h = -1;
460 static int hf_lustre_mdt_body_padding_5 = -1;
461 static int hf_lustre_mdt_body_padding_6 = -1;
462 static int hf_lustre_mdt_body_padding_7 = -1;
463 static int hf_lustre_mdt_body_padding_8 = -1;
464 static int hf_lustre_mdt_body_padding_9 = -1;
465 static int hf_lustre_mdt_body_padding_10 = -1;
467 static int hf_lustre_mdt_rec_setattr = -1 ;
468 static int hf_lustre_mdt_rec_setattr_sa_opcode = -1;
469 static int hf_lustre_mdt_rec_setattr_sa_cap = -1;
470 static int hf_lustre_mdt_rec_setattr_sa_fsuid = -1;
471 static int hf_lustre_mdt_rec_setattr_sa_fsuid_h = -1;
472 static int hf_lustre_mdt_rec_setattr_sa_fsgid = -1;
473 static int hf_lustre_mdt_rec_setattr_sa_fsgid_h = -1;
474 static int hf_lustre_mdt_rec_setattr_sa_suppgid = -1;
475 static int hf_lustre_mdt_rec_setattr_sa_suppgid_h = -1;
476 static int hf_lustre_mdt_rec_setattr_sa_padding_1 = -1;
477 static int hf_lustre_mdt_rec_setattr_sa_padding_1_h = -1;
478 static int hf_lustre_mdt_rec_setattr_sa_fid = -1;
479 static int hf_lustre_mdt_rec_setattr_sa_valid = -1;
480 static int hf_lustre_mdt_rec_setattr_sa_uid = -1;
481 static int hf_lustre_mdt_rec_setattr_sa_gid = -1;
482 static int hf_lustre_mdt_rec_setattr_sa_size = -1;
483 static int hf_lustre_mdt_rec_setattr_sa_blocks = -1;
484 static int hf_lustre_mdt_rec_setattr_sa_mtime = -1;
485 static int hf_lustre_mdt_rec_setattr_sa_atime = -1;
486 static int hf_lustre_mdt_rec_setattr_sa_ctime = -1;
487 static int hf_lustre_mdt_rec_setattr_sa_attr_flags = -1;
488 static int hf_lustre_mdt_rec_setattr_sa_mode = -1;
489 static int hf_lustre_mdt_rec_setattr_sa_padding_2 = -1;
490 static int hf_lustre_mdt_rec_setattr_sa_padding_3 = -1;
491 static int hf_lustre_mdt_rec_setattr_sa_padding_4 = -1;
492 static int hf_lustre_mdt_rec_setattr_sa_padding_5 = -1;
494 static int hf_lustre_mdt_rec_create = -1 ;
495 static int hf_lustre_mdt_rec_create_cr_opcode = -1;
496 static int hf_lustre_mdt_rec_create_cr_cap = -1;
497 static int hf_lustre_mdt_rec_create_cr_fsuid = -1;
498 static int hf_lustre_mdt_rec_create_cr_fsuid_h = -1;
499 static int hf_lustre_mdt_rec_create_cr_fsgid = -1;
500 static int hf_lustre_mdt_rec_create_cr_fsgid_h = -1;
501 static int hf_lustre_mdt_rec_create_cr_suppgid1 = -1;
502 static int hf_lustre_mdt_rec_create_cr_suppgid1_h = -1;
503 static int hf_lustre_mdt_rec_create_cr_suppgid2 = -1;
504 static int hf_lustre_mdt_rec_create_cr_suppgid2_h = -1;
505 static int hf_lustre_mdt_rec_create_cr_fid1 = -1;
506 static int hf_lustre_mdt_rec_create_cr_fid2 = -1;
507 static int hf_lustre_mdt_rec_create_cr_old_handle = -1;
508 static int hf_lustre_mdt_rec_create_cr_time = -1;
509 static int hf_lustre_mdt_rec_create_cr_rdev = -1;
510 static int hf_lustre_mdt_rec_create_cr_cr_ioepoch = -1;
511 static int hf_lustre_mdt_rec_create_cr_padding_1 = -1;
512 static int hf_lustre_mdt_rec_create_cr_mode = -1;
513 static int hf_lustre_mdt_rec_create_cr_bias = -1;
514 static int hf_lustre_mdt_rec_create_cr_flags_l = -1;
515 static int hf_lustre_mdt_rec_create_cr_flags_h = -1;
516 static int hf_lustre_mdt_rec_create_cr_padding_3 = -1;
517 static int hf_lustre_mdt_rec_create_cr_padding_4 = -1;
519 static int hf_lustre_mdt_rec_link = -1 ;
520 static int hf_lustre_mdt_rec_link_lk_opcode = -1;
521 static int hf_lustre_mdt_rec_link_lk_cap = -1;
522 static int hf_lustre_mdt_rec_link_lk_fsuid = -1;
523 static int hf_lustre_mdt_rec_link_lk_fsuid_h = -1;
524 static int hf_lustre_mdt_rec_link_lk_fsgid = -1;
525 static int hf_lustre_mdt_rec_link_lk_fsgid_h = -1;
526 static int hf_lustre_mdt_rec_link_lk_suppgid1 = -1;
527 static int hf_lustre_mdt_rec_link_lk_suppgid1_h = -1;
528 static int hf_lustre_mdt_rec_link_lk_suppgid2 = -1;
529 static int hf_lustre_mdt_rec_link_lk_suppgid2_h = -1;
530 static int hf_lustre_mdt_rec_link_lk_fid1 = -1;
531 static int hf_lustre_mdt_rec_link_lk_fid2 = -1;
532 static int hf_lustre_mdt_rec_link_lk_time = -1;
533 static int hf_lustre_mdt_rec_link_lk_padding_1 = -1;
534 static int hf_lustre_mdt_rec_link_lk_padding_2 = -1;
535 static int hf_lustre_mdt_rec_link_lk_padding_3 = -1;
536 static int hf_lustre_mdt_rec_link_lk_padding_4 = -1;
537 static int hf_lustre_mdt_rec_link_lk_bias = -1;
538 static int hf_lustre_mdt_rec_link_lk_padding_5 = -1;
539 static int hf_lustre_mdt_rec_link_lk_padding_6 = -1;
540 static int hf_lustre_mdt_rec_link_lk_padding_7 = -1;
541 static int hf_lustre_mdt_rec_link_lk_padding_8 = -1;
542 static int hf_lustre_mdt_rec_link_lk_padding_9 = -1;
544 static int hf_lustre_mdt_rec_unlink = -1 ;
545 static int hf_lustre_mdt_rec_unlink_ul_opcode = -1;
546 static int hf_lustre_mdt_rec_unlink_ul_cap = -1;
547 static int hf_lustre_mdt_rec_unlink_ul_fsuid = -1;
548 static int hf_lustre_mdt_rec_unlink_ul_fsuid_h = -1;
549 static int hf_lustre_mdt_rec_unlink_ul_fsgid = -1;
550 static int hf_lustre_mdt_rec_unlink_ul_fsgid_h = -1;
551 static int hf_lustre_mdt_rec_unlink_ul_suppgid1 = -1;
552 static int hf_lustre_mdt_rec_unlink_ul_suppgid1_h = -1;
553 static int hf_lustre_mdt_rec_unlink_ul_suppgid2 = -1;
554 static int hf_lustre_mdt_rec_unlink_ul_suppgid2_h = -1;
555 static int hf_lustre_mdt_rec_unlink_ul_fid1 = -1;
556 static int hf_lustre_mdt_rec_unlink_ul_fid2 = -1;
557 static int hf_lustre_mdt_rec_unlink_ul_time = -1;
558 static int hf_lustre_mdt_rec_unlink_ul_padding_2 = -1;
559 static int hf_lustre_mdt_rec_unlink_ul_padding_3 = -1;
560 static int hf_lustre_mdt_rec_unlink_ul_padding_4 = -1;
561 static int hf_lustre_mdt_rec_unlink_ul_padding_5 = -1;
562 static int hf_lustre_mdt_rec_unlink_ul_bias = -1;
563 static int hf_lustre_mdt_rec_unlink_ul_mode = -1;
564 static int hf_lustre_mdt_rec_unlink_ul_padding_6 = -1;
565 static int hf_lustre_mdt_rec_unlink_ul_padding_7 = -1;
566 static int hf_lustre_mdt_rec_unlink_ul_padding_8 = -1;
567 static int hf_lustre_mdt_rec_unlink_ul_padding_9 = -1;
569 static int hf_lustre_mdt_rec_rename = -1 ;
570 static int hf_lustre_mdt_rec_rename_rn_opcode = -1;
571 static int hf_lustre_mdt_rec_rename_rn_cap = -1;
572 static int hf_lustre_mdt_rec_rename_rn_fsuid = -1;
573 static int hf_lustre_mdt_rec_rename_rn_fsuid_h = -1;
574 static int hf_lustre_mdt_rec_rename_rn_fsgid = -1;
575 static int hf_lustre_mdt_rec_rename_rn_fsgid_h = -1;
576 static int hf_lustre_mdt_rec_rename_rn_suppgid1 = -1;
577 static int hf_lustre_mdt_rec_rename_rn_suppgid1_h = -1;
578 static int hf_lustre_mdt_rec_rename_rn_suppgid2 = -1;
579 static int hf_lustre_mdt_rec_rename_rn_suppgid2_h = -1;
580 static int hf_lustre_mdt_rec_rename_rn_fid1 = -1;
581 static int hf_lustre_mdt_rec_rename_rn_fid2 = -1;
582 static int hf_lustre_mdt_rec_rename_rn_time = -1;
583 static int hf_lustre_mdt_rec_rename_rn_padding_1 = -1;
584 static int hf_lustre_mdt_rec_rename_rn_padding_2 = -1;
585 static int hf_lustre_mdt_rec_rename_rn_padding_3 = -1;
586 static int hf_lustre_mdt_rec_rename_rn_padding_4 = -1;
587 static int hf_lustre_mdt_rec_rename_rn_bias = -1;
588 static int hf_lustre_mdt_rec_rename_rn_mode = -1;
589 static int hf_lustre_mdt_rec_rename_rn_padding_5 = -1;
590 static int hf_lustre_mdt_rec_rename_rn_padding_6 = -1;
591 static int hf_lustre_mdt_rec_rename_rn_padding_7 = -1;
592 static int hf_lustre_mdt_rec_rename_rn_padding_8 = -1;
594 static int hf_lustre_mdt_rec_setxattr = -1 ;
595 static int hf_lustre_mdt_rec_setxattr_sx_opcode = -1;
596 static int hf_lustre_mdt_rec_setxattr_sx_cap = -1;
597 static int hf_lustre_mdt_rec_setxattr_sx_fsuid = -1;
598 static int hf_lustre_mdt_rec_setxattr_sx_fsuid_h = -1;
599 static int hf_lustre_mdt_rec_setxattr_sx_fsgid = -1;
600 static int hf_lustre_mdt_rec_setxattr_sx_fsgid_h = -1;
601 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1 = -1;
602 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1_h = -1;
603 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2 = -1;
604 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2_h = -1;
605 static int hf_lustre_mdt_rec_setxattr_sx_fid = -1;
606 static int hf_lustre_mdt_rec_setxattr_sx_padding_1 = -1;
607 static int hf_lustre_mdt_rec_setxattr_sx_padding_2 = -1;
608 static int hf_lustre_mdt_rec_setxattr_sx_padding_3 = -1;
609 static int hf_lustre_mdt_rec_setxattr_sx_valid = -1;
610 static int hf_lustre_mdt_rec_setxattr_sx_time = -1;
611 static int hf_lustre_mdt_rec_setxattr_sx_padding_5 = -1;
612 static int hf_lustre_mdt_rec_setxattr_sx_padding_6 = -1;
613 static int hf_lustre_mdt_rec_setxattr_sx_padding_7 = -1;
614 static int hf_lustre_mdt_rec_setxattr_sx_size = -1;
615 static int hf_lustre_mdt_rec_setxattr_sx_flags = -1;
616 static int hf_lustre_mdt_rec_setxattr_sx_padding_8 = -1;
617 static int hf_lustre_mdt_rec_setxattr_sx_padding_9 = -1;
618 static int hf_lustre_mdt_rec_setxattr_sx_padding_10 = -1;
619 static int hf_lustre_mdt_rec_setxattr_sx_padding_11 = -1;
621 static int hf_lustre_lustre_handle_cookie = -1;
622 static int hf_lustre_ptlrpc_body_pb_last_committed = -1;
623 static int hf_lustre_ptlrpc_body_pb_version = -1;
624 static int hf_lustre_lustre_msg_v1_lm_bufcount = -1;
625 static int hf_lustre_obd_ioobj_ioo_id = -1;
626 static int hf_lustre_ptlrpc_body_pb_slv = -1;
627 static int hf_lustre_lustre_msg_v1_lm_handle = -1;
628 static int hf_lustre_ost_lvb_lvb_atime = -1;
629 static int hf_lustre_ptlrpc_body_pb_timeout = -1;
630 static int hf_lustre_obd_statfs_os_bavail = -1;
631 static int hf_lustre_obd_statfs_os_bsize = -1;
632 static int hf_lustre_lustre_msg_v2_lm_repsize = -1;
633 static int hf_lustre_lov_mds_md_v1_lmm_stripe_size = -1;
634 static int hf_lustre_lustre_msg_v1_lm_last_xid = -1;
635 static int hf_lustre_ll_fid_f_type = -1;
636 static int hf_lustre_lustre_msg_v2_lm_cksum = -1;
637 static int hf_lustre_lustre_msg_v2_lm_buflens = -1;
638 static int hf_lustre_lustre_msg_v1_lm_status = -1;
639 static int hf_lustre_lustre_msg_v1_lm_type = -1;
640 static int hf_lustre_niobuf_remote_len = -1;
641 static int hf_lustre_lov_mds_md_v1_lmm_magic = -1;
642 static int hf_lustre_ptlrpc_body_pb_op_flags = -1;
643 static int hf_lustre_ost_lvb_lvb_ctime = -1;
644 static int hf_lustre_ptlrpc_body_pb_type = -1;
645 static int hf_lustre_obd_connect_data_ocd_nllg = -1;
646 static int hf_lustre_obd_connect_data_ocd_nllu = -1;
647 static int hf_lustre_ll_fid_generation = -1;
648 static int hf_lustre_ost_lvb_lvb_mtime = -1;
649 static int hf_lustre_obd_connect_data_ocd_ibits_known = -1;
650 static int hf_lustre_lustre_msg_v2_lm_padding_3 = -1;
651 static int hf_lustre_ptlrpc_body_pb_flags = -1;
652 static int hf_lustre_obd_statfs_os_spare4 = -1;
653 static int hf_lustre_obd_connect_data_ocd_group = -1;
654 static int hf_lustre_lov_ost_data_v1_l_object_seq = -1;
655 static int hf_lustre_lov_mds_md_v1_lmm_object_seq = -1;
656 static int hf_lustre_obd_connect_data_ocd_brw_size = -1;
657 static int hf_lustre_ptlrpc_body_pb_limit = -1;
658 static int hf_lustre_obd_statfs_os_maxbytes = -1;
659 static int hf_lustre_obd_statfs_os_spare5 = -1;
660 static int hf_lustre_lustre_msg_v2_lm_flags = -1;
661 static int hf_lustre_obd_statfs_os_ffree = -1;
662 static int hf_lustre_obd_statfs_os_files = -1;
663 static int hf_lustre_lov_mds_md_v1_lmm_stripe_count = -1;
664 static int hf_lustre_lustre_msg_v1_lm_flags = -1;
665 static int hf_lustre_lustre_msg_v1_lm_last_committed = -1;
666 static int hf_lustre_obd_statfs_os_spare9 = -1;
667 static int hf_lustre_obd_connect_data_ocd_index = -1;
668 static int hf_lustre_opnum = -1;
669 static int hf_lustre_lustre_msg_v1_lm_buflens = -1;
670 static int hf_lustre_obd_statfs_os_spare1 = -1;
671 static int hf_lustre_obd_statfs_os_spare8 = -1;
672 static int hf_lustre_lustre_msg_v1_lm_conn_cnt = -1;
673 static int hf_lustre_ptlrpc_body_pb_transno = -1;
674 static int hf_lustre_ptlrpc_body_pb_service_time = -1;
675 static int hf_lustre_ptlrpc_body_pb_conn_cnt = -1;
676 static int hf_lustre_ptlrpc_body_pb_opc = -1;
677 static int hf_lustre_obd_connect_data_ocd_connect_flags = -1;
678 static int hf_lustre_lov_ost_data_v1_l_object_id = -1;
679 static int hf_lustre_lov_ost_data_v1_l_ost_gen = -1;
680 static int hf_lustre_obd_statfs_os_bfree = -1;
681 static int hf_lustre_obd_connect_data_ocd_version = -1;
682 static int hf_lustre_lov_mds_md_v1_lmm_objects = -1;
683 static int hf_lustre_obd_statfs_os_namelen = -1;
684 static int hf_lustre_obd_statfs_os_blocks = -1;
685 static int hf_lustre_lustre_msg_v2_lm_secflvr = -1;
686 static int hf_lustre_lustre_msg_v1_lm_transno = -1;
687 static int hf_lustre_lov_mds_md_v1_lmm_pattern = -1;
688 static int hf_lustre_lustre_msg_v1_lm_opc = -1;
689 static int hf_lustre_obd_connect_data_ocd_grant = -1;
690 static int hf_lustre_obd_ioobj_ioo_bufcnt = -1;
691 static int hf_lustre_lustre_msg_v1_lm_version = -1;
692 static int hf_lustre_obd_statfs_os_spare7 = -1;
693 static int hf_lustre_obd_statfs_os_fsid = -1;
694 static int hf_lustre_obd_connect_data_ocd_cksum_types = -1;
695 static int hf_lustre_ost_lvb_lvb_size = -1;
696 static int hf_lustre_obd_statfs_os_type = -1;
697 static int hf_lustre_obd_statfs_os_spare6 = -1;
698 static int hf_lustre_obd_statfs_os_state = -1;
699 static int hf_lustre_obd_statfs_os_spare3 = -1;
700 static int hf_lustre_lustre_msg_v2_lm_magic = -1;
701 static int hf_lustre_lov_mds_md_v1_lmm_object_id = -1;
702 static int hf_lustre_ptlrpc_body_pb_last_seen = -1;
703 static int hf_lustre_obd_ioobj_ioo_type = -1;
704 static int hf_lustre_ptlrpc_body_pb_last_xid = -1;
705 static int hf_lustre_ptlrpc_body_pb_status = -1;
706 static int hf_lustre_niobuf_remote_flags = -1;
707 static int hf_lustre_ll_fid_id = -1;
708 static int hf_lustre_ost_lvb_lvb_blocks = -1;
709 static int hf_lustre_lustre_msg_v2_lm_padding_2 = -1;
710 static int hf_lustre_obd_connect_data_padding1 = -1;
711 static int hf_lustre_lov_ost_data_v1_l_ost_idx = -1;
712 static int hf_lustre_obd_connect_data_padding2 = -1;
713 static int hf_lustre_obd_ioobj_ioo_seq = -1;
714 static int hf_lustre_niobuf_remote_offset=-1;
715 static int hf_lustre_obd_statfs_os_spare2 = -1;
716 static int hf_lustre_lustre_msg_v2_lm_bufcount = -1;
717 static int hf_lustre_ptlrpc_body_pb_handle = -1;
718 static int hf_lustre_obd_connect_data_ocd_transno = -1;
719 static int hf_lustre_lustre_msg_v1_lm_magic = -1;
720 static int hf_lustre_llog_unlink_rec_lur_tail = -1;
721 static int hf_lustre_llog_size_change_rec_lsc_io_epoch = -1;
722 static int hf_lustre_mgs_target_info_mti_flags = -1;
723 static int hf_lustre_ldlm_reply_lock_policy_res1 = -1;
724 static int hf_lustre_llogd_body_lgd_len = -1;
725 static int hf_lustre_qunit_data_old_qd_id = -1;
726 static int hf_lustre_llog_logid_rec_padding1 = -1;
727 static int hf_lustre_quota_adjust_qunit_padding1 = -1;
728 static int hf_lustre_llog_size_change_rec_lsc_fid = -1;
729 static int hf_lustre_llog_rec_hdr_padding = -1;
730 static int hf_lustre_obdo_o_nlink = -1;
731 static int hf_lustre_ldlm_extent_gid = -1;
732 static int hf_lustre_obdo_o_uid = -1;
733 static int hf_lustre_obdo_o_valid = -1;
734 static int hf_lustre_ldlm_reply_lock_flags = -1;
735 static int hf_lustre_obdo_o_misc = -1;
737 static int hf_lustre_ldlm_request_lock_handle = -1;
738 static int hf_lustre_llog_logid_lgl_oid = -1;
739 static int hf_lustre_ldlm_inodebits_bits = -1;
740 static int hf_lustre_llog_log_hdr_llh_count = -1;
741 static int hf_lustre_llog_gen_rec_lgr_tail = -1;
742 static int hf_lustre_llog_catid_lci_padding3 = -1;
743 static int hf_lustre_qunit_data_qd_qunit = -1;
744 static int hf_lustre_llog_setattr_rec_padding = -1;
745 static int hf_lustre_llog_cookie_lgc_lgl = -1;
746 static int hf_lustre_obd_quotactl_qc_dqinfo = -1;
747 static int hf_lustre_llog_log_hdr_llh_bitmap = -1;
748 static int hf_lustre_obd_quotactl_qc_stat = -1;
749 static int hf_lustre_qunit_data_old2_qd_id = -1;
750 static int hf_lustre_llog_logid_rec_padding2 = -1;
751 static int hf_lustre_llog_orphan_rec_lor_tail = -1;
752 static int hf_lustre_llog_logid_rec_padding5 = -1;
753 static int hf_lustre_ldlm_intent_opc = -1;
754 static int hf_lustre_llog_rec_hdr_lrh_type = -1;
755 static int hf_lustre_llog_rec_hdr_lrh_len = -1;
756 static int hf_lustre_llog_setattr_rec_lsr_uid = -1;
757 static int hf_lustre_lov_desc_ld_padding_1 = -1;
758 static int hf_lustre_obdo_o_padding_4 = -1;
759 static int hf_lustre_mgs_target_info_padding = -1;
760 static int hf_lustre_obd_quotactl_qc_dqblk = -1;
761 static int hf_lustre_llogd_conn_body_lgdc_gen = -1;
762 static int hf_lustre_llog_log_hdr_llh_tail = -1;
763 static int hf_lustre_obdo_o_size = -1;
764 static int hf_lustre_ldlm_extent_start = -1;
765 static int hf_lustre_llog_size_change_rec_lsc_hdr = -1;
766 static int hf_lustre_llog_create_rec_lcr_tail = -1;
767 static int hf_lustre_llog_logid_lgl_oseq = -1;
768 static int hf_lustre_llog_create_rec_lcr_hdr = -1;
769 static int hf_lustre_llog_cookie_lgc_padding = -1;
770 static int hf_lustre_qunit_data_old_qd_type = -1;
771 static int hf_lustre_ldlm_flock_blocking_export = -1;
772 static int hf_lustre_lov_desc_ld_pattern = -1;
773 static int hf_lustre_qunit_data_qd_id = -1;
774 static int hf_lustre_mgs_target_info_mti_fsname = -1;
775 static int hf_lustre_ldlm_request_lock_flags = -1;
776 static int hf_lustre_obdo_o_mode = -1;
777 static int hf_lustre_mgs_target_info_mti_svname = -1;
778 static int hf_lustre_llogd_body_lgd_logid = -1;
779 static int hf_lustre_llog_log_hdr_llh_size = -1;
780 static int hf_lustre_llog_create_rec_padding = -1;
781 static int hf_lustre_obdo_o_handle = -1;
782 static int hf_lustre_obdo_o_atime = -1;
783 static int hf_lustre_quota_adjust_qunit_qaq_id = -1;
784 static int hf_lustre_ldlm_lock_desc_l_policy_data = -1;
785 static int hf_lustre_obd_quotactl_qc_cmd = -1;
786 static int hf_lustre_qunit_data_padding = -1;
787 static int hf_lustre_quota_adjust_qunit_qaq_flags = -1;
788 static int hf_lustre_ldlm_lock_desc_l_granted_mode = -1;
789 static int hf_lustre_obdo_o_seq = -1;
790 static int hf_lustre_obdo_o_gid = -1;
791 static int hf_lustre_llog_catid_lci_logid = -1;
792 static int hf_lustre_llog_rec_tail_lrt_index = -1;
793 static int hf_lustre_lov_desc_ld_default_stripe_count = -1;
794 static int hf_lustre_ldlm_resource_desc_lr_padding = -1;
795 static int hf_lustre_cfg_marker_cm_vers = -1;
796 static int hf_lustre_llog_unlink_rec_lur_hdr = -1;
797 static int hf_lustre_llogd_body_lgd_index = -1;
798 static int hf_lustre_cfg_marker_cm_tgtname = -1;
799 static int hf_lustre_llog_setattr_rec_lsr_ogen = -1;
800 static int hf_lustre_llog_logid_rec_lid_hdr = -1;
801 static int hf_lustre_obdo_o_ioepoch = -1;
802 static int hf_lustre_ost_body_oa = -1;
803 static int hf_lustre_llog_logid_rec_padding3 = -1;
804 static int hf_lustre_llog_log_hdr_llh_flags = -1;
805 static int hf_lustre_llog_setattr_rec_lsr_oid = -1;
806 static int hf_lustre_llog_size_change_rec_padding = -1;
807 static int hf_lustre_mgs_target_info_mti_config_ver = -1;
808 static int hf_lustre_cfg_marker_cm_createtime = -1;
809 static int hf_lustre_qunit_data_old_qd_count = -1;
810 static int hf_lustre_llog_catid_lci_padding1 = -1;
811 static int hf_lustre_lov_desc_ld_active_tgt_count = -1;
812 static int hf_lustre_obdo_o_lcookie = -1;
813 static int hf_lustre_llog_gen_rec_lgr_gen = -1;
814 static int hf_lustre_obdo_o_id = -1;
815 static int hf_lustre_mgs_target_info_mti_uuid = -1;
816 static int hf_lustre_llog_rec_hdr_lrh_index = -1;
817 static int hf_lustre_llog_setattr_rec_lsr_hdr = -1;
818 static int hf_lustre_mgs_target_info_mti_stripe_index = -1;
819 static int hf_lustre_llog_gen_conn_cnt = -1;
820 static int hf_lustre_obdo_o_padding_6 = -1;
821 static int hf_lustre_llog_cookie_lgc_index = -1;
822 static int hf_lustre_lov_desc_ld_uuid = -1;
823 static int hf_lustre_llog_create_rec_lcr_oid = -1;
824 static int hf_lustre_ldlm_reply_lock_desc = -1;
825 static int hf_lustre_lov_desc_ld_padding_0 = -1;
826 static int hf_lustre_llog_unlink_rec_lur_ogen = -1;
827 static int hf_lustre_llog_orphan_rec_lor_hdr = -1;
828 static int hf_lustre_cfg_marker_cm_flags = -1;
829 static int hf_lustre_obdo_o_padding_3 = -1;
830 static int hf_lustre_ldlm_request_lock_desc = -1;
831 static int hf_lustre_llog_orphan_rec_padding = -1;
832 static int hf_lustre_obdo_o_flags = -1;
833 static int hf_lustre_mgs_target_info_mti_params = -1;
834 static int hf_lustre_llog_logid_lgl_ogen = -1;
835 static int hf_lustre_cfg_marker_cm_comment = -1;
836 static int hf_lustre_llog_unlink_rec_lur_oid = -1;
837 static int hf_lustre_qunit_data_qd_count = -1;
838 static int hf_lustre_obdo_o_mtime = -1;
839 static int hf_lustre_obdo_o_blksize = -1;
840 static int hf_lustre_ldlm_res_id_name = -1;
841 static int hf_lustre_ldlm_reply_lock_handle = -1;
842 static int hf_lustre_llogd_body_lgd_saved_index = -1;
843 static int hf_lustre_qunit_data_old_qd_isblk = -1;
844 static int hf_lustre_obdo_o_blocks = -1;
845 static int hf_lustre_lov_desc_ld_padding_2 = -1;
846 static int hf_lustre_llog_logid_rec_lid_tail = -1;
847 static int hf_lustre_obdo_o_grant = -1;
848 static int hf_lustre_obdo_o_padding_2 = -1;
849 static int hf_lustre_quota_adjust_qunit_qaq_iunit_sz = -1;
850 static int hf_lustre_llog_unlink_rec_padding = -1;
851 static int hf_lustre_ldlm_lock_desc_l_req_mode = -1;
852 static int hf_lustre_ldlm_extent_end = -1;
853 static int hf_lustre_llog_gen_rec_lgr_hdr = -1;
854 static int hf_lustre_llog_orphan_rec_lor_ogen = -1;
855 static int hf_lustre_llogd_body_lgd_llh_flags = -1;
856 static int hf_lustre_llog_log_hdr_llh_cat_idx = -1;
857 static int hf_lustre_llog_log_hdr_llh_bitmap_offset=-1;
858 static int hf_lustre_llog_orphan_rec_lor_oid = -1;
859 static int hf_lustre_ldlm_reply_lock_padding = -1;
860 static int hf_lustre_obd_quotactl_qc_id = -1;
861 static int hf_lustre_llog_logid_rec_padding4 = -1;
862 static int hf_lustre_llog_setattr_rec_lsr_gid = -1;
863 static int hf_lustre_obd_quotactl_qc_type = -1;
864 static int hf_lustre_cfg_marker_padding = -1;
865 static int hf_lustre_mgs_target_info_mti_nids = -1;
866 static int hf_lustre_obdo_o_stripe_idx = -1;
867 static int hf_lustre_llogd_conn_body_lgdc_logid = -1;
868 static int hf_lustre_ldlm_flock_blocking_pid = -1;
869 static int hf_lustre_lov_desc_ld_tgt_count = -1;
870 static int hf_lustre_llogd_body_lgd_cur_offset=-1;
871 static int hf_lustre_llog_create_rec_lcr_ogen = -1;
872 static int hf_lustre_qunit_data_old2_qd_count = -1;
873 static int hf_lustre_qunit_data_old2_qd_flags = -1;
874 static int hf_lustre_ldlm_flock_start = -1;
875 static int hf_lustre_quota_adjust_qunit_qaq_bunit_sz = -1;
876 static int hf_lustre_ldlm_flock_pid = -1;
877 static int hf_lustre_lov_desc_ld_default_stripe_size = -1;
878 static int hf_lustre_llog_log_hdr_llh_tgtuuid = -1;
879 static int hf_lustre_cfg_marker_cm_step = -1;
880 static int hf_lustre_mgs_send_param_mgs_param = -1;
881 static int hf_lustre_llog_create_rec_lcr_fid = -1;
882 static int hf_lustre_lov_desc_ld_default_stripe_offset=-1;
883 static int hf_lustre_ldlm_resource_desc_lr_name = -1;
884 static int hf_lustre_llog_rec_tail_lrt_len = -1;
885 static int hf_lustre_llog_log_hdr_llh_timestamp = -1;
886 static int hf_lustre_llog_catid_lci_padding2 = -1;
887 static int hf_lustre_llogd_conn_body_lgdc_ctxt_idx = -1;
888 static int hf_lustre_cfg_marker_cm_canceltime = -1;
889 static int hf_lustre_mgs_target_info_mti_lustre_ver = -1;
890 static int hf_lustre_obdo_o_parent_ver = -1;
891 static int hf_lustre_qunit_data_qd_flags = -1;
892 static int hf_lustre_llog_logid_rec_lid_id = -1;
893 static int hf_lustre_obdo_o_parent_oid = -1;
894 static int hf_lustre_llog_gen_mnt_cnt = -1;
895 static int hf_lustre_llog_size_change_rec_lsc_tail = -1;
896 static int hf_lustre_obdo_o_padding_5 = -1;
897 static int hf_lustre_ldlm_lock_desc_l_resource = -1;
898 static int hf_lustre_obdo_o_parent_seq = -1;
899 static int hf_lustre_ldlm_request_lock_count = -1;
900 static int hf_lustre_ldlm_flock_end = -1;
901 static int hf_lustre_mgs_target_info_mti_nid_count = -1;
902 static int hf_lustre_obdo_o_ctime = -1;
903 static int hf_lustre_ldlm_reply_lock_policy_res2 = -1;
904 static int hf_lustre_llogd_body_lgd_ctxt_idx = -1;
905 static int hf_lustre_lov_desc_ld_qos_maxage = -1;
906 static int hf_lustre_ldlm_resource_desc_lr_type = -1;
907 static int hf_lustre_llog_setattr_rec_lsr_tail = -1;
908 static int hf_lustre_llog_cookie_lgc_subsys = -1;
909 static int hf_lustre_llog_log_hdr_llh_hdr = -1;
910 static int hf_lustre_llog_log_hdr_llh_reserved = -1;
912 /* Header field declarations for field from lustre_user.h*/
913 static int hf_lustre_obd_dqinfo_dqi_valid = -1;
914 static int hf_lustre_obd_dqblk_dqb_isoftlimit = -1;
915 static int hf_lustre_obd_dqblk_dqb_bhardlimit = -1;
916 static int hf_lustre_obd_dqblk_dqb_curspace = -1;
917 static int hf_lustre_obd_dqblk_dqb_itime = -1;
918 static int hf_lustre_obd_dqblk_dqb_valid = -1;
919 static int hf_lustre_obd_dqinfo_dqi_igrace = -1;
920 static int hf_lustre_obd_dqinfo_dqi_bgrace = -1;
921 static int hf_lustre_obd_dqblk_padding = -1;
922 static int hf_lustre_obd_dqblk_dqb_curinodes = -1;
923 static int hf_lustre_obd_dqblk_dqb_bsoftlimit = -1;
924 static int hf_lustre_obd_dqinfo_dqi_flags = -1;
925 static int hf_lustre_obd_dqblk_dqb_btime = -1;
926 static int hf_lustre_obd_dqblk_dqb_ihardlimit = -1;
927 static int hf_lustre_ldlm_intent_opc_open = -1 ;
928 static int hf_lustre_ldlm_intent_opc_creat = -1;
929 static int hf_lustre_ldlm_intent_opc_readdir = -1;
930 static int hf_lustre_ldlm_intent_opc_getattr = -1;
931 static int hf_lustre_ldlm_intent_opc_lookup = -1;
932 static int hf_lustre_ldlm_intent_opc_unlink = -1;
933 static int hf_lustre_ldlm_intent_opc_getxattr = -1;
934 static int hf_lustre_ldlm_intent_opc_exec = -1;
935 static int hf_lustre_ldlm_intent_opc_pin = -1;
936 static int hf_lustre_llog_hdr_llh_flag_zap_when_empty = -1;
937 static int hf_lustre_llog_hdr_llh_flag_is_cat = -1;
938 static int hf_lustre_llog_hdr_llh_flag_is_play = -1;
939 /* --------------------------------------------------------------------*/
942 /* proto declaration */
943 static gint proto_lustre = -1;
948 static int ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_) ;
949 static int lustre_dissect_element_ldlm_lock_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_);
950 static int add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_) ;
953 /* ======================================================================== */
955 const value_string lustre_ldlm_opcode[] = {
956 { IT_OPEN , "IT_OPEN "},
957 { IT_CREAT , "IT_CREAT "},
958 { IT_READDIR , "IT_READDIR "},
959 { IT_GETATTR , "IT_GETATTR "},
960 { IT_LOOKUP , "IT_LOOKUP "},
961 { IT_UNLINK , "IT_UNLINK "},
962 { IT_GETXATTR, "IT_GETXATTR"},
963 { IT_EXEC , "IT_EXEC "},
964 { IT_PIN , "IT_PIN "},
968 const value_string lustre_lov_magic[] = {
969 { LOV_MAGIC_V1, "LOV_MAGIC_V1" },
973 const value_string lustre_ldlm_flags_vals[] = {
974 {0x000001 , "LDLM_FL_LOCK_CHANGED"},
975 {0x000002 , "LDLM_FL_BLOCK_GRANTED"},
976 {0x000004 , "LDLM_FL_BLOCK_CONV"},
977 {0x000008 , "LDLM_FL_BLOCK_WAIT"},
978 {0x000010 , "LDLM_FL_CBPENDING"},
979 {0x000020 , "LDLM_FL_AST_SENT"},
980 {0x000040 , "LDLM_FL_WAIT_NOREPROC"},
981 {0x000080 , "LDLM_FL_CANCEL"},
982 {0x000100 , "LDLM_FL_REPLAY"},
983 {0x000200 , "LDLM_FL_INTENT_ONLY"},
984 {0x000400 , "LDLM_FL_LOCAL_ONLY"},
985 {0x000800 , "LDLM_FL_FAILED"},
986 {0x001000 , "LDLM_FL_HAS_INTENT"},
987 {0x002000 , "LDLM_FL_CANCELING"},
988 {0x004000 , "LDLM_FL_LOCAL"},
989 {0x008000 , "LDLM_FL_WARN"},
990 {0x010000 , "LDLM_FL_DISCARD_DATA"},
991 {0x020000 , "LDLM_FL_NO_TIMEOUT"},
992 {0x040000 , "LDLM_FL_BLOCK_NOWAIT"},
993 {0x080000 , "LDLM_FL_TEST_LOCK"},
994 {0x100000 , "LDLM_FL_LVB_READY"},
995 {0x200000 , "LDLM_FL_KMS_IGNORE"},
996 {0x400000 , "LDLM_FL_NO_LRU"},
997 {0x800000 , "LDLM_FL_CANCEL_ON_BLOCK"},
998 {0x1000000 , "LDLM_FL_CP_REQD"},
999 {0x2000000 , "LDLM_FL_CLEANED"},
1000 {0x4000000 , "LDLM_FL_ATOMIC_CB"},
1001 {0x10000000 , "LDLM_FL_BL_AST"},
1002 {0x20000000 , "LDLM_FL_BL_DONE"},
1003 {0x40000000 , "LDLM_FL_DENY_ON_CONTENTION"},
1004 {0x80000000 , "LDLM_AST_DISCARD_DATA"},
1008 const value_string lustre_llog_op_type[] = {
1009 {LLOG_PAD_MAGIC ,"LLOG_PAD_MAGIC "},
1010 {OST_SZ_REC ,"OST_SZ_REC "},
1011 {OST_RAID1_REC ,"OST_RAID1_REC "},
1012 {MDS_UNLINK_REC ,"MDS_UNLINK_REC "},
1013 {MDS_SETATTR_REC ,"MDS_SETATTR_REC "},
1014 {OBD_CFG_REC ,"OBD_CFG_REC "},
1015 {PTL_CFG_REC ,"PTL_CFG_REC "},
1016 {LLOG_GEN_REC ,"LLOG_GEN_REC "},
1017 {LLOG_JOIN_REC ,"LLOG_JOIN_REC "},
1018 {LLOG_HDR_MAGIC ,"LLOG_HDR_MAGIC "},
1019 {LLOG_LOGID_MAGIC ,"LLOG_LOGID_MAGIC"},
1023 const value_string lustre_llog_hdr_llh_flags[]= {
1024 {LLOG_F_ZAP_WHEN_EMPTY , "LLOhdr_llh_G_F_ZAP_WHEN_EMPTY"},
1025 {LLOG_F_IS_CAT , "LLOhdr_llh_G_F_IS_CAT"},
1026 {LLOG_F_IS_PLAIN , "LLOG_F_IS_PLAIN"},
1030 const value_string lustre_mds_flags_vals[] = {
1031 {0x1,"MDS_BFLAG_UNCOMMITTED_WRITES"},
1032 {0x80000000, "MDS_BFLAG_EXT_FLAGS"}, /* == EXT3_RESERVED_FL */
1033 {0x00000008, "MDS_SYNC_FL "}, /* Synchronous updates */
1034 {0x00000010, "MDS_IMMUTABLE_FL "}, /* Immutable file */
1035 {0x00000020, "MDS_APPEND_FL "}, /* writes to file may only append */
1036 {0x00000080, "MDS_NOATIME_FL "}, /* do not update atime */
1037 {0x00010000, "MDS_DIRSYNC_FL "}, /* dirsync behaviour (dir only) */
1041 const value_string lustre_LMTypes[] = {
1042 { PTL_RPC_MSG_REQUEST, "request"},
1043 { PTL_RPC_MSG_ERR , "error"},
1044 { PTL_RPC_MSG_REPLY , "reply"},
1048 const value_string lustre_mds_reint_t_vals[] = {
1049 { REINT_SETATTR, "REINT_SETATTR" },
1050 { REINT_CREATE, "REINT_CREATE" },
1051 { REINT_LINK, "REINT_LINK" },
1052 { REINT_UNLINK, "REINT_UNLINK" },
1053 { REINT_RENAME, "REINT_RENAME" },
1054 { REINT_OPEN, "REINT_OPEN" },
1055 { REINT_SETXATTR, "REINT_SETXATTR" },
1058 const value_string lustre_op_codes[] = {
1061 {1 , "OST_GETATTR"},
1062 {2 , "OST_SETATTR"},
1066 {6 , "OST_DESTROY"},
1067 {7 , "OST_GET_INFO"},
1068 {8 , "OST_CONNECT"},
1069 {9 , "OST_DISCONNECT"},
1073 {13 , "OST_STATFS"},
1074 {14 , "OST_SAN_READ(deprecated)"},
1075 {15 , "OST_SAN_WRITE(deprecated)"},
1077 {17 , "OST_SET_INFO"},
1078 {18 , "OST_QUOTACHECK"},
1079 {19 , "OST_QUOTACTL"},
1080 {20 , "OST_LAST_OPC"},
1082 {33 , "MDS_GETATTR"},
1083 {34 , "MDS_GETATTR_NAME"},
1086 {37 , "MDS_READPAGE"},
1087 {38 , "MDS_CONNECT"},
1088 {39 , "MDS_DISCONNECT"},
1089 {40 , "MDS_GETSTATUS"},
1090 {41 , "MDS_STATFS"},
1094 {45 , "MDS_DONE_WRITING"},
1095 {46 , "MDS_SET_INFO"},
1096 {47 , "MDS_QUOTACHECK"},
1097 {48 , "MDS_QUOTACTL"},
1098 {49 , "MDS_GETXATTR"},
1099 {50 , "MDS_SETXATTR"},
1100 {51 , "MDS_LAST_OPC"},
1102 {101 , "LDLM_ENQUEUE"},
1103 {102 , "LDLM_CONVERT"},
1104 {103 , "LDLM_CANCEL"},
1105 {104 , "LDLM_BL_CALLBACK"},
1106 {105 , "LDLM_CP_CALLBACK"},
1107 {106 , "LDLM_GL_CALLBACK"},
1108 {107 , "LDLM_LAST_OPC"},
1110 {250 , "MGS_CONNECT"},
1111 {251 , "MGS_DISCONNECT"},
1112 {252 , "MGS_EXCEPTION"},
1113 {253 , "MGS_TARGET_REG"},
1114 {254 , "MGS_TARGET_DEL"},
1115 {255 , "MGS_SET_INFO"},
1116 {256 , "MGS_LAST_OPC"},
1119 {401 , "OBD_LOG_CANCEL"},
1120 {402 , "OBD_QC_CALLBACK"},
1121 {403 , "OBD_LAST_OPC"},
1123 { 501, "LLOG_ORIGIN_HANDLE_CREATE"},
1124 { 502, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK"},
1125 { 503, "LLOG_ORIGIN_HANDLE_READ_HEADER"},
1126 { 504, "LLOG_ORIGIN_HANDLE_WRITE_REC"},
1127 { 505, "LLOG_ORIGIN_HANDLE_CLOSE"},
1128 { 506, "LLOG_ORIGIN_CONNECT"},
1129 { 507, "LLOG_CATINFO"},
1130 { 508, "LLOG_ORIGIN_HANDLE_PREV_BLOCK"},
1131 { 509, "LLOG_ORIGIN_HANDLE_DESTROY"},
1134 /*const value_string lustre_ldlm_mode_t_vals[] = {*/
1135 /* { LCK_MINMODE, "MINMODE" },*/
1136 /* { LCK_EX, "EX" },*/
1137 /* { LCK_PW, "PW" },*/
1138 /* { LCK_PR, "PR" },*/
1139 /* { LCK_CW, "CW" },*/
1140 /* { LCK_CR, "CR" },*/
1141 /* { LCK_NL, "NL" },*/
1142 /* { LCK_GROUP, "GROUP" },*/
1146 /* detailled version the information came from : http://wiki.lustre.org/images/e/e5/LustreInternals_Architecture.pdf */
1147 const value_string lustre_ldlm_mode_t_vals[] = {
1148 { LCK_MINMODE, "MINMODE" },
1149 { LCK_EX, "Exclusive" },
1150 { LCK_PW, "Protected Write" },
1151 { LCK_PR, "Protected Read" },
1152 { LCK_CW, "Concurrent Write" },
1153 { LCK_CR, "Concurrent Read" },
1155 { LCK_GROUP, "GROUP" },
1159 const value_string lustre_ldlm_type_t_vals[] = {
1160 { LDLM_PLAIN, "LDLM_PLAIN" },
1161 { LDLM_EXTENT,"LDLM_EXTENT" },
1162 { LDLM_FLOCK, "LDLM_FLOCK" },
1163 { LDLM_IBITS, "LDLM_IBITS" },
1168 const value_string lustre_llog_cmd_t_vals[] = {
1169 { LLOG_ORIGIN_HANDLE_CREATE, "LLOG_ORIGIN_HANDLE_CREATE" },
1170 { LLOG_ORIGIN_HANDLE_NEXT_BLOCK, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK" },
1171 { LLOG_ORIGIN_HANDLE_READ_HEADER, "LLOG_ORIGIN_HANDLE_READ_HEADER" },
1172 { LLOG_ORIGIN_HANDLE_WRITE_REC, "LLOG_ORIGIN_HANDLE_WRITE_REC" },
1173 { LLOG_ORIGIN_HANDLE_CLOSE, "LLOG_ORIGIN_HANDLE_CLOSE" },
1174 { LLOG_ORIGIN_CONNECT, "LLOG_ORIGIN_CONNECT" },
1175 { LLOG_CATINFO, "LLOG_CATINFO" },
1176 { LLOG_ORIGIN_HANDLE_PREV_BLOCK, "LLOG_ORIGIN_HANDLE_PREV_BLOCK" },
1177 { LLOG_ORIGIN_HANDLE_DESTROY, "LLOG_ORIGIN_HANDLE_DESTROY" },
1182 /* ------------------------------------------------------------------- */
1183 /* display functions */
1184 /* ------------------------------------------------------------------- */
1185 /* display str in left corner and in COL */
1186 /* TODO : do we need to use inline here ?*/
1187 /* @gint col : the col where we add the information */
1188 inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
1191 proto_item_append_text(pi, str);
1194 if (check_col(cinfo, col))
1195 col_append_str(cinfo, col, str);
1199 * Need to be (re)written
1201 static void display_info_fstr(proto_item *pi, column_info *cinfo, gint col, const char* format, const gchar * str){
1204 //va_start(ap, format);
1205 proto_item_append_text(pi, format, str);
1210 if (check_col(cinfo, col)){
1212 // va_start(ap, format);
1213 col_append_fstr(cinfo, col, format, str);
1220 /* ------------------------------ basic dissect functions ------------------------ */
1223 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1225 proto_tree_add_item(tree, hfindex, tvb, offset, 8, TRUE);
1231 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1233 proto_tree_add_item(tree, hfindex, tvb, offset, 4, TRUE);
1239 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1241 proto_tree_add_item(tree, hfindex, tvb, offset, 1, TRUE);
1244 /* ------------------------------------------------------------------------- */
1249 /* IDL: struct lustre_handle { */
1250 /* IDL: uint64 cookie; */
1254 lustre_dissect_element_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1256 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_handle_cookie);
1262 lustre_dissect_struct_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
1264 proto_item *item = NULL;
1265 proto_tree *tree = NULL;
1271 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1272 tree = proto_item_add_subtree(item, ett_lustre_lustre_handle_cookie);
1275 offset=lustre_dissect_element_handle_cookie(tvb, offset, pinfo, tree);
1278 proto_item_set_len(item, offset-old_offset);
1283 /* IDL: struct obd_connect_data { */
1284 /* IDL: uint64 ocd_connect_flags; */
1285 /* IDL: uint32 ocd_version; */
1286 /* IDL: uint32 ocd_grant; */
1287 /* IDL: uint32 ocd_index; */
1288 /* IDL: uint32 ocd_brw_size; */
1289 /* IDL: uint64 ocd_ibits_known; */
1290 /* IDL: uint32 ocd_nllu; */
1291 /* IDL: uint32 ocd_nllg; */
1292 /* IDL: uint64 ocd_transno; */
1293 /* IDL: uint32 ocd_group; */
1294 /* IDL: uint32 ocd_cksum_types; */
1295 /* IDL: uint64 padding1; */
1296 /* IDL: uint64 padding2; */
1300 lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1302 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_connect_flags);
1308 lustre_dissect_element_obd_connect_data_ocd_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1310 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_version);
1316 lustre_dissect_element_obd_connect_data_ocd_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1318 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_grant);
1324 lustre_dissect_element_obd_connect_data_ocd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1326 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_index);
1332 lustre_dissect_element_obd_connect_data_ocd_brw_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1334 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_brw_size);
1340 lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1342 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_ibits_known);
1348 lustre_dissect_element_obd_connect_data_ocd_nllu(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1350 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllu);
1356 lustre_dissect_element_obd_connect_data_ocd_nllg(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1358 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllg);
1364 lustre_dissect_element_obd_connect_data_ocd_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1366 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_transno);
1372 lustre_dissect_element_obd_connect_data_ocd_group(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1374 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_group);
1380 lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1382 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_cksum_types);
1388 lustre_dissect_element_obd_connect_data_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1390 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding1);
1396 lustre_dissect_element_obd_connect_data_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1398 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding2);
1404 lustre_dissect_struct_obd_connect_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
1406 proto_item *item = NULL;
1407 proto_tree *tree = NULL;
1415 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1416 tree = proto_item_add_subtree(item, ett_lustre_obd_connect_data);
1419 offset=lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvb, offset, pinfo, tree);
1421 offset=lustre_dissect_element_obd_connect_data_ocd_version(tvb, offset, pinfo, tree);
1423 offset=lustre_dissect_element_obd_connect_data_ocd_grant(tvb, offset, pinfo, tree);
1425 offset=lustre_dissect_element_obd_connect_data_ocd_index(tvb, offset, pinfo, tree);
1427 offset=lustre_dissect_element_obd_connect_data_ocd_brw_size(tvb, offset, pinfo, tree);
1429 offset=lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvb, offset, pinfo, tree);
1431 offset=lustre_dissect_element_obd_connect_data_ocd_nllu(tvb, offset, pinfo, tree);
1433 offset=lustre_dissect_element_obd_connect_data_ocd_nllg(tvb, offset, pinfo, tree);
1435 offset=lustre_dissect_element_obd_connect_data_ocd_transno(tvb, offset, pinfo, tree);
1437 offset=lustre_dissect_element_obd_connect_data_ocd_group(tvb, offset, pinfo, tree);
1439 offset=lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvb, offset, pinfo, tree);
1441 offset=lustre_dissect_element_obd_connect_data_padding1(tvb, offset, pinfo, tree);
1443 offset=lustre_dissect_element_obd_connect_data_padding2(tvb, offset, pinfo, tree);
1446 proto_item_set_len(item, offset-old_offset);
1452 /* IDL: struct lov_ost_data_v1 { */
1453 /* IDL: uint64 l_object_id; */
1454 /* IDL: uint64 l_object_seq; */
1455 /* IDL: uint32 l_ost_gen; */
1456 /* IDL: uint32 l_ost_idx; */
1460 lustre_dissect_element_lov_ost_data_v1_l_object_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1462 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_id);
1468 lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1470 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_seq);
1476 lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1478 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_gen);
1484 lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1486 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_idx);
1492 lustre_dissect_struct_lov_ost_data_v1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
1494 proto_item *item = NULL;
1495 proto_tree *tree = NULL;
1503 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1504 tree = proto_item_add_subtree(item, ett_lustre_lov_ost_data_v1);
1507 offset=lustre_dissect_element_lov_ost_data_v1_l_object_id(tvb, offset, pinfo, tree);
1509 offset=lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvb, offset, pinfo, tree);
1511 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvb, offset, pinfo, tree);
1513 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvb, offset, pinfo, tree);
1516 proto_item_set_len(item, offset-old_offset);
1521 /* IDL: struct lov_mds_md_v1 { */
1522 /* IDL: uint32 lmm_magic; */
1523 /* IDL: uint32 lmm_pattern; */
1524 /* IDL: uint64 lmm_object_id; */
1525 /* IDL: uint64 lmm_object_seq; */
1526 /* IDL: uint32 lmm_stripe_size; */
1527 /* IDL: uint32 lmm_stripe_count; */
1528 /* IDL: struct lov_ost_data_v1 { */
1529 /* IDL: } lmm_objects[0]; <-- en fait on en a lmm_stripe_count */
1533 lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1535 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_magic);
1541 lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1543 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_pattern);
1549 lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1551 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_id);
1557 lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1559 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_seq);
1565 lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1567 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_size);
1573 lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1575 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_count);
1581 lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1583 offset=lustre_dissect_struct_lov_ost_data_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1_lmm_objects);
1588 lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int num)
1591 /*g_print("num = %d", num);*/
1592 for (i = 0; i < num; i++){
1593 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvb, offset, pinfo, tree);
1602 lustre_dissect_struct_lov_mds_md_v1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
1604 proto_item *item = NULL;
1605 proto_tree *tree = NULL;
1608 guint32 stripe_count ;
1614 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1615 tree = proto_item_add_subtree(item, ett_lustre_lov_mds_md_v1);
1618 offset=lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvb, offset, pinfo, tree);
1620 offset=lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvb, offset, pinfo, tree);
1622 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvb, offset, pinfo, tree);
1624 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvb, offset, pinfo, tree);
1626 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvb, offset, pinfo, tree);
1628 stripe_count = tvb_get_letohl(tvb,offset);
1629 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvb, offset, pinfo, tree);
1631 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvb, offset, pinfo, tree, stripe_count);
1634 proto_item_set_len(item, offset-old_offset);
1641 /* IDL: struct obd_statfs { */
1642 /* IDL: uint64 os_type; */
1643 /* IDL: uint64 os_blocks; */
1644 /* IDL: uint64 os_bfree; */
1645 /* IDL: uint64 os_bavail; */
1646 /* IDL: uint64 os_files; */
1647 /* IDL: uint64 os_ffree; */
1648 /* IDL: uint8 os_fsid[40]; */
1649 /* IDL: uint32 os_bsize; */
1650 /* IDL: uint32 os_namelen; */
1651 /* IDL: uint64 os_maxbytes; */
1652 /* IDL: uint32 os_state; */
1653 /* IDL: uint32 os_spare1; */
1654 /* IDL: uint32 os_spare2; */
1655 /* IDL: uint32 os_spare3; */
1656 /* IDL: uint32 os_spare4; */
1657 /* IDL: uint32 os_spare5; */
1658 /* IDL: uint32 os_spare6; */
1659 /* IDL: uint32 os_spare7; */
1660 /* IDL: uint32 os_spare8; */
1661 /* IDL: uint32 os_spare9; */
1665 lustre_dissect_element_obd_statfs_os_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1667 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_type);
1673 lustre_dissect_element_obd_statfs_os_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1675 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_blocks);
1681 lustre_dissect_element_obd_statfs_os_bfree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1683 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bfree);
1689 lustre_dissect_element_obd_statfs_os_bavail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1691 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bavail);
1697 lustre_dissect_element_obd_statfs_os_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1699 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_files);
1705 lustre_dissect_element_obd_statfs_os_ffree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1707 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_ffree);
1713 lustre_dissect_element_obd_statfs_os_fsid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1715 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_fsid);
1721 lustre_dissect_element_obd_statfs_os_fsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1724 for (i = 0; i < 40; i++)
1725 offset=lustre_dissect_element_obd_statfs_os_fsid_(tvb, offset, pinfo, tree);
1733 lustre_dissect_element_obd_statfs_os_bsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1735 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bsize);
1741 lustre_dissect_element_obd_statfs_os_namelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1743 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_namelen);
1749 lustre_dissect_element_obd_statfs_os_maxbytes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1751 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_maxbytes);
1757 lustre_dissect_element_obd_statfs_os_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1759 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_state);
1765 lustre_dissect_element_obd_statfs_os_spare1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1767 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare1);
1773 lustre_dissect_element_obd_statfs_os_spare2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1775 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare2);
1781 lustre_dissect_element_obd_statfs_os_spare3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1783 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare3);
1789 lustre_dissect_element_obd_statfs_os_spare4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1791 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare4);
1797 lustre_dissect_element_obd_statfs_os_spare5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1799 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare5);
1805 lustre_dissect_element_obd_statfs_os_spare6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1807 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare6);
1813 lustre_dissect_element_obd_statfs_os_spare7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1815 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare7);
1821 lustre_dissect_element_obd_statfs_os_spare8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1823 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare8);
1829 lustre_dissect_element_obd_statfs_os_spare9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1831 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare9);
1837 lustre_dissect_struct_obd_statfs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
1839 proto_item *item = NULL;
1840 proto_tree *tree = NULL;
1848 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1849 tree = proto_item_add_subtree(item, ett_lustre_obd_statfs);
1852 offset=lustre_dissect_element_obd_statfs_os_type(tvb, offset, pinfo, tree);
1854 offset=lustre_dissect_element_obd_statfs_os_blocks(tvb, offset, pinfo, tree);
1856 offset=lustre_dissect_element_obd_statfs_os_bfree(tvb, offset, pinfo, tree);
1858 offset=lustre_dissect_element_obd_statfs_os_bavail(tvb, offset, pinfo, tree);
1860 offset=lustre_dissect_element_obd_statfs_os_files(tvb, offset, pinfo, tree);
1862 offset=lustre_dissect_element_obd_statfs_os_ffree(tvb, offset, pinfo, tree);
1864 offset=lustre_dissect_element_obd_statfs_os_fsid(tvb, offset, pinfo, tree);
1866 offset=lustre_dissect_element_obd_statfs_os_bsize(tvb, offset, pinfo, tree);
1868 offset=lustre_dissect_element_obd_statfs_os_namelen(tvb, offset, pinfo, tree);
1870 offset=lustre_dissect_element_obd_statfs_os_maxbytes(tvb, offset, pinfo, tree);
1872 offset=lustre_dissect_element_obd_statfs_os_state(tvb, offset, pinfo, tree);
1874 offset=lustre_dissect_element_obd_statfs_os_spare1(tvb, offset, pinfo, tree);
1876 offset=lustre_dissect_element_obd_statfs_os_spare2(tvb, offset, pinfo, tree);
1878 offset=lustre_dissect_element_obd_statfs_os_spare3(tvb, offset, pinfo, tree);
1880 offset=lustre_dissect_element_obd_statfs_os_spare4(tvb, offset, pinfo, tree);
1882 offset=lustre_dissect_element_obd_statfs_os_spare5(tvb, offset, pinfo, tree);
1884 offset=lustre_dissect_element_obd_statfs_os_spare6(tvb, offset, pinfo, tree);
1886 offset=lustre_dissect_element_obd_statfs_os_spare7(tvb, offset, pinfo, tree);
1888 offset=lustre_dissect_element_obd_statfs_os_spare8(tvb, offset, pinfo, tree);
1890 offset=lustre_dissect_element_obd_statfs_os_spare9(tvb, offset, pinfo, tree);
1893 proto_item_set_len(item, offset-old_offset);
1898 /* IDL: struct obd_ioobj { */
1899 /* IDL: uint64 ioo_id; */
1900 /* IDL: uint64 ioo_seq; */
1901 /* IDL: uint32 ioo_type; */
1902 /* IDL: uint32 ioo_bufcnt; */
1906 lustre_dissect_element_obd_ioobj_ioo_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1908 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_id);
1914 lustre_dissect_element_obd_ioobj_ioo_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1916 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_seq);
1922 lustre_dissect_element_obd_ioobj_ioo_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1924 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_type);
1930 lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1932 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_bufcnt);
1938 lustre_dissect_struct_obd_ioobj(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
1940 proto_item *item = NULL;
1941 proto_tree *tree = NULL;
1949 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1950 tree = proto_item_add_subtree(item, ett_lustre_obd_ioobj);
1953 offset=lustre_dissect_element_obd_ioobj_ioo_id(tvb, offset, pinfo, tree);
1955 offset=lustre_dissect_element_obd_ioobj_ioo_seq(tvb, offset, pinfo, tree);
1957 offset=lustre_dissect_element_obd_ioobj_ioo_type(tvb, offset, pinfo, tree);
1959 offset=lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvb, offset, pinfo, tree);
1962 proto_item_set_len(item, offset-old_offset);
1967 /* IDL: struct niobuf_remote { */
1968 /* IDL: uint64 offset; */
1969 /* IDL: uint32 len; */
1970 /* IDL: uint32 flags; */
1974 lustre_dissect_element_niobuf_remote_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1976 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_offset);
1982 lustre_dissect_element_niobuf_remote_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1984 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_len);
1990 lustre_dissect_element_niobuf_remote_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1992 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_flags);
1998 lustre_dissect_struct_niobuf_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2000 proto_item *item = NULL;
2001 proto_tree *tree = NULL;
2009 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2010 tree = proto_item_add_subtree(item, ett_lustre_niobuf_remote);
2013 offset=lustre_dissect_element_niobuf_remote_offset(tvb, offset, pinfo, tree);
2015 offset=lustre_dissect_element_niobuf_remote_len(tvb, offset, pinfo, tree);
2017 offset=lustre_dissect_element_niobuf_remote_flags(tvb, offset, pinfo, tree);
2020 proto_item_set_len(item, offset-old_offset);
2025 /* IDL: struct ost_lvb { */
2026 /* IDL: uint64 lvb_size; */
2027 /* IDL: uint64 lvb_mtime; */
2028 /* IDL: uint64 lvb_atime; */
2029 /* IDL: uint64 lvb_ctime; */
2030 /* IDL: uint64 lvb_blocks; */
2034 lustre_dissect_element_ost_lvb_lvb_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2036 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_size);
2042 lustre_dissect_element_ost_lvb_lvb_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2046 ns.secs = tvb_get_letohl(tvb,offset);
2048 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_mtime, tvb, offset, 8, &ns );
2054 lustre_dissect_element_ost_lvb_lvb_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2058 ns.secs = tvb_get_letohl(tvb,offset);
2060 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_atime, tvb, offset, 8, &ns );
2068 lustre_dissect_element_ost_lvb_lvb_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2072 ns.secs = tvb_get_letohl(tvb,offset);
2074 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_ctime, tvb, offset, 8, &ns );
2082 lustre_dissect_element_ost_lvb_lvb_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2084 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_blocks);
2090 lustre_dissect_struct_ost_lvb(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2092 proto_item *item = NULL;
2093 proto_tree *tree = NULL;
2101 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2102 tree = proto_item_add_subtree(item, ett_lustre_ost_lvb);
2105 offset=lustre_dissect_element_ost_lvb_lvb_size(tvb, offset, pinfo, tree);
2107 offset=lustre_dissect_element_ost_lvb_lvb_mtime(tvb, offset, pinfo, tree);
2109 offset=lustre_dissect_element_ost_lvb_lvb_atime(tvb, offset, pinfo, tree);
2111 offset=lustre_dissect_element_ost_lvb_lvb_ctime(tvb, offset, pinfo, tree);
2113 offset=lustre_dissect_element_ost_lvb_lvb_blocks(tvb, offset, pinfo, tree);
2116 proto_item_set_len(item, offset-old_offset);
2122 /* IDL: struct ll_fid { */
2123 /* IDL: uint64 id; */
2124 /* IDL: uint32 generation; */
2125 /* IDL: uint32 f_type; */
2129 lustre_dissect_element_ll_fid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2131 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ll_fid_id);
2137 lustre_dissect_element_ll_fid_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2139 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_generation);
2145 lustre_dissect_element_ll_fid_f_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2147 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_f_type);
2153 lustre_dissect_struct_lu_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2155 proto_item *item = NULL;
2156 proto_tree *tree = NULL;
2164 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2165 tree = proto_item_add_subtree(item, ett_lustre_ll_fid);
2168 offset=lustre_dissect_element_ll_fid_id(tvb, offset, pinfo, tree);
2170 offset=lustre_dissect_element_ll_fid_generation(tvb, offset, pinfo, tree);
2172 offset=lustre_dissect_element_ll_fid_f_type(tvb, offset, pinfo, tree);
2175 proto_item_set_len(item, offset-old_offset);
2180 /* IDL: struct obd_dqinfo { */
2181 /* IDL: uint64 dqi_bgrace; */
2182 /* IDL: uint64 dqi_igrace; */
2183 /* IDL: uint32 dqi_flags; */
2184 /* IDL: uint32 dqi_valid; */
2188 lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2190 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_bgrace);
2196 lustre_dissect_element_obd_dqinfo_dqi_igrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2198 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_igrace);
2204 lustre_dissect_element_obd_dqinfo_dqi_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2206 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_flags);
2212 lustre_dissect_element_obd_dqinfo_dqi_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2214 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_valid);
2220 lustre_dissect_struct_obd_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2222 proto_item *item = NULL;
2223 proto_tree *tree = NULL;
2228 old_offset = offset;
2231 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2232 tree = proto_item_add_subtree(item, ett_lustre_obd_dqinfo);
2235 offset = lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvb, offset, pinfo, tree);
2237 offset = lustre_dissect_element_obd_dqinfo_dqi_igrace(tvb, offset, pinfo, tree);
2239 offset = lustre_dissect_element_obd_dqinfo_dqi_flags(tvb, offset, pinfo, tree);
2241 offset = lustre_dissect_element_obd_dqinfo_dqi_valid(tvb, offset, pinfo, tree);
2244 proto_item_set_len(item, offset-old_offset);
2249 /* IDL: struct obd_dqblk { */
2250 /* IDL: uint64 dqb_bhardlimit; */
2251 /* IDL: uint64 dqb_bsoftlimit; */
2252 /* IDL: uint64 dqb_curspace; */
2253 /* IDL: uint64 dqb_ihardlimit; */
2254 /* IDL: uint64 dqb_isoftlimit; */
2255 /* IDL: uint64 dqb_curinodes; */
2256 /* IDL: uint64 dqb_btime; */
2257 /* IDL: uint64 dqb_itime; */
2258 /* IDL: uint32 dqb_valid; */
2259 /* IDL: uint32 padding; */
2263 lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2265 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bhardlimit);
2271 lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2273 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bsoftlimit);
2279 lustre_dissect_element_obd_dqblk_dqb_curspace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2281 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curspace);
2287 lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2289 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_ihardlimit);
2295 lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2297 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_isoftlimit);
2303 lustre_dissect_element_obd_dqblk_dqb_curinodes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2305 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curinodes);
2311 lustre_dissect_element_obd_dqblk_dqb_btime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2316 ns.secs = tvb_get_letohl(tvb,offset);
2318 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_btime, tvb, offset, 8, &ns );
2324 lustre_dissect_element_obd_dqblk_dqb_itime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2328 ns.secs = tvb_get_letohl(tvb,offset);
2330 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_itime, tvb, offset, 8, &ns );
2337 lustre_dissect_element_obd_dqblk_dqb_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2339 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_valid);
2345 lustre_dissect_element_obd_dqblk_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2347 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_padding);
2353 lustre_dissect_struct_obd_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2355 proto_item *item = NULL;
2356 proto_tree *tree = NULL;
2361 old_offset = offset;
2364 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2365 tree = proto_item_add_subtree(item, ett_lustre_obd_dqblk);
2368 offset = lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvb, offset, pinfo, tree);
2370 offset = lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvb, offset, pinfo, tree);
2372 offset = lustre_dissect_element_obd_dqblk_dqb_curspace(tvb, offset, pinfo, tree);
2374 offset = lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvb, offset, pinfo, tree);
2376 offset = lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvb, offset, pinfo, tree);
2378 offset = lustre_dissect_element_obd_dqblk_dqb_curinodes(tvb, offset, pinfo, tree);
2380 offset = lustre_dissect_element_obd_dqblk_dqb_btime(tvb, offset, pinfo, tree);
2382 offset = lustre_dissect_element_obd_dqblk_dqb_itime(tvb, offset, pinfo, tree);
2384 offset = lustre_dissect_element_obd_dqblk_dqb_valid(tvb, offset, pinfo, tree);
2386 offset = lustre_dissect_element_obd_dqblk_padding(tvb, offset, pinfo, tree);
2389 proto_item_set_len(item, offset-old_offset);
2395 /* IDL: struct obd_quotactl { */
2396 /* IDL: uint32 qc_cmd; */
2397 /* IDL: uint32 qc_type; */
2398 /* IDL: uint32 qc_id; */
2399 /* IDL: uint32 qc_stat; */
2400 /* IDL: struct obd_dqinfo { */
2401 /* IDL: } qc_dqinfo; */
2402 /* IDL: struct obd_dqblk { */
2403 /* IDL: } qc_dqblk; */
2407 lustre_dissect_element_obd_quotactl_qc_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2409 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_cmd);
2415 lustre_dissect_element_obd_quotactl_qc_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2417 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_type);
2423 lustre_dissect_element_obd_quotactl_qc_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2425 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_id);
2431 lustre_dissect_element_obd_quotactl_qc_stat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2433 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_stat);
2441 lustre_dissect_element_obd_quotactl_qc_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2443 offset=lustre_dissect_struct_obd_dqblk(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqblk);
2448 lustre_dissect_element_obd_quotactl_qc_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2450 offset=lustre_dissect_struct_obd_dqinfo(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqinfo);
2455 lustre_dissect_struct_obd_quotactl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2457 proto_item *item = NULL;
2458 proto_tree *tree = NULL;
2464 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2465 tree = proto_item_add_subtree(item, ett_lustre_obd_quotactl);
2468 offset=lustre_dissect_element_obd_quotactl_qc_cmd(tvb, offset, pinfo, tree);
2470 offset=lustre_dissect_element_obd_quotactl_qc_type(tvb, offset, pinfo, tree);
2472 offset=lustre_dissect_element_obd_quotactl_qc_id(tvb, offset, pinfo, tree);
2474 offset=lustre_dissect_element_obd_quotactl_qc_stat(tvb, offset, pinfo, tree);
2476 offset=lustre_dissect_element_obd_quotactl_qc_dqinfo(tvb, offset, pinfo, tree);
2478 offset=lustre_dissect_element_obd_quotactl_qc_dqblk(tvb, offset, pinfo, tree);
2481 proto_item_set_len(item, offset-old_offset);
2487 /* IDL: struct quota_adjust_qunit { */
2488 /* IDL: uint32 qaq_flags; */
2489 /* IDL: uint32 qaq_id; */
2490 /* IDL: uint64 qaq_bunit_sz; */
2491 /* IDL: uint64 qaq_iunit_sz; */
2492 /* IDL: uint64 padding1; */
2496 lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2498 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_flags);
2504 lustre_dissect_element_quota_adjust_qunit_qaq_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2506 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_id);
2512 lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2514 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_bunit_sz);
2520 lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2522 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_iunit_sz);
2528 lustre_dissect_element_quota_adjust_qunit_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2530 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_padding1);
2536 lustre_dissect_struct_quota_adjust_qunit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2538 proto_item *item = NULL;
2539 proto_tree *tree = NULL;
2547 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2548 tree = proto_item_add_subtree(item, ett_lustre_quota_adjust_qunit);
2551 offset=lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvb, offset, pinfo, tree);
2553 offset=lustre_dissect_element_quota_adjust_qunit_qaq_id(tvb, offset, pinfo, tree);
2555 offset=lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvb, offset, pinfo, tree);
2557 offset=lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvb, offset, pinfo, tree);
2559 offset=lustre_dissect_element_quota_adjust_qunit_padding1(tvb, offset, pinfo, tree);
2562 proto_item_set_len(item, offset-old_offset);
2567 /* IDL: struct mdt_body { */
2568 /* IDL: struct lu_fid { */
2570 /* IDL: struct lu_fid { */
2572 /* IDL: struct lustre_handle { */
2573 /* IDL: } handle; */
2574 /* IDL: uint64 valid; */
2575 /* IDL: uint64 size; */
2576 /* IDL: uint64 mtime; */
2577 /* IDL: uint64 atime; */
2578 /* IDL: uint64 ctime; */
2579 /* IDL: uint64 blocks; */
2580 /* IDL: uint64 ioepoch; */
2581 /* IDL: uint64 ino; */
2582 /* IDL: uint32 fsuid; */
2583 /* IDL: uint32 fsgid; */
2584 /* IDL: uint32 capability; */
2585 /* IDL: uint32 mode; */
2586 /* IDL: uint32 uid; */
2587 /* IDL: uint32 gid; */
2588 /* IDL: uint32 flags; */
2589 /* IDL: uint32 rdev; */
2590 /* IDL: uint32 nlink; */
2591 /* IDL: uint32 generation; */
2592 /* IDL: uint32 suppgid; */
2593 /* IDL: uint32 eadatasize; */
2594 /* IDL: uint32 aclsize; */
2595 /* IDL: uint32 max_mdsize; */
2596 /* IDL: uint32 max_cookiesize; */
2597 /* IDL: uint32 uid_h; */
2598 /* IDL: uint32 gid_h; */
2599 /* IDL: uint32 padding_5; */
2600 /* IDL: uint64 padding_6; */
2601 /* IDL: uint64 padding_7; */
2602 /* IDL: uint64 padding_8; */
2603 /* IDL: uint64 padding_9; */
2604 /* IDL: uint64 padding_10; */
2608 lustre_dissect_element_mdt_body_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2610 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid1);
2615 lustre_dissect_element_mdt_body_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2617 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid2);
2622 lustre_dissect_element_mdt_body_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2624 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
2630 lustre_dissect_element_mdt_body_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2632 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_valid);
2638 lustre_dissect_element_mdt_body_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2640 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_size);
2646 lustre_dissect_element_mdt_body_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2650 ns.secs = tvb_get_letohl(tvb,offset);
2652 proto_tree_add_time(tree, hf_lustre_mdt_body_mtime, tvb, offset, 8, &ns );
2658 lustre_dissect_element_mdt_body_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2662 ns.secs = tvb_get_letohl(tvb,offset);
2664 proto_tree_add_time(tree, hf_lustre_mdt_body_atime, tvb, offset, 8, &ns );
2671 lustre_dissect_element_mdt_body_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2675 ns.secs = tvb_get_letohl(tvb,offset);
2677 proto_tree_add_time(tree, hf_lustre_mdt_body_ctime, tvb, offset, 8, &ns );
2683 lustre_dissect_element_mdt_body_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2685 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_blocks);
2691 lustre_dissect_element_mdt_body_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2693 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ioepoch);
2699 lustre_dissect_element_mdt_body_ino(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2701 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ino);
2707 lustre_dissect_element_mdt_body_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2709 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsuid);
2715 lustre_dissect_element_mdt_body_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2717 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsgid);
2723 lustre_dissect_element_mdt_body_capability(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2725 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_capability);
2731 lustre_dissect_element_mdt_body_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2733 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_mode);
2739 lustre_dissect_element_mdt_body_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2741 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid);
2747 lustre_dissect_element_mdt_body_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2749 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid);
2755 lustre_dissect_element_mdt_body_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2757 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_flags);
2763 lustre_dissect_element_mdt_body_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2765 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_rdev);
2771 lustre_dissect_element_mdt_body_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2773 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_nlink);
2779 lustre_dissect_element_mdt_body_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2781 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_generation);
2787 lustre_dissect_element_mdt_body_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2789 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_suppgid);
2795 lustre_dissect_element_mdt_body_eadatasize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2797 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_eadatasize);
2803 lustre_dissect_element_mdt_body_aclsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2805 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_aclsize);
2811 lustre_dissect_element_mdt_body_max_mdsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2813 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_mdsize);
2819 lustre_dissect_element_mdt_body_max_cookiesize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2821 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_cookiesize);
2827 lustre_dissect_element_mdt_body_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2829 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid_h);
2835 lustre_dissect_element_mdt_body_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2837 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid_h);
2843 lustre_dissect_element_mdt_body_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2845 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_5);
2851 lustre_dissect_element_mdt_body_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2853 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_6);
2859 lustre_dissect_element_mdt_body_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2861 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_7);
2867 lustre_dissect_element_mdt_body_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2869 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_8);
2875 lustre_dissect_element_mdt_body_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2877 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_9);
2883 lustre_dissect_element_mdt_body_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2885 offset=dissect_uin64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_10);
2891 lustre_dissect_struct_mdt_body(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
2893 proto_item *item = NULL;
2894 proto_tree *tree = NULL;
2901 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2902 tree = proto_item_add_subtree(item, ett_lustre_mdt_body);
2905 offset=lustre_dissect_element_mdt_body_fid1(tvb, offset, pinfo, tree);
2907 offset=lustre_dissect_element_mdt_body_fid2(tvb, offset, pinfo, tree);
2909 offset=lustre_dissect_element_mdt_body_handle(tvb, offset, pinfo, tree);
2911 offset=lustre_dissect_element_mdt_body_valid(tvb, offset, pinfo, tree);
2913 offset=lustre_dissect_element_mdt_body_size(tvb, offset, pinfo, tree);
2915 offset=lustre_dissect_element_mdt_body_mtime(tvb, offset, pinfo, tree);
2917 offset=lustre_dissect_element_mdt_body_atime(tvb, offset, pinfo, tree);
2919 offset=lustre_dissect_element_mdt_body_ctime(tvb, offset, pinfo, tree);
2921 offset=lustre_dissect_element_mdt_body_blocks(tvb, offset, pinfo, tree);
2923 offset=lustre_dissect_element_mdt_body_ioepoch(tvb, offset, pinfo, tree);
2925 offset=lustre_dissect_element_mdt_body_ino(tvb, offset, pinfo, tree);
2927 offset=lustre_dissect_element_mdt_body_fsuid(tvb, offset, pinfo, tree);
2929 offset=lustre_dissect_element_mdt_body_fsgid(tvb, offset, pinfo, tree);
2931 offset=lustre_dissect_element_mdt_body_capability(tvb, offset, pinfo, tree);
2933 offset=lustre_dissect_element_mdt_body_mode(tvb, offset, pinfo, tree);
2935 offset=lustre_dissect_element_mdt_body_uid(tvb, offset, pinfo, tree);
2937 offset=lustre_dissect_element_mdt_body_gid(tvb, offset, pinfo, tree);
2939 offset=lustre_dissect_element_mdt_body_flags(tvb, offset, pinfo, tree);
2941 offset=lustre_dissect_element_mdt_body_rdev(tvb, offset, pinfo, tree);
2943 offset=lustre_dissect_element_mdt_body_nlink(tvb, offset, pinfo, tree);
2945 offset=lustre_dissect_element_mdt_body_generation(tvb, offset, pinfo, tree);
2947 offset=lustre_dissect_element_mdt_body_suppgid(tvb, offset, pinfo, tree);
2949 offset=lustre_dissect_element_mdt_body_eadatasize(tvb, offset, pinfo, tree);
2951 offset=lustre_dissect_element_mdt_body_aclsize(tvb, offset, pinfo, tree);
2953 offset=lustre_dissect_element_mdt_body_max_mdsize(tvb, offset, pinfo, tree);
2955 offset=lustre_dissect_element_mdt_body_max_cookiesize(tvb, offset, pinfo, tree);
2957 offset=lustre_dissect_element_mdt_body_uid_h(tvb, offset, pinfo, tree);
2959 offset=lustre_dissect_element_mdt_body_gid_h(tvb, offset, pinfo, tree);
2961 offset=lustre_dissect_element_mdt_body_padding_5(tvb, offset, pinfo, tree);
2963 offset=lustre_dissect_element_mdt_body_padding_6(tvb, offset, pinfo, tree);
2965 offset=lustre_dissect_element_mdt_body_padding_7(tvb, offset, pinfo, tree);
2967 offset=lustre_dissect_element_mdt_body_padding_8(tvb, offset, pinfo, tree);
2969 offset=lustre_dissect_element_mdt_body_padding_9(tvb, offset, pinfo, tree);
2971 offset=lustre_dissect_element_mdt_body_padding_10(tvb, offset, pinfo, tree);
2974 proto_item_set_len(item, offset-old_offset);
2979 /* I don't find where this struct appear on wire.. need to search mdc_setattr_pack() */
2980 /* IDL: struct mdt_rec_setattr { */
2981 /* IDL: uint32 sa_opcode; */
2982 /* IDL: uint32 sa_cap; */
2983 /* IDL: uint32 sa_fsuid; */
2984 /* IDL: uint32 sa_fsuid_h; */
2985 /* IDL: uint32 sa_fsgid; */
2986 /* IDL: uint32 sa_fsgid_h; */
2987 /* IDL: uint32 sa_suppgid; */
2988 /* IDL: uint32 sa_suppgid_h; */
2989 /* IDL: uint32 sa_padding_1; */
2990 /* IDL: uint32 sa_padding_1_h; */
2991 /* IDL: struct lu_fid { */
2992 /* IDL: } sa_fid; */
2993 /* IDL: uint64 sa_valid; */
2994 /* IDL: uint32 sa_uid; */
2995 /* IDL: uint32 sa_gid; */
2996 /* IDL: uint64 sa_size; */
2997 /* IDL: uint64 sa_blocks; */
2998 /* IDL: uint64 sa_mtime; */
2999 /* IDL: uint64 sa_atime; */
3000 /* IDL: uint64 sa_ctime; */
3001 /* IDL: uint32 sa_attr_flags; */
3002 /* IDL: uint32 sa_mode; */
3003 /* IDL: uint32 sa_padding_2; */
3004 /* IDL: uint32 sa_padding_3; */
3005 /* IDL: uint32 sa_padding_4; */
3006 /* IDL: uint32 sa_padding_5; */
3010 lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3012 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_opcode);
3018 lustre_dissect_element_mdt_rec_setattr_sa_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3020 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_cap);
3026 lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3028 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid);
3034 lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3036 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid_h);
3042 lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3044 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid);
3050 lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3052 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid_h);
3058 lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3060 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid);
3066 lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3068 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid_h);
3074 lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3076 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1);
3082 lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3084 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1_h);
3090 lustre_dissect_element_mdt_rec_setattr_sa_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3092 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setattr_sa_fid);
3098 lustre_dissect_element_mdt_rec_setattr_sa_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3100 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_valid);
3106 lustre_dissect_element_mdt_rec_setattr_sa_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3108 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_uid);
3114 lustre_dissect_element_mdt_rec_setattr_sa_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3116 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_gid);
3122 lustre_dissect_element_mdt_rec_setattr_sa_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3124 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_size);
3130 lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3132 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_blocks);
3138 lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3143 ns.secs = tvb_get_letohl(tvb,offset);
3145 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_mtime, tvb, offset, 8, &ns );
3151 lustre_dissect_element_mdt_rec_setattr_sa_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3155 ns.secs = tvb_get_letohl(tvb,offset);
3157 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_atime, tvb, offset, 8, &ns );
3163 lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3167 ns.secs = tvb_get_letohl(tvb,offset);
3169 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_ctime, tvb, offset, 8, &ns );
3175 lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3177 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_attr_flags);
3183 lustre_dissect_element_mdt_rec_setattr_sa_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3185 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_mode);
3191 lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3193 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_2);
3199 lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3201 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_3);
3207 lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3209 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_4);
3215 lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3217 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_5);
3223 lustre_dissect_struct_mdt_rec_setattr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
3225 proto_item *item = NULL;
3226 proto_tree *tree = NULL;
3235 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3236 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setattr);
3238 sa_opcode=tvb_get_letohl(tvb,offset);
3239 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sa_opcode, lustre_mds_reint_t_vals, "Unknown sa_opc"));
3241 offset=lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvb, offset, pinfo, tree);
3243 offset=lustre_dissect_element_mdt_rec_setattr_sa_cap(tvb, offset, pinfo, tree);
3245 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvb, offset, pinfo, tree);
3247 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvb, offset, pinfo, tree);
3249 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvb, offset, pinfo, tree);
3251 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvb, offset, pinfo, tree);
3253 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvb, offset, pinfo, tree);
3255 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvb, offset, pinfo, tree);
3257 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvb, offset, pinfo, tree);
3259 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvb, offset, pinfo, tree);
3261 offset=lustre_dissect_element_mdt_rec_setattr_sa_fid(tvb, offset, pinfo, tree);
3263 offset=lustre_dissect_element_mdt_rec_setattr_sa_valid(tvb, offset, pinfo, tree);
3265 offset=lustre_dissect_element_mdt_rec_setattr_sa_uid(tvb, offset, pinfo, tree);
3267 offset=lustre_dissect_element_mdt_rec_setattr_sa_gid(tvb, offset, pinfo, tree);
3269 offset=lustre_dissect_element_mdt_rec_setattr_sa_size(tvb, offset, pinfo, tree);
3271 offset=lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvb, offset, pinfo, tree);
3273 offset=lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvb, offset, pinfo, tree);
3275 offset=lustre_dissect_element_mdt_rec_setattr_sa_atime(tvb, offset, pinfo, tree);
3277 offset=lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvb, offset, pinfo, tree);
3279 offset=lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvb, offset, pinfo, tree);
3281 offset=lustre_dissect_element_mdt_rec_setattr_sa_mode(tvb, offset, pinfo, tree);
3283 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvb, offset, pinfo, tree);
3285 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvb, offset, pinfo, tree);
3287 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvb, offset, pinfo, tree);
3289 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvb, offset, pinfo, tree);
3292 proto_item_set_len(item, offset-old_offset);
3297 /* IDL: struct mdt_rec_create { */
3298 /* IDL: uint32 cr_opcode; */
3299 /* IDL: uint32 cr_cap; */
3300 /* IDL: uint32 cr_fsuid; */
3301 /* IDL: uint32 cr_fsuid_h; */
3302 /* IDL: uint32 cr_fsgid; */
3303 /* IDL: uint32 cr_fsgid_h; */
3304 /* IDL: uint32 cr_suppgid1; */
3305 /* IDL: uint32 cr_suppgid1_h; */
3306 /* IDL: uint32 cr_suppgid2; */
3307 /* IDL: uint32 cr_suppgid2_h; */
3308 /* IDL: struct lu_fid { */
3309 /* IDL: } cr_fid1; */
3310 /* IDL: struct lu_fid { */
3311 /* IDL: } cr_fid2; */
3312 /* IDL: struct lustre_handle { */
3313 /* IDL: } cr_old_handle; */
3314 /* IDL: uint64 cr_time; */
3315 /* IDL: uint64 cr_rdev; */
3316 /* IDL: uint64 cr_ioepoch; */
3317 /* IDL: uint64 cr_padding_1; */
3318 /* IDL: uint32 cr_mode; */
3319 /* IDL: uint32 cr_bias; */
3320 /* IDL: uint32 cr_flags_l; */
3321 /* IDL: uint32 cr_flags_h; */
3322 /* IDL: uint32 cr_padding_3; */
3323 /* IDL: uint32 cr_padding_4; */
3327 lustre_dissect_element_mdt_rec_create_cr_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3329 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_opcode);
3335 lustre_dissect_element_mdt_rec_create_cr_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3337 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_cap);
3343 lustre_dissect_element_mdt_rec_create_cr_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3345 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid);
3351 lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3353 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid_h);
3359 lustre_dissect_element_mdt_rec_create_cr_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3361 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid);
3367 lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3369 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid_h);
3375 lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3377 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1);
3383 lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3385 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1_h);
3391 lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3393 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2);
3399 lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3401 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2_h);
3407 lustre_dissect_element_mdt_rec_create_cr_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3409 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid1);
3414 lustre_dissect_element_mdt_rec_create_cr_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3416 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid2);
3421 lustre_dissect_element_mdt_rec_create_cr_old_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3423 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_old_handle);
3428 lustre_dissect_element_mdt_rec_create_cr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3432 ns.secs = tvb_get_letohl(tvb,offset);
3434 proto_tree_add_time(tree, hf_lustre_mdt_rec_create_cr_time, tvb, offset, 8, &ns );
3441 lustre_dissect_element_mdt_rec_create_cr_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3443 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_rdev);
3449 lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3451 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_ioepoch);
3457 lustre_dissect_element_mdt_rec_create_cr_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3459 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_1);
3465 lustre_dissect_element_mdt_rec_create_cr_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3467 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_mode);
3473 lustre_dissect_element_mdt_rec_create_cr_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3475 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_bias);
3481 lustre_dissect_element_mdt_rec_create_cr_flags_l(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3483 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_l);
3489 lustre_dissect_element_mdt_rec_create_cr_flags_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3491 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_h);
3497 lustre_dissect_element_mdt_rec_create_cr_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3499 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_3);
3505 lustre_dissect_element_mdt_rec_create_cr_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3507 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_4);
3513 lustre_dissect_struct_mdt_rec_create(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
3515 proto_item *item = NULL;
3516 proto_tree *tree = NULL;
3525 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3526 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_create);
3528 cr_opcode=tvb_get_letohl(tvb,offset);
3529 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(cr_opcode, lustre_mds_reint_t_vals, "Unknown cr_opc"));
3531 offset=lustre_dissect_element_mdt_rec_create_cr_opcode(tvb, offset, pinfo, tree);
3533 offset=lustre_dissect_element_mdt_rec_create_cr_cap(tvb, offset, pinfo, tree);
3535 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid(tvb, offset, pinfo, tree);
3537 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvb, offset, pinfo, tree);
3539 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid(tvb, offset, pinfo, tree);
3541 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvb, offset, pinfo, tree);
3543 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvb, offset, pinfo, tree);
3545 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvb, offset, pinfo, tree);
3547 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvb, offset, pinfo, tree);
3549 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvb, offset, pinfo, tree);
3551 offset=lustre_dissect_element_mdt_rec_create_cr_fid1(tvb, offset, pinfo, tree);
3553 offset=lustre_dissect_element_mdt_rec_create_cr_fid2(tvb, offset, pinfo, tree);
3555 offset=lustre_dissect_element_mdt_rec_create_cr_old_handle(tvb, offset, pinfo, tree);
3557 offset=lustre_dissect_element_mdt_rec_create_cr_time(tvb, offset, pinfo, tree);
3559 offset=lustre_dissect_element_mdt_rec_create_cr_rdev(tvb, offset, pinfo, tree);
3561 offset=lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvb, offset, pinfo, tree);
3563 offset=lustre_dissect_element_mdt_rec_create_cr_padding_1(tvb, offset, pinfo, tree);
3565 offset=lustre_dissect_element_mdt_rec_create_cr_mode(tvb, offset, pinfo, tree);
3567 offset=lustre_dissect_element_mdt_rec_create_cr_bias(tvb, offset, pinfo, tree);
3569 offset=lustre_dissect_element_mdt_rec_create_cr_flags_l(tvb, offset, pinfo, tree);
3571 offset=lustre_dissect_element_mdt_rec_create_cr_flags_h(tvb, offset, pinfo, tree);
3573 offset=lustre_dissect_element_mdt_rec_create_cr_padding_3(tvb, offset, pinfo, tree);
3575 offset=lustre_dissect_element_mdt_rec_create_cr_padding_4(tvb, offset, pinfo, tree);
3578 proto_item_set_len(item, offset-old_offset);
3584 /* TODO : find where this structure appear ! */
3585 /* IDL: struct mdt_rec_link { */
3586 /* IDL: uint32 lk_opcode; */
3587 /* IDL: uint32 lk_cap; */
3588 /* IDL: uint32 lk_fsuid; */
3589 /* IDL: uint32 lk_fsuid_h; */
3590 /* IDL: uint32 lk_fsgid; */
3591 /* IDL: uint32 lk_fsgid_h; */
3592 /* IDL: uint32 lk_suppgid1; */
3593 /* IDL: uint32 lk_suppgid1_h; */
3594 /* IDL: uint32 lk_suppgid2; */
3595 /* IDL: uint32 lk_suppgid2_h; */
3596 /* IDL: struct lu_fid { */
3597 /* IDL: } lk_fid1; */
3598 /* IDL: struct lu_fid { */
3599 /* IDL: } lk_fid2; */
3600 /* IDL: uint64 lk_time; */
3601 /* IDL: uint64 lk_padding_1; */
3602 /* IDL: uint64 lk_padding_2; */
3603 /* IDL: uint64 lk_padding_3; */
3604 /* IDL: uint64 lk_padding_4; */
3605 /* IDL: uint32 lk_bias; */
3606 /* IDL: uint32 lk_padding_5; */
3607 /* IDL: uint32 lk_padding_6; */
3608 /* IDL: uint32 lk_padding_7; */
3609 /* IDL: uint32 lk_padding_8; */
3610 /* IDL: uint32 lk_padding_9; */
3614 lustre_dissect_element_mdt_rec_link_lk_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3616 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_opcode);
3622 lustre_dissect_element_mdt_rec_link_lk_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3624 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_cap);
3630 lustre_dissect_element_mdt_rec_link_lk_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3632 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid);
3638 lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3640 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid_h);
3646 lustre_dissect_element_mdt_rec_link_lk_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3648 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid);
3654 lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3656 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid_h);
3662 lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3664 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1);
3670 lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3672 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1_h);
3678 lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3680 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2);
3686 lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3688 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2_h);
3694 lustre_dissect_element_mdt_rec_link_lk_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3696 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid1);
3701 lustre_dissect_element_mdt_rec_link_lk_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3703 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid2);
3708 lustre_dissect_element_mdt_rec_link_lk_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3712 ns.secs = tvb_get_letohl(tvb,offset);
3714 proto_tree_add_time(tree, hf_lustre_mdt_rec_link_lk_time, tvb, offset, 8, &ns );
3720 lustre_dissect_element_mdt_rec_link_lk_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3722 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_1);
3728 lustre_dissect_element_mdt_rec_link_lk_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3730 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_2);
3736 lustre_dissect_element_mdt_rec_link_lk_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3738 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_3);
3744 lustre_dissect_element_mdt_rec_link_lk_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3746 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_4);
3752 lustre_dissect_element_mdt_rec_link_lk_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3754 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_bias);
3760 lustre_dissect_element_mdt_rec_link_lk_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3762 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_5);
3768 lustre_dissect_element_mdt_rec_link_lk_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3770 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_6);
3776 lustre_dissect_element_mdt_rec_link_lk_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3778 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_7);
3784 lustre_dissect_element_mdt_rec_link_lk_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3786 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_8);
3792 lustre_dissect_element_mdt_rec_link_lk_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3794 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_9);
3800 lustre_dissect_struct_mdt_rec_link(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
3802 proto_item *item = NULL;
3803 proto_tree *tree = NULL;
3812 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3813 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_link);
3815 lk_opcode=tvb_get_letohl(tvb,offset);
3816 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lk_opcode, lustre_mds_reint_t_vals, "Unknown lk_opc"));
3818 offset=lustre_dissect_element_mdt_rec_link_lk_opcode(tvb, offset, pinfo, tree);
3820 offset=lustre_dissect_element_mdt_rec_link_lk_cap(tvb, offset, pinfo, tree);
3822 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid(tvb, offset, pinfo, tree);
3824 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvb, offset, pinfo, tree);
3826 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid(tvb, offset, pinfo, tree);
3828 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvb, offset, pinfo, tree);
3830 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvb, offset, pinfo, tree);
3832 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvb, offset, pinfo, tree);
3834 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvb, offset, pinfo, tree);
3836 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvb, offset, pinfo, tree);
3838 offset=lustre_dissect_element_mdt_rec_link_lk_fid1(tvb, offset, pinfo, tree);
3840 offset=lustre_dissect_element_mdt_rec_link_lk_fid2(tvb, offset, pinfo, tree);
3842 offset=lustre_dissect_element_mdt_rec_link_lk_time(tvb, offset, pinfo, tree);
3844 offset=lustre_dissect_element_mdt_rec_link_lk_padding_1(tvb, offset, pinfo, tree);
3846 offset=lustre_dissect_element_mdt_rec_link_lk_padding_2(tvb, offset, pinfo, tree);
3848 offset=lustre_dissect_element_mdt_rec_link_lk_padding_3(tvb, offset, pinfo, tree);
3850 offset=lustre_dissect_element_mdt_rec_link_lk_padding_4(tvb, offset, pinfo, tree);
3852 offset=lustre_dissect_element_mdt_rec_link_lk_bias(tvb, offset, pinfo, tree);
3854 offset=lustre_dissect_element_mdt_rec_link_lk_padding_5(tvb, offset, pinfo, tree);
3856 offset=lustre_dissect_element_mdt_rec_link_lk_padding_6(tvb, offset, pinfo, tree);
3858 offset=lustre_dissect_element_mdt_rec_link_lk_padding_7(tvb, offset, pinfo, tree);
3860 offset=lustre_dissect_element_mdt_rec_link_lk_padding_8(tvb, offset, pinfo, tree);
3862 offset=lustre_dissect_element_mdt_rec_link_lk_padding_9(tvb, offset, pinfo, tree);
3865 proto_item_set_len(item, offset-old_offset);
3870 /* IDL: struct mdt_rec_unlink { */
3871 /* IDL: uint32 ul_opcode; */
3872 /* IDL: uint32 ul_cap; */
3873 /* IDL: uint32 ul_fsuid; */
3874 /* IDL: uint32 ul_fsuid_h; */
3875 /* IDL: uint32 ul_fsgid; */
3876 /* IDL: uint32 ul_fsgid_h; */
3877 /* IDL: uint32 ul_suppgid1; */
3878 /* IDL: uint32 ul_suppgid1_h; */
3879 /* IDL: uint32 ul_suppgid2; */
3880 /* IDL: uint32 ul_suppgid2_h; */
3881 /* IDL: struct lu_fid { */
3882 /* IDL: } ul_fid1; */
3883 /* IDL: struct lu_fid { */
3884 /* IDL: } ul_fid2; */
3885 /* IDL: uint64 ul_time; */
3886 /* IDL: uint64 ul_padding_2; */
3887 /* IDL: uint64 ul_padding_3; */
3888 /* IDL: uint64 ul_padding_4; */
3889 /* IDL: uint64 ul_padding_5; */
3890 /* IDL: uint32 ul_bias; */
3891 /* IDL: uint32 ul_mode; */
3892 /* IDL: uint32 ul_padding_6; */
3893 /* IDL: uint32 ul_padding_7; */
3894 /* IDL: uint32 ul_padding_8; */
3895 /* IDL: uint32 ul_padding_9; */
3899 lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3901 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_opcode);
3907 lustre_dissect_element_mdt_rec_unlink_ul_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3909 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_cap);
3915 lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3917 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid);
3923 lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3925 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid_h);
3931 lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3933 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid);
3939 lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3941 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid_h);
3947 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3949 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1);
3955 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3957 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1_h);
3963 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3965 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2);
3971 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3973 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2_h);
3979 lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3981 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid1);
3986 lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3988 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid2);
3993 lustre_dissect_element_mdt_rec_unlink_ul_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3997 ns.secs = tvb_get_letohl(tvb,offset);
3999 proto_tree_add_time(tree,hf_lustre_mdt_rec_unlink_ul_time , tvb, offset, 8, &ns );
4005 lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4007 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_2);
4013 lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4015 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_3);
4021 lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4023 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_4);
4029 lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4031 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_5);
4037 lustre_dissect_element_mdt_rec_unlink_ul_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4039 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_bias);
4045 lustre_dissect_element_mdt_rec_unlink_ul_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4047 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_mode);
4053 lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4055 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_6);
4061 lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4063 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_7);
4069 lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4071 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_8);
4077 lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4079 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_9);
4085 lustre_dissect_struct_mdt_rec_unlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
4087 proto_item *item = NULL;
4088 proto_tree *tree = NULL;
4097 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4098 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_unlink);
4101 ul_opcode=tvb_get_letohl(tvb,offset);
4102 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(ul_opcode, lustre_mds_reint_t_vals, "Unknown ul_opc"));
4104 offset=lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvb, offset, pinfo, tree);
4106 offset=lustre_dissect_element_mdt_rec_unlink_ul_cap(tvb, offset, pinfo, tree);
4108 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvb, offset, pinfo, tree);
4110 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvb, offset, pinfo, tree);
4112 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvb, offset, pinfo, tree);
4114 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvb, offset, pinfo, tree);
4116 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvb, offset, pinfo, tree);
4118 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvb, offset, pinfo, tree);
4120 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvb, offset, pinfo, tree);
4122 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvb, offset, pinfo, tree);
4124 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvb, offset, pinfo, tree);
4126 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvb, offset, pinfo, tree);
4128 offset=lustre_dissect_element_mdt_rec_unlink_ul_time(tvb, offset, pinfo, tree);
4130 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvb, offset, pinfo, tree);
4132 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvb, offset, pinfo, tree);
4134 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvb, offset, pinfo, tree);
4136 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvb, offset, pinfo, tree);
4138 offset=lustre_dissect_element_mdt_rec_unlink_ul_bias(tvb, offset, pinfo, tree);
4140 offset=lustre_dissect_element_mdt_rec_unlink_ul_mode(tvb, offset, pinfo, tree);
4142 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvb, offset, pinfo, tree);
4144 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvb, offset, pinfo, tree);
4146 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvb, offset, pinfo, tree);
4148 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvb, offset, pinfo, tree);
4151 proto_item_set_len(item, offset-old_offset);
4156 /* IDL: struct mdt_rec_rename { */
4157 /* IDL: uint32 rn_opcode; */
4158 /* IDL: uint32 rn_fsuid; */
4159 /* IDL: uint32 rn_fsgid; */
4160 /* IDL: uint32 rn_cap; */
4161 /* IDL: uint32 rn_suppgid1; */
4162 /* IDL: uint32 rn_suppgid2; */
4163 /* IDL: struct ll_fid { */
4164 /* IDL: } rn_fid1; */
4165 /* IDL: struct ll_fid { */
4166 /* IDL: } rn_fid2; */
4167 /* IDL: uint64 rn_time; */
4168 /* IDL: uint32 rn_padding_1; */
4169 /* IDL: uint32 rn_padding_2; */
4170 /* IDL: uint32 rn_padding_3; */
4171 /* IDL: uint32 rn_padding_4; */
4175 lustre_dissect_element_mdt_rec_rename_rn_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4177 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_opcode);
4183 lustre_dissect_element_mdt_rec_rename_rn_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4185 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_cap);
4191 lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4193 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid);
4199 lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4201 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid_h);
4207 lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4209 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid);
4215 lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4217 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid_h);
4223 lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4225 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1);
4231 lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4233 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1_h);
4239 lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4241 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2);
4247 lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4249 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2_h);
4255 lustre_dissect_element_mdt_rec_rename_rn_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4257 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid1);
4262 lustre_dissect_element_mdt_rec_rename_rn_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4264 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid2);
4269 lustre_dissect_element_mdt_rec_rename_rn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4273 ns.secs = tvb_get_letohl(tvb,offset);
4275 proto_tree_add_time(tree, hf_lustre_mdt_rec_rename_rn_time, tvb, offset, 8, &ns );
4281 lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4283 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_1);
4289 lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4291 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_2);
4297 lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4299 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_3);
4305 lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4307 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_4);
4313 lustre_dissect_element_mdt_rec_rename_rn_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4315 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_bias);
4321 lustre_dissect_element_mdt_rec_rename_rn_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4323 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_mode);
4329 lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4331 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_5);
4337 lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4339 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_6);
4345 lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4347 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_7);
4353 lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4355 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_8);
4361 lustre_dissect_struct_mdt_rec_rename(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
4363 proto_item *item = NULL;
4364 proto_tree *tree = NULL;
4373 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4374 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_rename);
4377 rn_opcode=tvb_get_letohl(tvb,offset);
4378 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(rn_opcode, lustre_mds_reint_t_vals, "Unknown rn_opc"));
4380 offset=lustre_dissect_element_mdt_rec_rename_rn_opcode(tvb, offset, pinfo, tree);
4382 offset=lustre_dissect_element_mdt_rec_rename_rn_cap(tvb, offset, pinfo, tree);
4384 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvb, offset, pinfo, tree);
4386 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvb, offset, pinfo, tree);
4388 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvb, offset, pinfo, tree);
4390 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvb, offset, pinfo, tree);
4392 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvb, offset, pinfo, tree);
4394 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvb, offset, pinfo, tree);
4396 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvb, offset, pinfo, tree);
4398 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvb, offset, pinfo, tree);
4400 offset=lustre_dissect_element_mdt_rec_rename_rn_fid1(tvb, offset, pinfo, tree);
4402 offset=lustre_dissect_element_mdt_rec_rename_rn_fid2(tvb, offset, pinfo, tree);
4404 offset=lustre_dissect_element_mdt_rec_rename_rn_time(tvb, offset, pinfo, tree);
4406 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvb, offset, pinfo, tree);
4408 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvb, offset, pinfo, tree);
4410 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvb, offset, pinfo, tree);
4412 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvb, offset, pinfo, tree);
4414 offset=lustre_dissect_element_mdt_rec_rename_rn_bias(tvb, offset, pinfo, tree);
4416 offset=lustre_dissect_element_mdt_rec_rename_rn_mode(tvb, offset, pinfo, tree);
4418 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvb, offset, pinfo, tree);
4420 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvb, offset, pinfo, tree);
4422 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvb, offset, pinfo, tree);
4424 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvb, offset, pinfo, tree);
4427 proto_item_set_len(item, offset-old_offset);
4432 /* I don't find where this struct appear on wire.. need to search mdc_setxattr_pack() */
4433 /* IDL: struct mdt_rec_setxattr { */
4434 /* IDL: uint32 sx_opcode; */
4435 /* IDL: uint32 sx_cap; */
4436 /* IDL: uint32 sx_fsuid; */
4437 /* IDL: uint32 sx_fsuid_h; */
4438 /* IDL: uint32 sx_fsgid; */
4439 /* IDL: uint32 sx_fsgid_h; */
4440 /* IDL: uint32 sx_suppgid1; */
4441 /* IDL: uint32 sx_suppgid1_h; */
4442 /* IDL: uint32 sx_suppgid2; */
4443 /* IDL: uint32 sx_suppgid2_h; */
4444 /* IDL: struct lu_fid { */
4445 /* IDL: } sx_fid; */
4446 /* IDL: uint64 sx_padding_1; */
4447 /* IDL: uint32 sx_padding_2; */
4448 /* IDL: uint32 sx_padding_3; */
4449 /* IDL: uint64 sx_valid; */
4450 /* IDL: uint64 sx_time; */
4451 /* IDL: uint64 sx_padding_5; */
4452 /* IDL: uint64 sx_padding_6; */
4453 /* IDL: uint64 sx_padding_7; */
4454 /* IDL: uint32 sx_size; */
4455 /* IDL: uint32 sx_flags; */
4456 /* IDL: uint32 sx_padding_8; */
4457 /* IDL: uint32 sx_padding_9; */
4458 /* IDL: uint32 sx_padding_10; */
4459 /* IDL: uint32 sx_padding_11; */
4463 lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4465 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_opcode);
4471 lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4473 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_cap);
4479 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4481 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid);
4487 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4489 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid_h);
4495 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4497 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid);
4503 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4505 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid_h);
4511 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4513 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1);
4519 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4521 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1_h);
4527 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4529 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2);
4535 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4537 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2_h);
4543 lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4545 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setxattr_sx_fid);
4551 lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4553 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_1);
4559 lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4561 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_2);
4567 lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4569 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_3);
4575 lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4577 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_valid);
4583 lustre_dissect_element_mdt_rec_setxattr_sx_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4588 ns.secs = tvb_get_letohl(tvb,offset);
4590 proto_tree_add_time(tree, hf_lustre_mdt_rec_setxattr_sx_time, tvb, offset, 8, &ns );
4596 lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4598 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_5);
4604 lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4606 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_6);
4612 lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4614 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_7);
4620 lustre_dissect_element_mdt_rec_setxattr_sx_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4622 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_size);
4628 lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4630 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_flags);
4636 lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4638 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_8);
4644 lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4646 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_9);
4652 lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4654 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_10);
4660 lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4662 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_11);
4668 lustre_dissect_struct_mdt_rec_setxattr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
4670 proto_item *item = NULL;
4671 proto_tree *tree = NULL;
4680 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4681 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setxattr);
4683 sx_opcode=tvb_get_letohl(tvb,offset);
4684 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sx_opcode, lustre_mds_reint_t_vals, "Unknown sx_opc"));
4686 offset=lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvb, offset, pinfo, tree);
4688 offset=lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvb, offset, pinfo, tree);
4690 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvb, offset, pinfo, tree);
4692 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvb, offset, pinfo, tree);
4694 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvb, offset, pinfo, tree);
4696 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvb, offset, pinfo, tree);
4698 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvb, offset, pinfo, tree);
4700 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvb, offset, pinfo, tree);
4702 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvb, offset, pinfo, tree);
4704 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvb, offset, pinfo, tree);
4706 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvb, offset, pinfo, tree);
4708 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvb, offset, pinfo, tree);
4710 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvb, offset, pinfo, tree);
4712 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvb, offset, pinfo, tree);
4714 offset=lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvb, offset, pinfo, tree);
4716 offset=lustre_dissect_element_mdt_rec_setxattr_sx_time(tvb, offset, pinfo, tree);
4718 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvb, offset, pinfo, tree);
4720 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvb, offset, pinfo, tree);
4722 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvb, offset, pinfo, tree);
4724 offset=lustre_dissect_element_mdt_rec_setxattr_sx_size(tvb, offset, pinfo, tree);
4726 offset=lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvb, offset, pinfo, tree);
4728 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvb, offset, pinfo, tree);
4730 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvb, offset, pinfo, tree);
4732 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvb, offset, pinfo, tree);
4734 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvb, offset, pinfo, tree);
4737 proto_item_set_len(item, offset-old_offset);
4743 /* TODO : find where this structure appear */
4745 /* IDL: struct lov_desc { */
4746 /* IDL: uint32 ld_tgt_count; */
4747 /* IDL: uint32 ld_active_tgt_count; */
4748 /* IDL: uint32 ld_default_stripe_count; */
4749 /* IDL: uint32 ld_pattern; */
4750 /* IDL: uint64 ld_default_stripe_size; */
4751 /* IDL: uint64 ld_default_stripe_offset; */
4752 /* IDL: uint32 ld_padding_0; */
4753 /* IDL: uint32 ld_qos_maxage; */
4754 /* IDL: uint32 ld_padding_1; */
4755 /* IDL: uint32 ld_padding_2; */
4756 /* IDL: struct obd_uuid { */
4757 /* IDL: } ld_uuid; */
4761 lustre_dissect_element_lov_desc_ld_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4763 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_tgt_count);
4769 lustre_dissect_element_lov_desc_ld_active_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4771 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_active_tgt_count);
4777 lustre_dissect_element_lov_desc_ld_default_stripe_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4779 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_count);
4785 lustre_dissect_element_lov_desc_ld_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4787 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_pattern);
4793 lustre_dissect_element_lov_desc_ld_default_stripe_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4795 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_size);
4801 lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4803 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_offset);
4809 lustre_dissect_element_lov_desc_ld_padding_0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4811 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_0);
4817 lustre_dissect_element_lov_desc_ld_qos_maxage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4819 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_qos_maxage);
4825 lustre_dissect_element_lov_desc_ld_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4827 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_1);
4833 lustre_dissect_element_lov_desc_ld_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4835 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_2);
4841 lustre_dissect_element_lov_desc_ld_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4843 //offset=lustre_dissect_struct_HASH(0x85bade8)(tvb,offset,pinfo,tree,hf_lustre_lov_desc_ld_uuid);
4848 lustre_dissect_struct_lov_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
4850 proto_item *item = NULL;
4851 proto_tree *tree = NULL;
4859 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4860 tree = proto_item_add_subtree(item, ett_lustre_lov_desc);
4863 offset=lustre_dissect_element_lov_desc_ld_tgt_count(tvb, offset, pinfo, tree);
4865 offset=lustre_dissect_element_lov_desc_ld_active_tgt_count(tvb, offset, pinfo, tree);
4867 offset=lustre_dissect_element_lov_desc_ld_default_stripe_count(tvb, offset, pinfo, tree);
4869 offset=lustre_dissect_element_lov_desc_ld_pattern(tvb, offset, pinfo, tree);
4871 offset=lustre_dissect_element_lov_desc_ld_default_stripe_size(tvb, offset, pinfo, tree);
4873 offset=lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvb, offset, pinfo, tree);
4875 offset=lustre_dissect_element_lov_desc_ld_padding_0(tvb, offset, pinfo, tree);
4877 offset=lustre_dissect_element_lov_desc_ld_qos_maxage(tvb, offset, pinfo, tree);
4879 offset=lustre_dissect_element_lov_desc_ld_padding_1(tvb, offset, pinfo, tree);
4881 offset=lustre_dissect_element_lov_desc_ld_padding_2(tvb, offset, pinfo, tree);
4883 offset=lustre_dissect_element_lov_desc_ld_uuid(tvb, offset, pinfo, tree);
4886 proto_item_set_len(item, offset-old_offset);
4891 /* IDL: struct obd_uuid { */
4892 /* char uuid[40]; */
4896 lustre_dissect_struct_obd_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
4899 /* the lenght of the string is 40 bytes max, with \0 inside */
4901 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 40, TRUE);
4910 /* IDL: struct ldlm_res_id { */
4911 /* IDL: uint64 name[4]; */
4915 lustre_dissect_element_ldlm_res_id_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4917 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_res_id_name);
4923 lustre_dissect_element_ldlm_res_id_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4926 for (i = 0; i < 4; i++)
4927 offset=lustre_dissect_element_ldlm_res_id_name_(tvb, offset, pinfo, tree);
4935 lustre_dissect_struct_ldlm_res_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
4937 proto_item *item = NULL;
4938 proto_tree *tree = NULL;
4946 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4947 tree = proto_item_add_subtree(item, ett_lustre_ldlm_res_id);
4950 offset=lustre_dissect_element_ldlm_res_id_name(tvb, offset, pinfo, tree);
4953 proto_item_set_len(item, offset-old_offset);
4960 /* IDL: LCK_MINMODE=0, */
4961 /* IDL: LCK_EX=1, */
4962 /* IDL: LCK_PW=2, */
4963 /* IDL: LCK_PR=4, */
4964 /* IDL: LCK_CW=8, */
4965 /* IDL: LCK_CR=16, */
4966 /* IDL: LCK_NL=32, */
4967 /* IDL: LCK_GROUP=64, */
4968 /* IDL: LCK_MAXMODE, */
4972 lustre_dissect_enum_ldlm_mode_t(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
4974 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_index);
4980 /* IDL: LDLM_PLAIN=10, */
4981 /* IDL: LDLM_EXTENT=11, */
4982 /* IDL: LDLM_FLOCK=12, */
4983 /* IDL: LDLM_IBITS=13, */
4984 /* IDL: LDLM_MAX_TYPE, */
4988 lustre_dissect_enum_ldlm_type_t(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
4990 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type );
4994 /* IDL: struct ldlm_extent { */
4995 /* IDL: uint64 start; */
4996 /* IDL: uint64 end; */
4997 /* IDL: uint64 gid; */
5001 lustre_dissect_element_ldlm_extent_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5003 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_start);
5009 lustre_dissect_element_ldlm_extent_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5011 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_end);
5017 lustre_dissect_element_ldlm_extent_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5019 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_gid);
5025 lustre_dissect_struct_ldlm_extent(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5027 proto_item *item = NULL;
5028 proto_tree *tree = NULL;
5036 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5037 tree = proto_item_add_subtree(item, ett_lustre_ldlm_extent);
5040 offset=lustre_dissect_element_ldlm_extent_start(tvb, offset, pinfo, tree);
5042 offset=lustre_dissect_element_ldlm_extent_end(tvb, offset, pinfo, tree);
5044 offset=lustre_dissect_element_ldlm_extent_gid(tvb, offset, pinfo, tree);
5047 proto_item_set_len(item, offset-old_offset);
5052 /* IDL: struct ldlm_inodebits { */
5053 /* IDL: uint64 bits; */
5057 lustre_dissect_element_ldlm_inodebits_bits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5059 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_inodebits_bits);
5065 lustre_dissect_struct_ldlm_inodebits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5067 proto_item *item = NULL;
5068 proto_tree *tree = NULL;
5076 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5077 tree = proto_item_add_subtree(item, ett_lustre_ldlm_inodebits);
5080 offset=lustre_dissect_element_ldlm_inodebits_bits(tvb, offset, pinfo, tree);
5083 proto_item_set_len(item, offset-old_offset);
5088 /* IDL: struct ldlm_flock { */
5089 /* IDL: uint64 start; */
5090 /* IDL: uint64 end; */
5091 /* IDL: uint64 blocking_export; */
5092 /* IDL: uint32 blocking_pid; */
5093 /* IDL: uint32 pid; */
5097 lustre_dissect_element_ldlm_flock_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5099 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_start);
5105 lustre_dissect_element_ldlm_flock_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5107 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_end);
5113 lustre_dissect_element_ldlm_flock_blocking_export(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5115 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_export);
5121 lustre_dissect_element_ldlm_flock_blocking_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5123 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_pid);
5129 lustre_dissect_element_ldlm_flock_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5131 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_pid);
5137 lustre_dissect_struct_ldlm_flock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5139 proto_item *item = NULL;
5140 proto_tree *tree = NULL;
5148 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5149 tree = proto_item_add_subtree(item, ett_lustre_ldlm_flock);
5152 offset=lustre_dissect_element_ldlm_flock_start(tvb, offset, pinfo, tree);
5154 offset=lustre_dissect_element_ldlm_flock_end(tvb, offset, pinfo, tree);
5156 offset=lustre_dissect_element_ldlm_flock_blocking_export(tvb, offset, pinfo, tree);
5158 offset=lustre_dissect_element_ldlm_flock_blocking_pid(tvb, offset, pinfo, tree);
5160 offset=lustre_dissect_element_ldlm_flock_pid(tvb, offset, pinfo, tree);
5163 proto_item_set_len(item, offset-old_offset);
5168 /* IDL: struct ldlm_intent { */
5169 /* IDL: uint64 opc; */
5173 lustre_dissect_element_ldlm_intent_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5176 /* this opcode is like a flag*/
5177 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_open );
5178 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_creat );
5179 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_readdir );
5180 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getattr );
5181 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_lookup );
5182 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_unlink );
5183 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getxattr);
5184 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_exec );
5185 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_pin );
5186 opcode = tvb_get_letohl(tvb,offset);
5188 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, "[ intent :");
5189 if(opcode & IT_OPEN ){
5190 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " open");
5191 proto_item_append_text(tree, " open" );
5193 if(opcode & IT_CREAT ){
5194 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " create");
5195 proto_item_append_text(tree, " create" );
5197 if(opcode & IT_READDIR ){
5198 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " readdir");
5199 proto_item_append_text(tree, " readdir" );
5201 if(opcode & IT_GETATTR ){
5202 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getattr");
5203 proto_item_append_text(tree, " getattr" );
5205 if(opcode & IT_LOOKUP ){
5206 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " lookup");
5207 proto_item_append_text(tree, " lookup" );
5209 if(opcode & IT_UNLINK ){
5210 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " unlink");
5211 proto_item_append_text(tree, " unlink" );
5213 if(opcode & IT_GETXATTR){
5214 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getxattr");
5215 proto_item_append_text(tree, " getxattr" );
5217 if(opcode & IT_EXEC ){
5218 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " exec");
5219 proto_item_append_text(tree, " exec" );
5221 if(opcode & IT_PIN ){
5222 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " pin");
5223 proto_item_append_text(tree, " pin" );
5226 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " ]");
5232 lustre_dissect_struct_ldlm_intent(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5234 // proto_item *item = NULL;
5235 //proto_tree *tree = NULL;
5238 proto_item * opcode_item = NULL;
5239 proto_tree * opcode_tree = NULL;
5242 // if (parent_tree) {
5243 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5244 // tree = proto_item_add_subtree(item, ett_lustre_ldlm_intent);
5245 // //tree = parent_tree; /* TODO : !!!!!!!!!!!!!!! ATTENTIon à revoir,
5246 // //fait rapidement pour ne pas avoir le subtree */
5250 intent_opc = tvb_get_letoh64(tvb,offset);
5252 opcode_item = proto_tree_add_item(parent_tree, hf_lustre_ldlm_intent_opc, tvb, offset, 8, TRUE);
5253 opcode_tree = proto_item_add_subtree(opcode_item, ett_lustre_ldlm_intent_opc);
5256 offset=lustre_dissect_element_ldlm_intent_opc(tvb, offset, pinfo, opcode_tree);
5258 offset=ldlm_opcode_process(tvb, offset, pinfo, parent_tree, intent_opc);
5265 /* IDL: struct ldlm_resource_desc { */
5266 /* IDL: ldlm_type_t lr_type; */
5267 /* IDL: uint32 lr_padding; */
5268 /* IDL: struct ldlm_res_id { */
5269 /* IDL: } lr_name; */
5273 lustre_dissect_element_ldlm_resource_desc_lr_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5275 /* offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);*/
5276 offset=lustre_dissect_enum_ldlm_type_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);
5281 lustre_dissect_element_ldlm_resource_desc_lr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5283 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_padding);
5289 lustre_dissect_element_ldlm_resource_desc_lr_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5291 offset=lustre_dissect_struct_ldlm_res_id(tvb,offset,pinfo,tree,hf_lustre_ldlm_resource_desc_lr_name);
5296 lustre_dissect_struct_ldlm_resource_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5298 proto_item *item = NULL;
5299 proto_tree *tree = NULL;
5307 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5308 tree = proto_item_add_subtree(item, ett_lustre_ldlm_resource_desc);
5311 offset=lustre_dissect_element_ldlm_resource_desc_lr_type(tvb, offset, pinfo, tree);
5313 offset=lustre_dissect_element_ldlm_resource_desc_lr_padding(tvb, offset, pinfo, tree);
5315 offset=lustre_dissect_element_ldlm_resource_desc_lr_name(tvb, offset, pinfo, tree);
5318 proto_item_set_len(item, offset-old_offset);
5324 /* IDL: struct ldlm_lock_desc { */
5325 /* IDL: struct ldlm_resource_desc { */
5326 /* IDL: } l_resource; */
5327 /* IDL: ldlm_mode_t l_req_mode; */
5328 /* IDL: ldlm_mode_t l_granted_mode; */
5329 /* IDL: ldlm_policy_data_t l_policy_data; */
5333 lustre_dissect_element_ldlm_lock_desc_l_resource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5335 offset=lustre_dissect_struct_ldlm_resource_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_resource);
5340 lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5342 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_req_mode);
5348 lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5350 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_granted_mode);
5356 lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5359 guint32 lr_type; /* type of the lock */
5361 lr_type = tvb_get_letohl(tvb,offset - 48 ); /* TODO : find another way that using -48 */
5363 /* this section must be check with lustre code, possible mistake here */
5367 offset=lustre_dissect_struct_ldlm_flock(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5370 offset= lustre_dissect_struct_ldlm_extent(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5371 /* add an extra padding 8 bytes */
5372 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5375 offset=lustre_dissect_struct_ldlm_inodebits(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5376 /* add an extra padding 24 bytes */
5377 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5378 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5379 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5382 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5383 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5384 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5385 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5392 lustre_dissect_struct_ldlm_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5394 proto_item *item = NULL;
5395 proto_tree *tree = NULL;
5398 guint32 lock_req_mode;
5404 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5405 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_desc);
5408 offset=lustre_dissect_element_ldlm_lock_desc_l_resource(tvb, offset, pinfo, tree);
5410 lock_req_mode = tvb_get_letohl(tvb,offset);
5412 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lock_req_mode, lustre_ldlm_mode_t_vals, "Unknown lock"));
5414 offset=lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvb, offset, pinfo, tree);
5416 offset=lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvb, offset, pinfo, tree);
5418 offset=lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvb, offset, pinfo, tree);
5421 proto_item_set_len(item, offset-old_offset);
5427 /* IDL: struct ldlm_request { */
5428 /* IDL: uint32 lock_flags; */
5429 /* IDL: uint32 lock_count; */
5430 /* IDL: struct ldlm_lock_desc { */
5431 /* IDL: } lock_desc; */
5432 /* IDL: struct lustre_handle { */
5433 /* IDL: } lock_handle[2]; */
5439 lustre_dissect_element_ldlm_request_lock_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5441 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_request_lock_count);
5447 lustre_dissect_element_ldlm_request_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5449 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_desc);
5456 lustre_dissect_element_ldlm_request_lock_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5458 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5459 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5461 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_handle);
5466 lustre_dissect_element_ldlm_request_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5469 for (i = 0; i < 2; i++)
5470 offset=lustre_dissect_element_ldlm_request_lock_handle_(tvb, offset, pinfo, tree);
5476 lustre_dissect_struct_ldlm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5478 proto_item *item = NULL;
5479 proto_tree *tree = NULL;
5487 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5488 tree = proto_item_add_subtree(item, ett_lustre_ldlm_request);
5491 lock_flag = tvb_get_letohl(tvb,offset);
5492 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree, hf_lustre_ldlm_request_lock_flags);
5494 offset=lustre_dissect_element_ldlm_request_lock_count(tvb, offset, pinfo, tree);
5496 /* ldlm_type = (EXTENT, PLAIN, ou IBITS) */
5497 ldlm_type = tvb_get_letohl(tvb,offset);
5498 offset=lustre_dissect_element_ldlm_request_lock_desc(tvb, offset, pinfo, tree);
5499 offset=lustre_dissect_element_ldlm_request_lock_handle(tvb, offset, pinfo, tree);
5501 proto_item_set_len(item, offset-old_offset);
5509 /* IDL: struct ldlm_reply { */
5510 /* IDL: uint32 lock_flags; */
5511 /* IDL: uint32 lock_padding; */
5512 /* IDL: struct ldlm_lock_desc { */
5513 /* IDL: } lock_desc; */
5514 /* IDL: struct lustre_handle { */
5515 /* IDL: } lock_handle; */
5516 /* IDL: uint64 lock_policy_res1; */
5517 /* IDL: uint64 lock_policy_res2; */
5522 lustre_dissect_element_ldlm_lock_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5524 proto_item *item = NULL;
5525 proto_tree *tree = NULL;
5528 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
5529 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_flags);
5531 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_ast_discard_data);
5532 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_deny_on_contention);
5533 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_bl_done );
5534 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_bl_ast );
5535 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_atomic_cb );
5536 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cleaned );
5537 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cp_reqd );
5538 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cancel_on_block );
5539 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_no_lru );
5540 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_kms_ignore );
5541 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_lvb_ready );
5542 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_test_lock );
5543 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_nowait );
5544 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_no_timeout );
5545 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_discard_data );
5546 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_warn );
5547 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_local );
5548 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_canceling );
5549 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_has_intent );
5550 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_failed );
5551 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_local_only );
5552 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_intent_only );
5553 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_replay );
5554 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cancel );
5555 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_wait_noreproc );
5556 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_ast_sent );
5557 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cbpending );
5558 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_wait );
5559 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_conv );
5560 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_granted );
5561 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_lock_changed );
5566 lustre_dissect_element_ldlm_reply_lock_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5568 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_padding);
5574 lustre_dissect_element_ldlm_reply_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5576 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_desc);
5581 lustre_dissect_element_ldlm_reply_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5583 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5584 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5586 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_handle);
5591 lustre_dissect_element_ldlm_reply_lock_policy_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5593 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res1);
5599 lustre_dissect_element_ldlm_reply_lock_policy_res2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5601 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res2);
5607 lustre_dissect_struct_ldlm_reply(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_, guint32 * ldlm_type _U_ )
5609 proto_item *item = NULL;
5610 proto_tree *tree = NULL;
5618 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5619 tree = proto_item_add_subtree(item, ett_lustre_ldlm_reply);
5622 lock_flag = tvb_get_letohl(tvb,offset);
5623 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_flags);
5625 offset=lustre_dissect_element_ldlm_reply_lock_padding(tvb, offset, pinfo, tree);
5627 if (ldlm_type != NULL)
5628 *ldlm_type = tvb_get_letohl(tvb,offset);
5629 offset=lustre_dissect_element_ldlm_reply_lock_desc(tvb, offset, pinfo, tree);
5631 offset=lustre_dissect_element_ldlm_reply_lock_handle(tvb, offset, pinfo, tree);
5633 offset=lustre_dissect_element_ldlm_reply_lock_policy_res1(tvb, offset, pinfo, tree);
5635 offset=lustre_dissect_element_ldlm_reply_lock_policy_res2(tvb, offset, pinfo, tree);
5637 proto_item_set_len(item, offset-old_offset);
5645 /* IDL: struct mgs_send_param { */
5646 /* IDL: uint8 mgs_param[1024]; */
5652 lustre_dissect_element_mgs_send_param_mgs_param_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5654 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_send_param_mgs_param);
5660 lustre_dissect_element_mgs_send_param_mgs_param(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5663 for (i = 0; i < 1024; i++)
5664 offset=lustre_dissect_element_mgs_send_param_mgs_param_(tvb, offset, pinfo, tree);
5670 lustre_dissect_struct_mgs_send_param(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5672 proto_item *item = NULL;
5673 proto_tree *tree = NULL;
5680 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5681 tree = proto_item_add_subtree(item, ett_lustre_mgs_send_param);
5684 offset=lustre_dissect_element_mgs_send_param_mgs_param(tvb, offset, pinfo, tree);
5687 proto_item_set_len(item, offset-old_offset);
5692 /* IDL: struct mgs_target_info { */
5693 /* IDL: uint32 mti_lustre_ver; */
5694 /* IDL: uint32 mti_stripe_index; */
5695 /* IDL: uint32 mti_config_ver; */
5696 /* IDL: uint32 mti_flags; */
5697 /* IDL: uint32 mti_nid_count; */
5698 /* IDL: uint32 padding; */
5699 /* IDL: uint8 mti_fsname[64]; */
5700 /* IDL: uint8 mti_svname[64]; */
5701 /* IDL: uint8 mti_uuid[40]; */
5702 /* IDL: uint64 mti_nids[32]; */
5703 /* IDL: uint8 mti_params[4096]; */
5707 lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5709 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_lustre_ver);
5715 lustre_dissect_element_mgs_target_info_mti_stripe_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5717 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_stripe_index);
5723 lustre_dissect_element_mgs_target_info_mti_config_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5725 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_config_ver);
5731 lustre_dissect_element_mgs_target_info_mti_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5733 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_flags);
5739 lustre_dissect_element_mgs_target_info_mti_nid_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5741 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nid_count);
5747 lustre_dissect_element_mgs_target_info_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5749 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_padding);
5755 lustre_dissect_element_mgs_target_info_mti_fsname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5757 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_fsname);
5763 lustre_dissect_element_mgs_target_info_mti_fsname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5766 for (i = 0; i < 64; i++)
5767 offset=lustre_dissect_element_mgs_target_info_mti_fsname_(tvb, offset, pinfo, tree);
5777 lustre_dissect_element_mgs_target_info_mti_svname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5779 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_svname);
5785 lustre_dissect_element_mgs_target_info_mti_svname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5788 for (i = 0; i < 64; i++)
5789 offset=lustre_dissect_element_mgs_target_info_mti_svname_(tvb, offset, pinfo, tree);
5795 lustre_dissect_element_mgs_target_info_mti_uuid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5797 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_uuid);
5803 lustre_dissect_element_mgs_target_info_mti_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5806 for (i = 0; i < 40; i++)
5807 offset=lustre_dissect_element_mgs_target_info_mti_uuid_(tvb, offset, pinfo, tree);
5817 lustre_dissect_element_mgs_target_info_mti_nids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5819 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nids);
5825 lustre_dissect_element_mgs_target_info_mti_nids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5828 for (i = 0; i < 32; i++)
5829 offset=lustre_dissect_element_mgs_target_info_mti_nids_(tvb, offset, pinfo, tree);
5837 lustre_dissect_element_mgs_target_info_mti_params_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5839 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_params);
5845 lustre_dissect_element_mgs_target_info_mti_params(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5848 for (i = 0; i < 4096; i++)
5849 offset=lustre_dissect_element_mgs_target_info_mti_params_(tvb, offset, pinfo, tree);
5855 lustre_dissect_struct_mgs_target_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5857 proto_item *item = NULL;
5858 proto_tree *tree = NULL;
5866 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5867 tree = proto_item_add_subtree(item, ett_lustre_mgs_target_info);
5870 offset=lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvb, offset, pinfo, tree);
5872 offset=lustre_dissect_element_mgs_target_info_mti_stripe_index(tvb, offset, pinfo, tree);
5874 offset=lustre_dissect_element_mgs_target_info_mti_config_ver(tvb, offset, pinfo, tree);
5876 offset=lustre_dissect_element_mgs_target_info_mti_flags(tvb, offset, pinfo, tree);
5878 offset=lustre_dissect_element_mgs_target_info_mti_nid_count(tvb, offset, pinfo, tree);
5880 offset=lustre_dissect_element_mgs_target_info_padding(tvb, offset, pinfo, tree);
5882 offset=lustre_dissect_element_mgs_target_info_mti_fsname(tvb, offset, pinfo, tree);
5884 offset=lustre_dissect_element_mgs_target_info_mti_svname(tvb, offset, pinfo, tree);
5886 offset=lustre_dissect_element_mgs_target_info_mti_uuid(tvb, offset, pinfo, tree);
5888 offset=lustre_dissect_element_mgs_target_info_mti_nids(tvb, offset, pinfo, tree);
5890 offset=lustre_dissect_element_mgs_target_info_mti_params(tvb, offset, pinfo, tree);
5893 proto_item_set_len(item, offset-old_offset);
5898 /* IDL: struct cfg_marker { */
5899 /* IDL: uint32 cm_step; */
5900 /* IDL: uint32 cm_flags; */
5901 /* IDL: uint32 cm_vers; */
5902 /* IDL: uint32 padding; */
5903 /* IDL: time_t cm_createtime; */
5904 /* IDL: time_t cm_canceltime; */
5905 /* IDL: uint8 cm_tgtname[64]; */
5906 /* IDL: uint8 cm_comment[64]; */
5910 lustre_dissect_element_cfg_marker_cm_step(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5912 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_step);
5918 lustre_dissect_element_cfg_marker_cm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5920 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_flags);
5926 lustre_dissect_element_cfg_marker_cm_vers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5928 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_vers);
5934 lustre_dissect_element_cfg_marker_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5936 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_padding);
5942 lustre_dissect_element_cfg_marker_cm_createtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5944 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_createtime );
5945 /*g_print("function lustre_dissect_element_cfg_marker_cm_createtime don't work\n");*/
5950 lustre_dissect_element_cfg_marker_cm_canceltime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5952 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_canceltime);
5954 /*g_print("element_cfg_marker_cm_canceltime\n");*/
5961 lustre_dissect_element_cfg_marker_cm_tgtname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5963 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_tgtname);
5969 lustre_dissect_element_cfg_marker_cm_tgtname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5972 for (i = 0; i < 64; i++)
5973 offset=lustre_dissect_element_cfg_marker_cm_tgtname_(tvb, offset, pinfo, tree);
5981 lustre_dissect_element_cfg_marker_cm_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5983 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_comment);
5989 lustre_dissect_element_cfg_marker_cm_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5992 for (i = 0; i < 64; i++)
5993 offset=lustre_dissect_element_cfg_marker_cm_comment_(tvb, offset, pinfo, tree);
5999 lustre_dissect_struct_cfg_marker(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6001 proto_item *item = NULL;
6002 proto_tree *tree = NULL;
6010 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6011 tree = proto_item_add_subtree(item, ett_lustre_cfg_marker);
6014 offset=lustre_dissect_element_cfg_marker_cm_step(tvb, offset, pinfo, tree);
6016 offset=lustre_dissect_element_cfg_marker_cm_flags(tvb, offset, pinfo, tree);
6018 offset=lustre_dissect_element_cfg_marker_cm_vers(tvb, offset, pinfo, tree);
6020 offset=lustre_dissect_element_cfg_marker_padding(tvb, offset, pinfo, tree);
6022 offset=lustre_dissect_element_cfg_marker_cm_createtime(tvb, offset, pinfo, tree);
6024 offset=lustre_dissect_element_cfg_marker_cm_canceltime(tvb, offset, pinfo, tree);
6026 offset=lustre_dissect_element_cfg_marker_cm_tgtname(tvb, offset, pinfo, tree);
6028 offset=lustre_dissect_element_cfg_marker_cm_comment(tvb, offset, pinfo, tree);
6031 proto_item_set_len(item, offset-old_offset);
6038 /* IDL: struct llog_logid { */
6039 /* IDL: uint64 lgl_oid; */
6040 /* IDL: uint64 lgl_oseq; */
6041 /* IDL: uint32 lgl_ogen; */
6045 lustre_dissect_element_llog_logid_lgl_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6047 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oid);
6053 lustre_dissect_element_llog_logid_lgl_oseq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6055 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oseq);
6061 lustre_dissect_element_llog_logid_lgl_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6063 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_ogen);
6069 lustre_dissect_struct_llog_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6071 proto_item *item = NULL;
6072 proto_tree *tree = NULL;
6080 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6081 tree = proto_item_add_subtree(item, ett_lustre_llog_logid);
6084 offset=lustre_dissect_element_llog_logid_lgl_oid(tvb, offset, pinfo, tree);
6086 offset=lustre_dissect_element_llog_logid_lgl_oseq(tvb, offset, pinfo, tree);
6088 offset=lustre_dissect_element_llog_logid_lgl_ogen(tvb, offset, pinfo, tree);
6091 proto_item_set_len(item, offset-old_offset);
6096 /* I don't know when this structure is used on network */
6097 /* IDL: struct llog_catid { */
6098 /* IDL: struct llog_logid { */
6099 /* IDL: } lci_logid; */
6100 /* IDL: uint32 lci_padding1; */
6101 /* IDL: uint32 lci_padding2; */
6102 /* IDL: uint32 lci_padding3; */
6106 lustre_dissect_element_llog_catid_lci_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6108 //offset=lustre_dissect_struct_HASH(0x85cc76c)(tvb,offset,pinfo,tree,hf_lustre_llog_catid_lci_logid);
6110 /*g_print("llog_catid_lci_logid bug\n");*/
6115 lustre_dissect_element_llog_catid_lci_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6117 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding1);
6123 lustre_dissect_element_llog_catid_lci_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6125 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding2);
6131 lustre_dissect_element_llog_catid_lci_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6133 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding3);
6139 lustre_dissect_struct_llog_catid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6141 proto_item *item = NULL;
6142 proto_tree *tree = NULL;
6150 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6151 tree = proto_item_add_subtree(item, ett_lustre_llog_catid);
6154 offset=lustre_dissect_element_llog_catid_lci_logid(tvb, offset, pinfo, tree);
6156 offset=lustre_dissect_element_llog_catid_lci_padding1(tvb, offset, pinfo, tree);
6158 offset=lustre_dissect_element_llog_catid_lci_padding2(tvb, offset, pinfo, tree);
6160 offset=lustre_dissect_element_llog_catid_lci_padding3(tvb, offset, pinfo, tree);
6163 proto_item_set_len(item, offset-old_offset);
6168 /* IDL: struct llog_rec_hdr { */
6169 /* IDL: uint32 lrh_len; */
6170 /* IDL: uint32 lrh_index; */
6171 /* IDL: uint32 lrh_type; */
6172 /* IDL: uint32 padding; */
6176 lustre_dissect_element_llog_rec_hdr_lrh_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6178 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_len);
6184 lustre_dissect_element_llog_rec_hdr_lrh_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6186 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_index);
6192 lustre_dissect_element_llog_rec_hdr_lrh_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6194 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_type);
6200 lustre_dissect_element_llog_rec_hdr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6202 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_padding);
6208 lustre_dissect_struct_llog_rec_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6210 proto_item *item = NULL;
6211 proto_tree *tree = NULL;
6219 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6220 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_hdr);
6223 offset=lustre_dissect_element_llog_rec_hdr_lrh_len(tvb, offset, pinfo, tree);
6225 offset=lustre_dissect_element_llog_rec_hdr_lrh_index(tvb, offset, pinfo, tree);
6227 offset=lustre_dissect_element_llog_rec_hdr_lrh_type(tvb, offset, pinfo, tree);
6229 offset=lustre_dissect_element_llog_rec_hdr_padding(tvb, offset, pinfo, tree);
6232 proto_item_set_len(item, offset-old_offset);
6237 /* IDL: struct llog_rec_tail { */
6238 /* IDL: uint32 lrt_len; */
6239 /* IDL: uint32 lrt_index; */
6243 lustre_dissect_element_llog_rec_tail_lrt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6245 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_len);
6251 lustre_dissect_element_llog_rec_tail_lrt_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6253 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_index);
6259 lustre_dissect_struct_llog_rec_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6261 proto_item *item = NULL;
6262 proto_tree *tree = NULL;
6270 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6271 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_tail);
6274 offset=lustre_dissect_element_llog_rec_tail_lrt_len(tvb, offset, pinfo, tree);
6276 offset=lustre_dissect_element_llog_rec_tail_lrt_index(tvb, offset, pinfo, tree);
6279 proto_item_set_len(item, offset-old_offset);
6284 /* IDL: struct llog_logid_rec { */
6285 /* IDL: struct llog_rec_hdr { */
6286 /* IDL: } lid_hdr; */
6287 /* IDL: struct llog_logid { */
6288 /* IDL: } lid_id; */
6289 /* IDL: uint32 padding1; */
6290 /* IDL: uint32 padding2; */
6291 /* IDL: uint32 padding3; */
6292 /* IDL: uint32 padding4; */
6293 /* IDL: uint32 padding5; */
6294 /* IDL: struct llog_rec_tail { */
6295 /* IDL: } lid_tail; */
6299 lustre_dissect_element_llog_logid_rec_lid_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6301 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_hdr);
6306 lustre_dissect_element_llog_logid_rec_lid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6308 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_id);
6313 lustre_dissect_element_llog_logid_rec_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6315 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding1);
6321 lustre_dissect_element_llog_logid_rec_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6323 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding2);
6329 lustre_dissect_element_llog_logid_rec_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6331 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding3);
6337 lustre_dissect_element_llog_logid_rec_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6339 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding4);
6345 lustre_dissect_element_llog_logid_rec_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6347 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding5);
6353 lustre_dissect_element_llog_logid_rec_lid_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6355 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_tail);
6360 lustre_dissect_struct_llog_logid_rec(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6362 proto_item *item = NULL;
6363 proto_tree *tree = NULL;
6371 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6372 tree = proto_item_add_subtree(item, ett_lustre_llog_logid_rec);
6375 offset=lustre_dissect_element_llog_logid_rec_lid_hdr(tvb, offset, pinfo, tree);
6377 offset=lustre_dissect_element_llog_logid_rec_lid_id(tvb, offset, pinfo, tree);
6379 offset=lustre_dissect_element_llog_logid_rec_padding1(tvb, offset, pinfo, tree);
6381 offset=lustre_dissect_element_llog_logid_rec_padding2(tvb, offset, pinfo, tree);
6383 offset=lustre_dissect_element_llog_logid_rec_padding3(tvb, offset, pinfo, tree);
6385 offset=lustre_dissect_element_llog_logid_rec_padding4(tvb, offset, pinfo, tree);
6387 offset=lustre_dissect_element_llog_logid_rec_padding5(tvb, offset, pinfo, tree);
6389 offset=lustre_dissect_element_llog_logid_rec_lid_tail(tvb, offset, pinfo, tree);
6392 proto_item_set_len(item, offset-old_offset);
6397 /* IDL: struct llog_create_rec { */
6398 /* IDL: struct llog_rec_hdr { */
6399 /* IDL: } lcr_hdr; */
6400 /* IDL: struct ll_fid { */
6401 /* IDL: } lcr_fid; */
6402 /* IDL: uint64 lcr_oid; */
6403 /* IDL: uint32 lcr_ogen; */
6404 /* IDL: uint32 padding; */
6405 /* IDL: struct llog_rec_tail { */
6406 /* IDL: } lcr_tail; */
6410 lustre_dissect_element_llog_create_rec_lcr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6412 //offset=lustre_dissect_struct_HASH(0x85d56e0)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_hdr);
6418 lustre_dissect_element_llog_create_rec_lcr_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6420 //offset=lustre_dissect_struct_HASH(0x85d5830)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_fid);
6426 lustre_dissect_element_llog_create_rec_lcr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6428 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_lcr_oid);
6434 lustre_dissect_element_llog_create_rec_lcr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6436 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_lcr_ogen);
6442 lustre_dissect_element_llog_create_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6444 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_padding);
6450 lustre_dissect_element_llog_create_rec_lcr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6452 //offset=lustre_dissect_struct_HASH(0x85d69dc)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_tail);
6458 lustre_dissect_struct_llog_create_rec(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6460 proto_item *item = NULL;
6461 proto_tree *tree = NULL;
6469 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6470 tree = proto_item_add_subtree(item, ett_lustre_llog_create_rec);
6473 offset=lustre_dissect_element_llog_create_rec_lcr_hdr(tvb, offset, pinfo, tree);
6475 offset=lustre_dissect_element_llog_create_rec_lcr_fid(tvb, offset, pinfo, tree);
6477 offset=lustre_dissect_element_llog_create_rec_lcr_oid(tvb, offset, pinfo, tree);
6479 offset=lustre_dissect_element_llog_create_rec_lcr_ogen(tvb, offset, pinfo, tree);
6481 offset=lustre_dissect_element_llog_create_rec_padding(tvb, offset, pinfo, tree);
6483 offset=lustre_dissect_element_llog_create_rec_lcr_tail(tvb, offset, pinfo, tree);
6486 proto_item_set_len(item, offset-old_offset);
6494 /* IDL: struct llog_orphan_rec { */
6495 /* IDL: struct llog_rec_hdr { */
6496 /* IDL: } lor_hdr; */
6497 /* IDL: uint64 lor_oid; */
6498 /* IDL: uint32 lor_ogen; */
6499 /* IDL: uint32 padding; */
6500 /* IDL: struct llog_rec_tail { */
6501 /* IDL: } lor_tail; */
6505 lustre_dissect_element_llog_orphan_rec_lor_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6507 //offset=lustre_dissect_struct_HASH(0x85d767c)(tvb,offset,pinfo,tree,hf_lustre_llog_orphan_rec_lor_hdr);
6513 lustre_dissect_element_llog_orphan_rec_lor_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6515 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_lor_oid);
6521 lustre_dissect_element_llog_orphan_rec_lor_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6523 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_lor_ogen);
6529 lustre_dissect_element_llog_orphan_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6531 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_padding);
6537 lustre_dissect_element_llog_orphan_rec_lor_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6539 //offset=lustre_dissect_struct_HASH(0x85d8550)(tvb,offset,pinfo,tree,hf_lustre_llog_orphan_rec_lor_tail);
6544 lustre_dissect_struct_llog_orphan_rec(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6546 proto_item *item = NULL;
6547 proto_tree *tree = NULL;
6555 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6556 tree = proto_item_add_subtree(item, ett_lustre_llog_orphan_rec);
6559 offset=lustre_dissect_element_llog_orphan_rec_lor_hdr(tvb, offset, pinfo, tree);
6561 offset=lustre_dissect_element_llog_orphan_rec_lor_oid(tvb, offset, pinfo, tree);
6563 offset=lustre_dissect_element_llog_orphan_rec_lor_ogen(tvb, offset, pinfo, tree);
6565 offset=lustre_dissect_element_llog_orphan_rec_padding(tvb, offset, pinfo, tree);
6567 offset=lustre_dissect_element_llog_orphan_rec_lor_tail(tvb, offset, pinfo, tree);
6570 proto_item_set_len(item, offset-old_offset);
6577 /* IDL: struct llog_unlink_rec { */
6578 /* IDL: struct llog_rec_hdr { */
6579 /* IDL: } lur_hdr; */
6580 /* IDL: uint64 lur_oid; */
6581 /* IDL: uint32 lur_ogen; */
6582 /* IDL: uint32 padding; */
6583 /* IDL: struct llog_rec_tail { */
6584 /* IDL: } lur_tail; */
6588 lustre_dissect_element_llog_unlink_rec_lur_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6590 //offset=lustre_dissect_struct_HASH(0x85d8730)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_hdr);
6595 lustre_dissect_element_llog_unlink_rec_lur_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6597 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_oid);
6603 lustre_dissect_element_llog_unlink_rec_lur_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6605 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_ogen);
6611 lustre_dissect_element_llog_unlink_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6613 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_padding);
6619 lustre_dissect_element_llog_unlink_rec_lur_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6621 //offset=lustre_dissect_struct_HASH(0x85d9664)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_tail);
6626 lustre_dissect_struct_llog_unlink_rec(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6628 proto_item *item = NULL;
6629 proto_tree *tree = NULL;
6637 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6638 tree = proto_item_add_subtree(item, ett_lustre_llog_unlink_rec);
6641 offset=lustre_dissect_element_llog_unlink_rec_lur_hdr(tvb, offset, pinfo, tree);
6643 offset=lustre_dissect_element_llog_unlink_rec_lur_oid(tvb, offset, pinfo, tree);
6645 offset=lustre_dissect_element_llog_unlink_rec_lur_ogen(tvb, offset, pinfo, tree);
6647 offset=lustre_dissect_element_llog_unlink_rec_padding(tvb, offset, pinfo, tree);
6649 offset=lustre_dissect_element_llog_unlink_rec_lur_tail(tvb, offset, pinfo, tree);
6652 proto_item_set_len(item, offset-old_offset);
6659 /* IDL: struct llog_setattr_rec { */
6660 /* IDL: struct llog_rec_hdr { */
6661 /* IDL: } lsr_hdr; */
6662 /* IDL: uint64 lsr_oid; */
6663 /* IDL: uint32 lsr_ogen; */
6664 /* IDL: uint32 lsr_uid; */
6665 /* IDL: uint32 lsr_gid; */
6666 /* IDL: uint32 padding; */
6667 /* IDL: struct llog_rec_tail { */
6668 /* IDL: } lsr_tail; */
6672 lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6674 //offset=lustre_dissect_struct_HASH(0x85da2f0)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_hdr);
6679 lustre_dissect_element_llog_setattr_rec_lsr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6681 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_oid);
6687 lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6689 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_ogen);
6695 lustre_dissect_element_llog_setattr_rec_lsr_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6697 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_uid);
6703 lustre_dissect_element_llog_setattr_rec_lsr_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6705 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_gid);
6711 lustre_dissect_element_llog_setattr_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6713 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_padding);
6719 lustre_dissect_element_llog_setattr_rec_lsr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6721 //offset=lustre_dissect_struct_HASH(0x85db3d4)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_tail);
6726 lustre_dissect_struct_llog_setattr_rec(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6728 proto_item *item = NULL;
6729 proto_tree *tree = NULL;
6737 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6738 tree = proto_item_add_subtree(item, ett_lustre_llog_setattr_rec);
6741 offset=lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvb, offset, pinfo, tree);
6743 offset=lustre_dissect_element_llog_setattr_rec_lsr_oid(tvb, offset, pinfo, tree);
6745 offset=lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvb, offset, pinfo, tree);
6747 offset=lustre_dissect_element_llog_setattr_rec_lsr_uid(tvb, offset, pinfo, tree);
6749 offset=lustre_dissect_element_llog_setattr_rec_lsr_gid(tvb, offset, pinfo, tree);
6751 offset=lustre_dissect_element_llog_setattr_rec_padding(tvb, offset, pinfo, tree);
6753 offset=lustre_dissect_element_llog_setattr_rec_lsr_tail(tvb, offset, pinfo, tree);
6756 proto_item_set_len(item, offset-old_offset);
6764 /* IDL: struct llog_size_change_rec { */
6765 /* IDL: struct llog_rec_hdr { */
6766 /* IDL: } lsc_hdr; */
6767 /* IDL: struct ll_fid { */
6768 /* IDL: } lsc_fid; */
6769 /* IDL: uint32 lsc_io_epoch; */
6770 /* IDL: uint32 padding; */
6771 /* IDL: struct llog_rec_tail { */
6772 /* IDL: } lsc_tail; */
6776 lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6778 //offset=lustre_dissect_struct_HASH(0x85dc458)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_hdr);
6783 lustre_dissect_element_llog_size_change_rec_lsc_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6785 //offset=lustre_dissect_struct_HASH(0x85dc5a8)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_fid);
6790 lustre_dissect_element_llog_size_change_rec_lsc_io_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6792 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_lsc_io_epoch);
6798 lustre_dissect_element_llog_size_change_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6800 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_padding);
6806 lustre_dissect_element_llog_size_change_rec_lsc_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6808 //offset=lustre_dissect_struct_HASH(0x85dd384)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_tail);
6809 // TODO: to be corrected !
6814 lustre_dissect_struct_llog_size_change_rec(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6816 proto_item *item = NULL;
6817 proto_tree *tree = NULL;
6825 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6826 tree = proto_item_add_subtree(item, ett_lustre_llog_size_change_rec);
6829 offset=lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvb, offset, pinfo, tree);
6831 offset=lustre_dissect_element_llog_size_change_rec_lsc_fid(tvb, offset, pinfo, tree);
6833 offset=lustre_dissect_element_llog_size_change_rec_lsc_io_epoch(tvb, offset, pinfo, tree);
6835 offset=lustre_dissect_element_llog_size_change_rec_padding(tvb, offset, pinfo, tree);
6837 offset=lustre_dissect_element_llog_size_change_rec_lsc_tail(tvb, offset, pinfo, tree);
6840 proto_item_set_len(item, offset-old_offset);
6848 /* IDL: struct llog_gen { */
6849 /* IDL: uint64 mnt_cnt; */
6850 /* IDL: uint64 conn_cnt; */
6854 lustre_dissect_element_llog_gen_mnt_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6856 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_mnt_cnt);
6862 lustre_dissect_element_llog_gen_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6864 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_conn_cnt);
6870 lustre_dissect_struct_llog_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6872 proto_item *item = NULL;
6873 proto_tree *tree = NULL;
6881 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6882 tree = proto_item_add_subtree(item, ett_lustre_llog_gen);
6885 offset=lustre_dissect_element_llog_gen_mnt_cnt(tvb, offset, pinfo, tree);
6887 offset=lustre_dissect_element_llog_gen_conn_cnt(tvb, offset, pinfo, tree);
6890 proto_item_set_len(item, offset-old_offset);
6895 /* IDL: struct llog_gen_rec { */
6896 /* IDL: struct llog_rec_hdr { */
6897 /* IDL: } lgr_hdr; */
6898 /* IDL: struct llog_gen { */
6899 /* IDL: } lgr_gen; */
6900 /* IDL: struct llog_rec_tail { */
6901 /* IDL: } lgr_tail; */
6905 lustre_dissect_element_llog_gen_rec_lgr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6907 //offset=lustre_dissect_struct_HASH(0x85de2e4)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_hdr);
6908 // TODO: to be corrected !
6913 lustre_dissect_element_llog_gen_rec_lgr_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6915 //offset=lustre_dissect_struct_HASH(0x85de434)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_gen);
6916 // TODO: to be corrected !
6921 lustre_dissect_element_llog_gen_rec_lgr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6923 //offset=lustre_dissect_struct_HASH(0x85df3f8)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_tail);
6924 // TODO: to be corrected !
6929 lustre_dissect_struct_llog_gen_rec(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
6931 proto_item *item = NULL;
6932 proto_tree *tree = NULL;
6940 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6941 tree = proto_item_add_subtree(item, ett_lustre_llog_gen_rec);
6944 offset=lustre_dissect_element_llog_gen_rec_lgr_hdr(tvb, offset, pinfo, tree);
6946 offset=lustre_dissect_element_llog_gen_rec_lgr_gen(tvb, offset, pinfo, tree);
6948 offset=lustre_dissect_element_llog_gen_rec_lgr_tail(tvb, offset, pinfo, tree);
6951 proto_item_set_len(item, offset-old_offset);
6959 /* IDL: struct llog_log_hdr { */
6960 /* IDL: struct llog_rec_hdr { */
6961 /* IDL: } llh_hdr; */
6962 /* IDL: uint64 llh_timestamp; */
6963 /* IDL: uint32 llh_count; */
6964 /* IDL: uint32 llh_bitmap_offset; */
6965 /* IDL: uint32 llh_size; */
6966 /* IDL: uint32 llh_flags; */
6967 /* IDL: uint32 llh_cat_idx; */
6968 /* IDL: struct obd_uuid { */
6969 /* IDL: } llh_tgtuuid; */
6970 /* IDL: uint32 llh_reserved[1]; */
6971 /* IDL: uint32 llh_bitmap[2024]; */
6972 /* IDL: struct llog_rec_tail { */
6973 /* IDL: } llh_tail; */
6977 lustre_dissect_element_llog_log_hdr_llh_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6979 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_hdr);
6984 lustre_dissect_element_llog_log_hdr_llh_timestamp(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6987 ns.secs = tvb_get_letohl(tvb,offset);
6989 proto_tree_add_time(tree, hf_lustre_llog_log_hdr_llh_timestamp, tvb, offset, 8, &ns );
6995 lustre_dissect_element_llog_log_hdr_llh_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6997 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_count);
7003 lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7005 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap_offset);
7011 lustre_dissect_element_llog_log_hdr_llh_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7013 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_size);
7021 lustre_dissect_element_llog_log_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7023 proto_item *item = NULL;
7024 proto_tree *tree = NULL;
7027 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
7028 tree = proto_item_add_subtree(item, ett_lustre_llog_log_llh_flags);
7030 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_zap_when_empty);
7031 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_cat);
7032 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_play);
7039 lustre_dissect_element_llog_log_hdr_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7041 // offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7042 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7047 lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7049 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_cat_idx);
7055 lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7057 offset=lustre_dissect_struct_obd_uuid(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tgtuuid);
7062 lustre_dissect_element_llog_log_hdr_llh_reserved_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7064 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_reserved);
7070 lustre_dissect_element_llog_log_hdr_llh_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7073 for (i = 0; i < 1; i++)
7074 offset=lustre_dissect_element_llog_log_hdr_llh_reserved_(tvb, offset, pinfo, tree);
7080 lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7082 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap);
7089 lustre_dissect_element_llog_log_hdr_llh_bitmap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7092 for (i = 0; i < 2024; i++)
7093 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvb, offset, pinfo, tree);
7101 lustre_dissect_element_llog_log_hdr_llh_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7103 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tail);
7108 lustre_dissect_struct_llog_log_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7110 proto_item *item = NULL;
7111 proto_tree *tree = NULL;
7119 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7120 tree = proto_item_add_subtree(item, ett_lustre_llog_log_hdr);
7123 offset=lustre_dissect_element_llog_log_hdr_llh_hdr(tvb, offset, pinfo, tree);
7125 offset=lustre_dissect_element_llog_log_hdr_llh_timestamp(tvb, offset, pinfo, tree);
7127 offset=lustre_dissect_element_llog_log_hdr_llh_count(tvb, offset, pinfo, tree);
7129 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvb, offset, pinfo, tree);
7131 offset=lustre_dissect_element_llog_log_hdr_llh_size(tvb, offset, pinfo, tree);
7133 offset=lustre_dissect_element_llog_log_hdr_llh_flags(tvb, offset, pinfo, tree);
7135 offset=lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvb, offset, pinfo, tree);
7137 offset=lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvb, offset, pinfo, tree);
7139 offset=lustre_dissect_element_llog_log_hdr_llh_reserved(tvb, offset, pinfo, tree);
7141 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap(tvb, offset, pinfo, tree);
7143 offset=lustre_dissect_element_llog_log_hdr_llh_tail(tvb, offset, pinfo, tree);
7146 proto_item_set_len(item, offset-old_offset);
7154 /* IDL: struct llog_cookie { */
7155 /* IDL: struct llog_logid { */
7156 /* IDL: } lgc_lgl; */
7157 /* IDL: uint32 lgc_subsys; */
7158 /* IDL: uint32 lgc_index; */
7159 /* IDL: uint32 lgc_padding; */
7163 lustre_dissect_element_llog_cookie_lgc_lgl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7165 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_cookie_lgc_lgl);
7170 lustre_dissect_element_llog_cookie_lgc_subsys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7172 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_subsys);
7178 lustre_dissect_element_llog_cookie_lgc_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7180 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_index);
7186 lustre_dissect_element_llog_cookie_lgc_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7188 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_padding);
7194 lustre_dissect_struct_llog_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7196 proto_item *item = NULL;
7197 proto_tree *tree = NULL;
7205 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7206 tree = proto_item_add_subtree(item, ett_lustre_llog_cookie);
7209 offset=lustre_dissect_element_llog_cookie_lgc_lgl(tvb, offset, pinfo, tree);
7211 offset=lustre_dissect_element_llog_cookie_lgc_subsys(tvb, offset, pinfo, tree);
7213 offset=lustre_dissect_element_llog_cookie_lgc_index(tvb, offset, pinfo, tree);
7215 offset=lustre_dissect_element_llog_cookie_lgc_padding(tvb, offset, pinfo, tree);
7218 proto_item_set_len(item, offset-old_offset);
7225 /* IDL: struct llogd_body { */
7226 /* IDL: struct llog_logid { */
7227 /* IDL: } lgd_logid; */
7228 /* IDL: uint32 lgd_ctxt_idx; */
7229 /* IDL: uint32 lgd_llh_flags; */
7230 /* IDL: uint32 lgd_index; */
7231 /* IDL: uint32 lgd_saved_index; */
7232 /* IDL: uint32 lgd_len; */
7233 /* IDL: uint64 lgd_cur_offset; */
7237 lustre_dissect_element_llogd_body_lgd_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7239 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llogd_body_lgd_logid);
7244 lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7246 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_ctxt_idx);
7252 lustre_dissect_element_llogd_body_lgd_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7254 //offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7256 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7262 lustre_dissect_element_llogd_body_lgd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7264 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_index);
7270 lustre_dissect_element_llogd_body_lgd_saved_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7272 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_saved_index);
7278 lustre_dissect_element_llogd_body_lgd_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7280 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_len);
7286 lustre_dissect_element_llogd_body_lgd_cur_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7288 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_cur_offset);
7294 lustre_dissect_struct_llogd_body(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7296 proto_item *item = NULL;
7297 proto_tree *tree = NULL;
7305 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7306 tree = proto_item_add_subtree(item, ett_lustre_llogd_body);
7309 offset=lustre_dissect_element_llogd_body_lgd_logid(tvb, offset, pinfo, tree);
7311 offset=lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvb, offset, pinfo, tree);
7313 offset=lustre_dissect_element_llogd_body_lgd_llh_flags(tvb, offset, pinfo, tree);
7315 offset=lustre_dissect_element_llogd_body_lgd_index(tvb, offset, pinfo, tree);
7317 offset=lustre_dissect_element_llogd_body_lgd_saved_index(tvb, offset, pinfo, tree);
7319 offset=lustre_dissect_element_llogd_body_lgd_len(tvb, offset, pinfo, tree);
7321 offset=lustre_dissect_element_llogd_body_lgd_cur_offset(tvb, offset, pinfo, tree);
7324 proto_item_set_len(item, offset-old_offset);
7330 /* TODO : find when this Structure appear on the wire */
7331 /* IDL: struct llogd_conn_body { */
7332 /* IDL: struct llog_gen { */
7333 /* IDL: } lgdc_gen; */
7334 /* IDL: struct llog_logid { */
7335 /* IDL: } lgdc_logid; */
7336 /* IDL: uint32 lgdc_ctxt_idx; */
7340 lustre_dissect_element_llogd_conn_body_lgdc_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7342 //offset=lustre_dissect_struct_HASH(0x85e6038)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_gen);
7347 lustre_dissect_element_llogd_conn_body_lgdc_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7349 //offset=lustre_dissect_struct_HASH(0x85e6188)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_logid);
7354 lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7356 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_conn_body_lgdc_ctxt_idx);
7362 lustre_dissect_struct_llogd_conn_body(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7364 proto_item *item = NULL;
7365 proto_tree *tree = NULL;
7373 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7374 tree = proto_item_add_subtree(item, ett_lustre_llogd_conn_body);
7377 offset=lustre_dissect_element_llogd_conn_body_lgdc_gen(tvb, offset, pinfo, tree);
7379 offset=lustre_dissect_element_llogd_conn_body_lgdc_logid(tvb, offset, pinfo, tree);
7381 offset=lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvb, offset, pinfo, tree);
7384 proto_item_set_len(item, offset-old_offset);
7389 /* IDL: struct obdo { */
7390 /* IDL: uint64 o_valid; */
7391 /* IDL: uint64 o_id; */
7392 /* IDL: uint64 o_seq; */
7393 /* IDL: uint64 o_parent_seq; */
7394 /* IDL: uint64 o_size; */
7395 /* IDL: uint64 o_mtime; */
7396 /* IDL: uint64 o_atime; */
7397 /* IDL: uint64 o_ctime; */
7398 /* IDL: uint64 o_blocks; */
7399 /* IDL: uint64 o_grant; */
7400 /* IDL: uint32 o_blksize; */
7401 /* IDL: uint32 o_mode; */
7402 /* IDL: uint32 o_uid; */
7403 /* IDL: uint32 o_gid; */
7404 /* IDL: uint32 o_flags; */
7405 /* IDL: uint32 o_nlink; */
7406 /* IDL: uint32 o_parent_oid; */
7407 /* IDL: uint32 o_misc; */
7408 /* IDL: uint64 o_ioepoch; */
7409 /* IDL: uint32 o_stripe_idx; */
7410 /* IDL: uint32 o_parent_ver; */
7411 /* IDL: struct lustre_handle { */
7412 /* IDL: } o_handle; */
7413 /* IDL: struct llog_cookie { */
7414 /* IDL: } o_lcookie; */
7415 /* IDL: uint64 o_padding_2; */
7416 /* IDL: uint64 o_padding_3; */
7417 /* IDL: uint64 o_padding_4; */
7418 /* IDL: uint64 o_padding_5; */
7419 /* IDL: uint64 o_padding_6; */
7423 lustre_dissect_element_obdo_o_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7425 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_valid);
7431 lustre_dissect_element_obdo_o_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7433 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_id);
7439 lustre_dissect_element_obdo_o_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7441 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_seq);
7447 lustre_dissect_element_obdo_o_parent_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7449 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_seq);
7455 lustre_dissect_element_obdo_o_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7457 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_size);
7463 lustre_dissect_element_obdo_o_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7467 ns.secs = tvb_get_letohl(tvb,offset);
7469 proto_tree_add_time(tree, hf_lustre_obdo_o_mtime, tvb, offset, 8, &ns );
7475 lustre_dissect_element_obdo_o_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7479 ns.secs = tvb_get_letohl(tvb,offset);
7481 proto_tree_add_time(tree, hf_lustre_obdo_o_atime, tvb, offset, 8, &ns );
7488 lustre_dissect_element_obdo_o_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7492 ns.secs = tvb_get_letohl(tvb,offset);
7494 proto_tree_add_time(tree, hf_lustre_obdo_o_ctime, tvb, offset, 8, &ns );
7500 lustre_dissect_element_obdo_o_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7502 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blocks);
7508 lustre_dissect_element_obdo_o_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7510 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_grant);
7516 lustre_dissect_element_obdo_o_blksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7518 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blksize);
7524 lustre_dissect_element_obdo_o_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7526 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_mode);
7532 lustre_dissect_element_obdo_o_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7534 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid);
7540 lustre_dissect_element_obdo_o_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7542 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid);
7548 lustre_dissect_element_obdo_o_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7550 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_flags);
7551 /* TODO rajouter ça , faire une fonction générique qui s'occupe de tous les flags d'un tableau. */
7553 /*0x00000001 : "OBD_FL_INLINEDATA",*/
7554 /*0x00000002 : "OBD_FL_OBDMDEXISTS",*/
7555 /*0x00000004 : "OBD_FL_DELORPHAN",*/
7556 /*0x00000008 : "OBD_FL_NORPC",*/
7557 /*0x00000010 : "OBD_FL_IDONLY",*/
7558 /*0x00000020 : "OBD_FL_RECREATE_OBJS",*/
7559 /*0x00000040 : "OBD_FL_DEBUG_CHECK",*/
7560 /*0x00000100 : "OBD_FL_NO_USRQUOTA",*/
7561 /*0x00000200 : "OBD_FL_NO_GRPQUOTA",*/
7562 /*0x00000400 : "OBD_FL_CREATE_CROW",*/
7563 /*0x00000800 : "OBD_FL_SRVLOCK",*/
7569 lustre_dissect_element_obdo_o_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7571 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_nlink);
7577 lustre_dissect_element_obdo_o_parent_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7579 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_oid);
7585 lustre_dissect_element_obdo_o_misc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7587 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_misc);
7593 lustre_dissect_element_obdo_o_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7595 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_ioepoch);
7601 lustre_dissect_element_obdo_o_stripe_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7603 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_stripe_idx);
7609 lustre_dissect_element_obdo_o_parent_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7611 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_ver);
7617 lustre_dissect_element_obdo_o_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7619 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_handle);
7624 lustre_dissect_element_obdo_o_lcookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7626 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_lcookie);
7631 lustre_dissect_element_obdo_o_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7633 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_2);
7639 lustre_dissect_element_obdo_o_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7641 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_3);
7647 lustre_dissect_element_obdo_o_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7649 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_4);
7655 lustre_dissect_element_obdo_o_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7657 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_5);
7663 lustre_dissect_element_obdo_o_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7665 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_6);
7671 lustre_dissect_struct_obdo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7673 proto_item *item = NULL;
7674 proto_tree *tree = NULL;
7682 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7683 tree = proto_item_add_subtree(item, ett_lustre_obdo);
7686 offset=lustre_dissect_element_obdo_o_valid(tvb, offset, pinfo, tree);
7688 offset=lustre_dissect_element_obdo_o_id(tvb, offset, pinfo, tree);
7690 offset=lustre_dissect_element_obdo_o_seq(tvb, offset, pinfo, tree);
7692 offset=lustre_dissect_element_obdo_o_parent_seq(tvb, offset, pinfo, tree);
7694 offset=lustre_dissect_element_obdo_o_size(tvb, offset, pinfo, tree);
7696 offset=lustre_dissect_element_obdo_o_mtime(tvb, offset, pinfo, tree);
7698 offset=lustre_dissect_element_obdo_o_atime(tvb, offset, pinfo, tree);
7700 offset=lustre_dissect_element_obdo_o_ctime(tvb, offset, pinfo, tree);
7702 offset=lustre_dissect_element_obdo_o_blocks(tvb, offset, pinfo, tree);
7704 offset=lustre_dissect_element_obdo_o_grant(tvb, offset, pinfo, tree);
7706 offset=lustre_dissect_element_obdo_o_blksize(tvb, offset, pinfo, tree);
7708 offset=lustre_dissect_element_obdo_o_mode(tvb, offset, pinfo, tree);
7710 offset=lustre_dissect_element_obdo_o_uid(tvb, offset, pinfo, tree);
7712 offset=lustre_dissect_element_obdo_o_gid(tvb, offset, pinfo, tree);
7714 offset=lustre_dissect_element_obdo_o_flags(tvb, offset, pinfo, tree);
7716 offset=lustre_dissect_element_obdo_o_nlink(tvb, offset, pinfo, tree);
7718 offset=lustre_dissect_element_obdo_o_parent_oid(tvb, offset, pinfo, tree);
7720 offset=lustre_dissect_element_obdo_o_misc(tvb, offset, pinfo, tree);
7722 offset=lustre_dissect_element_obdo_o_ioepoch(tvb, offset, pinfo, tree);
7724 offset=lustre_dissect_element_obdo_o_stripe_idx(tvb, offset, pinfo, tree);
7726 offset=lustre_dissect_element_obdo_o_parent_ver(tvb, offset, pinfo, tree);
7728 offset=lustre_dissect_element_obdo_o_handle(tvb, offset, pinfo, tree);
7730 offset=lustre_dissect_element_obdo_o_lcookie(tvb, offset, pinfo, tree);
7732 offset=lustre_dissect_element_obdo_o_padding_2(tvb, offset, pinfo, tree);
7734 offset=lustre_dissect_element_obdo_o_padding_3(tvb, offset, pinfo, tree);
7736 offset=lustre_dissect_element_obdo_o_padding_4(tvb, offset, pinfo, tree);
7738 offset=lustre_dissect_element_obdo_o_padding_5(tvb, offset, pinfo, tree);
7740 offset=lustre_dissect_element_obdo_o_padding_6(tvb, offset, pinfo, tree);
7743 proto_item_set_len(item, offset-old_offset);
7750 /* IDL: struct ost_body { */
7751 /* IDL: struct obdo { */
7756 lustre_dissect_element_ost_body_oa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7758 offset=lustre_dissect_struct_obdo(tvb,offset,pinfo,tree,hf_lustre_ost_body_oa);
7763 lustre_dissect_struct_ost_body(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7765 proto_item *item = NULL;
7766 proto_tree *tree = NULL;
7774 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7775 tree = proto_item_add_subtree(item, ett_lustre_ost_body);
7778 offset=lustre_dissect_element_ost_body_oa(tvb, offset, pinfo, tree);
7781 proto_item_set_len(item, offset-old_offset);
7787 /* TODO : find when this Structure appear on the wire */
7788 /* IDL: struct qunit_data { */
7789 /* IDL: uint32 qd_id; */
7790 /* IDL: uint32 qd_flags; */
7791 /* IDL: uint64 qd_count; */
7792 /* IDL: uint64 qd_qunit; */
7793 /* IDL: uint64 padding; */
7797 lustre_dissect_element_qunit_data_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7799 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_id);
7805 lustre_dissect_element_qunit_data_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7807 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_flags);
7813 lustre_dissect_element_qunit_data_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7815 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_count);
7821 lustre_dissect_element_qunit_data_qd_qunit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7823 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_qunit);
7829 lustre_dissect_element_qunit_data_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7831 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_padding);
7837 lustre_dissect_struct_qunit_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7839 proto_item *item = NULL;
7840 proto_tree *tree = NULL;
7848 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7849 tree = proto_item_add_subtree(item, ett_lustre_qunit_data);
7852 offset=lustre_dissect_element_qunit_data_qd_id(tvb, offset, pinfo, tree);
7854 offset=lustre_dissect_element_qunit_data_qd_flags(tvb, offset, pinfo, tree);
7856 offset=lustre_dissect_element_qunit_data_qd_count(tvb, offset, pinfo, tree);
7858 offset=lustre_dissect_element_qunit_data_qd_qunit(tvb, offset, pinfo, tree);
7860 offset=lustre_dissect_element_qunit_data_padding(tvb, offset, pinfo, tree);
7863 proto_item_set_len(item, offset-old_offset);
7868 /* TODO : find when this Structure appear on the wire */
7869 /* IDL: struct qunit_data_old2 { */
7870 /* IDL: uint32 qd_id; */
7871 /* IDL: uint32 qd_flags; */
7872 /* IDL: uint64 qd_count; */
7876 lustre_dissect_element_qunit_data_old2_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7878 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_id);
7884 lustre_dissect_element_qunit_data_old2_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7886 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_flags);
7892 lustre_dissect_element_qunit_data_old2_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7894 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_count);
7900 lustre_dissect_struct_qunit_data_old2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7902 proto_item *item = NULL;
7903 proto_tree *tree = NULL;
7911 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7912 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old2);
7915 offset=lustre_dissect_element_qunit_data_old2_qd_id(tvb, offset, pinfo, tree);
7917 offset=lustre_dissect_element_qunit_data_old2_qd_flags(tvb, offset, pinfo, tree);
7919 offset=lustre_dissect_element_qunit_data_old2_qd_count(tvb, offset, pinfo, tree);
7922 proto_item_set_len(item, offset-old_offset);
7927 /* TODO : find when this Structure appear on the wire */
7928 /* IDL: struct qunit_data_old { */
7929 /* IDL: uint32 qd_id; */
7930 /* IDL: uint32 qd_type; */
7931 /* IDL: uint32 qd_count; */
7932 /* IDL: uint32 qd_isblk; */
7936 lustre_dissect_element_qunit_data_old_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7938 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_id);
7944 lustre_dissect_element_qunit_data_old_qd_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7946 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_type);
7952 lustre_dissect_element_qunit_data_old_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7954 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_count);
7960 lustre_dissect_element_qunit_data_old_qd_isblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7962 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_isblk);
7968 lustre_dissect_struct_qunit_data_old(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7970 proto_item *item = NULL;
7971 proto_tree *tree = NULL;
7979 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7980 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old);
7983 offset=lustre_dissect_element_qunit_data_old_qd_id(tvb, offset, pinfo, tree);
7985 offset=lustre_dissect_element_qunit_data_old_qd_type(tvb, offset, pinfo, tree);
7987 offset=lustre_dissect_element_qunit_data_old_qd_count(tvb, offset, pinfo, tree);
7989 offset=lustre_dissect_element_qunit_data_old_qd_isblk(tvb, offset, pinfo, tree);
7992 proto_item_set_len(item, offset-old_offset);
7998 /* ------------------------------------------------------------------------- */
8000 * the length of the string is the current buflen
8001 * @tvb the packet buff
8002 * @offset the current offset
8005 * @hf_index : the corresponding header field
8006 * @buf_num : the corresponding bufnumber of the string (we use it to
8007 * determine the string length), must respect : 0<bufnum<=bufmax_in_paquet
8010 lustre_dissect_element_string (tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8012 proto_item *item = NULL;
8019 // if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb,
8020 // offset, -1, TRUE); // tree = proto_item_add_subtree(item,
8023 if(buf_num+1>LUSTRE_BUFCOUNT)
8026 string_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + 4 * buf_num) ; /* 4 because a buflen is on a guint32 */
8027 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
8029 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " filename : %s", tvb_get_string(tvb,offset,string_len) );
8032 proto_item_set_len(item, offset-old_offset);
8033 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* after a string we must be aligned to 8 bytes. */
8039 /* ------------------------------------------------------------------------- */
8040 /* dissect raw data */
8042 lustre_dissect_element_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8044 proto_item *item = NULL;
8050 if(buf_num+1>LUSTRE_BUFCOUNT)
8053 data_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + 4 * buf_num) ; /* 4 because a buflen is on a guint32 */
8054 proto_tree_add_item(parent_tree, hf_index, tvb, offset, data_len, TRUE);
8057 proto_item_set_len(item, offset-old_offset);
8058 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* align on 8 bytes */
8062 /* ------------------------------------------------------------------------ */
8065 static int reint_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8069 opcode = tvb_get_letohl(tvb,offset);
8073 /* [eadata][cookie_data][ldlm_request] */
8074 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8075 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8076 hf_lustre_ldlm_request) ;
8079 /* [rec_create][filename][tgt.. Ã 0 pour l'instant][ldlm_request] */
8080 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8081 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8082 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2); /* this string is all the time =="\0"*/
8083 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8084 hf_lustre_ldlm_request) ;
8087 /*[mdt_rec_link][filename][ldlm_req] */
8088 offset=lustre_dissect_struct_mdt_rec_link(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link);
8089 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8090 hf_lustre_ldlm_request) ;
8091 /*TODO : need to be check*/
8093 case REINT_UNLINK : /* mds_unlink_unpack : [mdt_rec_unlink][filename][ldlm_req] */
8094 /* [mdt_rec_unlink][filename][ldlm_req][..]*/
8095 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink);
8096 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8097 if ( (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF +2))) == 112) /* TODO : ugly .. but
8098 for now we have to do this */
8099 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8101 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8104 case REINT_RENAME : /*mds_rename_unpack : [mdt_rec_rename][filename source][filename target_name][ldlm_request] */
8105 offset=lustre_dissect_struct_mdt_rec_rename(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename);
8106 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+1);
8107 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_new_name, LUSTRE_REQ_REC_OFF+2);
8108 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8110 case REINT_OPEN : /* [rec_create][filename][eadata] */
8111 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8112 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8113 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2); /* TODO : replace with hf_eadata */
8115 case REINT_SETXATTR :
8116 /* [eadata][cookie_data][ldlm_request] */
8117 offset=lustre_dissect_struct_mdt_rec_setxattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr);
8118 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8119 hf_lustre_ldlm_request) ;
8130 /* dissect a connect message */
8132 lustre_dissect_generic_connect(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8134 /*TODO : add a cuuid and target uid */
8135 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8136 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8137 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
8138 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8143 lustre_ost_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8148 case OST_REPLY: /* obsolete so nothing */
8151 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8154 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8156 case OST_READ: /* [OST_BODY][obd_ioobj][niobuf_remote] for request, [OST_BODY] for reply */
8157 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8158 if(pb_type==PTL_RPC_MSG_REQUEST){
8159 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8160 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_niobuf_remote);
8164 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo,
8165 tree, hf_lustre_ost_body) ; /* [ost_body] in both case */
8166 if(pb_type==PTL_RPC_MSG_REQUEST)
8168 for (i=0;i<tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+ 4*(LUSTRE_REQ_REC_OFF+1))/24;i++)
8169 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8170 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_obd_ioobj);
8172 if(pb_type==PTL_RPC_MSG_REPLY) /* niocount *[uint32], but niocount is in request message, so
8173 we use the bufcount */
8175 for (i=0;i<tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF)-2;i++) /* -2 because we have already dissect 2 buffers : ptl + ost */
8176 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_nio);
8177 if (i & 1 ) /* if odd we add extra padding */
8178 offset=dissect_uint32(tvb, offset, pinfo, tree,
8179 hf_lustre_extra_padding);
8183 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8186 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8187 if(pb_type==PTL_RPC_MSG_REQUEST) /* [ost_body][-si buf- ldlm_request] */
8188 if ( (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF +1))) != 0)
8189 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ost_body);
8190 /* TODO : test that */
8193 if(pb_type==PTL_RPC_MSG_REQUEST) /* [key] */
8195 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF+1);
8197 if (pb_type==PTL_RPC_MSG_REPLY)
8199 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF); /* val */
8204 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8205 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8206 if (pb_type==PTL_RPC_MSG_REPLY)
8207 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8209 case OST_DISCONNECT: /* [nothing] */
8211 case OST_PUNCH: /* [ost_body] */
8212 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8214 case OST_OPEN: /* [nothing] in the code maybee obsolete */
8216 case OST_CLOSE: /* [nothing] in the code maybee obsolete */
8218 case OST_STATFS: /* [obd_statfs] check that : TODO */
8219 if(LUSTRE_BUFCOUNT>=2)
8220 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8223 /*[ost_body] in both case */
8224 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8227 if(pb_type==PTL_RPC_MSG_REQUEST)
8229 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8230 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8232 /* if Key = "evict_by_nid" --> need to be process.. TODO */
8234 case OST_QUOTACHECK:
8235 if(pb_type==PTL_RPC_MSG_REQUEST)
8236 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8237 /* nothing in reply */
8240 /*[obd_quotactl in both case]*/
8241 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8242 case OST_QUOTA_ADJUST_QUNIT:
8243 /* [quota_adjust_qunit] in both case ? */
8244 offset=lustre_dissect_struct_quota_adjust_qunit(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit) ;
8251 lustre_mds_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8254 case MDS_DISCONNECT:
8259 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8262 if(pb_type==PTL_RPC_MSG_REQUEST)
8264 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8265 /*if(reply) : [nothing]*/
8268 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8269 if(pb_type==PTL_RPC_MSG_REQUEST)
8270 /*[string_xattr_name]*/
8271 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+1);
8272 if(pb_type==PTL_RPC_MSG_REPLY)
8274 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+1);
8277 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8278 /* TODO [ something ??? ] */
8280 case MDS_GETATTR_NAME:
8281 if(pb_type==PTL_RPC_MSG_REQUEST)
8283 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8284 /*[nothing in reply]*/
8286 case MDS_DONE_WRITING:
8288 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8290 case MDS_PIN: /* repbody.. */
8292 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8296 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8299 case MDS_CLOSE: /* TODO : check the corresponding structure in lustre code */
8300 if(pb_type==PTL_RPC_MSG_REQUEST)
8301 { /* [mdt_body] [lov_mds_md][log_cookie] */
8302 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8303 if(LUSTRE_BUFCOUNT>=3)
8304 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1);
8305 if(LUSTRE_BUFCOUNT>=4)
8306 if( tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+2)) > 0)
8307 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8309 if(pb_type==PTL_RPC_MSG_REPLY)
8310 { /* [mdt_body][md][cookie] TODO : check that (reread the code about shrink in lustre) */
8311 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8312 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0)
8313 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_md_data,LUSTRE_REQ_REC_OFF+1); /* key */
8314 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+2)) > 0)
8315 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8320 if(pb_type==PTL_RPC_MSG_REPLY)
8322 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8323 /*in request : [nothing]*/
8327 /* [mdt_body] but with some different interpration, need to modify the hf : TODO */
8328 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8332 /* the structure depend on the intent_opcode */
8333 if(pb_type==PTL_RPC_MSG_REQUEST)
8334 offset=reint_opcode_process(tvb, offset, pinfo, tree);
8335 if(pb_type==PTL_RPC_MSG_REPLY)
8337 /*[mdt_body][??][llog_logid_rec] */
8338 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8339 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0){
8340 /* OPEN, RENAME, and UNLINK */
8341 if(tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0){ /* rec_unlink or rec_rename */
8342 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata,
8343 LUSTRE_REQ_REC_OFF+1); // replace by eadata TODO TODO //
8344 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+2)) > 0) /* with unlink or rename we have 4 buffers handler.c line 1691*/
8345 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8346 hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2); // replace withe eadata TODO TODO //
8353 if(pb_type==PTL_RPC_MSG_REQUEST){
8355 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8356 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8357 //offset=add_extra_padding(tvb,offset,pinfo,tree);
8359 /*nothing en reply*/
8361 case MDS_QUOTACHECK:
8362 /* [obd_quotactl] */
8363 if(pb_type==PTL_RPC_MSG_REQUEST)
8364 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8367 /* [obd_quotactl] in both case*/
8368 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8371 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8372 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8373 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8374 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8386 lustre_ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8392 /*[ldlm_request] if we have one more buffer it's [intent_opcode] and the opcode give us the
8393 * corresponding intent structure [intent] */
8394 if(pb_type==PTL_RPC_MSG_REQUEST)
8396 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8397 if (LUSTRE_BUFCOUNT>=3)
8398 offset=lustre_dissect_struct_ldlm_intent(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent);
8400 if(pb_type==PTL_RPC_MSG_REPLY)
8405 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply,&ldlm_type) ;
8406 if(LUSTRE_BUFCOUNT>2 && (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*2) == 40))
8407 /* TODO :this code need to be check and test, the lustre corresponding code is'nt explicit, so
8408 * not sure to have this buffer, but in example it works fine
8410 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree, hf_lustre_ost_lvb);
8412 if(LUSTRE_BUFCOUNT>2)
8414 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8415 /*g_print("buflen_off+4*3 = %d", tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*LUSTRE_DLM_INTENT_REC_OFF));*/
8416 if(LUSTRE_BUFCOUNT>2 &&
8417 (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*LUSTRE_DLM_INTENT_REC_OFF) > 0))
8419 magic=tvb_get_letohl(tvb, offset); /* TODO : replace this with a macro */
8423 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1);
8426 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8427 hf_lustre_extra_padding, LUSTRE_DLM_INTENT_REC_OFF);
8436 if(pb_type==PTL_RPC_MSG_REQUEST)
8438 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8439 if(pb_type==PTL_RPC_MSG_REPLY)
8441 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply, NULL) ;
8445 if(pb_type==PTL_RPC_MSG_REQUEST)
8447 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8448 /*[nothing en reply]*/
8451 case LDLM_BL_CALLBACK: /* TODO : check the corresponding code in lustre*/
8452 if(pb_type==PTL_RPC_MSG_REQUEST)
8454 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8457 case LDLM_CP_CALLBACK:
8458 if(pb_type==PTL_RPC_MSG_REQUEST){
8459 /*[ldlm_request] if the third buffer exist we have [lvb data] so it's [ost_lvb] : TODO :
8461 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8462 if(LUSTRE_BUFCOUNT>=3)
8463 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8465 /*reply : [nothing] */
8468 case LDLM_GL_CALLBACK:
8469 if(pb_type==PTL_RPC_MSG_REQUEST)
8471 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8473 if(pb_type==PTL_RPC_MSG_REPLY)
8474 /*reply : [ost_lvb] <-- need to be check*/
8475 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree, hf_lustre_ost_lvb);
8485 lustre_mgs_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8489 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8490 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8491 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8492 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8494 case MGS_DISCONNECT :
8497 case MGS_EXCEPTION : /* node died, etc. */
8500 case MGS_TARGET_REG:
8501 /*[mgs_target_info], mgs_handler.c mgs_handle_target_reg() called whenever a target startup*/
8502 offset=lustre_dissect_struct_mgs_target_info(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info);
8504 case MGS_TARGET_DEL:
8508 /*[mgs_send_param], mgs_set_info_rpc()*/
8509 offset=lustre_dissect_struct_mgs_send_param(tvb,offset,pinfo,tree,hf_lustre_mgs_send_param);
8518 lustre_odb_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8524 case OBD_LOG_CANCEL:
8527 case OBD_QC_CALLBACK:
8528 if(pb_type==PTL_RPC_MSG_REQUEST)
8529 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8530 /*if (request) : [nothing]*/
8539 lustre_llog_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8542 case LLOG_ORIGIN_HANDLE_CREATE : /* in handler.c */
8543 /*[llogd_body] (reply and request)*/
8544 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8545 if(pb_type==PTL_RPC_MSG_REQUEST) /*[filename] */
8546 if (LUSTRE_BUFCOUNT>2)
8547 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_name,
8548 LUSTRE_REQ_REC_OFF+1);
8550 case LLOG_ORIGIN_HANDLE_NEXT_BLOCK :/* in handler.c */
8551 /* [llogd_body][???]
8552 * the size of second buf is LLOG_CHKUNK_SIZE, so it's maybee only bulk data */
8553 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8554 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8555 LUSTRE_REQ_REC_OFF + 1 );
8557 case LLOG_ORIGIN_HANDLE_READ_HEADER:/* in handler.c */
8558 if(pb_type==PTL_RPC_MSG_REQUEST){
8559 /* [llogd_body][llog_log_hdr] */
8560 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8561 if(LUSTRE_BUFCOUNT>2)
8562 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8563 hf_lustre_llogd_log_hdr);
8565 if(pb_type==PTL_RPC_MSG_REPLY) /* [llog_log_hdr] */
8566 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8567 hf_lustre_llogd_log_hdr);
8569 case LLOG_ORIGIN_HANDLE_WRITE_REC : /* I think this is obsolete */
8572 case LLOG_ORIGIN_HANDLE_CLOSE :/* handler.c */
8575 case LLOG_ORIGIN_CONNECT : /* ost_handler.c */
8577 case LLOG_CATINFO : /*in handler.c */
8578 if(pb_type==PTL_RPC_MSG_REQUEST){
8579 /* [keyword][if keyword=config [char*] else [nothing]] */
8580 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_keyword,
8581 LUSTRE_REQ_REC_OFF);
8582 if(strcmp(tvb_get_string(tvb, LUSTRE_REQ_REC_OFF, tvb_get_letohl(tvb,
8583 LUSTRE_BUFLEN_OFF+4*LUSTRE_REQ_REC_OFF)), "config")==0) /* if(keyword ==
8585 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_client,
8586 LUSTRE_REQ_REC_OFF+1);
8588 if(pb_type==PTL_RPC_MSG_REPLY)
8589 /*[buf] sizeof = llog_chunk_size*/
8590 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8591 LUSTRE_REQ_REC_OFF + 1 );
8592 /* TODO TODO : check if it's note a catid */
8594 case LLOG_ORIGIN_HANDLE_PREV_BLOCK : /* in handler.c */
8595 /* [llogd_body] in both case */
8596 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8597 if(pb_type==PTL_RPC_MSG_REPLY)
8598 /*[buf] size of llog_chunk_size*/
8599 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8600 LUSTRE_REQ_REC_OFF + 1 );
8602 case LLOG_ORIGIN_HANDLE_DESTROY : /* in handler.c */
8603 /*[llogd_body] in both case*/
8604 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8613 /* process lustre opcode :
8614 check if opcode is in range_opcode, and call the corresponding opcode process function */
8616 lustre_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8618 if (opc <= OST_LAST_OPC) /* OST opcodes */
8619 offset=lustre_ost_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8621 if ( (opc >= MDS_FIRST_OPC) && (opc < MDS_LAST_OPC )) /* MDS opcodes */
8622 offset=lustre_mds_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8624 if ( (opc >= LDLM_FIRST_OPC) && (opc < LDLM_LAST_OPC) ) /*LDLM Opcodes*/
8625 offset=lustre_ldlm_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8627 if( (opc>= MGS_FIRST_OPC) && (opc <= MGS_LAST_OPC)) /* MGS Opcodes */
8628 offset=lustre_mgs_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8630 if( (opc>= OBD_FIRST_OPC) && (opc<=OBD_LAST_OPC)) /* ODB Opcodes */
8631 offset=lustre_odb_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8633 if( (opc>=LLOG_FIRST_OPC) && (opc<=LLOG_LAST_OPC)) /* LLOG Opcodes */
8634 offset=lustre_llog_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8639 /* ----------------------------------------------- */
8640 /* add an extra padding to be aligned to 8bytes */
8642 add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8644 guint32 padding_len;
8646 padding_len = (8- offset%8)%8;
8648 proto_tree_add_item(tree, hf_lustre_extra_padding , tvb, offset, padding_len, TRUE);
8649 offset+=padding_len;
8653 /* ----------------------------------------------- */
8656 ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_)
8658 /* all corresponding code is in mdc_locks.c in function mdc_enqueue() */
8659 /* if 0x0003 we have CREAT + OPEN
8661 if (intent_opc & IT_OPEN) {
8662 /* mdc_intent_open_pack(), d'où [opcode][mdc_rec_create][name][eada] */
8663 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8664 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_DLM_INTENT_REC_OFF+1);
8665 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata,
8666 LUSTRE_DLM_INTENT_REC_OFF+2); /* TODO : replace hf with eada hf */
8669 if (intent_opc & IT_UNLINK){
8670 /* mdc_intent_unlink_pack(), d'où [opcode][mdt_rec_unlink][name] */
8671 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink);
8672 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_DLM_INTENT_REC_OFF+1);
8674 if (intent_opc & IT_GETATTR){
8675 /* mdc_intent_lookup_pack, d'où [mdt_body][name] */
8676 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8677 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_DLM_INTENT_REC_OFF+1);
8680 if (intent_opc & IT_LOOKUP){
8681 /* mdc_intent_lookup_pack, d'où [mdt_body][name] */
8682 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8683 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_DLM_INTENT_REC_OFF+1);
8690 /* ----------------------------------------------- */
8691 /* function to test if the packet is entirely dissected add BUG in PROTOCOL COL when it's not*/
8693 sanity_check(tvbuff_t *tvb, packet_info *pinfo, guint32 val_offset _U_)
8695 guint32 magic_number ;
8696 guint32 somme_buflen = 0 ;
8699 magic_number = tvb_get_letohl(tvb, 8);
8702 for (i=0;i<LUSTRE_BUFCOUNT;i++)
8703 somme_buflen += tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF +
8704 4 * i ) + (8- tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4 * i)%8)%8; /* we add the
8712 if(val_offset!=somme_buflen){
8713 /*g_print("somme_buflen=%d, val_offset = %d \n",somme_buflen,val_offset);*/
8714 if (check_col(pinfo->cinfo, COL_INFO)) {
8715 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8722 /* IDL: struct lustre_msg_v1 { */
8723 /* IDL: struct lustre_handle { */
8724 /* IDL: } lm_handle; */
8725 /* IDL: uint32 lm_magic; */
8726 /* IDL: uint32 lm_type; */
8727 /* IDL: uint32 lm_version; */
8728 /* IDL: uint32 lm_opc; */
8729 /* IDL: uint64 lm_last_xid; */
8730 /* IDL: uint64 lm_last_committed; */
8731 /* IDL: uint64 lm_transno; */
8732 /* IDL: uint32 lm_status; */
8733 /* IDL: uint32 lm_flags; */
8734 /* IDL: uint32 lm_conn_cnt; */
8735 /* IDL: uint32 lm_bufcount; */
8736 /* IDL: uint32 lm_buflens[0]; */
8741 lustre_dissect_element_msg_v1_lm_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8743 /*TODO : replace with a v1 handle*/
8744 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_lustre_msg_v1_lm_handle);
8749 lustre_dissect_element_msg_v1_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8751 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_magic);
8757 lustre_dissect_element_msg_v1_lm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8759 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_type);
8765 lustre_dissect_element_msg_v1_lm_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8767 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_version);
8773 lustre_dissect_element_msg_v1_lm_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8775 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_opc);
8781 lustre_dissect_element_msg_v1_lm_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8783 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_xid);
8789 lustre_dissect_element_msg_v1_lm_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8791 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_committed);
8797 lustre_dissect_element_msg_v1_lm_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8799 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_transno);
8805 lustre_dissect_element_msg_v1_lm_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8807 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_status);
8813 lustre_dissect_element_msg_v1_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8815 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_flags);
8821 lustre_dissect_element_msg_v1_lm_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8823 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_conn_cnt);
8829 lustre_dissect_element_msg_v1_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8831 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_bufcount);
8837 lustre_dissect_element_msg_v1_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8839 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_buflens);
8845 lustre_dissect_element_msg_v1_lm_buflens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8848 gboolean extra_padding ;
8851 bufcount=tvb_get_letohl(tvb, offset-4); /* TODO : replace with a macro */
8853 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
8858 for (i=0;i<bufcount;i++) {
8859 offset=lustre_dissect_element_msg_v1_lm_buflens_(tvb, offset, pinfo, tree);
8863 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
8872 lustre_dissect_struct_msg_v1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
8874 proto_item *item = NULL;
8875 proto_tree *tree = NULL;
8877 guint32 opc ; /* opcode */
8878 guint32 pb_type; /* type : {request, reply, error} */
8884 // if (parent_tree) {
8885 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8886 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v1);
8889 offset=lustre_dissect_element_msg_v1_lm_handle(tvb, offset, pinfo, tree);
8891 offset=lustre_dissect_element_msg_v1_lm_magic(tvb, offset, pinfo, tree);
8893 pb_type = tvb_get_letohl(tvb, offset);
8894 offset=lustre_dissect_element_msg_v1_lm_type(tvb, offset, pinfo, tree);
8896 offset=lustre_dissect_element_msg_v1_lm_version(tvb, offset, pinfo, tree);
8897 opc = tvb_get_letohl(tvb, offset);
8898 offset=lustre_dissect_element_msg_v1_lm_opc(tvb, offset, pinfo, tree);
8900 offset=lustre_dissect_element_msg_v1_lm_last_xid(tvb, offset, pinfo, tree);
8902 offset=lustre_dissect_element_msg_v1_lm_last_committed(tvb, offset, pinfo, tree);
8904 offset=lustre_dissect_element_msg_v1_lm_transno(tvb, offset, pinfo, tree);
8906 offset=lustre_dissect_element_msg_v1_lm_status(tvb, offset, pinfo, tree);
8908 offset=lustre_dissect_element_msg_v1_lm_flags(tvb, offset, pinfo, tree);
8910 offset=lustre_dissect_element_msg_v1_lm_conn_cnt(tvb, offset, pinfo, tree);
8912 offset=lustre_dissect_element_msg_v1_lm_bufcount(tvb, offset, pinfo, tree);
8914 offset=lustre_dissect_element_msg_v1_lm_buflens(tvb, offset, pinfo, tree);
8917 proto_item_set_len(item, offset-old_offset);
8919 /* display some nice infos */
8920 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
8921 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
8923 offset=lustre_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
8928 /* IDL: struct ptlrpc_body { */
8929 /* IDL: struct lustre_handle { */
8930 /* IDL: } pb_handle; */
8931 /* IDL: uint32 pb_type; */
8932 /* IDL: uint32 pb_version; */
8933 /* IDL: uint32 pb_opc; */
8934 /* IDL: uint32 pb_status; */
8935 /* IDL: uint64 pb_last_xid; */
8936 /* IDL: uint64 pb_last_seen; */
8937 /* IDL: uint64 pb_last_committed; */
8938 /* IDL: uint64 pb_transno; */
8939 /* IDL: uint32 pb_flags; */
8940 /* IDL: uint32 pb_op_flags; */
8941 /* IDL: uint32 pb_conn_cnt; */
8942 /* IDL: uint32 pb_timeout; */
8943 /* IDL: uint32 pb_service_time; */
8944 /* IDL: uint32 pb_limit; */
8945 /* IDL: uint64 pb_slv; */
8949 lustre_dissect_element_ptlrpc_body_pb_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8951 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ptlrpc_body_pb_handle);
8957 lustre_dissect_element_ptlrpc_body_pb_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8959 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_type);
8965 lustre_dissect_element_ptlrpc_body_pb_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8967 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_version);
8973 lustre_dissect_element_ptlrpc_body_pb_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8975 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_opc);
8981 lustre_dissect_element_ptlrpc_body_pb_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8983 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_status);
8989 lustre_dissect_element_ptlrpc_body_pb_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8991 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_xid);
8997 lustre_dissect_element_ptlrpc_body_pb_last_seen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8999 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_seen);
9005 lustre_dissect_element_ptlrpc_body_pb_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9007 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_committed);
9013 lustre_dissect_element_ptlrpc_body_pb_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9015 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_transno);
9021 lustre_dissect_element_ptlrpc_body_pb_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9023 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_flags);
9029 lustre_dissect_element_ptlrpc_body_pb_op_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9031 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_op_flags);
9037 lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9039 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_conn_cnt);
9045 lustre_dissect_element_ptlrpc_body_pb_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9047 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_timeout);
9053 lustre_dissect_element_ptlrpc_body_pb_service_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9055 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_service_time);
9061 lustre_dissect_element_ptlrpc_body_pb_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9063 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_limit);
9069 lustre_dissect_element_ptlrpc_body_pb_slv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9071 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_slv);
9077 lustre_dissect_struct_ptlrpc_body(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_len _U_ )
9079 proto_item *item = NULL;
9080 proto_tree *tree = NULL;
9083 guint32 opc, pb_type;
9090 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9091 tree = proto_item_add_subtree(item, ett_lustre_ptlrpc_body);
9094 offset=lustre_dissect_element_ptlrpc_body_pb_handle(tvb, offset, pinfo, tree);
9096 pb_type = tvb_get_letohl(tvb, offset);
9097 //g_print("msg_v2_lm_type_offset = %d \n" , offset) ;
9099 offset=lustre_dissect_element_ptlrpc_body_pb_type(tvb, offset, pinfo, tree);
9101 offset=lustre_dissect_element_ptlrpc_body_pb_version(tvb, offset, pinfo, tree);
9103 // g_print("msg_v2_opcode_offset %d \n", offset);
9104 opc = tvb_get_letohl(tvb, offset);
9105 offset=lustre_dissect_element_ptlrpc_body_pb_opc(tvb, offset, pinfo, tree);
9107 offset=lustre_dissect_element_ptlrpc_body_pb_status(tvb, offset, pinfo, tree);
9109 offset=lustre_dissect_element_ptlrpc_body_pb_last_xid(tvb, offset, pinfo, tree);
9111 offset=lustre_dissect_element_ptlrpc_body_pb_last_seen(tvb, offset, pinfo, tree);
9113 offset=lustre_dissect_element_ptlrpc_body_pb_last_committed(tvb, offset, pinfo, tree);
9115 offset=lustre_dissect_element_ptlrpc_body_pb_transno(tvb, offset, pinfo, tree);
9117 offset=lustre_dissect_element_ptlrpc_body_pb_flags(tvb, offset, pinfo, tree);
9119 offset=lustre_dissect_element_ptlrpc_body_pb_op_flags(tvb, offset, pinfo, tree);
9121 offset=lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvb, offset, pinfo, tree);
9123 offset=lustre_dissect_element_ptlrpc_body_pb_timeout(tvb, offset, pinfo, tree);
9125 offset=lustre_dissect_element_ptlrpc_body_pb_service_time(tvb, offset, pinfo, tree);
9127 offset=lustre_dissect_element_ptlrpc_body_pb_limit(tvb, offset, pinfo, tree);
9129 offset=lustre_dissect_element_ptlrpc_body_pb_slv(tvb, offset, pinfo, tree);
9133 proto_item_set_len(item, offset-old_offset);
9135 /* display some nice infos */
9136 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9137 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9139 /* on utilise parent_tree pour bien distinguer les différents buffers (relatifs à bufcount + buflen), il s'agit d'un choix de présentation */
9140 offset=lustre_opcode_process(tvb, offset, pinfo, parent_tree, opc, pb_type);
9142 sanity_check(tvb,pinfo,offset-old_offset);
9148 /* IDL: struct lustre_msg_v2 { */
9149 /* IDL: uint32 lm_bufcount; */
9150 /* IDL: uint32 lm_secflvr; */
9151 /* IDL: uint32 lm_magic; */
9152 /* IDL: uint32 lm_repsize; */
9153 /* IDL: uint32 lm_cksum; */
9154 /* IDL: uint32 lm_flags; */
9155 /* IDL: uint32 lm_padding_2; */
9156 /* IDL: uint32 lm_padding_3; */
9157 /* IDL: uint32 lm_buflens[0]; */
9161 lustre_dissect_element_msg_v2_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9163 proto_tree_add_item(tree, hf_lustre_lustre_msg_v2_lm_bufcount, tvb, offset, 4, TRUE);
9169 lustre_dissect_element_msg_v2_lm_secflvr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9171 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_secflvr);
9177 lustre_dissect_element_msg_v2_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9179 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_magic);
9185 lustre_dissect_element_msg_v2_lm_repsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9187 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_repsize);
9193 lustre_dissect_element_msg_v2_lm_cksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9195 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_cksum);
9201 lustre_dissect_element_msg_v2_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9203 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_flags);
9209 lustre_dissect_element_msg_v2_lm_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9211 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_2);
9217 lustre_dissect_element_msg_v2_lm_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9219 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_3);
9227 lustre_dissect_element_msg_v2_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9229 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_buflens);
9235 lustre_dissect_struct_msg_v2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
9237 proto_item *item = NULL;
9238 proto_tree *tree = NULL;
9242 guint32 buf_len_offset;
9243 guint32 current_buf_len ;
9244 gboolean extra_padding ;
9248 /* to get a light display */
9250 // if (parent_tree) {
9251 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9252 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v2);
9255 bufcount = tvb_get_letohl(tvb,offset);
9256 offset=lustre_dissect_element_msg_v2_lm_bufcount(tvb, offset, pinfo, tree);
9258 offset=lustre_dissect_element_msg_v2_lm_secflvr(tvb, offset, pinfo, tree);
9260 offset=lustre_dissect_element_msg_v2_lm_magic(tvb, offset, pinfo, tree);
9262 offset=lustre_dissect_element_msg_v2_lm_repsize(tvb, offset, pinfo, tree);
9264 offset=lustre_dissect_element_msg_v2_lm_cksum(tvb, offset, pinfo, tree);
9266 offset=lustre_dissect_element_msg_v2_lm_flags(tvb, offset, pinfo, tree);
9268 offset=lustre_dissect_element_msg_v2_lm_padding_2(tvb, offset, pinfo, tree);
9270 offset=lustre_dissect_element_msg_v2_lm_padding_3(tvb, offset, pinfo, tree);
9274 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9279 buf_len_offset=offset ;
9280 for (i=0;i<bufcount;i++) {
9281 offset=lustre_dissect_element_msg_v2_lm_buflens_(tvb, offset, pinfo, tree);
9286 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9291 current_buf_len = tvb_get_letohl(tvb, buf_len_offset);
9292 offset=lustre_dissect_struct_ptlrpc_body(tvb,offset, pinfo, tree, hf_lustre_ptlrpc_body_pb, current_buf_len);
9294 proto_item_set_len(item, offset-old_offset);
9303 dissect_lustre(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
9305 if (check_col(pinfo->cinfo, COL_PROTOCOL))
9306 col_set_str(pinfo->cinfo, COL_PROTOCOL, "Lustre");
9309 if (check_col(pinfo->cinfo, COL_INFO))
9310 col_set_str(pinfo->cinfo, COL_INFO, "");
9311 /* guint32 magic_number ; */
9312 /* magic_number = tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET); */
9313 /* switch (magic_number)*/
9315 /* case LUSTRE_MSG_MAGIC_V1:*/
9316 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V1 ");*/
9318 /* case LUSTRE_MSG_MAGIC_V2:*/
9319 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V2 ");*/
9327 guint32 magic_number ;
9329 proto_item *ti = NULL ;
9330 proto_tree * lustre_tree = NULL ;
9333 ti = proto_tree_add_item(tree,proto_lustre,tvb,0,-1,FALSE);
9334 lustre_tree = proto_item_add_subtree(ti,ett_lustre);
9337 magic_number = tvb_get_letohl(tvb, 8);
9340 switch (magic_number){
9341 case LUSTRE_MSG_MAGIC_V1:
9342 /* put some nice info*/
9343 proto_item_append_text(lustre_tree, " V1 ");
9344 offset=lustre_dissect_struct_msg_v1(tvb, 0, pinfo, lustre_tree, proto_lustre ) ;
9346 case LUSTRE_MSG_MAGIC_V2:
9347 /* put some nice info*/
9348 proto_item_append_text(lustre_tree, " V2 ");
9349 offset=lustre_dissect_struct_msg_v2(tvb, 0, pinfo, lustre_tree, proto_lustre ) ;
9358 void proto_register_dcerpc_lustre(void)
9360 static hf_register_info hf[] = {
9361 { &hf_lustre_mdt_body,
9362 { "mdt body", "lustre.mdt_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9363 { &hf_lustre_mdt_body_fid1,
9364 { "Fid1", "lustre.mdt_body.fid1", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9365 { &hf_lustre_mdt_body_fid2,
9366 { "Fid2", "lustre.mdt_body.fid2", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9367 { &hf_lustre_mdt_body_handle,
9368 { "Handle", "lustre.mdt_body.handle", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9369 { &hf_lustre_mdt_body_valid,
9370 { "Valid", "lustre.mdt_body.valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9371 { &hf_lustre_mdt_body_size,
9372 { "Size", "lustre.mdt_body.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9373 { &hf_lustre_mdt_body_mtime,
9374 { "Mtime", "lustre.mdt_body.mtime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9375 { &hf_lustre_mdt_body_atime,
9376 { "Atime", "lustre.mdt_body.atime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9377 { &hf_lustre_mdt_body_ctime,
9378 { "Ctime", "lustre.mdt_body.ctime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9379 { &hf_lustre_mdt_body_blocks,
9380 { "Blocks", "lustre.mdt_body.blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9381 { &hf_lustre_mdt_body_ioepoch,
9382 { "Ioepoch", "lustre.mdt_body.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9383 { &hf_lustre_mdt_body_ino,
9384 { "Ino", "lustre.mdt_body.ino", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9385 { &hf_lustre_mdt_body_fsuid,
9386 { "Fsuid", "lustre.mdt_body.fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9387 { &hf_lustre_mdt_body_fsgid,
9388 { "Fsgid", "lustre.mdt_body.fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9389 { &hf_lustre_mdt_body_capability,
9390 { "Capability", "lustre.mdt_body.capability", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9391 { &hf_lustre_mdt_body_mode,
9392 { "Mode", "lustre.mdt_body.mode", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9393 { &hf_lustre_mdt_body_uid,
9394 { "Uid", "lustre.mdt_body.uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9395 { &hf_lustre_mdt_body_gid,
9396 { "Gid", "lustre.mdt_body.gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9397 { &hf_lustre_mdt_body_flags,
9398 { "Flags", "lustre.mdt_body.flags", FT_UINT32, BASE_HEX, VALS(lustre_mds_flags_vals) , 0, "", HFILL }},
9399 { &hf_lustre_mdt_body_rdev,
9400 { "Rdev", "lustre.mdt_body.rdev", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9401 { &hf_lustre_mdt_body_nlink,
9402 { "Nlink", "lustre.mdt_body.nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9403 { &hf_lustre_mdt_body_generation,
9404 { "Generation", "lustre.mdt_body.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9405 { &hf_lustre_mdt_body_suppgid,
9406 { "Suppgid", "lustre.mdt_body.suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9407 { &hf_lustre_mdt_body_eadatasize,
9408 { "Eadatasize", "lustre.mdt_body.eadatasize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9409 { &hf_lustre_mdt_body_aclsize,
9410 { "Aclsize", "lustre.mdt_body.aclsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9411 { &hf_lustre_mdt_body_max_mdsize,
9412 { "Max Mdsize", "lustre.mdt_body.max_mdsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9413 { &hf_lustre_mdt_body_max_cookiesize,
9414 { "Max Cookiesize", "lustre.mdt_body.max_cookiesize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9415 { &hf_lustre_mdt_body_uid_h,
9416 { "Uid H", "lustre.mdt_body.uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9417 { &hf_lustre_mdt_body_gid_h,
9418 { "Gid H", "lustre.mdt_body.gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9419 { &hf_lustre_mdt_body_padding_5,
9420 { "Padding 5", "lustre.mdt_body.padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9421 { &hf_lustre_mdt_body_padding_6,
9422 { "Padding 6", "lustre.mdt_body.padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9423 { &hf_lustre_mdt_body_padding_7,
9424 { "Padding 7", "lustre.mdt_body.padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9425 { &hf_lustre_mdt_body_padding_8,
9426 { "Padding 8", "lustre.mdt_body.padding_8", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9427 { &hf_lustre_mdt_body_padding_9,
9428 { "Padding 9", "lustre.mdt_body.padding_9", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9429 { &hf_lustre_mdt_body_padding_10,
9430 { "Padding 10", "lustre.mdt_body.padding_10", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9432 { &hf_lustre_mdt_rec_setattr,
9433 { "mdt rec setattr", "lustre.mdt_rec_setattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9434 { &hf_lustre_mdt_rec_setattr_sa_opcode,
9435 { "Sa Opcode", "lustre.mdt_rec_setattr.sa_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9436 { &hf_lustre_mdt_rec_setattr_sa_cap,
9437 { "Sa Cap", "lustre.mdt_rec_setattr.sa_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9438 { &hf_lustre_mdt_rec_setattr_sa_fsuid,
9439 { "Sa Fsuid", "lustre.mdt_rec_setattr.sa_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9440 { &hf_lustre_mdt_rec_setattr_sa_fsuid_h,
9441 { "Sa Fsuid H", "lustre.mdt_rec_setattr.sa_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9442 { &hf_lustre_mdt_rec_setattr_sa_fsgid,
9443 { "Sa Fsgid", "lustre.mdt_rec_setattr.sa_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9444 { &hf_lustre_mdt_rec_setattr_sa_fsgid_h,
9445 { "Sa Fsgid H", "lustre.mdt_rec_setattr.sa_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9446 { &hf_lustre_mdt_rec_setattr_sa_suppgid,
9447 { "Sa Suppgid", "lustre.mdt_rec_setattr.sa_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9448 { &hf_lustre_mdt_rec_setattr_sa_suppgid_h,
9449 { "Sa Suppgid H", "lustre.mdt_rec_setattr.sa_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9450 { &hf_lustre_mdt_rec_setattr_sa_padding_1,
9451 { "Sa Padding 1", "lustre.mdt_rec_setattr.sa_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9452 { &hf_lustre_mdt_rec_setattr_sa_padding_1_h,
9453 { "Sa Padding 1 H", "lustre.mdt_rec_setattr.sa_padding_1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9454 { &hf_lustre_mdt_rec_setattr_sa_fid,
9455 { "Sa Fid", "lustre.mdt_rec_setattr.sa_fid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9456 { &hf_lustre_mdt_rec_setattr_sa_valid,
9457 { "Sa Valid", "lustre.mdt_rec_setattr.sa_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9458 { &hf_lustre_mdt_rec_setattr_sa_uid,
9459 { "Sa Uid", "lustre.mdt_rec_setattr.sa_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9460 { &hf_lustre_mdt_rec_setattr_sa_gid,
9461 { "Sa Gid", "lustre.mdt_rec_setattr.sa_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9462 { &hf_lustre_mdt_rec_setattr_sa_size,
9463 { "Sa Size", "lustre.mdt_rec_setattr.sa_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9464 { &hf_lustre_mdt_rec_setattr_sa_blocks,
9465 { "Sa Blocks", "lustre.mdt_rec_setattr.sa_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9466 { &hf_lustre_mdt_rec_setattr_sa_mtime,
9467 { "Sa Mtime", "lustre.mdt_rec_setattr.sa_mtime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9468 { &hf_lustre_mdt_rec_setattr_sa_atime,
9469 { "Sa Atime", "lustre.mdt_rec_setattr.sa_atime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9470 { &hf_lustre_mdt_rec_setattr_sa_ctime,
9471 { "Sa Ctime", "lustre.mdt_rec_setattr.sa_ctime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9472 { &hf_lustre_mdt_rec_setattr_sa_attr_flags,
9473 { "Sa Attr Flags", "lustre.mdt_rec_setattr.sa_attr_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9474 { &hf_lustre_mdt_rec_setattr_sa_mode,
9475 { "Sa Mode", "lustre.mdt_rec_setattr.sa_mode", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9476 { &hf_lustre_mdt_rec_setattr_sa_padding_2,
9477 { "Sa Padding 2", "lustre.mdt_rec_setattr.sa_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9478 { &hf_lustre_mdt_rec_setattr_sa_padding_3,
9479 { "Sa Padding 3", "lustre.mdt_rec_setattr.sa_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9480 { &hf_lustre_mdt_rec_setattr_sa_padding_4,
9481 { "Sa Padding 4", "lustre.mdt_rec_setattr.sa_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9482 { &hf_lustre_mdt_rec_setattr_sa_padding_5,
9483 { "Sa Padding 5", "lustre.mdt_rec_setattr.sa_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9485 { &hf_lustre_mdt_rec_create,
9486 { "mdt rec create", "lustre.mdt_rec_create", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9487 { &hf_lustre_mdt_rec_create_cr_opcode,
9488 { "Cr Opcode", "lustre.mdt_rec_create.cr_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9489 { &hf_lustre_mdt_rec_create_cr_cap,
9490 { "Cr Cap", "lustre.mdt_rec_create.cr_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9491 { &hf_lustre_mdt_rec_create_cr_fsuid,
9492 { "Cr Fsuid", "lustre.mdt_rec_create.cr_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9493 { &hf_lustre_mdt_rec_create_cr_fsuid_h,
9494 { "Cr Fsuid H", "lustre.mdt_rec_create.cr_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9495 { &hf_lustre_mdt_rec_create_cr_fsgid,
9496 { "Cr Fsgid", "lustre.mdt_rec_create.cr_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9497 { &hf_lustre_mdt_rec_create_cr_fsgid_h,
9498 { "Cr Fsgid H", "lustre.mdt_rec_create.cr_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9499 { &hf_lustre_mdt_rec_create_cr_suppgid1,
9500 { "Cr Suppgid1", "lustre.mdt_rec_create.cr_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9501 { &hf_lustre_mdt_rec_create_cr_suppgid1_h,
9502 { "Cr Suppgid1 H", "lustre.mdt_rec_create.cr_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9503 { &hf_lustre_mdt_rec_create_cr_suppgid2,
9504 { "Cr Suppgid2", "lustre.mdt_rec_create.cr_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9505 { &hf_lustre_mdt_rec_create_cr_suppgid2_h,
9506 { "Cr Suppgid2 H", "lustre.mdt_rec_create.cr_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9507 { &hf_lustre_mdt_rec_create_cr_fid1,
9508 { "Cr Fid1", "lustre.mdt_rec_create.cr_fid1", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9509 { &hf_lustre_mdt_rec_create_cr_fid2,
9510 { "Cr Fid2", "lustre.mdt_rec_create.cr_fid2", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9511 { &hf_lustre_mdt_rec_create_cr_old_handle,
9512 { "Cr Old Handle", "lustre.mdt_rec_create.cr_old_handle", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9513 { &hf_lustre_mdt_rec_create_cr_time,
9514 { "Cr Time", "lustre.mdt_rec_create.cr_time",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9515 { &hf_lustre_mdt_rec_create_cr_rdev,
9516 { "Cr Rdev", "lustre.mdt_rec_create.cr_rdev", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9517 { &hf_lustre_mdt_rec_create_cr_ioepoch,
9518 { "Cr Ioepoch", "lustre.mdt_rec_create.cr_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9519 { &hf_lustre_mdt_rec_create_cr_padding_1,
9520 { "Cr Padding 1", "lustre.mdt_rec_create.cr_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9521 { &hf_lustre_mdt_rec_create_cr_mode,
9522 { "Cr Mode", "lustre.mdt_rec_create.cr_mode", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9523 { &hf_lustre_mdt_rec_create_cr_bias,
9524 { "Cr Bias", "lustre.mdt_rec_create.cr_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9525 { &hf_lustre_mdt_rec_create_cr_flags_l,
9526 { "Cr Flags L", "lustre.mdt_rec_create.cr_flags_l", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9527 { &hf_lustre_mdt_rec_create_cr_flags_h,
9528 { "Cr Flags H", "lustre.mdt_rec_create.cr_flags_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9529 { &hf_lustre_mdt_rec_create_cr_padding_3,
9530 { "Cr Padding 3", "lustre.mdt_rec_create.cr_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9531 { &hf_lustre_mdt_rec_create_cr_padding_4,
9532 { "Cr Padding 4", "lustre.mdt_rec_create.cr_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9534 { &hf_lustre_mdt_rec_link,
9535 { "mdt rec link", "lustre.mdt_rec_link", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9536 { &hf_lustre_mdt_rec_link_lk_opcode,
9537 { "Lk Opcode", "lustre.mdt_rec_link.lk_opcode", FT_UINT32, BASE_DEC,VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9538 { &hf_lustre_mdt_rec_link_lk_cap,
9539 { "Lk Cap", "lustre.mdt_rec_link.lk_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9540 { &hf_lustre_mdt_rec_link_lk_fsuid,
9541 { "Lk Fsuid", "lustre.mdt_rec_link.lk_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9542 { &hf_lustre_mdt_rec_link_lk_fsuid_h,
9543 { "Lk Fsuid H", "lustre.mdt_rec_link.lk_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9544 { &hf_lustre_mdt_rec_link_lk_fsgid,
9545 { "Lk Fsgid", "lustre.mdt_rec_link.lk_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9546 { &hf_lustre_mdt_rec_link_lk_fsgid_h,
9547 { "Lk Fsgid H", "lustre.mdt_rec_link.lk_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9548 { &hf_lustre_mdt_rec_link_lk_suppgid1,
9549 { "Lk Suppgid1", "lustre.mdt_rec_link.lk_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9550 { &hf_lustre_mdt_rec_link_lk_suppgid1_h,
9551 { "Lk Suppgid1 H", "lustre.mdt_rec_link.lk_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9552 { &hf_lustre_mdt_rec_link_lk_suppgid2,
9553 { "Lk Suppgid2", "lustre.mdt_rec_link.lk_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9554 { &hf_lustre_mdt_rec_link_lk_suppgid2_h,
9555 { "Lk Suppgid2 H", "lustre.mdt_rec_link.lk_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9556 { &hf_lustre_mdt_rec_link_lk_fid1,
9557 { "Lk Fid1", "lustre.mdt_rec_link.lk_fid1", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9558 { &hf_lustre_mdt_rec_link_lk_fid2,
9559 { "Lk Fid2", "lustre.mdt_rec_link.lk_fid2", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9560 { &hf_lustre_mdt_rec_link_lk_time,
9561 { "Lk Time", "lustre.mdt_rec_link.lk_time",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9562 { &hf_lustre_mdt_rec_link_lk_padding_1,
9563 { "Lk Padding 1", "lustre.mdt_rec_link.lk_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9564 { &hf_lustre_mdt_rec_link_lk_padding_2,
9565 { "Lk Padding 2", "lustre.mdt_rec_link.lk_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9566 { &hf_lustre_mdt_rec_link_lk_padding_3,
9567 { "Lk Padding 3", "lustre.mdt_rec_link.lk_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9568 { &hf_lustre_mdt_rec_link_lk_padding_4,
9569 { "Lk Padding 4", "lustre.mdt_rec_link.lk_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9570 { &hf_lustre_mdt_rec_link_lk_bias,
9571 { "Lk Bias", "lustre.mdt_rec_link.lk_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9572 { &hf_lustre_mdt_rec_link_lk_padding_5,
9573 { "Lk Padding 5", "lustre.mdt_rec_link.lk_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9574 { &hf_lustre_mdt_rec_link_lk_padding_6,
9575 { "Lk Padding 6", "lustre.mdt_rec_link.lk_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9576 { &hf_lustre_mdt_rec_link_lk_padding_7,
9577 { "Lk Padding 7", "lustre.mdt_rec_link.lk_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9578 { &hf_lustre_mdt_rec_link_lk_padding_8,
9579 { "Lk Padding 8", "lustre.mdt_rec_link.lk_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9580 { &hf_lustre_mdt_rec_link_lk_padding_9,
9581 { "Lk Padding 9", "lustre.mdt_rec_link.lk_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9583 { &hf_lustre_mdt_rec_unlink,
9584 { "mdt rec unlink", "lustre.mdt_rec_unlink", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9585 { &hf_lustre_mdt_rec_unlink_ul_opcode,
9586 { "Ul Opcode", "lustre.mdt_rec_unlink.ul_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9587 { &hf_lustre_mdt_rec_unlink_ul_cap,
9588 { "Ul Cap", "lustre.mdt_rec_unlink.ul_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9589 { &hf_lustre_mdt_rec_unlink_ul_fsuid,
9590 { "Ul Fsuid", "lustre.mdt_rec_unlink.ul_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9591 { &hf_lustre_mdt_rec_unlink_ul_fsuid_h,
9592 { "Ul Fsuid H", "lustre.mdt_rec_unlink.ul_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9593 { &hf_lustre_mdt_rec_unlink_ul_fsgid,
9594 { "Ul Fsgid", "lustre.mdt_rec_unlink.ul_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9595 { &hf_lustre_mdt_rec_unlink_ul_fsgid_h,
9596 { "Ul Fsgid H", "lustre.mdt_rec_unlink.ul_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9597 { &hf_lustre_mdt_rec_unlink_ul_suppgid1,
9598 { "Ul Suppgid1", "lustre.mdt_rec_unlink.ul_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9599 { &hf_lustre_mdt_rec_unlink_ul_suppgid1_h,
9600 { "Ul Suppgid1 H", "lustre.mdt_rec_unlink.ul_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9601 { &hf_lustre_mdt_rec_unlink_ul_suppgid2,
9602 { "Ul Suppgid2", "lustre.mdt_rec_unlink.ul_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9603 { &hf_lustre_mdt_rec_unlink_ul_suppgid2_h,
9604 { "Ul Suppgid2 H", "lustre.mdt_rec_unlink.ul_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9605 { &hf_lustre_mdt_rec_unlink_ul_fid1,
9606 { "Ul Fid1", "lustre.mdt_rec_unlink.ul_fid1", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9607 { &hf_lustre_mdt_rec_unlink_ul_fid2,
9608 { "Ul Fid2", "lustre.mdt_rec_unlink.ul_fid2", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9609 { &hf_lustre_mdt_rec_unlink_ul_time,
9610 { "Ul Time", "lustre.mdt_rec_unlink.ul_time",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9611 { &hf_lustre_mdt_rec_unlink_ul_padding_2,
9612 { "Ul Padding 2", "lustre.mdt_rec_unlink.ul_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9613 { &hf_lustre_mdt_rec_unlink_ul_padding_3,
9614 { "Ul Padding 3", "lustre.mdt_rec_unlink.ul_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9615 { &hf_lustre_mdt_rec_unlink_ul_padding_4,
9616 { "Ul Padding 4", "lustre.mdt_rec_unlink.ul_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9617 { &hf_lustre_mdt_rec_unlink_ul_padding_5,
9618 { "Ul Padding 5", "lustre.mdt_rec_unlink.ul_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9619 { &hf_lustre_mdt_rec_unlink_ul_bias,
9620 { "Ul Bias", "lustre.mdt_rec_unlink.ul_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9621 { &hf_lustre_mdt_rec_unlink_ul_mode,
9622 { "Ul Mode", "lustre.mdt_rec_unlink.ul_mode", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9623 { &hf_lustre_mdt_rec_unlink_ul_padding_6,
9624 { "Ul Padding 6", "lustre.mdt_rec_unlink.ul_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9625 { &hf_lustre_mdt_rec_unlink_ul_padding_7,
9626 { "Ul Padding 7", "lustre.mdt_rec_unlink.ul_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9627 { &hf_lustre_mdt_rec_unlink_ul_padding_8,
9628 { "Ul Padding 8", "lustre.mdt_rec_unlink.ul_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9629 { &hf_lustre_mdt_rec_unlink_ul_padding_9,
9630 { "Ul Padding 9", "lustre.mdt_rec_unlink.ul_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9632 { &hf_lustre_mdt_rec_rename,
9633 { "mdt rec rename", "lustre.mdt_rec_rename", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9634 { &hf_lustre_mdt_rec_rename_rn_opcode,
9635 { "Rn Opcode", "lustre.mdt_rec_rename.rn_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9636 { &hf_lustre_mdt_rec_rename_rn_cap,
9637 { "Rn Cap", "lustre.mdt_rec_rename.rn_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9638 { &hf_lustre_mdt_rec_rename_rn_fsuid,
9639 { "Rn Fsuid", "lustre.mdt_rec_rename.rn_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9640 { &hf_lustre_mdt_rec_rename_rn_fsuid_h,
9641 { "Rn Fsuid H", "lustre.mdt_rec_rename.rn_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9642 { &hf_lustre_mdt_rec_rename_rn_fsgid,
9643 { "Rn Fsgid", "lustre.mdt_rec_rename.rn_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9644 { &hf_lustre_mdt_rec_rename_rn_fsgid_h,
9645 { "Rn Fsgid H", "lustre.mdt_rec_rename.rn_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9646 { &hf_lustre_mdt_rec_rename_rn_suppgid1,
9647 { "Rn Suppgid1", "lustre.mdt_rec_rename.rn_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9648 { &hf_lustre_mdt_rec_rename_rn_suppgid1_h,
9649 { "Rn Suppgid1 H", "lustre.mdt_rec_rename.rn_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9650 { &hf_lustre_mdt_rec_rename_rn_suppgid2,
9651 { "Rn Suppgid2", "lustre.mdt_rec_rename.rn_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9652 { &hf_lustre_mdt_rec_rename_rn_suppgid2_h,
9653 { "Rn Suppgid2 H", "lustre.mdt_rec_rename.rn_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9654 { &hf_lustre_mdt_rec_rename_rn_fid1,
9655 { "Rn Fid1", "lustre.mdt_rec_rename.rn_fid1", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9656 { &hf_lustre_mdt_rec_rename_rn_fid2,
9657 { "Rn Fid2", "lustre.mdt_rec_rename.rn_fid2", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9658 { &hf_lustre_mdt_rec_rename_rn_time,
9659 { "Rn Time", "lustre.mdt_rec_rename.rn_time",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9660 { &hf_lustre_mdt_rec_rename_rn_padding_1,
9661 { "Rn Padding 1", "lustre.mdt_rec_rename.rn_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9662 { &hf_lustre_mdt_rec_rename_rn_padding_2,
9663 { "Rn Padding 2", "lustre.mdt_rec_rename.rn_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9664 { &hf_lustre_mdt_rec_rename_rn_padding_3,
9665 { "Rn Padding 3", "lustre.mdt_rec_rename.rn_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9666 { &hf_lustre_mdt_rec_rename_rn_padding_4,
9667 { "Rn Padding 4", "lustre.mdt_rec_rename.rn_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9668 { &hf_lustre_mdt_rec_rename_rn_bias,
9669 { "Rn Bias", "lustre.mdt_rec_rename.rn_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9670 { &hf_lustre_mdt_rec_rename_rn_mode,
9671 { "Rn Mode", "lustre.mdt_rec_rename.rn_mode", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9672 { &hf_lustre_mdt_rec_rename_rn_padding_5,
9673 { "Rn Padding 5", "lustre.mdt_rec_rename.rn_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9674 { &hf_lustre_mdt_rec_rename_rn_padding_6,
9675 { "Rn Padding 6", "lustre.mdt_rec_rename.rn_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9676 { &hf_lustre_mdt_rec_rename_rn_padding_7,
9677 { "Rn Padding 7", "lustre.mdt_rec_rename.rn_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9678 { &hf_lustre_mdt_rec_rename_rn_padding_8,
9679 { "Rn Padding 8", "lustre.mdt_rec_rename.rn_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9681 { &hf_lustre_mdt_rec_setxattr,
9682 { "mdt rec setxattr", "lustre.mdt_rec_setxattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9683 { &hf_lustre_mdt_rec_setxattr_sx_opcode,
9684 { "Sx Opcode", "lustre.mdt_rec_setxattr.sx_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9685 { &hf_lustre_mdt_rec_setxattr_sx_cap,
9686 { "Sx Cap", "lustre.mdt_rec_setxattr.sx_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9687 { &hf_lustre_mdt_rec_setxattr_sx_fsuid,
9688 { "Sx Fsuid", "lustre.mdt_rec_setxattr.sx_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9689 { &hf_lustre_mdt_rec_setxattr_sx_fsuid_h,
9690 { "Sx Fsuid H", "lustre.mdt_rec_setxattr.sx_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9691 { &hf_lustre_mdt_rec_setxattr_sx_fsgid,
9692 { "Sx Fsgid", "lustre.mdt_rec_setxattr.sx_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9693 { &hf_lustre_mdt_rec_setxattr_sx_fsgid_h,
9694 { "Sx Fsgid H", "lustre.mdt_rec_setxattr.sx_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9695 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1,
9696 { "Sx Suppgid1", "lustre.mdt_rec_setxattr.sx_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9697 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1_h,
9698 { "Sx Suppgid1 H", "lustre.mdt_rec_setxattr.sx_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9699 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2,
9700 { "Sx Suppgid2", "lustre.mdt_rec_setxattr.sx_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9701 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2_h,
9702 { "Sx Suppgid2 H", "lustre.mdt_rec_setxattr.sx_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9703 { &hf_lustre_mdt_rec_setxattr_sx_fid,
9704 { "Sx Fid", "lustre.mdt_rec_setxattr.sx_fid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9705 { &hf_lustre_mdt_rec_setxattr_sx_padding_1,
9706 { "Sx Padding 1", "lustre.mdt_rec_setxattr.sx_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9707 { &hf_lustre_mdt_rec_setxattr_sx_padding_2,
9708 { "Sx Padding 2", "lustre.mdt_rec_setxattr.sx_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9709 { &hf_lustre_mdt_rec_setxattr_sx_padding_3,
9710 { "Sx Padding 3", "lustre.mdt_rec_setxattr.sx_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9711 { &hf_lustre_mdt_rec_setxattr_sx_valid,
9712 { "Sx Valid", "lustre.mdt_rec_setxattr.sx_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9713 { &hf_lustre_mdt_rec_setxattr_sx_time,
9714 { "Sx Time", "lustre.mdt_rec_setxattr.sx_time",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9715 { &hf_lustre_mdt_rec_setxattr_sx_padding_5,
9716 { "Sx Padding 5", "lustre.mdt_rec_setxattr.sx_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9717 { &hf_lustre_mdt_rec_setxattr_sx_padding_6,
9718 { "Sx Padding 6", "lustre.mdt_rec_setxattr.sx_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9719 { &hf_lustre_mdt_rec_setxattr_sx_padding_7,
9720 { "Sx Padding 7", "lustre.mdt_rec_setxattr.sx_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9721 { &hf_lustre_mdt_rec_setxattr_sx_size,
9722 { "Sx Size", "lustre.mdt_rec_setxattr.sx_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9723 { &hf_lustre_mdt_rec_setxattr_sx_flgas,
9724 { "Sx Flags", "lustre.mdt_rec_setxattr.sx_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9725 { &hf_lustre_mdt_rec_setxattr_sx_padding_8,
9726 { "Sx Padding 8", "lustre.mdt_rec_setxattr.sx_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9727 { &hf_lustre_mdt_rec_setxattr_sx_padding_9,
9728 { "Sx Padding 9", "lustre.mdt_rec_setxattr.sx_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9729 { &hf_lustre_mdt_rec_setxattr_sx_padding_10,
9730 { "Sx Padding 10", "lustre.mdt_rec_setxattr.sx_padding_10", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9731 { &hf_lustre_mdt_rec_setxattr_sx_padding_11,
9732 { "Sx Padding 11", "lustre.mdt_rec_setxattr.sx_padding_11", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9734 { &hf_lustre_lustre_handle_cookie,
9735 { "Cookie", "lustre.lustre_handle.cookie", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9736 { &hf_lustre_ptlrpc_body_pb_last_committed,
9737 { "Pb Last Committed", "lustre.ptlrpc_body.pb_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9738 { &hf_lustre_ptlrpc_body_pb_version,
9739 { "Pb Version", "lustre.ptlrpc_body.pb_version", FT_UINT32, BASE_DEC, NULL, ~LUSTRE_VERSION_MASK, "", HFILL }},
9740 { &hf_lustre_lustre_msg_v1_lm_bufcount,
9741 { "Lm Bufcount", "lustre.lustre_msg_v1.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9742 { &hf_lustre_obd_ioobj_ioo_id,
9743 { "Ioo Id", "lustre.obd_ioobj.ioo_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9744 { &hf_lustre_ptlrpc_body_pb_slv,
9745 { "Pb Slv", "lustre.ptlrpc_body.pb_slv", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9746 { &hf_lustre_lustre_msg_v1_lm_handle,
9747 { "Lm Handle", "lustre.lustre_msg_v1.lm_handle", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9748 { &hf_lustre_ost_lvb_lvb_atime,
9749 { "Lvb Atime", "lustre.ost_lvb.lvb_atime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9750 { &hf_lustre_ptlrpc_body_pb_timeout,
9751 { "Pb Timeout", "lustre.ptlrpc_body.pb_timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9752 { &hf_lustre_obd_statfs_os_bavail,
9753 { "Os Bavail", "lustre.obd_statfs.os_bavail", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9754 { &hf_lustre_obd_statfs_os_bsize,
9755 { "Os Bsize", "lustre.obd_statfs.os_bsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9756 { &hf_lustre_lustre_msg_v2_lm_repsize,
9757 { "Lm Repsize", "lustre.lustre_msg_v2.lm_repsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9758 { &hf_lustre_lov_mds_md_v1_lmm_stripe_size,
9759 { "Lmm Stripe Size", "lustre.lov_mds_md_v1.lmm_stripe_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9760 { &hf_lustre_lustre_msg_v1_lm_last_xid,
9761 { "Lm Last Xid", "lustre.lustre_msg_v1.lm_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9762 { &hf_lustre_ll_fid_f_type,
9763 { "F Type", "lustre.ll_fid.f_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9764 { &hf_lustre_lustre_msg_v2_lm_cksum,
9765 { "Lm Cksum", "lustre.lustre_msg_v2.lm_cksum", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9766 { &hf_lustre_lustre_msg_v2_lm_buflens,
9767 { "Lm Buflens", "lustre.lustre_msg_v2.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9768 { &hf_lustre_lustre_msg_v1_lm_status,
9769 { "Lm Status", "lustre.lustre_msg_v1.lm_status", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9770 { &hf_lustre_lustre_msg_v1_lm_type,
9771 { "Lm Type", "lustre.lustre_msg_v1.lm_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
9772 { &hf_lustre_niobuf_remote_len,
9773 { "Len", "lustre.niobuf_remote.len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9774 { &hf_lustre_lov_mds_md_v1_lmm_magic,
9775 { "Lmm Magic", "lustre.lov_mds_md_v1.lmm_magic", FT_UINT32, BASE_HEX, VALS(lustre_lov_magic) , 0, "", HFILL }},
9776 { &hf_lustre_ptlrpc_body_pb_op_flags,
9777 { "Pb Op Flags", "lustre.ptlrpc_body.pb_op_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9778 { &hf_lustre_ost_lvb_lvb_ctime,
9779 { "Lvb Ctime", "lustre.ost_lvb.lvb_ctime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
9780 { &hf_lustre_ptlrpc_body_pb_type,
9781 { "Pb Type", "lustre.ptlrpc_body.pb_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
9782 { &hf_lustre_obd_connect_data_ocd_nllg,
9783 { "Ocd Nllg", "lustre.obd_connect_data.ocd_nllg", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9784 { &hf_lustre_obd_connect_data_ocd_nllu,
9785 { "Ocd Nllu", "lustre.obd_connect_data.ocd_nllu", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9786 { &hf_lustre_ll_fid_generation,
9787 { "Generation", "lustre.ll_fid.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9788 { &hf_lustre_ost_lvb_lvb_mtime,
9789 { "Lvb Mtime", "lustre.ost_lvb.lvb_mtime",FT_ABSOLUTE_TIME, BASE_NONE, NULL, 0, "", HFILL }},
9790 { &hf_lustre_obd_connect_data_ocd_ibits_known,
9791 { "Ocd Ibits Known", "lustre.obd_connect_data.ocd_ibits_known", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9792 { &hf_lustre_lustre_msg_v2_lm_padding_3,
9793 { "Lm Padding 3", "lustre.lustre_msg_v2.lm_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9794 { &hf_lustre_ptlrpc_body_pb_flags,
9795 { "Pb Flags", "lustre.ptlrpc_body.pb_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9796 { &hf_lustre_obd_statfs_os_spare4,
9797 { "Os Spare4", "lustre.obd_statfs.os_spare4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9798 { &hf_lustre_obd_connect_data_ocd_group,
9799 { "Ocd Group", "lustre.obd_connect_data.ocd_group", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9800 { &hf_lustre_lov_ost_data_v1_l_object_seq,
9801 { "L Object SEQ", "lustre.lov_ost_data_v1.l_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9802 { &hf_lustre_lov_mds_md_v1_lmm_object_seq,
9803 { "Lmm Object SEQ", "lustre.lov_mds_md_v1.lmm_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9804 { &hf_lustre_obd_connect_data_ocd_brw_size,
9805 { "Ocd Brw Size", "lustre.obd_connect_data.ocd_brw_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9806 { &hf_lustre_ptlrpc_body_pb_limit,
9807 { "Pb Limit", "lustre.ptlrpc_body.pb_limit", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9808 { &hf_lustre_obd_statfs_os_maxbytes,
9809 { "Os Maxbytes", "lustre.obd_statfs.os_maxbytes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9810 { &hf_lustre_obd_statfs_os_spare5,
9811 { "Os Spare5", "lustre.obd_statfs.os_spare5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9812 { &hf_lustre_lustre_msg_v2_lm_flags,
9813 { "Lm Flags", "lustre.lustre_msg_v2.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9814 { &hf_lustre_obd_statfs_os_ffree,
9815 { "Os Ffree", "lustre.obd_statfs.os_ffree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9816 { &hf_lustre_obd_statfs_os_files,
9817 { "Os Files", "lustre.obd_statfs.os_files", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9818 { &hf_lustre_lov_mds_md_v1_lmm_stripe_count,
9819 { "Lmm Stripe Count", "lustre.lov_mds_md_v1.lmm_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9820 { &hf_lustre_lustre_msg_v1_lm_flags,
9821 { "Lm Flags", "lustre.lustre_msg_v1.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9822 { &hf_lustre_lustre_msg_v1_lm_last_committed,
9823 { "Lm Last Committed", "lustre.lustre_msg_v1.lm_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9824 { &hf_lustre_obd_statfs_os_spare9,
9825 { "Os Spare9", "lustre.obd_statfs.os_spare9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9826 { &hf_lustre_obd_connect_data_ocd_index,
9827 { "Ocd Index", "lustre.obd_connect_data.ocd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9828 { &hf_lustre_lustre_msg_v1_lm_buflens,
9829 { "Lm Buflens", "lustre.lustre_msg_v1.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9830 { &hf_lustre_obd_statfs_os_spare1,
9831 { "Os Spare1", "lustre.obd_statfs.os_spare1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9832 { &hf_lustre_obd_statfs_os_spare8,
9833 { "Os Spare8", "lustre.obd_statfs.os_spare8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9834 { &hf_lustre_lustre_msg_v1_lm_conn_cnt,
9835 { "Lm Conn Cnt", "lustre.lustre_msg_v1.lm_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9836 { &hf_lustre_ptlrpc_body_pb_transno,
9837 { "Pb Transno", "lustre.ptlrpc_body.pb_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9838 { &hf_lustre_ptlrpc_body_pb_service_time,
9839 { "Pb Service Time", "lustre.ptlrpc_body.pb_service_time",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9840 { &hf_lustre_ptlrpc_body_pb_conn_cnt,
9841 { "Pb Conn Cnt", "lustre.ptlrpc_body.pb_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9842 { &hf_lustre_ptlrpc_body_pb_opc,
9843 { "Pb Opc", "lustre.ptlrpc_body.pb_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
9844 { &hf_lustre_obd_connect_data_ocd_connect_flags,
9845 { "Ocd Connect Flags", "lustre.obd_connect_data.ocd_connect_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9846 { &hf_lustre_lov_ost_data_v1_l_object_id,
9847 { "L Object Id", "lustre.lov_ost_data_v1.l_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9848 { &hf_lustre_lov_ost_data_v1_l_ost_gen,
9849 { "L Ost Gen", "lustre.lov_ost_data_v1.l_ost_gen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9850 { &hf_lustre_obd_statfs_os_bfree,
9851 { "Os Bfree", "lustre.obd_statfs.os_bfree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9852 { &hf_lustre_obd_connect_data_ocd_version,
9853 { "Ocd Version", "lustre.obd_connect_data.ocd_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9854 { &hf_lustre_lov_mds_md_v1_lmm_objects,
9855 { "Lmm Objects", "lustre.lov_mds_md_v1.lmm_objects", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9856 { &hf_lustre_obd_statfs_os_namelen,
9857 { "Os Namelen", "lustre.obd_statfs.os_namelen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9858 { &hf_lustre_obd_statfs_os_blocks,
9859 { "Os Blocks", "lustre.obd_statfs.os_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9860 { &hf_lustre_lustre_msg_v2_lm_secflvr,
9861 { "Lm Secflvr", "lustre.lustre_msg_v2.lm_secflvr", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9862 { &hf_lustre_lustre_msg_v1_lm_transno,
9863 { "Lm Transno", "lustre.lustre_msg_v1.lm_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9864 { &hf_lustre_lov_mds_md_v1_lmm_pattern,
9865 { "Lmm Pattern", "lustre.lov_mds_md_v1.lmm_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9866 { &hf_lustre_lustre_msg_v1_lm_opc,
9867 { "Lm Opc", "lustre.lustre_msg_v1.lm_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
9868 { &hf_lustre_obd_connect_data_ocd_grant,
9869 { "Ocd Grant", "lustre.obd_connect_data.ocd_grant", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9870 { &hf_lustre_obd_ioobj_ioo_bufcnt,
9871 { "Ioo Bufcnt", "lustre.obd_ioobj.ioo_bufcnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9872 { &hf_lustre_lustre_msg_v1_lm_version,
9873 { "Lm Version", "lustre.lustre_msg_v1.lm_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9874 { &hf_lustre_obd_statfs_os_spare7,
9875 { "Os Spare7", "lustre.obd_statfs.os_spare7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9876 { &hf_lustre_obd_statfs_os_fsid,
9877 { "Os Fsid", "lustre.obd_statfs.os_fsid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
9878 { &hf_lustre_obd_connect_data_ocd_cksum_types,
9879 { "Ocd Cksum Types", "lustre.obd_connect_data.ocd_cksum_types", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9880 { &hf_lustre_ost_lvb_lvb_size,
9881 { "Lvb Size", "lustre.ost_lvb.lvb_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9882 { &hf_lustre_obd_statfs_os_type,
9883 { "Os Type", "lustre.obd_statfs.os_type", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9884 { &hf_lustre_obd_statfs_os_spare6,
9885 { "Os Spare6", "lustre.obd_statfs.os_spare6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9886 { &hf_lustre_obd_statfs_os_state,
9887 { "Os State", "lustre.obd_statfs.os_state", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9888 { &hf_lustre_obd_statfs_os_spare3,
9889 { "Os Spare3", "lustre.obd_statfs.os_spare3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9890 { &hf_lustre_lustre_msg_v2_lm_magic,
9891 { "Lm Magic", "lustre.lustre_msg_v2.lm_magic", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
9892 { &hf_lustre_lov_mds_md_v1_lmm_object_id,
9893 { "Lmm Object Id", "lustre.lov_mds_md_v1.lmm_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9894 { &hf_lustre_ptlrpc_body_pb_last_seen,
9895 { "Pb Last Seen", "lustre.ptlrpc_body.pb_last_seen", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9896 { &hf_lustre_obd_ioobj_ioo_type, /* TODO : create the corresponding value_string */
9897 { "Ioo Type", "lustre.obd_ioobj.ioo_type", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
9898 { &hf_lustre_ptlrpc_body_pb_last_xid,
9899 { "Pb Last Xid", "lustre.ptlrpc_body.pb_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9900 { &hf_lustre_ptlrpc_body_pb_status,
9901 { "Pb Status", "lustre.ptlrpc_body.pb_status", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9902 { &hf_lustre_niobuf_remote_flags,
9903 { "Flags", "lustre.niobuf_remote.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9904 { &hf_lustre_ll_fid_id,
9905 { "Id", "lustre.ll_fid.id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9906 { &hf_lustre_ost_lvb_lvb_blocks,
9907 { "Lvb Blocks", "lustre.ost_lvb.lvb_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9908 { &hf_lustre_lustre_msg_v2_lm_padding_2,
9909 { "Lm Padding 2", "lustre.lustre_msg_v2.lm_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9910 { &hf_lustre_obd_connect_data_padding1,
9911 { "Padding1", "lustre.obd_connect_data.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9912 { &hf_lustre_lov_ost_data_v1_l_ost_idx,
9913 { "L Ost Idx", "lustre.lov_ost_data_v1.l_ost_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9914 { &hf_lustre_obd_connect_data_padding2,
9915 { "Padding2", "lustre.obd_connect_data.padding2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9916 { &hf_lustre_obd_ioobj_ioo_seq,
9917 { "Ioo Gr", "lustre.obd_ioobj.ioo_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9918 { &hf_lustre_niobuf_remote_offset,
9919 { "Offset", "lustre.niobuf_remote.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9920 { &hf_lustre_obd_statfs_os_spare2,
9921 { "Os Spare2", "lustre.obd_statfs.os_spare2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9922 { &hf_lustre_lustre_msg_v2_lm_bufcount,
9923 { "Lm Bufcount", "lustre.lustre_msg_v2.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9924 { &hf_lustre_ptlrpc_body_pb_handle,
9925 { "Pb Handle", "lustre.ptlrpc_body.pb_handle", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9926 { &hf_lustre_obd_connect_data_ocd_transno,
9927 { "Ocd Transno", "lustre.obd_connect_data.ocd_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9928 { &hf_lustre_lustre_msg_v1_lm_magic,
9929 { "Lm Magic", "lustre.lustre_msg_v1.lm_magic", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9930 { &hf_lustre_ptlrpc_body_pb,
9931 { "ptl rpc", "lustre.ptlrpc_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9933 { &hf_lustre_obd_uuid,
9934 { "obd uid name", "lustre.obd_uid", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
9935 { &hf_lustre_obd_connect_data ,
9936 { "obd connect data", "lustre.obd_connect_data", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9938 { &hf_lustre_ldlm_intent,
9939 { "ldlm intent", "lustre.ldlm_intent", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9941 { &hf_lustre_obd_ioobj,
9942 { "lustre obd ioobj", "lustre.obd_ioobj", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9943 { &hf_lustre_niobuf_remote,
9944 { "lustre niobuf remote", "lustre.niobuf_remote", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9945 { &hf_lustre_ost_key,
9946 { "lustre ost key", "lustre.ost_key", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
9947 { &hf_lustre_ost_val,
9948 { "lustre ost val", "lustre.ost_val", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
9949 { &hf_lustre_llogd_chunk,
9950 { "lustre llogd chunk", "lustre.llogd_chunk", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9951 { &hf_lustre_llogd_keyword,
9952 { "lustre llogd keyword", "lustre.llogd_keyword", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
9953 { &hf_lustre_llogd_client,
9954 { "lustre llogd client", "lustre.llogd_client", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
9955 { &hf_lustre_llogd_name,
9956 { "lustre llogd name", "lustre.llogd_name", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
9957 { &hf_lustre_llogd_log_hdr,
9958 { "lustre llogd log hdr", "lustre.llogd_log_hdr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9959 { &hf_lustre_llog_logid_rec,
9960 { "lustre llog logid rec", "lustre.llog_logid_rec", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9962 { &hf_lustre_llogd_body,
9963 { "lustre llogd body", "lustre.llogd_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9965 { "lustre nio", "lustre.nio", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
9966 { &hf_lustre_ost_body,
9967 { "ost body", "lustre.ost_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9968 { &hf_lustre_obd_statfs,
9969 { "obd statfs", "lustre.obd_statfs", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9970 { &hf_lustre_obd_quotactl,
9971 { "obd quotactl", "lustre.obd_quotacl", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9972 { &hf_lustre_quota_adjust_qunit,
9973 { "obd quota adjust qunit", "lustre.quota_adjust_qunit", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9974 { &hf_lustre_llog_unlink_rec_lur_tail,
9975 { "Lur Tail", "lustre.llog_unlink_rec.lur_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9976 { &hf_lustre_llog_size_change_rec_lsc_io_epoch,
9977 { "Lsc Io Epoch", "lustre.llog_size_change_rec.lsc_io_epoch", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9978 { &hf_lustre_mgs_target_info_mti_flags,
9979 { "Mti Flags", "lustre.mgs_target_info.mti_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9980 { &hf_lustre_ldlm_reply_lock_policy_res1,
9981 { "Lock Policy Res1", "lustre.ldlm_reply.lock_policy_res1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9982 { &hf_lustre_llogd_body_lgd_len,
9983 { "Lgd Len", "lustre.llogd_body.lgd_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9984 { &hf_lustre_qunit_data_old_qd_id,
9985 { "Qd Id", "lustre.qunit_data_old.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9986 { &hf_lustre_llog_logid_rec_padding1,
9987 { "Padding1", "lustre.llog_logid_rec.padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9988 { &hf_lustre_quota_adjust_qunit_padding1,
9989 { "Padding1", "lustre.quota_adjust_qunit.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9990 { &hf_lustre_llog_size_change_rec_lsc_fid,
9991 { "Lsc Fid", "lustre.llog_size_change_rec.lsc_fid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
9992 { &hf_lustre_llog_rec_hdr_padding,
9993 { "Padding", "lustre.llog_rec_hdr.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9994 { &hf_lustre_obdo_o_nlink,
9995 { "O Nlink", "lustre.obdo.o_nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9996 { &hf_lustre_ldlm_extent_gid,
9997 { "Gid", "lustre.ldlm_extent.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9998 { &hf_lustre_obdo_o_uid,
9999 { "O Uid", "lustre.obdo.o_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10000 { &hf_lustre_mds_xattr_name,
10001 { "mds xattr name", "lustre.mds_xattr_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10002 { &hf_lustre_lov_mds_md_v1,
10003 { "lov mds md v1", "lustre.lov_mds_md_v1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10004 { &hf_lustre_llog_cookie,
10005 { "llog cookie", "lustre.llog_cookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10006 { &hf_lustre_mds_md_data,
10007 { "mds md data", "lustre.mds_md_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10008 { &hf_lustre_mds_reint_opcode,
10009 { "mds reint opcode", "lustre.mds_reint_opcode", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10010 { &hf_lustre_mds_xattr_eadata,
10011 { "mds xattr eadata", "lustre.mds_xattr_eadata", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10012 { &hf_lustre_reint_name,
10013 { "mds reint name", "lustre.mds_reint_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10014 { &hf_lustre_reint_old_name,
10015 { "mds reint old name", "lustre.mds_reint_old_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10016 { &hf_lustre_reint_new_name,
10017 { "mds reint new name", "lustre.mds_reint_new_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10021 { &hf_lustre_obdo_o_valid,
10022 { "O Valid", "lustre.obdo.o_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10023 { &hf_lustre_ldlm_reply_lock_flags,
10024 { "Lock Flags", "lustre.ldlm_reply.lock_flags", FT_UINT32,BASE_HEX, NULL, 0, "", HFILL }},
10026 {&hf_lustre_ldlm_fl_lock_changed, {"LDLM_FL_LOCK_CHANGED", "lustre.ldlm_fl_lock_changed", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_LOCK_CHANGED, "", HFILL}},
10027 {&hf_lustre_ldlm_fl_block_granted, {"LDLM_FL_BLOCK_GRANTED", "lustre.ldlm_fl_block_granted", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_BLOCK_GRANTED, "", HFILL}},
10028 {&hf_lustre_ldlm_fl_block_conv, {"LDLM_FL_BLOCK_CONV", "lustre.ldlm_fl_block_conv", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_BLOCK_CONV, "", HFILL}},
10029 {&hf_lustre_ldlm_fl_block_wait, {"LDLM_FL_BLOCK_WAIT", "lustre.ldlm_fl_block_wait", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_BLOCK_WAIT, "", HFILL}},
10030 {&hf_lustre_ldlm_fl_cbpending, {"LDLM_FL_CBPENDING", "lustre.ldlm_fl_cbpending", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_CBPENDING, "", HFILL}},
10031 {&hf_lustre_ldlm_fl_ast_sent, {"LDLM_FL_AST_SENT", "lustre.ldlm_fl_ast_sent", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_AST_SENT, "", HFILL}},
10032 {&hf_lustre_ldlm_fl_wait_noreproc, {"LDLM_FL_WAIT_NOREPROC", "lustre.ldlm_fl_wait_noreproc", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_WAIT_NOREPROC, "", HFILL}},
10033 {&hf_lustre_ldlm_fl_cancel, {"LDLM_FL_CANCEL", "lustre.ldlm_fl_cancel", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_CANCEL, "", HFILL}},
10034 {&hf_lustre_ldlm_fl_replay, {"LDLM_FL_REPLAY", "lustre.ldlm_fl_replay", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_REPLAY, "", HFILL}},
10035 {&hf_lustre_ldlm_fl_intent_only, {"LDLM_FL_INTENT_ONLY", "lustre.ldlm_fl_intent_only", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_INTENT_ONLY, "", HFILL}},
10036 {&hf_lustre_ldlm_fl_local_only, {"LDLM_FL_LOCAL_ONLY", "lustre.ldlm_fl_local_only", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_LOCAL_ONLY, "", HFILL}},
10037 {&hf_lustre_ldlm_fl_failed, {"LDLM_FL_FAILED", "lustre.ldlm_fl_failed", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_FAILED, "", HFILL}},
10038 {&hf_lustre_ldlm_fl_has_intent, {"LDLM_FL_HAS_INTENT", "lustre.ldlm_fl_has_intent", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_HAS_INTENT, "", HFILL}},
10039 {&hf_lustre_ldlm_fl_canceling, {"LDLM_FL_CANCELING", "lustre.ldlm_fl_canceling", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_CANCELING, "", HFILL}},
10040 {&hf_lustre_ldlm_fl_local, {"LDLM_FL_LOCAL", "lustre.ldlm_fl_local", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_LOCAL, "", HFILL}},
10041 {&hf_lustre_ldlm_fl_warn, {"LDLM_FL_WARN", "lustre.ldlm_fl_warn", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_WARN, "", HFILL}},
10042 {&hf_lustre_ldlm_fl_discard_data, {"LDLM_FL_DISCARD_DATA", "lustre.ldlm_fl_discard_data", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_DISCARD_DATA, "", HFILL}},
10043 {&hf_lustre_ldlm_fl_no_timeout, {"LDLM_FL_NO_TIMEOUT", "lustre.ldlm_fl_no_timeout", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_NO_TIMEOUT, "", HFILL}},
10044 {&hf_lustre_ldlm_fl_block_nowait, {"LDLM_FL_BLOCK_NOWAIT", "lustre.ldlm_fl_block_nowait", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_BLOCK_NOWAIT, "", HFILL}},
10045 {&hf_lustre_ldlm_fl_test_lock, {"LDLM_FL_TEST_LOCK", "lustre.ldlm_fl_test_lock", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_TEST_LOCK, "", HFILL}},
10046 {&hf_lustre_ldlm_fl_lvb_ready, {"LDLM_FL_LVB_READY", "lustre.ldlm_fl_lvb_ready", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_LVB_READY, "", HFILL}},
10047 {&hf_lustre_ldlm_fl_kms_ignore, {"LDLM_FL_KMS_IGNORE", "lustre.ldlm_fl_kms_ignore", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_KMS_IGNORE, "", HFILL}},
10048 {&hf_lustre_ldlm_fl_no_lru, {"LDLM_FL_NO_LRU", "lustre.ldlm_fl_no_lru", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_NO_LRU, "", HFILL}},
10049 {&hf_lustre_ldlm_fl_cancel_on_block, {"LDLM_FL_CANCEL_ON_BLOCK", "lustre.ldlm_fl_cancel_on_block", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_CANCEL_ON_BLOCK, "", HFILL}},
10050 {&hf_lustre_ldlm_fl_cp_reqd, {"LDLM_FL_CP_REQD", "lustre.ldlm_fl_cp_reqd", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_CP_REQD, "", HFILL}},
10051 {&hf_lustre_ldlm_fl_cleaned, {"LDLM_FL_CLEANED", "lustre.ldlm_fl_cleaned", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_CLEANED, "", HFILL}},
10052 {&hf_lustre_ldlm_fl_atomic_cb, {"LDLM_FL_ATOMIC_CB", "lustre.ldlm_fl_atomic_cb", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_ATOMIC_CB, "", HFILL}},
10053 {&hf_lustre_ldlm_fl_bl_ast, {"LDLM_FL_BL_AST", "lustre.ldlm_fl_bl_ast", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_BL_AST, "", HFILL}},
10054 {&hf_lustre_ldlm_fl_bl_done, {"LDLM_FL_BL_DONE", "lustre.ldlm_fl_bl_done", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_BL_DONE, "", HFILL}},
10055 {&hf_lustre_ldlm_fl_deny_on_contention, {"LDLM_FL_DENY_ON_CONTENTION", "lustre.ldlm_fl_deny_on_contention", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_FL_DENY_ON_CONTENTION, "", HFILL}},
10056 {&hf_lustre_ldlm_ast_discard_data, {"LDLM_AST_DISCARD_DATA", "lustre.ldlm_ast_discard_data", FT_BOOLEAN, 32, TFS(&flags_set_truth), LDLM_AST_DISCARD_DATA, "", HFILL}},
10059 { &hf_lustre_obdo_o_misc,
10060 { "O Misc", "lustre.obdo.o_misc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10061 { &hf_lustre_ldlm_request_lock_handle,
10062 { "Lock Handle", "lustre.ldlm_request.lock_handle", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10063 { &hf_lustre_llog_logid_lgl_oid,
10064 { "Lgl Oid", "lustre.llog_logid.lgl_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10065 { &hf_lustre_ldlm_inodebits_bits,
10066 { "Bits", "lustre.ldlm_inodebits.bits", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10067 { &hf_lustre_llog_log_hdr_llh_count,
10068 { "Llh Count", "lustre.llog_log_hdr.llh_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10069 { &hf_lustre_llog_gen_rec_lgr_tail,
10070 { "Lgr Tail", "lustre.llog_gen_rec.lgr_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10071 { &hf_lustre_llog_catid_lci_padding3,
10072 { "Lci Padding3", "lustre.llog_catid.lci_padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10073 { &hf_lustre_qunit_data_qd_qunit,
10074 { "Qd Qunit", "lustre.qunit_data.qd_qunit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10075 { &hf_lustre_llog_setattr_rec_padding,
10076 { "Padding", "lustre.llog_setattr_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10077 { &hf_lustre_llog_cookie_lgc_lgl,
10078 { "Lgc Lgl", "lustre.llog_cookie.lgc_lgl", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10079 { &hf_lustre_obd_quotactl_qc_dqinfo,
10080 { "Qc Dqinfo", "lustre.obd_quotactl.qc_dqinfo", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10081 { &hf_lustre_llog_log_hdr_llh_bitmap,
10082 { "Llh Bitmap", "lustre.llog_log_hdr.llh_bitmap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10083 { &hf_lustre_obd_quotactl_qc_stat,
10084 { "Qc Stat", "lustre.obd_quotactl.qc_stat", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10085 { &hf_lustre_qunit_data_old2_qd_id,
10086 { "Qd Id", "lustre.qunit_data_old2.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10087 { &hf_lustre_llog_logid_rec_padding2,
10088 { "Padding2", "lustre.llog_logid_rec.padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10089 { &hf_lustre_llog_orphan_rec_lor_tail,
10090 { "Lor Tail", "lustre.llog_orphan_rec.lor_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10091 { &hf_lustre_llog_logid_rec_padding5,
10092 { "Padding5", "lustre.llog_logid_rec.padding5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10093 /*-------------------------------------------------------------------------------------------------------------*/
10094 /*all this flags are uint64, but I don't find the way to use something like TFS() with a Uint64*/
10095 { &hf_lustre_ldlm_intent_opc_open,
10096 { "open", "lustre.ldlm_intent.opc_open", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_OPEN, "", HFILL}},
10097 { &hf_lustre_ldlm_intent_opc_creat,
10098 { "creat", "lustre.ldlm_intent.opc_creat", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_CREAT , "", HFILL}},
10099 { &hf_lustre_ldlm_intent_opc_readdir,
10100 { "readdir", "lustre.ldlm_intent.opc_readdir", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_READDIR , "", HFILL}},
10101 { &hf_lustre_ldlm_intent_opc_getattr,
10102 { "getattr", "lustre.ldlm_intent.opc_getattr", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_GETATTR, "", HFILL}},
10103 { &hf_lustre_ldlm_intent_opc_lookup,
10104 { "lookup", "lustre.ldlm_intent.opc_lookup", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_LOOKUP , "", HFILL}},
10105 { &hf_lustre_ldlm_intent_opc_unlink,
10106 { "unlink", "lustre.ldlm_intent.opc_unlink", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_UNLINK , "", HFILL}},
10107 { &hf_lustre_ldlm_intent_opc_getxattr,
10108 { "getxattr", "lustre.ldlm_intent.opc_getxattr", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_GETXATTR , "", HFILL}},
10109 { &hf_lustre_ldlm_intent_opc_exec,
10110 { "exec", "lustre.ldlm_intent.opc_exec", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_EXEC , "", HFILL}},
10111 { &hf_lustre_ldlm_intent_opc_pin,
10112 { "pin", "lustre.ldlm_intent.opc_pin", FT_BOOLEAN, 32, TFS(&flags_set_truth), IT_PIN , "", HFILL}},
10113 /*-------------------------------------------------------------------------------------------------------------*/
10114 { &hf_lustre_ldlm_intent_opc,
10115 { "intent opcode", "lustre.ldlm_intent.opc", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10116 { &hf_lustre_llog_rec_hdr_lrh_type,
10117 { "Lrh Type", "lustre.llog_rec_hdr.lrh_type", FT_UINT32, BASE_HEX, VALS(lustre_llog_op_type), 0, "", HFILL }},
10118 { &hf_lustre_llog_rec_hdr_lrh_len,
10119 { "Lrh Len", "lustre.llog_rec_hdr.lrh_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10120 { &hf_lustre_llog_setattr_rec_lsr_uid,
10121 { "Lsr Uid", "lustre.llog_setattr_rec.lsr_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10122 { &hf_lustre_lov_desc_ld_padding_1,
10123 { "Ld Padding 1", "lustre.lov_desc.ld_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10124 { &hf_lustre_obdo_o_padding_4,
10125 { "O Padding 4", "lustre.obdo.o_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10126 { &hf_lustre_mgs_target_info_padding,
10127 { "Padding", "lustre.mgs_target_info.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10128 { &hf_lustre_obd_quotactl_qc_dqblk,
10129 { "Qc Dqblk", "lustre.obd_quotactl.qc_dqblk", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10130 { &hf_lustre_llogd_conn_body_lgdc_gen,
10131 { "Lgdc Gen", "lustre.llogd_conn_body.lgdc_gen", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10132 { &hf_lustre_llog_log_hdr_llh_tail,
10133 { "Llh Tail", "lustre.llog_log_hdr.llh_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10134 { &hf_lustre_obdo_o_size,
10135 { "O Size", "lustre.obdo.o_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10136 { &hf_lustre_ldlm_extent_start,
10137 { "Start", "lustre.ldlm_extent.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10138 { &hf_lustre_llog_size_change_rec_lsc_hdr,
10139 { "Lsc Hdr", "lustre.llog_size_change_rec.lsc_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10140 { &hf_lustre_llog_create_rec_lcr_tail,
10141 { "Lcr Tail", "lustre.llog_create_rec.lcr_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10142 { &hf_lustre_llog_logid_lgl_oseq,
10143 { "Lgl SEQ", "lustre.llog_logid.lgl_oseq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10144 { &hf_lustre_llog_create_rec_lcr_hdr,
10145 { "Lcr Hdr", "lustre.llog_create_rec.lcr_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10146 { &hf_lustre_llog_cookie_lgc_padding,
10147 { "Lgc Padding", "lustre.llog_cookie.lgc_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10148 { &hf_lustre_qunit_data_old_qd_type,
10149 { "Qd Type", "lustre.qunit_data_old.qd_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10150 { &hf_lustre_ldlm_flock_blocking_export,
10151 { "Blocking Export", "lustre.ldlm_flock.blocking_export", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10152 { &hf_lustre_lov_desc_ld_pattern,
10153 { "Ld Pattern", "lustre.lov_desc.ld_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10154 { &hf_lustre_qunit_data_qd_id,
10155 { "Qd Id", "lustre.qunit_data.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10156 { &hf_lustre_mgs_target_info_mti_fsname,
10157 { "Mti Fsname", "lustre.mgs_target_info.mti_fsname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10158 { &hf_lustre_ldlm_request_lock_flags,
10159 { "Lock Flags", "lustre.ldlm_request.lock_flags", FT_UINT32, BASE_HEX, NULL, 0 , "", HFILL }},
10160 { &hf_lustre_obdo_o_mode,
10161 { "O Mode", "lustre.obdo.o_mode", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10162 { &hf_lustre_mgs_target_info_mti_svname,
10163 { "Mti Svname", "lustre.mgs_target_info.mti_svname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10164 { &hf_lustre_llogd_body_lgd_logid,
10165 { "Lgd Logid", "lustre.llogd_body.lgd_logid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10166 { &hf_lustre_llog_log_hdr_llh_size,
10167 { "Llh Size", "lustre.llog_log_hdr.llh_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10168 { &hf_lustre_llog_create_rec_padding,
10169 { "Padding", "lustre.llog_create_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10170 { &hf_lustre_obdo_o_handle,
10171 { "O Handle", "lustre.obdo.o_handle", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10172 { &hf_lustre_obdo_o_atime,
10173 { "O Atime", "lustre.obdo.o_atime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
10174 { &hf_lustre_quota_adjust_qunit_qaq_id,
10175 { "Qaq Id", "lustre.quota_adjust_qunit.qaq_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10176 { &hf_lustre_ldlm_lock_desc_l_policy_data,
10177 { "L Policy Data", "lustre.ldlm_lock_desc.l_policy_data", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10178 { &hf_lustre_obd_quotactl_qc_cmd,
10179 { "Qc Cmd", "lustre.obd_quotactl.qc_cmd", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10180 { &hf_lustre_qunit_data_padding,
10181 { "Padding", "lustre.qunit_data.padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10182 { &hf_lustre_quota_adjust_qunit_qaq_flags,
10183 { "Qaq Flags", "lustre.quota_adjust_qunit.qaq_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10184 { &hf_lustre_ldlm_lock_desc_l_granted_mode,
10185 { "L Granted Mode", "lustre.ldlm_lock_desc.l_granted_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10186 { &hf_lustre_obdo_o_seq,
10187 { "O SEQ", "lustre.obdo.o_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10188 { &hf_lustre_obdo_o_gid,
10189 { "O Gid", "lustre.obdo.o_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10190 { &hf_lustre_llog_catid_lci_logid,
10191 { "Lci Logid", "lustre.llog_catid.lci_logid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10192 { &hf_lustre_llog_rec_tail_lrt_index,
10193 { "Lrt Index", "lustre.llog_rec_tail.lrt_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10194 { &hf_lustre_lov_desc_ld_default_stripe_count,
10195 { "Ld Default Stripe Count", "lustre.lov_desc.ld_default_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10196 { &hf_lustre_ldlm_resource_desc_lr_padding,
10197 { "Lr Padding", "lustre.ldlm_resource_desc.lr_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10198 { &hf_lustre_cfg_marker_cm_vers,
10199 { "Cm Vers", "lustre.cfg_marker.cm_vers", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10200 { &hf_lustre_llog_unlink_rec_lur_hdr,
10201 { "Lur Hdr", "lustre.llog_unlink_rec.lur_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10202 { &hf_lustre_llogd_body_lgd_index,
10203 { "Lgd Index", "lustre.llogd_body.lgd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10204 { &hf_lustre_cfg_marker_cm_tgtname,
10205 { "Cm Tgtname", "lustre.cfg_marker.cm_tgtname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10206 { &hf_lustre_llog_setattr_rec_lsr_ogen,
10207 { "Lsr Ogen", "lustre.llog_setattr_rec.lsr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10208 { &hf_lustre_llog_logid_rec_lid_hdr,
10209 { "Lid Hdr", "lustre.llog_logid_rec.lid_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10210 { &hf_lustre_obdo_o_ioepoch,
10211 { "O IOEpoch", "lustre.obdo.o_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10212 { &hf_lustre_ost_body_oa,
10213 { "Oa", "lustre.ost_body.oa", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10214 { &hf_lustre_llog_logid_rec_padding3,
10215 { "Padding3", "lustre.llog_logid_rec.padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10216 { &hf_lustre_llog_log_hdr_llh_flags,
10217 { "Llh Flags", "lustre.llog_log_hdr.llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10218 {&hf_lustre_llog_hdr_llh_flag_zap_when_empty,
10219 {"LLOG_F_ZAP_WHEN_EMPTY","lustre.lustre.llog_log_hdr.llh_flag_zap",FT_BOOLEAN,32,TFS(&flags_set_truth),LLOG_F_ZAP_WHEN_EMPTY,"",HFILL}},
10220 {&hf_lustre_llog_hdr_llh_flag_is_cat,
10221 {"LLOG_F_IS_CAT","lustre.lustre.llog_log_hdr.llh_flag_cat",FT_BOOLEAN,32,TFS(&flags_set_truth),LLOG_F_IS_CAT,"",HFILL}},
10222 {&hf_lustre_llog_hdr_llh_flag_is_play,
10223 {"LOG_F_IS_PLAIN","lustre.lustre.llog_log_hdr.llh_flag_play",FT_BOOLEAN,32,TFS(&flags_set_truth),LLOG_F_IS_PLAIN,"",HFILL}},
10225 { &hf_lustre_llog_setattr_rec_lsr_oid,
10226 { "Lsr Oid", "lustre.llog_setattr_rec.lsr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10227 { &hf_lustre_llog_size_change_rec_padding,
10228 { "Padding", "lustre.llog_size_change_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10229 { &hf_lustre_mgs_target_info_mti_config_ver,
10230 { "Mti Config Ver", "lustre.mgs_target_info.mti_config_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10231 { &hf_lustre_cfg_marker_cm_createtime,
10232 { "Cm Createtime", "lustre.cfg_marker.cm_createtime",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10233 { &hf_lustre_qunit_data_old_qd_count,
10234 { "Qd Count", "lustre.qunit_data_old.qd_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10235 { &hf_lustre_llog_catid_lci_padding1,
10236 { "Lci Padding1", "lustre.llog_catid.lci_padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10237 { &hf_lustre_lov_desc_ld_active_tgt_count,
10238 { "Ld Active Tgt Count", "lustre.lov_desc.ld_active_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10239 { &hf_lustre_obdo_o_lcookie,
10240 { "O Lcookie", "lustre.obdo.o_lcookie", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10241 { &hf_lustre_llog_gen_rec_lgr_gen,
10242 { "Lgr Gen", "lustre.llog_gen_rec.lgr_gen", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10243 { &hf_lustre_obdo_o_id,
10244 { "O Id", "lustre.obdo.o_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10245 { &hf_lustre_mgs_target_info_mti_uuid,
10246 { "Mti Uuid", "lustre.mgs_target_info.mti_uuid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10247 { &hf_lustre_llog_rec_hdr_lrh_index,
10248 { "Lrh Index", "lustre.llog_rec_hdr.lrh_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10249 { &hf_lustre_llog_setattr_rec_lsr_hdr,
10250 { "Lsr Hdr", "lustre.llog_setattr_rec.lsr_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10251 { &hf_lustre_mgs_target_info_mti_stripe_index,
10252 { "Mti Stripe Index", "lustre.mgs_target_info.mti_stripe_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10253 { &hf_lustre_llog_gen_conn_cnt,
10254 { "Conn Cnt", "lustre.llog_gen.conn_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10255 { &hf_lustre_obdo_o_padding_6,
10256 { "O Padding 6", "lustre.obdo.o_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10257 { &hf_lustre_llog_cookie_lgc_index,
10258 { "Lgc Index", "lustre.llog_cookie.lgc_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10259 { &hf_lustre_lov_desc_ld_uuid,
10260 { "Ld Uuid", "lustre.lov_desc.ld_uuid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10261 { &hf_lustre_llog_create_rec_lcr_oid,
10262 { "Lcr Oid", "lustre.llog_create_rec.lcr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10263 { &hf_lustre_ldlm_reply_lock_desc,
10264 { "Lock Desc", "lustre.ldlm_reply.lock_desc", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10265 { &hf_lustre_lov_desc_ld_padding_0,
10266 { "Ld Padding 0", "lustre.lov_desc.ld_padding_0", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10267 { &hf_lustre_llog_unlink_rec_lur_ogen,
10268 { "Lur Ogen", "lustre.llog_unlink_rec.lur_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10269 { &hf_lustre_llog_orphan_rec_lor_hdr,
10270 { "Lor Hdr", "lustre.llog_orphan_rec.lor_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10271 { &hf_lustre_cfg_marker_cm_flags,
10272 { "Cm Flags", "lustre.cfg_marker.cm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10273 { &hf_lustre_obdo_o_padding_3,
10274 { "O Padding 3", "lustre.obdo.o_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10275 { &hf_lustre_ldlm_request_lock_desc,
10276 { "Lock Desc", "lustre.ldlm_request.lock_desc", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10277 { &hf_lustre_llog_orphan_rec_padding,
10278 { "Padding", "lustre.llog_orphan_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10279 { &hf_lustre_obdo_o_flags,
10280 { "O Flags", "lustre.obdo.o_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10281 { &hf_lustre_mgs_target_info_mti_params,
10282 { "Mti Params", "lustre.mgs_target_info.mti_params", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10283 { &hf_lustre_llog_logid_lgl_ogen,
10284 { "Lgl Ogen", "lustre.llog_logid.lgl_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10285 { &hf_lustre_cfg_marker_cm_comment,
10286 { "Cm Comment", "lustre.cfg_marker.cm_comment", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10287 { &hf_lustre_llog_unlink_rec_lur_oid,
10288 { "Lur Oid", "lustre.llog_unlink_rec.lur_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10289 { &hf_lustre_qunit_data_qd_count,
10290 { "Qd Count", "lustre.qunit_data.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10291 { &hf_lustre_obdo_o_mtime,
10292 { "O Mtime", "lustre.obdo.o_mtime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
10293 { &hf_lustre_obdo_o_blksize,
10294 { "O Blksize", "lustre.obdo.o_blksize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10295 { &hf_lustre_ldlm_res_id_name,
10296 { "Name", "lustre.ldlm_res_id.name", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10297 { &hf_lustre_ldlm_reply_lock_handle,
10298 { "Lock Handle", "lustre.ldlm_reply.lock_handle", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10299 { &hf_lustre_llogd_body_lgd_saved_index,
10300 { "Lgd Saved Index", "lustre.llogd_body.lgd_saved_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10301 { &hf_lustre_qunit_data_old_qd_isblk,
10302 { "Qd Isblk", "lustre.qunit_data_old.qd_isblk", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10303 { &hf_lustre_obdo_o_blocks,
10304 { "O Blocks", "lustre.obdo.o_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10305 { &hf_lustre_lov_desc_ld_padding_2,
10306 { "Ld Padding 2", "lustre.lov_desc.ld_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10307 { &hf_lustre_llog_logid_rec_lid_tail,
10308 { "Lid Tail", "lustre.llog_logid_rec.lid_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10309 { &hf_lustre_obdo_o_grant,
10310 { "O Grant", "lustre.obdo.o_grant", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10311 { &hf_lustre_obdo_o_padding_2,
10312 { "O Padding 2", "lustre.obdo.o_padding_2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10313 { &hf_lustre_quota_adjust_qunit_qaq_iunit_sz,
10314 { "Qaq Iunit Sz", "lustre.quota_adjust_qunit.qaq_iunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10315 { &hf_lustre_llog_unlink_rec_padding,
10316 { "Padding", "lustre.llog_unlink_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10317 { &hf_lustre_ldlm_lock_desc_l_req_mode,
10318 { "L Req Mode", "lustre.ldlm_lock_desc.l_req_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10319 { &hf_lustre_ldlm_extent_end,
10320 { "End", "lustre.ldlm_extent.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10321 { &hf_lustre_llog_gen_rec_lgr_hdr,
10322 { "Lgr Hdr", "lustre.llog_gen_rec.lgr_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10323 { &hf_lustre_llog_orphan_rec_lor_ogen,
10324 { "Lor Ogen", "lustre.llog_orphan_rec.lor_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10325 { &hf_lustre_llogd_body_lgd_llh_flags,
10326 { "Lgd Llh Flags", "lustre.llogd_body.lgd_llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10327 { &hf_lustre_llog_log_hdr_llh_cat_idx,
10328 { "Llh Cat Idx", "lustre.llog_log_hdr.llh_cat_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10329 { &hf_lustre_llog_log_hdr_llh_bitmap_offset,
10330 { "Llh Bitmap Offset", "lustre.llog_log_hdr.llh_bitmap_offset", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10331 { &hf_lustre_llog_orphan_rec_lor_oid,
10332 { "Lor Oid", "lustre.llog_orphan_rec.lor_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10333 { &hf_lustre_ldlm_reply_lock_padding,
10334 { "Lock Padding", "lustre.ldlm_reply.lock_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10335 { &hf_lustre_obd_quotactl_qc_id,
10336 { "Qc Id", "lustre.obd_quotactl.qc_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10337 { &hf_lustre_llog_logid_rec_padding4,
10338 { "Padding4", "lustre.llog_logid_rec.padding4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10339 { &hf_lustre_llog_setattr_rec_lsr_gid,
10340 { "Lsr Gid", "lustre.llog_setattr_rec.lsr_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10341 { &hf_lustre_obd_quotactl_qc_type,
10342 { "Qc Type", "lustre.obd_quotactl.qc_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10343 { &hf_lustre_cfg_marker_padding,
10344 { "Padding", "lustre.cfg_marker.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10345 { &hf_lustre_mgs_target_info_mti_nids,
10346 { "Mti Nids", "lustre.mgs_target_info.mti_nids", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10347 { &hf_lustre_obdo_o_stripe_idx,
10348 { "O Stripe Idx", "lustre.obdo.o_stripe_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10349 { &hf_lustre_llogd_conn_body_lgdc_logid,
10350 { "Lgdc Logid", "lustre.llogd_conn_body.lgdc_logid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10351 { &hf_lustre_ldlm_flock_blocking_pid,
10352 { "Blocking Pid", "lustre.ldlm_flock.blocking_pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10353 { &hf_lustre_lov_desc_ld_tgt_count,
10354 { "Ld Tgt Count", "lustre.lov_desc.ld_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10355 { &hf_lustre_llogd_body_lgd_cur_offset,
10356 { "Lgd Cur Offset", "lustre.llogd_body.lgd_cur_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10357 { &hf_lustre_llog_create_rec_lcr_ogen,
10358 { "Lcr Ogen", "lustre.llog_create_rec.lcr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10359 { &hf_lustre_qunit_data_old2_qd_count,
10360 { "Qd Count", "lustre.qunit_data_old2.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10361 { &hf_lustre_opnum,
10362 { "Operation", "lustre.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }},
10363 { &hf_lustre_qunit_data_old2_qd_flags,
10364 { "Qd Flags", "lustre.qunit_data_old2.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10365 { &hf_lustre_ldlm_flock_start,
10366 { "Start", "lustre.ldlm_flock.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10367 { &hf_lustre_quota_adjust_qunit_qaq_bunit_sz,
10368 { "Qaq Bunit Sz", "lustre.quota_adjust_qunit.qaq_bunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10369 { &hf_lustre_ldlm_flock_pid,
10370 { "Pid", "lustre.ldlm_flock.pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10371 { &hf_lustre_lov_desc_ld_default_stripe_size,
10372 { "Ld Default Stripe Size", "lustre.lov_desc.ld_default_stripe_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10373 { &hf_lustre_llog_log_hdr_llh_tgtuuid,
10374 { "Llh Tgtuuid", "lustre.llog_log_hdr.llh_tgtuuid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10375 { &hf_lustre_cfg_marker_cm_step,
10376 { "Cm Step", "lustre.cfg_marker.cm_step", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10377 { &hf_lustre_mgs_send_param_mgs_param,
10378 { "Mgs Param", "lustre.mgs_send_param.mgs_param", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10379 { &hf_lustre_llog_create_rec_lcr_fid,
10380 { "Lcr Fid", "lustre.llog_create_rec.lcr_fid", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10381 { &hf_lustre_lov_desc_ld_default_stripe_offset,
10382 { "Ld Default Stripe Offset", "lustre.lov_desc.ld_default_stripe_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10383 { &hf_lustre_ldlm_resource_desc_lr_name,
10384 { "Lr Name", "lustre.ldlm_resource_desc.lr_name", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10385 { &hf_lustre_llog_rec_tail_lrt_len,
10386 { "Lrt Len", "lustre.llog_rec_tail.lrt_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10387 { &hf_lustre_llog_log_hdr_llh_timestamp,
10388 { "Llh Timestamp", "lustre.llog_log_hdr.llh_timestamp", FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
10389 { &hf_lustre_llog_catid_lci_padding2,
10390 { "Lci Padding2", "lustre.llog_catid.lci_padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10391 { &hf_lustre_llogd_conn_body_lgdc_ctxt_idx,
10392 { "Lgdc Ctxt Idx", "lustre.llogd_conn_body.lgdc_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10393 { &hf_lustre_cfg_marker_cm_canceltime,
10394 { "Cm Canceltime", "lustre.cfg_marker.cm_canceltime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
10395 { &hf_lustre_mgs_target_info_mti_lustre_ver,
10396 { "Mti Lustre Ver", "lustre.mgs_target_info.mti_lustre_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10397 { &hf_lustre_obdo_o_parent_ver,
10398 { "O Parent VER", "lustre.obdo.o_parent_ver", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10399 { &hf_lustre_qunit_data_qd_flags,
10400 { "Qd Flags", "lustre.qunit_data.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10401 { &hf_lustre_llog_logid_rec_lid_id,
10402 { "Lid Id", "lustre.llog_logid_rec.lid_id", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10403 { &hf_lustre_obdo_o_parent_oid,
10404 { "O Parent OID", "lustre.obdo.o_parent_oid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10405 { &hf_lustre_llog_gen_mnt_cnt,
10406 { "Mnt Cnt", "lustre.llog_gen.mnt_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10407 { &hf_lustre_llog_size_change_rec_lsc_tail,
10408 { "Lsc Tail", "lustre.llog_size_change_rec.lsc_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10409 { &hf_lustre_obdo_o_padding_5,
10410 { "O Padding 5", "lustre.obdo.o_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10411 { &hf_lustre_ldlm_lock_desc_l_resource,
10412 { "L Resource", "lustre.ldlm_lock_desc.l_resource", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10413 { &hf_lustre_obdo_o_parent_seq,
10414 { "O Parent SEQ", "lustre.obdo.o_parent_seq", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL }},
10415 { &hf_lustre_ldlm_request_lock_count,
10416 { "Lock Count", "lustre.ldlm_request.lock_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, "", HFILL }},
10417 { &hf_lustre_ldlm_flock_end,
10418 { "End", "lustre.ldlm_flock.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10419 { &hf_lustre_mgs_target_info_mti_nid_count,
10420 { "Mti Nid Count", "lustre.mgs_target_info.mti_nid_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10421 /* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
10422 { &hf_lustre_mgs_target_info,
10423 { "mgs target info", "lustre.mgs_target_info", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10424 { &hf_lustre_mgs_send_param,
10425 { "mgs send param", "lustre.mgs_send_param", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10426 /* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
10427 { &hf_lustre_ost_lvb,
10428 { "ost lvb data", "lustre.ost_lvb", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10430 { &hf_lustre_obdo_o_ctime,
10431 { "O Ctime", "lustre.obdo.o_ctime",FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
10432 { &hf_lustre_ldlm_reply_lock_policy_res2,
10433 { "Lock Policy Res2", "lustre.ldlm_reply.lock_policy_res2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10434 { &hf_lustre_llogd_body_lgd_ctxt_idx,
10435 { "Lgd Ctxt Idx", "lustre.llogd_body.lgd_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10436 { &hf_lustre_lov_desc_ld_qos_maxage,
10437 { "Ld Qos Maxage", "lustre.lov_desc.ld_qos_maxage", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10438 { &hf_lustre_ldlm_resource_desc_lr_type,
10439 { "Lr Type", "lustre.ldlm_resource_desc.lr_type", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_type_t_vals), 0, "", HFILL }},
10440 { &hf_lustre_llog_setattr_rec_lsr_tail,
10441 { "Lsr Tail", "lustre.llog_setattr_rec.lsr_tail", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10442 { &hf_lustre_llog_cookie_lgc_subsys,
10443 { "Lgc Subsys", "lustre.llog_cookie.lgc_subsys", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10444 { &hf_lustre_llog_log_hdr_llh_hdr,
10445 { "Llh Hdr", "lustre.llog_log_hdr.llh_hdr", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }},
10446 { &hf_lustre_llog_log_hdr_llh_reserved,
10447 { "Llh Reserved", "lustre.llog_log_hdr.llh_reserved", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10449 { &hf_lustre_extra_padding,
10450 { "extra padding", "lustre.msg_v2_extra_padding", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10451 { &hf_lustre_ldlm_reply,
10452 { "ldlm reply", "lustre.ldlm_reply", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10453 { &hf_lustre_ldlm_request,
10454 { "ldlm request", "lustre.ldlm_request", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10456 /* add for lustre_user.h */
10457 { &hf_lustre_obd_dqinfo_dqi_valid,
10458 { "Dqi Valid", "lustre.obd_dqinfo.dqi_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10459 { &hf_lustre_obd_dqblk_dqb_isoftlimit,
10460 { "Dqb Isoftlimit", "lustre.obd_dqblk.dqb_isoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10461 { &hf_lustre_obd_dqblk_dqb_bhardlimit,
10462 { "Dqb Bhardlimit", "lustre.obd_dqblk.dqb_bhardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10463 { &hf_lustre_obd_dqblk_dqb_curspace,
10464 { "Dqb Curspace", "lustre.obd_dqblk.dqb_curspace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10465 { &hf_lustre_obd_dqblk_dqb_itime,
10466 { "Dqb Itime", "lustre.obd_dqblk.dqb_itime", FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
10467 { &hf_lustre_obd_dqblk_dqb_valid,
10468 { "Dqb Valid", "lustre.obd_dqblk.dqb_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10469 { &hf_lustre_obd_dqinfo_dqi_igrace,
10470 { "Dqi Igrace", "lustre.obd_dqinfo.dqi_igrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10471 { &hf_lustre_obd_dqinfo_dqi_bgrace,
10472 { "Dqi Bgrace", "lustre.obd_dqinfo.dqi_bgrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10473 { &hf_lustre_obd_dqblk_padding,
10474 { "Padding", "lustre.obd_dqblk.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10475 { &hf_lustre_obd_dqblk_dqb_curinodes,
10476 { "Dqb Curinodes", "lustre.obd_dqblk.dqb_curinodes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10477 { &hf_lustre_obd_dqblk_dqb_bsoftlimit,
10478 { "Dqb Bsoftlimit", "lustre.obd_dqblk.dqb_bsoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10479 { &hf_lustre_obd_dqinfo_dqi_flags,
10480 { "Dqi Flags", "lustre.obd_dqinfo.dqi_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10481 { &hf_lustre_obd_dqblk_dqb_btime,
10482 { "Dqb Btime", "lustre.obd_dqblk.dqb_btime", FT_ABSOLUTE_TIME, BASE_DEC, NULL, 0, "", HFILL }},
10483 { &hf_lustre_obd_dqblk_dqb_ihardlimit,
10484 { "Dqb Ihardlimit", "lustre.obd_dqblk.dqb_ihardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }}
10489 static gint *ett[] = {
10491 &ett_lustre_lustre_handle_cookie,
10492 &ett_lustre_lustre_msg_v1,
10493 &ett_lustre_lustre_handle_v1,
10494 &ett_lustre_lustre_msg_v2,
10495 &ett_lustre_ptlrpc_body,
10496 &ett_lustre_lustre_handle_v2,
10497 &ett_lustre_obd_connect_data,
10498 &ett_lustre_lov_mds_md_v1,
10499 &ett_lustre_lov_ost_data_v1,
10500 &ett_lustre_obd_statfs,
10501 &ett_lustre_obd_ioobj,
10502 &ett_lustre_niobuf_remote,
10503 &ett_lustre_ost_lvb,
10504 &ett_lustre_ll_fid,
10505 &ett_lustre_obd_quotactl,
10506 &ett_lustre_obd_dqinfo,
10507 &ett_lustre_obd_dqblk,
10508 &ett_lustre_quota_adjust_qunit,
10509 &ett_lustre_mdt_body,
10510 &ett_lustre_mdt_rec_setattr,
10511 &ett_lustre_mdt_rec_create,
10512 &ett_lustre_mdt_rec_link,
10513 &ett_lustre_mdt_rec_unlink,
10514 &ett_lustre_mdt_rec_rename,
10515 &ett_lustre_mdt_rec_setxattr,
10516 &ett_lustre_lov_desc,
10517 &ett_lustre_obd_uuid,
10518 &ett_lustre_ldlm_res_id,
10519 &ett_lustre_ldlm_extent,
10520 &ett_lustre_ldlm_inodebits,
10521 &ett_lustre_ldlm_flock,
10522 &ett_lustre_ldlm_intent_opc,
10523 &ett_lustre_ldlm_resource_desc,
10524 &ett_lustre_ldlm_res_id,
10525 &ett_lustre_ldlm_lock_desc,
10526 &ett_lustre_ldlm_resource_desc,
10527 &ett_lustre_ldlm_request,
10528 &ett_lustre_ldlm_lock_desc,
10529 &ett_lustre_lustre_handle,
10530 &ett_lustre_ldlm_reply,
10531 &ett_lustre_ldlm_lock_desc,
10532 &ett_lustre_lustre_handle,
10533 &ett_lustre_mgs_send_param,
10534 &ett_lustre_mgs_target_info,
10535 &ett_lustre_cfg_marker,
10536 &ett_lustre_llog_logid,
10537 &ett_lustre_llog_catid,
10538 &ett_lustre_llog_logid,
10539 &ett_lustre_lov_mds_md,
10540 &ett_lustre_llog_logid,
10541 &ett_lustre_llog_rec_hdr,
10542 &ett_lustre_llog_rec_tail,
10543 &ett_lustre_llog_logid_rec,
10544 &ett_lustre_llog_rec_hdr,
10545 &ett_lustre_llog_logid,
10546 &ett_lustre_llog_rec_tail,
10547 &ett_lustre_lov_mds_md,
10548 &ett_lustre_llog_rec_hdr,
10549 &ett_lustre_llog_rec_tail,
10550 &ett_lustre_llog_create_rec,
10551 &ett_lustre_llog_rec_hdr,
10552 &ett_lustre_ll_fid,
10553 &ett_lustre_llog_rec_tail,
10554 &ett_lustre_llog_orphan_rec,
10555 &ett_lustre_llog_rec_hdr,
10556 &ett_lustre_llog_rec_tail,
10557 &ett_lustre_llog_unlink_rec,
10558 &ett_lustre_llog_rec_hdr,
10559 &ett_lustre_llog_rec_tail,
10560 &ett_lustre_llog_setattr_rec,
10561 &ett_lustre_llog_rec_hdr,
10562 &ett_lustre_llog_rec_tail,
10563 &ett_lustre_llog_size_change_rec,
10564 &ett_lustre_llog_rec_hdr,
10565 &ett_lustre_ll_fid,
10566 &ett_lustre_llog_rec_tail,
10567 &ett_lustre_llog_gen,
10568 &ett_lustre_llog_gen_rec,
10569 &ett_lustre_llog_rec_hdr,
10570 &ett_lustre_llog_gen,
10571 &ett_lustre_llog_rec_tail,
10572 &ett_lustre_llog_log_hdr,
10573 &ett_lustre_llog_rec_hdr,
10574 &ett_lustre_obd_uuid,
10575 &ett_lustre_llog_rec_tail,
10576 &ett_lustre_llog_cookie,
10577 &ett_lustre_llog_logid,
10578 &ett_lustre_llogd_body,
10579 &ett_lustre_llog_logid,
10580 &ett_lustre_llogd_conn_body,
10581 &ett_lustre_llog_gen,
10582 &ett_lustre_llog_logid,
10583 &ett_lustre_llog_logid,
10585 &ett_lustre_lustre_handle,
10586 &ett_lustre_llog_cookie,
10587 &ett_lustre_ost_body,
10589 &ett_lustre_qunit_data,
10590 &ett_lustre_qunit_data_old2,
10591 &ett_lustre_qunit_data_old,
10592 &ett_lustre_ldlm_lock_flags,
10593 &ett_lustre_llog_log_llh_flags,
10597 proto_lustre = proto_register_protocol("Lustre", "lustre", "lustre");
10598 proto_register_field_array(proto_lustre, hf, array_length (hf));
10599 proto_register_subtree_array(ett, array_length(ett));
10603 void proto_reg_handoff_lustre(void)
10605 dissector_handle_t lustre_handle;
10606 lustre_handle=create_dissector_handle(dissect_lustre, proto_lustre);
10607 /* we use Lustre only if we get ptl_index = One of this code (we have removed the bulk code) */
10608 /* in LNET we test if the message is a put or not before adding an lnet.ptl_index value */
10609 dissector_add("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
10610 dissector_add("lnet.ptl_index", CONNMGR_REQUEST_PORTAL , lustre_handle);
10611 dissector_add("lnet.ptl_index", CONNMGR_REPLY_PORTAL , lustre_handle);
10612 dissector_add("lnet.ptl_index", OSC_REPLY_PORTAL , lustre_handle);
10613 dissector_add("lnet.ptl_index", OST_IO_PORTAL , lustre_handle);
10614 dissector_add("lnet.ptl_index", OST_CREATE_PORTAL , lustre_handle);
10615 dissector_add("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
10616 dissector_add("lnet.ptl_index", MDS_REQUEST_PORTAL , lustre_handle);
10617 dissector_add("lnet.ptl_index", LDLM_CB_REQUEST_PORTAL , lustre_handle);
10618 dissector_add("lnet.ptl_index", LDLM_CB_REPLY_PORTAL , lustre_handle);
10619 dissector_add("lnet.ptl_index", LDLM_CANCEL_REQUEST_PORTAL, lustre_handle);
10620 dissector_add("lnet.ptl_index", LDLM_CANCEL_REPLY_PORTAL , lustre_handle);
10621 dissector_add("lnet.ptl_index", MDS_SETATTR_PORTAL , lustre_handle);
10622 dissector_add("lnet.ptl_index", MDS_READPAGE_PORTAL , lustre_handle);
10623 dissector_add("lnet.ptl_index", MGC_REPLY_PORTAL , lustre_handle);
10624 dissector_add("lnet.ptl_index", MGS_REQUEST_PORTAL , lustre_handle);
10625 dissector_add("lnet.ptl_index", MGS_REPLY_PORTAL , lustre_handle);
10626 dissector_add("lnet.ptl_index", OST_REQUEST_PORTAL , lustre_handle);