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 * C-Syle: 2 space indents
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 * Copyright (c) 2011, 2012, Intel Corporation.
37 #include <epan/packet.h>
39 #include <epan/dissectors/packet-windows-common.h>
41 const true_false_string lnet_flags_set_truth = { "Set", "Unset" };
43 /* --------------------------------------------------------------------------------------- */
44 /* def and macro to know where we are the the lustre payload */
45 #define LUSTRE_MAGIC_OFFSET 8
46 #define LUSTRE_MSG_MAGIC_V1 0x0BD00BD0
47 #define LUSTRE_MSG_MAGIC_V2 0x0BD00BD3
49 #define LUSTRE_BUFCOUNT_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 0 : 60)
50 #define LUSTRE_BUFCOUNT ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) \
51 ? (tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF)) : ((tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF))) )
52 /* remark : BUFLENOFF don't have the same meaning if it's for v1 or v2
53 * v1 : LUSTRE_BUFLEN_OFF = offset buflen[0] - 4 bytes.
54 * v2 : LUSTRE_BUFLEN_OFF = offset buflen[0]
56 #define LUSTRE_BUFLEN_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 32 : 60)
58 #define LUSTRE_REQ_REC_OFF 1 /* normal request record offset */
59 #define LUSTRE_REPLY_REC_OFF 1 /* normal reply record offset */
61 #define LUSTRE_DLM_INTENT_IT_OFF 2 /* intent lock it offset */
62 #define LUSTRE_DLM_INTENT_REC_OFF 3 /* intent lock record offset */
63 #define LUSTRE_DLM_LOCKREPLY_OFF 1 /* lockrep offset */
64 #define LUSTRE_DLM_REPLY_REC_OFF 2 /* reply record offset */
65 /* --------------------------------------------------------------------------------------- */
68 #define LUSTRE_PTLRPC_MSG_VERSION 0x00000003
69 #define LUSTRE_VERSION_MASK 0xffff0000
70 #define LUSTRE_OBD_VERSION 0x00010000
71 #define LUSTRE_MDS_VERSION 0x00020000
72 #define LUSTRE_OST_VERSION 0x00030000
73 #define LUSTRE_DLM_VERSION 0x00040000
74 #define LUSTRE_LOG_VERSION 0x00050000
75 #define LUSTRE_MGS_VERSION 0x00060000
79 #define LOV_MAGIC_V1 0x0BD10BD0
80 #define LOV_MAGIC LOV_MAGIC_V1
81 #define LOV_MAGIC_JOIN_V1 0x0BD20BD0
83 /* defined in lustre/include/lustre/lustre_idl.h */
85 CONNMGR_REQUEST_PORTAL = 1,
86 CONNMGR_REPLY_PORTAL = 2,
87 OSC_REQUEST_PORTAL = 3,
91 OST_CREATE_PORTAL = 7,
93 MDC_REQUEST_PORTAL = 9,
94 MDC_REPLY_PORTAL = 10,
96 MDS_REQUEST_PORTAL = 12,
97 MDS_REPLY_PORTAL = 13,
99 LDLM_CB_REQUEST_PORTAL = 15,
100 LDLM_CB_REPLY_PORTAL = 16,
101 LDLM_CANCEL_REQUEST_PORTAL = 17,
102 LDLM_CANCEL_REPLY_PORTAL = 18,
103 PTLBD_REQUEST_PORTAL = 19,
104 PTLBD_REPLY_PORTAL = 20,
105 PTLBD_BULK_PORTAL = 21,
106 MDS_SETATTR_PORTAL = 22,
107 MDS_READPAGE_PORTAL = 23,
109 MGC_REPLY_PORTAL = 25,
110 MGS_REQUEST_PORTAL = 26,
111 MGS_REPLY_PORTAL = 27,
112 OST_REQUEST_PORTAL = 28,
113 FLD_REQUEST_PORTAL = 29,
114 SEQ_METADATA_PORTAL = 30,
115 SEQ_DATA_PORTAL = 31,
116 SEQ_CONTROLLER_PORTAL = 32,
120 static const value_string portal_indices[] = {
121 { CONNMGR_REQUEST_PORTAL, "CONNMGR_REQUEST_PORTAL"},
122 { CONNMGR_REPLY_PORTAL , "CONNMGR_REPLY_PORTAL"},
123 { OSC_REQUEST_PORTAL , "OSC_REQUEST_PORTAL(obsolete)"},
124 { OSC_REPLY_PORTAL , "OSC_REPLY_PORTAL"},
125 { OSC_BULK_PORTAL , "OSC_BULK_PORTAL(obsolete)"},
126 { OST_IO_PORTAL , "OST_IO_PORTAL"},
127 { OST_CREATE_PORTAL , "OST_CREATE_PORTAL"},
128 { OST_BULK_PORTAL , "OST_BULK_PORTAL"},
129 { MDC_REQUEST_PORTAL , "MDC_REQUEST_PORTAL(obsolete)"},
130 { MDC_REPLY_PORTAL , "MDC_REPLY_PORTAL"},
131 { MDC_BULK_PORTAL , "MDC_BULK_PORTAL(obsolete)"},
132 { MDS_REQUEST_PORTAL , "MDS_REQUEST_PORTAL"},
133 { MDS_REPLY_PORTAL , "MDS_REPLY_PORTAL(obsolete)"},
134 { MDS_BULK_PORTAL , "MDS_BULK_PORTAL"},
135 { LDLM_CB_REQUEST_PORTAL , "LDLM_CB_REQUEST_PORTAL"},
136 { LDLM_CB_REPLY_PORTAL , "LDLM_CB_REPLY_PORTAL"},
137 { LDLM_CANCEL_REQUEST_PORTAL , "LDLM_CANCEL_REQUEST_PORTAL"},
138 { LDLM_CANCEL_REPLY_PORTAL , "LDLM_CANCEL_REPLY_PORTAL"},
139 { PTLBD_REQUEST_PORTAL , "PTLBD_REQUEST_PORTAL(obsolete)"},
140 { PTLBD_REPLY_PORTAL , "PTLBD_REPLY_PORTAL(obsolete)"},
141 { PTLBD_BULK_PORTAL , "PTLBD_BULK_PORTAL(obsolete)"},
142 { MDS_SETATTR_PORTAL , "MDS_SETATTR_PORTAL"},
143 { MDS_READPAGE_PORTAL , "MDS_READPAGE_PORTAL"},
144 { MDS_MDS_PORTAL, "MDS_MDS_PORTAL"},
145 { MGC_REPLY_PORTAL , "MGC_REPLY_PORTAL"},
146 { MGS_REQUEST_PORTAL , "MGS_REQUEST_PORTAL"},
147 { MGS_REPLY_PORTAL , "MGS_REPLY_PORTAL"},
148 { OST_REQUEST_PORTAL , "OST_REQUEST_PORTAL"},
149 { FLD_REQUEST_PORTAL , "FLD_REQUEST_PORTAL"},
150 { SEQ_METADATA_PORTAL, "SEQ_METADATA_PORTAL"},
151 { SEQ_DATA_PORTAL, "SEQ_DATA_PORTAL"},
152 { SEQ_CONTROLLER_PORTAL, "SEQ_CONTROLLER_PORTAL"},
153 { MGS_BULK_PORTAL, "MGS_BULK_PORTAL"}
157 OST_REPLY = 0, /* reply ? */
171 /* OST_SAN_READ = 14, deprecated */
172 /* OST_SAN_WRITE = 15, deprecated */
177 OST_QUOTA_ADJUST_QUNIT = 20,
188 #define OBD_FIRST_OPC OBD_PING
192 MDS_GETATTR_NAME = 34,
203 MDS_DONE_WRITING = 45,
215 #define IT_OPEN 0x0001
216 #define IT_CREAT 0x0002
217 #define IT_READDIR 0x0004
218 #define IT_GETATTR 0x0008
219 #define IT_LOOKUP 0x0010
220 #define IT_UNLINK 0x0020
221 #define IT_GETXATTR 0x0040
222 #define IT_EXEC 0x0080
223 #define IT_PIN 0x0100
227 #define MDS_FIRST_OPC MDS_GETATTR
228 #define LDLM_FIRST_OPC LDLM_ENQUEUE
247 LDLM_BL_CALLBACK = 104,
248 LDLM_CP_CALLBACK = 105,
249 LDLM_GL_CALLBACK = 106,
252 #define LDLM_FIRST_OPC LDLM_ENQUEUE
257 SEQ_FIRST_OPC = SEQ_QUERY
260 #define LDLM_FL_LOCK_CHANGED 0x000001
261 #define LDLM_FL_BLOCK_GRANTED 0x000002
262 #define LDLM_FL_BLOCK_CONV 0x000004
263 #define LDLM_FL_BLOCK_WAIT 0x000008
264 #define LDLM_FL_CBPENDING 0x000010
265 #define LDLM_FL_AST_SENT 0x000020
266 #define LDLM_FL_WAIT_NOREPROC 0x000040
267 #define LDLM_FL_CANCEL 0x000080
268 #define LDLM_FL_REPLAY 0x000100
269 #define LDLM_FL_INTENT_ONLY 0x000200
270 #define LDLM_FL_LOCAL_ONLY 0x000400
271 #define LDLM_FL_FAILED 0x000800
272 #define LDLM_FL_HAS_INTENT 0x001000
273 #define LDLM_FL_CANCELING 0x002000
274 #define LDLM_FL_LOCAL 0x004000
275 #define LDLM_FL_WARN 0x008000
276 #define LDLM_FL_DISCARD_DATA 0x010000
277 #define LDLM_FL_NO_TIMEOUT 0x020000
278 #define LDLM_FL_BLOCK_NOWAIT 0x040000
279 #define LDLM_FL_TEST_LOCK 0x080000
280 #define LDLM_FL_LVB_READY 0x100000
281 #define LDLM_FL_KMS_IGNORE 0x200000
282 #define LDLM_FL_NO_LRU 0x400000
283 #define LDLM_FL_CANCEL_ON_BLOCK 0x800000
284 #define LDLM_FL_CP_REQD 0x1000000
285 #define LDLM_FL_CLEANED 0x2000000
286 #define LDLM_FL_ATOMIC_CB 0x4000000
287 #define LDLM_FL_BL_AST 0x10000000
288 #define LDLM_FL_BL_DONE 0x20000000
289 #define LDLM_FL_DENY_ON_CONTENTION 0x40000000
290 #define LDLM_AST_DISCARD_DATA 0x80000000
293 #define LDLM_ENQUEUE (101)
294 #define LDLM_CONVERT (102)
295 #define LDLM_CANCEL (103)
296 #define LDLM_BL_CALLBACK (104)
297 #define LDLM_CP_CALLBACK (105)
298 #define LDLM_GL_CALLBACK (106)
299 #define LCK_MINMODE (0)
306 #define LCK_GROUP (64)
307 #define LDLM_PLAIN (10)
308 #define LDLM_EXTENT (11)
309 #define LDLM_FLOCK (12)
310 #define LDLM_IBITS (13)
311 //#define MGS_CONNECT (250)
312 #define OBD_PING (400)
315 * Opcodes for mountconf (mgs and mgc)
320 MGS_EXCEPTION, /* node died, etc. */
321 MGS_TARGET_REG, /* whenever target starts up */
326 #define MGS_FIRST_OPC MGS_CONNECT
330 LLOG_ORIGIN_HANDLE_CREATE = 501,
331 LLOG_ORIGIN_HANDLE_NEXT_BLOCK = 502,
332 LLOG_ORIGIN_HANDLE_READ_HEADER = 503,
333 LLOG_ORIGIN_HANDLE_WRITE_REC = 504,
334 LLOG_ORIGIN_HANDLE_CLOSE = 505,
335 LLOG_ORIGIN_CONNECT = 506,
336 LLOG_CATINFO = 507, /* for lfs catinfo */
337 LLOG_ORIGIN_HANDLE_PREV_BLOCK = 508,
338 LLOG_ORIGIN_HANDLE_DESTROY = 509, /* for destroy llog object*/
342 #define LLOG_FIRST_OPC LLOG_ORIGIN_HANDLE_CREATE
343 /*flag for the LLOG*/
344 #define LLOG_OP_MAGIC 0x10600000
345 #define LLOG_OP_MASK 0xfff00000
348 LLOG_PAD_MAGIC = LLOG_OP_MAGIC | 0x00000,
349 OST_SZ_REC = LLOG_OP_MAGIC | 0x00f00,
350 OST_RAID1_REC = LLOG_OP_MAGIC | 0x01000,
351 MDS_UNLINK_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_UNLINK,
352 MDS_SETATTR_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_SETATTR,
353 OBD_CFG_REC = LLOG_OP_MAGIC | 0x20000,
354 PTL_CFG_REC = LLOG_OP_MAGIC | 0x30000, /* obsolete */
355 LLOG_GEN_REC = LLOG_OP_MAGIC | 0x40000,
356 LLOG_JOIN_REC = LLOG_OP_MAGIC | 0x50000, /* obsolete */
357 LLOG_HDR_MAGIC = LLOG_OP_MAGIC | 0x45539,
358 LLOG_LOGID_MAGIC = LLOG_OP_MAGIC | 0x4553b,
362 /*defined in lustre/include/lustre/lustre_idl.h*/
363 #define LLOG_F_ZAP_WHEN_EMPTY 0x1
364 #define LLOG_F_IS_CAT 0x2
365 #define LLOG_F_IS_PLAIN 0x4
367 #define PTL_RPC_MSG_REQUEST 4711
368 #define PTL_RPC_MSG_ERR 4712
369 #define PTL_RPC_MSG_REPLY 4713
372 /* Ett declarations */
373 static gint ett_lustre_llog_log_llh_flags = -1 ;
374 static gint ett_lustre = -1;
375 static gint ett_lustre_lustre_handle_cookie = -1;
376 static gint ett_lustre_lustre_msg_v1 = -1;
377 static gint ett_lustre_lustre_handle_v1 = -1;
378 static gint ett_lustre_lustre_msg_v2 = -1;
379 static gint ett_lustre_ptlrpc_body = -1;
380 static gint ett_lustre_lustre_handle_v2 = -1;
381 static gint ett_lustre_obd_connect_data = -1;
382 static gint ett_lustre_lov_mds_md_v1 = -1;
383 static gint ett_lustre_lov_ost_data_v1 = -1;
384 static gint ett_lustre_obd_statfs = -1;
385 static gint ett_lustre_obd_ioobj = -1;
386 static gint ett_lustre_niobuf_remote = -1;
387 static gint ett_lustre_ost_lvb = -1;
388 static gint ett_lustre_ll_fid = -1;
389 static gint ett_lustre_mdt_body = -1;
390 static gint ett_lustre_mdt_rec_setattr = -1;
391 static gint ett_lustre_mdt_rec_create = -1;
392 static gint ett_lustre_mdt_rec_link = -1;
393 static gint ett_lustre_mdt_rec_unlink = -1;
394 static gint ett_lustre_mdt_rec_rename = -1;
395 static gint ett_lustre_mdt_rec_setxattr = -1;
396 static gint ett_lustre_obd_quotactl = -1;
397 static gint ett_lustre_obd_dqinfo = -1;
398 static gint ett_lustre_obd_dqblk = -1;
399 static gint ett_lustre_quota_adjust_qunit = -1;
400 static gint ett_lustre_lov_desc = -1;
401 static gint ett_lustre_obd_uuid = -1;
402 static gint ett_lustre_ldlm_res_id = -1;
403 static gint ett_lustre_ldlm_extent = -1;
404 static gint ett_lustre_ldlm_inodebits = -1;
405 static gint ett_lustre_ldlm_flock = -1;
406 static gint ett_lustre_ldlm_intent_opc = -1;
407 static gint ett_lustre_ldlm_resource_desc = -1;
408 static gint ett_lustre_ldlm_lock_desc = -1;
409 static gint ett_lustre_ldlm_request = -1;
410 static gint ett_lustre_lustre_handle = -1;
411 static gint ett_lustre_ldlm_reply = -1;
412 static gint ett_lustre_mgs_send_param = -1;
413 static gint ett_lustre_mgs_target_info = -1;
414 static gint ett_lustre_cfg_marker = -1;
415 static gint ett_lustre_llog_catid = -1;
416 static gint ett_lustre_llog_rec_hdr = -1;
417 static gint ett_lustre_llog_logid_rec = -1;
418 static gint ett_lustre_llog_logid = -1;
419 static gint ett_lustre_llog_rec_tail = -1;
420 static gint ett_lustre_lov_mds_md = -1;
421 static gint ett_lustre_llog_create_rec = -1;
422 static gint ett_lustre_llog_orphan_rec = -1;
423 static gint ett_lustre_llog_unlink_rec = -1;
424 static gint ett_lustre_llog_setattr_rec = -1;
425 static gint ett_lustre_llog_size_change_rec = -1;
426 static gint ett_lustre_llog_gen_rec = -1;
427 static gint ett_lustre_llog_log_hdr = -1;
428 static gint ett_lustre_llog_cookie = -1;
429 static gint ett_lustre_llogd_body = -1;
430 static gint ett_lustre_llogd_conn_body = -1;
431 static gint ett_lustre_llog_gen = -1;
432 static gint ett_lustre_obdo = -1;
433 static gint ett_lustre_ost_body = -1;
434 static gint ett_lustre_qunit_data = -1;
435 static gint ett_lustre_qunit_data_old2 = -1;
436 static gint ett_lustre_qunit_data_old = -1;
437 static gint ett_lustre_ldlm_lock_flags = -1 ;
438 static gint ett_lustre_seq_range = -1;
439 static gint ett_lustre_mdt_ioepoch = -1;
440 static gint ett_lustre_capa = -1;
442 /* -----------------------------------------------*/
443 /* Header field declarations */
444 static int hf_lustre_ptlrpc_body_pb = -1 ;
445 static int hf_lustre_ost_body = -1 ;
446 static int hf_lustre_obd_statfs = -1 ;
447 static int hf_lustre_obd_quotactl = -1 ;
448 static int hf_lustre_quota_adjust_qunit = -1 ;
449 static int hf_lustre_extra_padding = -1 ;
450 static int hf_lustre_ldlm_reply = -1 ;
451 static int hf_lustre_ldlm_request = -1 ;
452 static int hf_lustre_obd_uuid = -1 ;
453 static int hf_lustre_obd_connect_data = -1 ;
454 static int hf_lustre_ldlm_intent = -1;
455 static int hf_lustre_obd_ioobj = -1 ;
456 static int hf_lustre_niobuf_remote = -1 ;
457 static int hf_lustre_ost_key = -1 ;
458 static int hf_lustre_nio= -1 ;
459 static int hf_lustre_ost_val= -1;
460 static int hf_lustre_llogd_body = -1;
461 static int hf_lustre_llogd_log_hdr= -1;
462 static int hf_lustre_llog_logid_rec =-1 ;
463 static int hf_lustre_llogd_chunk= -1;
464 static int hf_lustre_llogd_keyword= -1;
465 static int hf_lustre_llogd_client= -1;
466 static int hf_lustre_llogd_name= -1;
468 static int hf_lustre_mds_xattr_name = -1;
469 static int hf_lustre_lov_mds_md_v1= -1;
470 static int hf_lustre_llog_cookie= -1;
471 static int hf_lustre_mds_md_data= -1;
472 static int hf_lustre_mds_reint_opcode= -1;
473 static int hf_lustre_mds_xattr_eadata = -1;
475 static int hf_lustre_reint_name= -1;
476 static int hf_lustre_reint_old_name= -1;
477 static int hf_lustre_reint_new_name= -1;
479 static int hf_lustre_mgs_target_info = -1 ;
480 static int hf_lustre_mgs_send_param = -1;
482 static int hf_lustre_ost_lvb = -1 ;
484 static int hf_lustre_ldlm_fl_lock_changed = -1;
485 static int hf_lustre_ldlm_fl_block_granted = -1;
486 static int hf_lustre_ldlm_fl_block_conv = -1;
487 static int hf_lustre_ldlm_fl_block_wait = -1;
488 static int hf_lustre_ldlm_fl_cbpending = -1;
489 static int hf_lustre_ldlm_fl_ast_sent = -1;
490 static int hf_lustre_ldlm_fl_wait_noreproc = -1;
491 static int hf_lustre_ldlm_fl_cancel = -1;
492 static int hf_lustre_ldlm_fl_replay = -1;
493 static int hf_lustre_ldlm_fl_intent_only = -1;
494 static int hf_lustre_ldlm_fl_local_only = -1;
495 static int hf_lustre_ldlm_fl_failed = -1;
496 static int hf_lustre_ldlm_fl_has_intent = -1;
497 static int hf_lustre_ldlm_fl_canceling = -1;
498 static int hf_lustre_ldlm_fl_local = -1;
499 static int hf_lustre_ldlm_fl_warn = -1;
500 static int hf_lustre_ldlm_fl_discard_data = -1;
501 static int hf_lustre_ldlm_fl_no_timeout = -1;
502 static int hf_lustre_ldlm_fl_block_nowait = -1;
503 static int hf_lustre_ldlm_fl_test_lock = -1;
504 static int hf_lustre_ldlm_fl_lvb_ready = -1;
505 static int hf_lustre_ldlm_fl_kms_ignore = -1;
506 static int hf_lustre_ldlm_fl_no_lru = -1;
507 static int hf_lustre_ldlm_fl_cancel_on_block = -1;
508 static int hf_lustre_ldlm_fl_cp_reqd = -1;
509 static int hf_lustre_ldlm_fl_cleaned = -1;
510 static int hf_lustre_ldlm_fl_atomic_cb = -1;
511 static int hf_lustre_ldlm_fl_bl_ast = -1;
512 static int hf_lustre_ldlm_fl_bl_done = -1;
513 static int hf_lustre_ldlm_fl_deny_on_contention = -1;
514 static int hf_lustre_ldlm_ast_discard_data = -1;
516 static int hf_lustre_mdt_body = -1 ;
517 static int hf_lustre_mdt_body_fid1 = -1;
518 static int hf_lustre_mdt_body_fid2 = -1;
519 static int hf_lustre_mdt_body_handle = -1;
520 static int hf_lustre_mdt_body_valid = -1;
521 static int hf_lustre_mdt_body_size = -1;
522 static int hf_lustre_mdt_body_mtime = -1;
523 static int hf_lustre_mdt_body_atime = -1;
524 static int hf_lustre_mdt_body_ctime = -1;
525 static int hf_lustre_mdt_body_blocks = -1;
526 static int hf_lustre_mdt_body_ioepoch = -1;
527 static int hf_lustre_mdt_body_ino = -1;
528 static int hf_lustre_mdt_body_fsuid = -1;
529 static int hf_lustre_mdt_body_fsgid = -1;
530 static int hf_lustre_mdt_body_capability = -1;
531 static int hf_lustre_mdt_body_mode = -1;
532 static int hf_lustre_mdt_body_uid = -1;
533 static int hf_lustre_mdt_body_gid = -1;
534 static int hf_lustre_mdt_body_flags = -1;
535 static int hf_lustre_mdt_body_rdev = -1;
536 static int hf_lustre_mdt_body_nlink = -1;
537 static int hf_lustre_mdt_body_generation = -1;
538 static int hf_lustre_mdt_body_suppgid = -1;
539 static int hf_lustre_mdt_body_eadatasize = -1;
540 static int hf_lustre_mdt_body_aclsize = -1;
541 static int hf_lustre_mdt_body_max_mdsize = -1;
542 static int hf_lustre_mdt_body_max_cookiesize = -1;
543 static int hf_lustre_mdt_body_uid_h = -1;
544 static int hf_lustre_mdt_body_gid_h = -1;
545 static int hf_lustre_mdt_body_padding_5 = -1;
546 static int hf_lustre_mdt_body_padding_6 = -1;
547 static int hf_lustre_mdt_body_padding_7 = -1;
548 static int hf_lustre_mdt_body_padding_8 = -1;
549 static int hf_lustre_mdt_body_padding_9 = -1;
550 static int hf_lustre_mdt_body_padding_10 = -1;
552 static int hf_lustre_mdt_rec_setattr = -1 ;
553 static int hf_lustre_mdt_rec_setattr_sa_opcode = -1;
554 static int hf_lustre_mdt_rec_setattr_sa_cap = -1;
555 static int hf_lustre_mdt_rec_setattr_sa_fsuid = -1;
556 static int hf_lustre_mdt_rec_setattr_sa_fsuid_h = -1;
557 static int hf_lustre_mdt_rec_setattr_sa_fsgid = -1;
558 static int hf_lustre_mdt_rec_setattr_sa_fsgid_h = -1;
559 static int hf_lustre_mdt_rec_setattr_sa_suppgid = -1;
560 static int hf_lustre_mdt_rec_setattr_sa_suppgid_h = -1;
561 static int hf_lustre_mdt_rec_setattr_sa_padding_1 = -1;
562 static int hf_lustre_mdt_rec_setattr_sa_padding_1_h = -1;
563 static int hf_lustre_mdt_rec_setattr_sa_fid = -1;
564 static int hf_lustre_mdt_rec_setattr_sa_valid = -1;
565 static int hf_lustre_mdt_rec_setattr_sa_uid = -1;
566 static int hf_lustre_mdt_rec_setattr_sa_gid = -1;
567 static int hf_lustre_mdt_rec_setattr_sa_size = -1;
568 static int hf_lustre_mdt_rec_setattr_sa_blocks = -1;
569 static int hf_lustre_mdt_rec_setattr_sa_mtime = -1;
570 static int hf_lustre_mdt_rec_setattr_sa_atime = -1;
571 static int hf_lustre_mdt_rec_setattr_sa_ctime = -1;
572 static int hf_lustre_mdt_rec_setattr_sa_attr_flags = -1;
573 static int hf_lustre_mdt_rec_setattr_sa_mode = -1;
574 static int hf_lustre_mdt_rec_setattr_sa_padding_2 = -1;
575 static int hf_lustre_mdt_rec_setattr_sa_padding_3 = -1;
576 static int hf_lustre_mdt_rec_setattr_sa_padding_4 = -1;
577 static int hf_lustre_mdt_rec_setattr_sa_padding_5 = -1;
579 static int hf_lustre_mdt_rec_create = -1 ;
580 static int hf_lustre_mdt_rec_create_cr_opcode = -1;
581 static int hf_lustre_mdt_rec_create_cr_cap = -1;
582 static int hf_lustre_mdt_rec_create_cr_fsuid = -1;
583 static int hf_lustre_mdt_rec_create_cr_fsuid_h = -1;
584 static int hf_lustre_mdt_rec_create_cr_fsgid = -1;
585 static int hf_lustre_mdt_rec_create_cr_fsgid_h = -1;
586 static int hf_lustre_mdt_rec_create_cr_suppgid1 = -1;
587 static int hf_lustre_mdt_rec_create_cr_suppgid1_h = -1;
588 static int hf_lustre_mdt_rec_create_cr_suppgid2 = -1;
589 static int hf_lustre_mdt_rec_create_cr_suppgid2_h = -1;
590 static int hf_lustre_mdt_rec_create_cr_fid1 = -1;
591 static int hf_lustre_mdt_rec_create_cr_fid2 = -1;
592 static int hf_lustre_mdt_rec_create_cr_old_handle = -1;
593 static int hf_lustre_mdt_rec_create_cr_time = -1;
594 static int hf_lustre_mdt_rec_create_cr_rdev = -1;
595 static int hf_lustre_mdt_rec_create_cr_ioepoch = -1;
596 static int hf_lustre_mdt_rec_create_cr_padding_1 = -1;
597 static int hf_lustre_mdt_rec_create_cr_mode = -1;
598 static int hf_lustre_mdt_rec_create_cr_bias = -1;
599 static int hf_lustre_mdt_rec_create_cr_flags_l = -1;
600 static int hf_lustre_mdt_rec_create_cr_flags_h = -1;
601 static int hf_lustre_mdt_rec_create_cr_umask = -1;
602 static int hf_lustre_mdt_rec_create_cr_padding_4 = -1;
604 static int hf_lustre_mdt_rec_link = -1 ;
605 static int hf_lustre_mdt_rec_link_lk_opcode = -1;
606 static int hf_lustre_mdt_rec_link_lk_cap = -1;
607 static int hf_lustre_mdt_rec_link_lk_fsuid = -1;
608 static int hf_lustre_mdt_rec_link_lk_fsuid_h = -1;
609 static int hf_lustre_mdt_rec_link_lk_fsgid = -1;
610 static int hf_lustre_mdt_rec_link_lk_fsgid_h = -1;
611 static int hf_lustre_mdt_rec_link_lk_suppgid1 = -1;
612 static int hf_lustre_mdt_rec_link_lk_suppgid1_h = -1;
613 static int hf_lustre_mdt_rec_link_lk_suppgid2 = -1;
614 static int hf_lustre_mdt_rec_link_lk_suppgid2_h = -1;
615 static int hf_lustre_mdt_rec_link_lk_fid1 = -1;
616 static int hf_lustre_mdt_rec_link_lk_fid2 = -1;
617 static int hf_lustre_mdt_rec_link_lk_time = -1;
618 static int hf_lustre_mdt_rec_link_lk_padding_1 = -1;
619 static int hf_lustre_mdt_rec_link_lk_padding_2 = -1;
620 static int hf_lustre_mdt_rec_link_lk_padding_3 = -1;
621 static int hf_lustre_mdt_rec_link_lk_padding_4 = -1;
622 static int hf_lustre_mdt_rec_link_lk_bias = -1;
623 static int hf_lustre_mdt_rec_link_lk_padding_5 = -1;
624 static int hf_lustre_mdt_rec_link_lk_padding_6 = -1;
625 static int hf_lustre_mdt_rec_link_lk_padding_7 = -1;
626 static int hf_lustre_mdt_rec_link_lk_padding_8 = -1;
627 static int hf_lustre_mdt_rec_link_lk_padding_9 = -1;
629 static int hf_lustre_mdt_rec_unlink = -1 ;
630 static int hf_lustre_mdt_rec_unlink_ul_opcode = -1;
631 static int hf_lustre_mdt_rec_unlink_ul_cap = -1;
632 static int hf_lustre_mdt_rec_unlink_ul_fsuid = -1;
633 static int hf_lustre_mdt_rec_unlink_ul_fsuid_h = -1;
634 static int hf_lustre_mdt_rec_unlink_ul_fsgid = -1;
635 static int hf_lustre_mdt_rec_unlink_ul_fsgid_h = -1;
636 static int hf_lustre_mdt_rec_unlink_ul_suppgid1 = -1;
637 static int hf_lustre_mdt_rec_unlink_ul_suppgid1_h = -1;
638 static int hf_lustre_mdt_rec_unlink_ul_suppgid2 = -1;
639 static int hf_lustre_mdt_rec_unlink_ul_suppgid2_h = -1;
640 static int hf_lustre_mdt_rec_unlink_ul_fid1 = -1;
641 static int hf_lustre_mdt_rec_unlink_ul_fid2 = -1;
642 static int hf_lustre_mdt_rec_unlink_ul_time = -1;
643 static int hf_lustre_mdt_rec_unlink_ul_padding_2 = -1;
644 static int hf_lustre_mdt_rec_unlink_ul_padding_3 = -1;
645 static int hf_lustre_mdt_rec_unlink_ul_padding_4 = -1;
646 static int hf_lustre_mdt_rec_unlink_ul_padding_5 = -1;
647 static int hf_lustre_mdt_rec_unlink_ul_bias = -1;
648 static int hf_lustre_mdt_rec_unlink_ul_mode = -1;
649 static int hf_lustre_mdt_rec_unlink_ul_padding_6 = -1;
650 static int hf_lustre_mdt_rec_unlink_ul_padding_7 = -1;
651 static int hf_lustre_mdt_rec_unlink_ul_padding_8 = -1;
652 static int hf_lustre_mdt_rec_unlink_ul_padding_9 = -1;
654 static int hf_lustre_mdt_rec_rename = -1 ;
655 static int hf_lustre_mdt_rec_rename_rn_opcode = -1;
656 static int hf_lustre_mdt_rec_rename_rn_cap = -1;
657 static int hf_lustre_mdt_rec_rename_rn_fsuid = -1;
658 static int hf_lustre_mdt_rec_rename_rn_fsuid_h = -1;
659 static int hf_lustre_mdt_rec_rename_rn_fsgid = -1;
660 static int hf_lustre_mdt_rec_rename_rn_fsgid_h = -1;
661 static int hf_lustre_mdt_rec_rename_rn_suppgid1 = -1;
662 static int hf_lustre_mdt_rec_rename_rn_suppgid1_h = -1;
663 static int hf_lustre_mdt_rec_rename_rn_suppgid2 = -1;
664 static int hf_lustre_mdt_rec_rename_rn_suppgid2_h = -1;
665 static int hf_lustre_mdt_rec_rename_rn_fid1 = -1;
666 static int hf_lustre_mdt_rec_rename_rn_fid2 = -1;
667 static int hf_lustre_mdt_rec_rename_rn_time = -1;
668 static int hf_lustre_mdt_rec_rename_rn_padding_1 = -1;
669 static int hf_lustre_mdt_rec_rename_rn_padding_2 = -1;
670 static int hf_lustre_mdt_rec_rename_rn_padding_3 = -1;
671 static int hf_lustre_mdt_rec_rename_rn_padding_4 = -1;
672 static int hf_lustre_mdt_rec_rename_rn_bias = -1;
673 static int hf_lustre_mdt_rec_rename_rn_mode = -1;
674 static int hf_lustre_mdt_rec_rename_rn_padding_5 = -1;
675 static int hf_lustre_mdt_rec_rename_rn_padding_6 = -1;
676 static int hf_lustre_mdt_rec_rename_rn_padding_7 = -1;
677 static int hf_lustre_mdt_rec_rename_rn_padding_8 = -1;
679 static int hf_lustre_mdt_rec_setxattr = -1 ;
680 static int hf_lustre_mdt_rec_setxattr_sx_opcode = -1;
681 static int hf_lustre_mdt_rec_setxattr_sx_cap = -1;
682 static int hf_lustre_mdt_rec_setxattr_sx_fsuid = -1;
683 static int hf_lustre_mdt_rec_setxattr_sx_fsuid_h = -1;
684 static int hf_lustre_mdt_rec_setxattr_sx_fsgid = -1;
685 static int hf_lustre_mdt_rec_setxattr_sx_fsgid_h = -1;
686 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1 = -1;
687 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1_h = -1;
688 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2 = -1;
689 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2_h = -1;
690 static int hf_lustre_mdt_rec_setxattr_sx_fid = -1;
691 static int hf_lustre_mdt_rec_setxattr_sx_padding_1 = -1;
692 static int hf_lustre_mdt_rec_setxattr_sx_padding_2 = -1;
693 static int hf_lustre_mdt_rec_setxattr_sx_padding_3 = -1;
694 static int hf_lustre_mdt_rec_setxattr_sx_valid = -1;
695 static int hf_lustre_mdt_rec_setxattr_sx_time = -1;
696 static int hf_lustre_mdt_rec_setxattr_sx_padding_5 = -1;
697 static int hf_lustre_mdt_rec_setxattr_sx_padding_6 = -1;
698 static int hf_lustre_mdt_rec_setxattr_sx_padding_7 = -1;
699 static int hf_lustre_mdt_rec_setxattr_sx_size = -1;
700 static int hf_lustre_mdt_rec_setxattr_sx_flags = -1;
701 static int hf_lustre_mdt_rec_setxattr_sx_padding_8 = -1;
702 static int hf_lustre_mdt_rec_setxattr_sx_padding_9 = -1;
703 static int hf_lustre_mdt_rec_setxattr_sx_padding_10 = -1;
704 static int hf_lustre_mdt_rec_setxattr_sx_padding_11 = -1;
706 static int hf_lustre_seq_opc = -1;
707 static int hf_lustre_seq_range = -1;
708 static int hf_lustre_seq_range_start = -1;
709 static int hf_lustre_seq_range_end = -1;
710 static int hf_lustre_seq_range_index = -1;
711 static int hf_lustre_seq_range_flags = -1;
713 static int hf_lustre_mdt_ioepoch = -1;
714 static int hf_lustre_mdt_ioepoch_handle = -1;
715 static int hf_lustre_mdt_ioepoch_ioepoch = -1;
716 static int hf_lustre_mdt_ioepoch_flags = -1;
717 static int hf_lustre_mdt_ioepoch_padding = -1;
719 static int hf_lustre_capa = -1;
721 static int hf_lustre_lustre_handle_cookie = -1;
722 static int hf_lustre_ptlrpc_body_pb_last_committed = -1;
723 static int hf_lustre_ptlrpc_body_pb_version = -1;
724 static int hf_lustre_lustre_msg_v1_lm_bufcount = -1;
725 static int hf_lustre_obd_ioobj_ioo_id = -1;
726 static int hf_lustre_ptlrpc_body_pb_slv = -1;
727 static int hf_lustre_ptlrpc_body_pb_pre_version = -1;
728 static int hf_lustre_ptlrpc_body_pb_padding = -1;
729 static int hf_lustre_ptlrpc_body_pb_jobid = -1;
730 static int hf_lustre_lustre_msg_v1_lm_handle = -1;
731 static int hf_lustre_ost_lvb_lvb_atime = -1;
732 static int hf_lustre_ptlrpc_body_pb_timeout = -1;
733 static int hf_lustre_obd_statfs_os_bavail = -1;
734 static int hf_lustre_obd_statfs_os_bsize = -1;
735 static int hf_lustre_lustre_msg_v2_lm_repsize = -1;
736 static int hf_lustre_lov_mds_md_v1_lmm_stripe_size = -1;
737 static int hf_lustre_lustre_msg_v1_lm_last_xid = -1;
738 static int hf_lustre_ll_fid_f_type = -1;
739 static int hf_lustre_lustre_msg_v2_lm_cksum = -1;
740 static int hf_lustre_lustre_msg_v2_lm_buflens = -1;
741 static int hf_lustre_lustre_msg_v1_lm_status = -1;
742 static int hf_lustre_lustre_msg_v1_lm_type = -1;
743 static int hf_lustre_niobuf_remote_len = -1;
744 static int hf_lustre_lov_mds_md_v1_lmm_magic = -1;
745 static int hf_lustre_ptlrpc_body_pb_op_flags = -1;
746 static int hf_lustre_ost_lvb_lvb_ctime = -1;
747 static int hf_lustre_ptlrpc_body_pb_type = -1;
748 static int hf_lustre_obd_connect_data_ocd_nllg = -1;
749 static int hf_lustre_obd_connect_data_ocd_nllu = -1;
750 static int hf_lustre_ll_fid_generation = -1;
751 static int hf_lustre_ost_lvb_lvb_mtime = -1;
752 static int hf_lustre_obd_connect_data_ocd_ibits_known = -1;
753 static int hf_lustre_lustre_msg_v2_lm_padding_3 = -1;
754 static int hf_lustre_ptlrpc_body_pb_flags = -1;
755 static int hf_lustre_obd_statfs_os_spare4 = -1;
756 static int hf_lustre_obd_connect_data_ocd_group = -1;
757 static int hf_lustre_lov_ost_data_v1_l_object_seq = -1;
758 static int hf_lustre_lov_mds_md_v1_lmm_object_seq = -1;
759 static int hf_lustre_obd_connect_data_ocd_brw_size = -1;
760 static int hf_lustre_ptlrpc_body_pb_limit = -1;
761 static int hf_lustre_obd_statfs_os_maxbytes = -1;
762 static int hf_lustre_obd_statfs_os_spare5 = -1;
763 static int hf_lustre_lustre_msg_v2_lm_flags = -1;
764 static int hf_lustre_obd_statfs_os_ffree = -1;
765 static int hf_lustre_obd_statfs_os_files = -1;
766 static int hf_lustre_lov_mds_md_v1_lmm_stripe_count = -1;
767 static int hf_lustre_lustre_msg_v1_lm_flags = -1;
768 static int hf_lustre_lustre_msg_v1_lm_last_committed = -1;
769 static int hf_lustre_obd_statfs_os_spare9 = -1;
770 static int hf_lustre_obd_connect_data_ocd_index = -1;
771 static int hf_lustre_opnum = -1;
772 static int hf_lustre_lustre_msg_v1_lm_buflens = -1;
773 static int hf_lustre_obd_statfs_os_spare1 = -1;
774 static int hf_lustre_obd_statfs_os_spare8 = -1;
775 static int hf_lustre_lustre_msg_v1_lm_conn_cnt = -1;
776 static int hf_lustre_ptlrpc_body_pb_transno = -1;
777 static int hf_lustre_ptlrpc_body_pb_service_time = -1;
778 static int hf_lustre_ptlrpc_body_pb_conn_cnt = -1;
779 static int hf_lustre_ptlrpc_body_pb_opc = -1;
780 static int hf_lustre_obd_connect_data_ocd_connect_flags = -1;
781 static int hf_lustre_lov_ost_data_v1_l_object_id = -1;
782 static int hf_lustre_lov_ost_data_v1_l_ost_gen = -1;
783 static int hf_lustre_obd_statfs_os_bfree = -1;
784 static int hf_lustre_obd_connect_data_ocd_version = -1;
785 static int hf_lustre_lov_mds_md_v1_lmm_objects = -1;
786 static int hf_lustre_obd_statfs_os_namelen = -1;
787 static int hf_lustre_obd_statfs_os_blocks = -1;
788 static int hf_lustre_lustre_msg_v2_lm_secflvr = -1;
789 static int hf_lustre_lustre_msg_v1_lm_transno = -1;
790 static int hf_lustre_lov_mds_md_v1_lmm_pattern = -1;
791 static int hf_lustre_lustre_msg_v1_lm_opc = -1;
792 static int hf_lustre_obd_connect_data_ocd_grant = -1;
793 static int hf_lustre_obd_ioobj_ioo_bufcnt = -1;
794 static int hf_lustre_lustre_msg_v1_lm_version = -1;
795 static int hf_lustre_obd_statfs_os_spare7 = -1;
796 static int hf_lustre_obd_statfs_os_fsid = -1;
797 static int hf_lustre_obd_connect_data_ocd_cksum_types = -1;
798 static int hf_lustre_ost_lvb_lvb_size = -1;
799 static int hf_lustre_obd_statfs_os_type = -1;
800 static int hf_lustre_obd_statfs_os_spare6 = -1;
801 static int hf_lustre_obd_statfs_os_state = -1;
802 static int hf_lustre_obd_statfs_os_spare3 = -1;
803 static int hf_lustre_lustre_msg_v2_lm_magic = -1;
804 static int hf_lustre_lov_mds_md_v1_lmm_object_id = -1;
805 static int hf_lustre_ptlrpc_body_pb_last_seen = -1;
806 static int hf_lustre_obd_ioobj_ioo_type = -1;
807 static int hf_lustre_ptlrpc_body_pb_last_xid = -1;
808 static int hf_lustre_ptlrpc_body_pb_status = -1;
809 static int hf_lustre_niobuf_remote_flags = -1;
810 static int hf_lustre_ll_fid_id = -1;
811 static int hf_lustre_ost_lvb_lvb_blocks = -1;
812 static int hf_lustre_lustre_msg_v2_lm_padding_2 = -1;
813 static int hf_lustre_obd_connect_data_padding1 = -1;
814 static int hf_lustre_lov_ost_data_v1_l_ost_idx = -1;
815 static int hf_lustre_obd_connect_data_padding2 = -1;
816 static int hf_lustre_obd_ioobj_ioo_seq = -1;
817 static int hf_lustre_niobuf_remote_offset=-1;
818 static int hf_lustre_obd_statfs_os_spare2 = -1;
819 static int hf_lustre_lustre_msg_v2_lm_bufcount = -1;
820 static int hf_lustre_ptlrpc_body_pb_handle = -1;
821 static int hf_lustre_obd_connect_data_ocd_transno = -1;
822 static int hf_lustre_lustre_msg_v1_lm_magic = -1;
823 static int hf_lustre_llog_unlink_rec_lur_tail = -1;
824 static int hf_lustre_llog_size_change_rec_lsc_io_epoch = -1;
825 static int hf_lustre_mgs_target_info_mti_flags = -1;
826 static int hf_lustre_ldlm_reply_lock_policy_res1 = -1;
827 static int hf_lustre_llogd_body_lgd_len = -1;
828 static int hf_lustre_qunit_data_old_qd_id = -1;
829 static int hf_lustre_llog_logid_rec_padding1 = -1;
830 static int hf_lustre_quota_adjust_qunit_padding1 = -1;
831 static int hf_lustre_llog_size_change_rec_lsc_fid = -1;
832 static int hf_lustre_llog_rec_hdr_padding = -1;
833 static int hf_lustre_obdo_o_nlink = -1;
834 static int hf_lustre_ldlm_extent_gid = -1;
835 static int hf_lustre_obdo_o_uid = -1;
836 static int hf_lustre_obdo_o_valid = -1;
837 static int hf_lustre_ldlm_reply_lock_flags = -1;
838 static int hf_lustre_obdo_o_misc = -1;
840 static int hf_lustre_ldlm_request_lock_handle = -1;
841 static int hf_lustre_llog_logid_lgl_oid = -1;
842 static int hf_lustre_ldlm_inodebits_bits = -1;
843 static int hf_lustre_llog_log_hdr_llh_count = -1;
844 static int hf_lustre_llog_gen_rec_lgr_tail = -1;
845 static int hf_lustre_llog_catid_lci_padding3 = -1;
846 static int hf_lustre_qunit_data_qd_qunit = -1;
847 static int hf_lustre_llog_setattr_rec_padding = -1;
848 static int hf_lustre_llog_cookie_lgc_lgl = -1;
849 static int hf_lustre_obd_quotactl_qc_dqinfo = -1;
850 static int hf_lustre_llog_log_hdr_llh_bitmap = -1;
851 static int hf_lustre_obd_quotactl_qc_stat = -1;
852 static int hf_lustre_qunit_data_old2_qd_id = -1;
853 static int hf_lustre_llog_logid_rec_padding2 = -1;
854 static int hf_lustre_llog_orphan_rec_lor_tail = -1;
855 static int hf_lustre_llog_logid_rec_padding5 = -1;
856 static int hf_lustre_ldlm_intent_opc = -1;
857 static int hf_lustre_llog_rec_hdr_lrh_type = -1;
858 static int hf_lustre_llog_rec_hdr_lrh_len = -1;
859 static int hf_lustre_llog_setattr_rec_lsr_uid = -1;
860 static int hf_lustre_lov_desc_ld_padding_1 = -1;
861 static int hf_lustre_obdo_o_padding_4 = -1;
862 static int hf_lustre_mgs_target_info_padding = -1;
863 static int hf_lustre_obd_quotactl_qc_dqblk = -1;
864 static int hf_lustre_llogd_conn_body_lgdc_gen = -1;
865 static int hf_lustre_llog_log_hdr_llh_tail = -1;
866 static int hf_lustre_obdo_o_size = -1;
867 static int hf_lustre_ldlm_extent_start = -1;
868 static int hf_lustre_llog_size_change_rec_lsc_hdr = -1;
869 static int hf_lustre_llog_create_rec_lcr_tail = -1;
870 static int hf_lustre_llog_logid_lgl_oseq = -1;
871 static int hf_lustre_llog_create_rec_lcr_hdr = -1;
872 static int hf_lustre_llog_cookie_lgc_padding = -1;
873 static int hf_lustre_qunit_data_old_qd_type = -1;
874 static int hf_lustre_ldlm_flock_blocking_export = -1;
875 static int hf_lustre_lov_desc_ld_pattern = -1;
876 static int hf_lustre_qunit_data_qd_id = -1;
877 static int hf_lustre_mgs_target_info_mti_fsname = -1;
878 static int hf_lustre_ldlm_request_lock_flags = -1;
879 static int hf_lustre_obdo_o_mode = -1;
880 static int hf_lustre_mgs_target_info_mti_svname = -1;
881 static int hf_lustre_llogd_body_lgd_logid = -1;
882 static int hf_lustre_llog_log_hdr_llh_size = -1;
883 static int hf_lustre_llog_create_rec_padding = -1;
884 static int hf_lustre_obdo_o_handle = -1;
885 static int hf_lustre_obdo_o_atime = -1;
886 static int hf_lustre_quota_adjust_qunit_qaq_id = -1;
887 static int hf_lustre_ldlm_lock_desc_l_policy_data = -1;
888 static int hf_lustre_obd_quotactl_qc_cmd = -1;
889 static int hf_lustre_qunit_data_padding = -1;
890 static int hf_lustre_quota_adjust_qunit_qaq_flags = -1;
891 static int hf_lustre_ldlm_lock_desc_l_granted_mode = -1;
892 static int hf_lustre_obdo_o_seq = -1;
893 static int hf_lustre_obdo_o_gid = -1;
894 static int hf_lustre_llog_catid_lci_logid = -1;
895 static int hf_lustre_llog_rec_tail_lrt_index = -1;
896 static int hf_lustre_lov_desc_ld_default_stripe_count = -1;
897 static int hf_lustre_ldlm_resource_desc_lr_padding = -1;
898 static int hf_lustre_cfg_marker_cm_vers = -1;
899 static int hf_lustre_llog_unlink_rec_lur_hdr = -1;
900 static int hf_lustre_llogd_body_lgd_index = -1;
901 static int hf_lustre_cfg_marker_cm_tgtname = -1;
902 static int hf_lustre_llog_setattr_rec_lsr_ogen = -1;
903 static int hf_lustre_llog_logid_rec_lid_hdr = -1;
904 static int hf_lustre_obdo_o_ioepoch = -1;
905 static int hf_lustre_ost_body_oa = -1;
906 static int hf_lustre_llog_logid_rec_padding3 = -1;
907 static int hf_lustre_llog_log_hdr_llh_flags = -1;
908 static int hf_lustre_llog_setattr_rec_lsr_oid = -1;
909 static int hf_lustre_llog_size_change_rec_padding = -1;
910 static int hf_lustre_mgs_target_info_mti_config_ver = -1;
911 static int hf_lustre_cfg_marker_cm_createtime = -1;
912 static int hf_lustre_qunit_data_old_qd_count = -1;
913 static int hf_lustre_llog_catid_lci_padding1 = -1;
914 static int hf_lustre_lov_desc_ld_active_tgt_count = -1;
915 static int hf_lustre_obdo_o_lcookie = -1;
916 static int hf_lustre_llog_gen_rec_lgr_gen = -1;
917 static int hf_lustre_obdo_o_id = -1;
918 static int hf_lustre_mgs_target_info_mti_uuid = -1;
919 static int hf_lustre_llog_rec_hdr_lrh_index = -1;
920 static int hf_lustre_llog_setattr_rec_lsr_hdr = -1;
921 static int hf_lustre_mgs_target_info_mti_stripe_index = -1;
922 static int hf_lustre_llog_gen_conn_cnt = -1;
923 static int hf_lustre_obdo_o_padding_6 = -1;
924 static int hf_lustre_llog_cookie_lgc_index = -1;
925 static int hf_lustre_lov_desc_ld_uuid = -1;
926 static int hf_lustre_llog_create_rec_lcr_oid = -1;
927 static int hf_lustre_ldlm_reply_lock_desc = -1;
928 static int hf_lustre_lov_desc_ld_padding_0 = -1;
929 static int hf_lustre_llog_unlink_rec_lur_ogen = -1;
930 static int hf_lustre_llog_orphan_rec_lor_hdr = -1;
931 static int hf_lustre_cfg_marker_cm_flags = -1;
932 static int hf_lustre_obdo_o_padding_3 = -1;
933 static int hf_lustre_ldlm_request_lock_desc = -1;
934 static int hf_lustre_llog_orphan_rec_padding = -1;
935 static int hf_lustre_obdo_o_flags = -1;
936 static int hf_lustre_mgs_target_info_mti_params = -1;
937 static int hf_lustre_llog_logid_lgl_ogen = -1;
938 static int hf_lustre_cfg_marker_cm_comment = -1;
939 static int hf_lustre_llog_unlink_rec_lur_oid = -1;
940 static int hf_lustre_qunit_data_qd_count = -1;
941 static int hf_lustre_obdo_o_mtime = -1;
942 static int hf_lustre_obdo_o_blksize = -1;
943 static int hf_lustre_ldlm_res_id_name = -1;
944 static int hf_lustre_ldlm_reply_lock_handle = -1;
945 static int hf_lustre_llogd_body_lgd_saved_index = -1;
946 static int hf_lustre_qunit_data_old_qd_isblk = -1;
947 static int hf_lustre_obdo_o_blocks = -1;
948 static int hf_lustre_lov_desc_ld_padding_2 = -1;
949 static int hf_lustre_llog_logid_rec_lid_tail = -1;
950 static int hf_lustre_obdo_o_grant = -1;
951 static int hf_lustre_obdo_o_uid_h = -1;
952 static int hf_lustre_obdo_o_gid_h = -1;
953 static int hf_lustre_quota_adjust_qunit_qaq_iunit_sz = -1;
954 static int hf_lustre_llog_unlink_rec_padding = -1;
955 static int hf_lustre_ldlm_lock_desc_l_req_mode = -1;
956 static int hf_lustre_ldlm_extent_end = -1;
957 static int hf_lustre_llog_gen_rec_lgr_hdr = -1;
958 static int hf_lustre_llog_orphan_rec_lor_ogen = -1;
959 static int hf_lustre_llogd_body_lgd_llh_flags = -1;
960 static int hf_lustre_llog_log_hdr_llh_cat_idx = -1;
961 static int hf_lustre_llog_log_hdr_llh_bitmap_offset=-1;
962 static int hf_lustre_llog_orphan_rec_lor_oid = -1;
963 static int hf_lustre_ldlm_reply_lock_padding = -1;
964 static int hf_lustre_obd_quotactl_qc_id = -1;
965 static int hf_lustre_llog_logid_rec_padding4 = -1;
966 static int hf_lustre_llog_setattr_rec_lsr_gid = -1;
967 static int hf_lustre_obd_quotactl_qc_type = -1;
968 static int hf_lustre_cfg_marker_padding = -1;
969 static int hf_lustre_mgs_target_info_mti_nids = -1;
970 static int hf_lustre_obdo_o_stripe_idx = -1;
971 static int hf_lustre_llogd_conn_body_lgdc_logid = -1;
972 static int hf_lustre_ldlm_flock_blocking_pid = -1;
973 static int hf_lustre_lov_desc_ld_tgt_count = -1;
974 static int hf_lustre_llogd_body_lgd_cur_offset=-1;
975 static int hf_lustre_llog_create_rec_lcr_ogen = -1;
976 static int hf_lustre_qunit_data_old2_qd_count = -1;
977 static int hf_lustre_qunit_data_old2_qd_flags = -1;
978 static int hf_lustre_ldlm_flock_start = -1;
979 static int hf_lustre_quota_adjust_qunit_qaq_bunit_sz = -1;
980 static int hf_lustre_ldlm_flock_pid = -1;
981 static int hf_lustre_lov_desc_ld_default_stripe_size = -1;
982 static int hf_lustre_llog_log_hdr_llh_tgtuuid = -1;
983 static int hf_lustre_cfg_marker_cm_step = -1;
984 static int hf_lustre_mgs_send_param_mgs_param = -1;
985 static int hf_lustre_llog_create_rec_lcr_fid = -1;
986 static int hf_lustre_lov_desc_ld_default_stripe_offset=-1;
987 static int hf_lustre_ldlm_resource_desc_lr_name = -1;
988 static int hf_lustre_llog_rec_tail_lrt_len = -1;
989 static int hf_lustre_llog_log_hdr_llh_timestamp = -1;
990 static int hf_lustre_llog_catid_lci_padding2 = -1;
991 static int hf_lustre_llogd_conn_body_lgdc_ctxt_idx = -1;
992 static int hf_lustre_cfg_marker_cm_canceltime = -1;
993 static int hf_lustre_mgs_target_info_mti_lustre_ver = -1;
994 static int hf_lustre_obdo_o_parent_ver = -1;
995 static int hf_lustre_qunit_data_qd_flags = -1;
996 static int hf_lustre_llog_logid_rec_lid_id = -1;
997 static int hf_lustre_obdo_o_parent_oid = -1;
998 static int hf_lustre_llog_gen_mnt_cnt = -1;
999 static int hf_lustre_llog_size_change_rec_lsc_tail = -1;
1000 static int hf_lustre_obdo_o_padding_5 = -1;
1001 static int hf_lustre_ldlm_lock_desc_l_resource = -1;
1002 static int hf_lustre_obdo_o_parent_seq = -1;
1003 static int hf_lustre_ldlm_request_lock_count = -1;
1004 static int hf_lustre_ldlm_flock_end = -1;
1005 static int hf_lustre_mgs_target_info_mti_nid_count = -1;
1006 static int hf_lustre_obdo_o_ctime = -1;
1007 static int hf_lustre_ldlm_reply_lock_policy_res2 = -1;
1008 static int hf_lustre_llogd_body_lgd_ctxt_idx = -1;
1009 static int hf_lustre_lov_desc_ld_qos_maxage = -1;
1010 static int hf_lustre_ldlm_resource_desc_lr_type = -1;
1011 static int hf_lustre_llog_setattr_rec_lsr_tail = -1;
1012 static int hf_lustre_llog_cookie_lgc_subsys = -1;
1013 static int hf_lustre_llog_log_hdr_llh_hdr = -1;
1014 static int hf_lustre_llog_log_hdr_llh_reserved = -1;
1016 /* Header field declarations for field from lustre_user.h*/
1017 static int hf_lustre_obd_dqinfo_dqi_valid = -1;
1018 static int hf_lustre_obd_dqblk_dqb_isoftlimit = -1;
1019 static int hf_lustre_obd_dqblk_dqb_bhardlimit = -1;
1020 static int hf_lustre_obd_dqblk_dqb_curspace = -1;
1021 static int hf_lustre_obd_dqblk_dqb_itime = -1;
1022 static int hf_lustre_obd_dqblk_dqb_valid = -1;
1023 static int hf_lustre_obd_dqinfo_dqi_igrace = -1;
1024 static int hf_lustre_obd_dqinfo_dqi_bgrace = -1;
1025 static int hf_lustre_obd_dqblk_padding = -1;
1026 static int hf_lustre_obd_dqblk_dqb_curinodes = -1;
1027 static int hf_lustre_obd_dqblk_dqb_bsoftlimit = -1;
1028 static int hf_lustre_obd_dqinfo_dqi_flags = -1;
1029 static int hf_lustre_obd_dqblk_dqb_btime = -1;
1030 static int hf_lustre_obd_dqblk_dqb_ihardlimit = -1;
1031 static int hf_lustre_ldlm_intent_opc_open = -1 ;
1032 static int hf_lustre_ldlm_intent_opc_creat = -1;
1033 static int hf_lustre_ldlm_intent_opc_readdir = -1;
1034 static int hf_lustre_ldlm_intent_opc_getattr = -1;
1035 static int hf_lustre_ldlm_intent_opc_lookup = -1;
1036 static int hf_lustre_ldlm_intent_opc_unlink = -1;
1037 static int hf_lustre_ldlm_intent_opc_getxattr = -1;
1038 static int hf_lustre_ldlm_intent_opc_exec = -1;
1039 static int hf_lustre_ldlm_intent_opc_pin = -1;
1040 static int hf_lustre_llog_hdr_llh_flag_zap_when_empty = -1;
1041 static int hf_lustre_llog_hdr_llh_flag_is_cat = -1;
1042 static int hf_lustre_llog_hdr_llh_flag_is_play = -1;
1043 /* --------------------------------------------------------------------*/
1046 /* proto declaration */
1047 static gint proto_lustre = -1;
1052 static int ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_) ;
1053 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_);
1054 static int add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_) ;
1057 /* ======================================================================== */
1058 /*the value_string*/
1059 const value_string lustre_ldlm_opcode[] = {
1060 { IT_OPEN , "IT_OPEN "},
1061 { IT_CREAT , "IT_CREAT "},
1062 { IT_READDIR , "IT_READDIR "},
1063 { IT_GETATTR , "IT_GETATTR "},
1064 { IT_LOOKUP , "IT_LOOKUP "},
1065 { IT_UNLINK , "IT_UNLINK "},
1066 { IT_GETXATTR, "IT_GETXATTR"},
1067 { IT_EXEC , "IT_EXEC "},
1068 { IT_PIN , "IT_PIN "},
1072 const value_string lustre_lov_magic[] = {
1073 { LOV_MAGIC_V1, "LOV_MAGIC_V1" },
1077 const value_string lustre_ldlm_flags_vals[] = {
1078 {0x000001 , "LDLM_FL_LOCK_CHANGED"},
1079 {0x000002 , "LDLM_FL_BLOCK_GRANTED"},
1080 {0x000004 , "LDLM_FL_BLOCK_CONV"},
1081 {0x000008 , "LDLM_FL_BLOCK_WAIT"},
1082 {0x000010 , "LDLM_FL_CBPENDING"},
1083 {0x000020 , "LDLM_FL_AST_SENT"},
1084 {0x000040 , "LDLM_FL_WAIT_NOREPROC"},
1085 {0x000080 , "LDLM_FL_CANCEL"},
1086 {0x000100 , "LDLM_FL_REPLAY"},
1087 {0x000200 , "LDLM_FL_INTENT_ONLY"},
1088 {0x000400 , "LDLM_FL_LOCAL_ONLY"},
1089 {0x000800 , "LDLM_FL_FAILED"},
1090 {0x001000 , "LDLM_FL_HAS_INTENT"},
1091 {0x002000 , "LDLM_FL_CANCELING"},
1092 {0x004000 , "LDLM_FL_LOCAL"},
1093 {0x008000 , "LDLM_FL_WARN"},
1094 {0x010000 , "LDLM_FL_DISCARD_DATA"},
1095 {0x020000 , "LDLM_FL_NO_TIMEOUT"},
1096 {0x040000 , "LDLM_FL_BLOCK_NOWAIT"},
1097 {0x080000 , "LDLM_FL_TEST_LOCK"},
1098 {0x100000 , "LDLM_FL_LVB_READY"},
1099 {0x200000 , "LDLM_FL_KMS_IGNORE"},
1100 {0x400000 , "LDLM_FL_NO_LRU"},
1101 {0x800000 , "LDLM_FL_CANCEL_ON_BLOCK"},
1102 {0x1000000 , "LDLM_FL_CP_REQD"},
1103 {0x2000000 , "LDLM_FL_CLEANED"},
1104 {0x4000000 , "LDLM_FL_ATOMIC_CB"},
1105 {0x10000000 , "LDLM_FL_BL_AST"},
1106 {0x20000000 , "LDLM_FL_BL_DONE"},
1107 {0x40000000 , "LDLM_FL_DENY_ON_CONTENTION"},
1108 {0x80000000 , "LDLM_AST_DISCARD_DATA"},
1112 const value_string lustre_llog_op_type[] = {
1113 {LLOG_PAD_MAGIC ,"LLOG_PAD_MAGIC "},
1114 {OST_SZ_REC ,"OST_SZ_REC "},
1115 {OST_RAID1_REC ,"OST_RAID1_REC "},
1116 {MDS_UNLINK_REC ,"MDS_UNLINK_REC "},
1117 {MDS_SETATTR_REC ,"MDS_SETATTR_REC "},
1118 {OBD_CFG_REC ,"OBD_CFG_REC "},
1119 {PTL_CFG_REC ,"PTL_CFG_REC "},
1120 {LLOG_GEN_REC ,"LLOG_GEN_REC "},
1121 {LLOG_JOIN_REC ,"LLOG_JOIN_REC "},
1122 {LLOG_HDR_MAGIC ,"LLOG_HDR_MAGIC "},
1123 {LLOG_LOGID_MAGIC ,"LLOG_LOGID_MAGIC"},
1127 const value_string lustre_llog_hdr_llh_flags[]= {
1128 {LLOG_F_ZAP_WHEN_EMPTY , "LLOhdr_llh_G_F_ZAP_WHEN_EMPTY"},
1129 {LLOG_F_IS_CAT , "LLOhdr_llh_G_F_IS_CAT"},
1130 {LLOG_F_IS_PLAIN , "LLOG_F_IS_PLAIN"},
1134 const value_string lustre_mds_flags_vals[] = {
1135 {0x1, "LUSTRE_BFLAG_UNCOMMITTED_WRITES"},
1136 {0x80000000, "LUSTRE_BFLAG_EXT_FLAGS"}, /* == EXT3_RESERVED_FL */
1137 {0x00000008, "LUSTRE_SYNC_FL "}, /* Synchronous updates */
1138 {0x00000010, "LUSTRE_IMMUTABLE_FL "}, /* Immutable file */
1139 {0x00000020, "LUSTRE_APPEND_FL "}, /* writes to file may only append */
1140 {0x00000080, "LUSTRE_NOATIME_FL "}, /* do not update atime */
1141 {0x00010000, "LUSTRE_DIRSYNC_FL "}, /* dirsync behaviour (dir only) */
1145 const value_string lustre_LMTypes[] = {
1146 { PTL_RPC_MSG_REQUEST, "request"},
1147 { PTL_RPC_MSG_ERR , "error"},
1148 { PTL_RPC_MSG_REPLY , "reply"},
1152 const value_string lustre_mds_reint_t_vals[] = {
1153 { REINT_SETATTR, "REINT_SETATTR" },
1154 { REINT_CREATE, "REINT_CREATE" },
1155 { REINT_LINK, "REINT_LINK" },
1156 { REINT_UNLINK, "REINT_UNLINK" },
1157 { REINT_RENAME, "REINT_RENAME" },
1158 { REINT_OPEN, "REINT_OPEN" },
1159 { REINT_SETXATTR, "REINT_SETXATTR" },
1162 const value_string lustre_op_codes[] = {
1165 {1 , "OST_GETATTR"},
1166 {2 , "OST_SETATTR"},
1170 {6 , "OST_DESTROY"},
1171 {7 , "OST_GET_INFO"},
1172 {8 , "OST_CONNECT"},
1173 {9 , "OST_DISCONNECT"},
1177 {13 , "OST_STATFS"},
1178 {14 , "OST_SAN_READ(deprecated)"},
1179 {15 , "OST_SAN_WRITE(deprecated)"},
1181 {17 , "OST_SET_INFO"},
1182 {18 , "OST_QUOTACHECK"},
1183 {19 , "OST_QUOTACTL"},
1184 {20 , "OST_LAST_OPC"},
1186 {33 , "MDS_GETATTR"},
1187 {34 , "MDS_GETATTR_NAME"},
1190 {37 , "MDS_READPAGE"},
1191 {38 , "MDS_CONNECT"},
1192 {39 , "MDS_DISCONNECT"},
1193 {40 , "MDS_GETSTATUS"},
1194 {41 , "MDS_STATFS"},
1198 {45 , "MDS_DONE_WRITING"},
1199 {46 , "MDS_SET_INFO"},
1200 {47 , "MDS_QUOTACHECK"},
1201 {48 , "MDS_QUOTACTL"},
1202 {49 , "MDS_GETXATTR"},
1203 {50 , "MDS_SETXATTR"},
1204 {51 , "MDS_LAST_OPC"},
1206 {101 , "LDLM_ENQUEUE"},
1207 {102 , "LDLM_CONVERT"},
1208 {103 , "LDLM_CANCEL"},
1209 {104 , "LDLM_BL_CALLBACK"},
1210 {105 , "LDLM_CP_CALLBACK"},
1211 {106 , "LDLM_GL_CALLBACK"},
1212 {107 , "LDLM_LAST_OPC"},
1214 {250 , "MGS_CONNECT"},
1215 {251 , "MGS_DISCONNECT"},
1216 {252 , "MGS_EXCEPTION"},
1217 {253 , "MGS_TARGET_REG"},
1218 {254 , "MGS_TARGET_DEL"},
1219 {255 , "MGS_SET_INFO"},
1220 {256 , "MGS_LAST_OPC"},
1223 {401 , "OBD_LOG_CANCEL"},
1224 {402 , "OBD_QC_CALLBACK"},
1225 {403 , "OBD_LAST_OPC"},
1227 { 501, "LLOG_ORIGIN_HANDLE_CREATE"},
1228 { 502, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK"},
1229 { 503, "LLOG_ORIGIN_HANDLE_READ_HEADER"},
1230 { 504, "LLOG_ORIGIN_HANDLE_WRITE_REC"},
1231 { 505, "LLOG_ORIGIN_HANDLE_CLOSE"},
1232 { 506, "LLOG_ORIGIN_CONNECT"},
1233 { 507, "LLOG_CATINFO"},
1234 { 508, "LLOG_ORIGIN_HANDLE_PREV_BLOCK"},
1235 { 509, "LLOG_ORIGIN_HANDLE_DESTROY"},
1236 /* SEQ RPC opcodes */
1237 { 700, "SEQ_QUERY"},
1238 { 701, "SEQ_LAST_OPC"},
1239 /* FLD RPC opcodes */
1240 { 900, "FLD_QUERY"},
1241 { 901, "FLD_LAST_OPC"},
1244 /*const value_string lustre_ldlm_mode_t_vals[] = {*/
1245 /* { LCK_MINMODE, "MINMODE" },*/
1246 /* { LCK_EX, "EX" },*/
1247 /* { LCK_PW, "PW" },*/
1248 /* { LCK_PR, "PR" },*/
1249 /* { LCK_CW, "CW" },*/
1250 /* { LCK_CR, "CR" },*/
1251 /* { LCK_NL, "NL" },*/
1252 /* { LCK_GROUP, "GROUP" },*/
1256 /* detailled version the information came from : http://wiki.lustre.org/images/e/e5/LustreInternals_Architecture.pdf */
1257 const value_string lustre_ldlm_mode_t_vals[] = {
1258 { LCK_MINMODE, "MINMODE" },
1259 { LCK_EX, "Exclusive" },
1260 { LCK_PW, "Protected Write" },
1261 { LCK_PR, "Protected Read" },
1262 { LCK_CW, "Concurrent Write" },
1263 { LCK_CR, "Concurrent Read" },
1265 { LCK_GROUP, "GROUP" },
1269 const value_string lustre_ldlm_type_t_vals[] = {
1270 { LDLM_PLAIN, "LDLM_PLAIN" },
1271 { LDLM_EXTENT,"LDLM_EXTENT" },
1272 { LDLM_FLOCK, "LDLM_FLOCK" },
1273 { LDLM_IBITS, "LDLM_IBITS" },
1278 const value_string lustre_llog_cmd_t_vals[] = {
1279 { LLOG_ORIGIN_HANDLE_CREATE, "LLOG_ORIGIN_HANDLE_CREATE" },
1280 { LLOG_ORIGIN_HANDLE_NEXT_BLOCK, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK" },
1281 { LLOG_ORIGIN_HANDLE_READ_HEADER, "LLOG_ORIGIN_HANDLE_READ_HEADER" },
1282 { LLOG_ORIGIN_HANDLE_WRITE_REC, "LLOG_ORIGIN_HANDLE_WRITE_REC" },
1283 { LLOG_ORIGIN_HANDLE_CLOSE, "LLOG_ORIGIN_HANDLE_CLOSE" },
1284 { LLOG_ORIGIN_CONNECT, "LLOG_ORIGIN_CONNECT" },
1285 { LLOG_CATINFO, "LLOG_CATINFO" },
1286 { LLOG_ORIGIN_HANDLE_PREV_BLOCK, "LLOG_ORIGIN_HANDLE_PREV_BLOCK" },
1287 { LLOG_ORIGIN_HANDLE_DESTROY, "LLOG_ORIGIN_HANDLE_DESTROY" },
1291 #ifndef ENABLE_STATIC
1292 const gchar version[] = VERSION;
1294 /* Start the functions we need for the plugin stuff */
1297 plugin_register(void)
1299 extern void proto_register_dcerpc_lustre(void);
1301 proto_register_dcerpc_lustre();
1305 plugin_reg_handoff(void)
1307 extern void proto_reg_handoff_lustre(void);
1309 proto_reg_handoff_lustre();
1314 /* ------------------------------------------------------------------- */
1315 /* display functions */
1316 /* ------------------------------------------------------------------- */
1317 /* display str in left corner and in COL */
1318 /* TODO : do we need to use inline here ?*/
1319 /* @gint col : the col where we add the information */
1320 inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
1323 proto_item_append_text(pi, str);
1326 if (check_col(cinfo, col))
1327 col_append_str(cinfo, col, str);
1331 * Need to be (re)written
1333 static void display_info_fstr(proto_item *pi, column_info *cinfo, gint col, const char* format, const gchar * str){
1336 //va_start(ap, format);
1337 proto_item_append_text(pi, format, str);
1342 if (check_col(cinfo, col)){
1344 // va_start(ap, format);
1345 col_append_fstr(cinfo, col, format, str);
1352 /* ------------------------------ basic dissect functions ------------------------ */
1355 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1357 proto_tree_add_item(tree, hfindex, tvb, offset, 8, TRUE);
1363 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1365 proto_tree_add_item(tree, hfindex, tvb, offset, 4, TRUE);
1371 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1373 proto_tree_add_item(tree, hfindex, tvb, offset, 1, TRUE);
1376 /* ------------------------------------------------------------------------- */
1381 /* IDL: struct lustre_handle { */
1382 /* IDL: uint64 cookie; */
1386 lustre_dissect_element_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1388 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_handle_cookie);
1394 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_)
1396 proto_item *item = NULL;
1397 proto_tree *tree = NULL;
1403 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1404 tree = proto_item_add_subtree(item, ett_lustre_lustre_handle_cookie);
1407 offset=lustre_dissect_element_handle_cookie(tvb, offset, pinfo, tree);
1410 proto_item_set_len(item, offset-old_offset);
1415 /* IDL: struct obd_connect_data { */
1416 /* IDL: uint64 ocd_connect_flags; */
1417 /* IDL: uint32 ocd_version; */
1418 /* IDL: uint32 ocd_grant; */
1419 /* IDL: uint32 ocd_index; */
1420 /* IDL: uint32 ocd_brw_size; */
1421 /* IDL: uint64 ocd_ibits_known; */
1422 /* IDL: uint32 ocd_nllu; */
1423 /* IDL: uint32 ocd_nllg; */
1424 /* IDL: uint64 ocd_transno; */
1425 /* IDL: uint32 ocd_group; */
1426 /* IDL: uint32 ocd_cksum_types; */
1427 /* IDL: uint64 padding1; */
1428 /* IDL: uint64 padding2; */
1432 lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1434 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_connect_flags);
1440 lustre_dissect_element_obd_connect_data_ocd_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1442 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_version);
1448 lustre_dissect_element_obd_connect_data_ocd_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1450 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_grant);
1456 lustre_dissect_element_obd_connect_data_ocd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1458 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_index);
1464 lustre_dissect_element_obd_connect_data_ocd_brw_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1466 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_brw_size);
1472 lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1474 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_ibits_known);
1480 lustre_dissect_element_obd_connect_data_ocd_nllu(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1482 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllu);
1488 lustre_dissect_element_obd_connect_data_ocd_nllg(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1490 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllg);
1496 lustre_dissect_element_obd_connect_data_ocd_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1498 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_transno);
1504 lustre_dissect_element_obd_connect_data_ocd_group(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1506 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_group);
1512 lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1514 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_cksum_types);
1520 lustre_dissect_element_obd_connect_data_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1522 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding1);
1528 lustre_dissect_element_obd_connect_data_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1530 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding2);
1536 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_)
1538 proto_item *item = NULL;
1539 proto_tree *tree = NULL;
1547 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1548 tree = proto_item_add_subtree(item, ett_lustre_obd_connect_data);
1551 offset=lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvb, offset, pinfo, tree);
1553 offset=lustre_dissect_element_obd_connect_data_ocd_version(tvb, offset, pinfo, tree);
1555 offset=lustre_dissect_element_obd_connect_data_ocd_grant(tvb, offset, pinfo, tree);
1557 offset=lustre_dissect_element_obd_connect_data_ocd_index(tvb, offset, pinfo, tree);
1559 offset=lustre_dissect_element_obd_connect_data_ocd_brw_size(tvb, offset, pinfo, tree);
1561 offset=lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvb, offset, pinfo, tree);
1563 offset=lustre_dissect_element_obd_connect_data_ocd_nllu(tvb, offset, pinfo, tree);
1565 offset=lustre_dissect_element_obd_connect_data_ocd_nllg(tvb, offset, pinfo, tree);
1567 offset=lustre_dissect_element_obd_connect_data_ocd_transno(tvb, offset, pinfo, tree);
1569 offset=lustre_dissect_element_obd_connect_data_ocd_group(tvb, offset, pinfo, tree);
1571 offset=lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvb, offset, pinfo, tree);
1573 offset=lustre_dissect_element_obd_connect_data_padding1(tvb, offset, pinfo, tree);
1575 offset=lustre_dissect_element_obd_connect_data_padding2(tvb, offset, pinfo, tree);
1578 proto_item_set_len(item, offset-old_offset);
1584 /* IDL: struct lov_ost_data_v1 { */
1585 /* IDL: uint64 l_object_id; */
1586 /* IDL: uint64 l_object_seq; */
1587 /* IDL: uint32 l_ost_gen; */
1588 /* IDL: uint32 l_ost_idx; */
1592 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_)
1594 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_id);
1600 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_)
1602 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_seq);
1608 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_)
1610 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_gen);
1616 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_)
1618 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_idx);
1624 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_)
1626 proto_item *item = NULL;
1627 proto_tree *tree = NULL;
1635 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1636 tree = proto_item_add_subtree(item, ett_lustre_lov_ost_data_v1);
1639 offset=lustre_dissect_element_lov_ost_data_v1_l_object_id(tvb, offset, pinfo, tree);
1641 offset=lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvb, offset, pinfo, tree);
1643 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvb, offset, pinfo, tree);
1645 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvb, offset, pinfo, tree);
1648 proto_item_set_len(item, offset-old_offset);
1653 /* IDL: struct lov_mds_md_v1 { */
1654 /* IDL: uint32 lmm_magic; */
1655 /* IDL: uint32 lmm_pattern; */
1656 /* IDL: uint64 lmm_object_id; */
1657 /* IDL: uint64 lmm_object_seq; */
1658 /* IDL: uint32 lmm_stripe_size; */
1659 /* IDL: uint32 lmm_stripe_count; */
1660 /* IDL: struct lov_ost_data_v1 { */
1661 /* IDL: } lmm_objects[0]; <-- en fait on en a lmm_stripe_count */
1665 lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1667 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_magic);
1673 lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1675 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_pattern);
1681 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_)
1683 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_id);
1689 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_)
1691 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_seq);
1697 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_)
1699 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_size);
1705 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_)
1707 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_count);
1713 lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1715 offset=lustre_dissect_struct_lov_ost_data_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1_lmm_objects);
1720 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)
1723 /*g_print("num = %d", num);*/
1724 for (i = 0; i < num; i++){
1725 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvb, offset, pinfo, tree);
1734 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_)
1736 proto_item *item = NULL;
1737 proto_tree *tree = NULL;
1740 guint32 stripe_count ;
1746 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1747 tree = proto_item_add_subtree(item, ett_lustre_lov_mds_md_v1);
1750 offset=lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvb, offset, pinfo, tree);
1752 offset=lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvb, offset, pinfo, tree);
1754 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvb, offset, pinfo, tree);
1756 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvb, offset, pinfo, tree);
1758 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvb, offset, pinfo, tree);
1760 stripe_count = tvb_get_letohl(tvb,offset);
1761 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvb, offset, pinfo, tree);
1763 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvb, offset, pinfo, tree, stripe_count);
1766 proto_item_set_len(item, offset-old_offset);
1773 /* IDL: struct obd_statfs { */
1774 /* IDL: uint64 os_type; */
1775 /* IDL: uint64 os_blocks; */
1776 /* IDL: uint64 os_bfree; */
1777 /* IDL: uint64 os_bavail; */
1778 /* IDL: uint64 os_files; */
1779 /* IDL: uint64 os_ffree; */
1780 /* IDL: uint8 os_fsid[40]; */
1781 /* IDL: uint32 os_bsize; */
1782 /* IDL: uint32 os_namelen; */
1783 /* IDL: uint64 os_maxbytes; */
1784 /* IDL: uint32 os_state; */
1785 /* IDL: uint32 os_spare1; */
1786 /* IDL: uint32 os_spare2; */
1787 /* IDL: uint32 os_spare3; */
1788 /* IDL: uint32 os_spare4; */
1789 /* IDL: uint32 os_spare5; */
1790 /* IDL: uint32 os_spare6; */
1791 /* IDL: uint32 os_spare7; */
1792 /* IDL: uint32 os_spare8; */
1793 /* IDL: uint32 os_spare9; */
1797 lustre_dissect_element_obd_statfs_os_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1799 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_type);
1805 lustre_dissect_element_obd_statfs_os_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1807 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_blocks);
1813 lustre_dissect_element_obd_statfs_os_bfree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1815 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bfree);
1821 lustre_dissect_element_obd_statfs_os_bavail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1823 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bavail);
1829 lustre_dissect_element_obd_statfs_os_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1831 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_files);
1837 lustre_dissect_element_obd_statfs_os_ffree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1839 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_ffree);
1845 lustre_dissect_element_obd_statfs_os_fsid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1847 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_fsid);
1853 lustre_dissect_element_obd_statfs_os_fsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1856 for (i = 0; i < 40; i++)
1857 offset=lustre_dissect_element_obd_statfs_os_fsid_(tvb, offset, pinfo, tree);
1865 lustre_dissect_element_obd_statfs_os_bsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1867 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bsize);
1873 lustre_dissect_element_obd_statfs_os_namelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1875 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_namelen);
1881 lustre_dissect_element_obd_statfs_os_maxbytes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1883 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_maxbytes);
1889 lustre_dissect_element_obd_statfs_os_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1891 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_state);
1897 lustre_dissect_element_obd_statfs_os_spare1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1899 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare1);
1905 lustre_dissect_element_obd_statfs_os_spare2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1907 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare2);
1913 lustre_dissect_element_obd_statfs_os_spare3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1915 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare3);
1921 lustre_dissect_element_obd_statfs_os_spare4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1923 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare4);
1929 lustre_dissect_element_obd_statfs_os_spare5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1931 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare5);
1937 lustre_dissect_element_obd_statfs_os_spare6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1939 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare6);
1945 lustre_dissect_element_obd_statfs_os_spare7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1947 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare7);
1953 lustre_dissect_element_obd_statfs_os_spare8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1955 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare8);
1961 lustre_dissect_element_obd_statfs_os_spare9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1963 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare9);
1969 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_)
1971 proto_item *item = NULL;
1972 proto_tree *tree = NULL;
1980 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1981 tree = proto_item_add_subtree(item, ett_lustre_obd_statfs);
1984 offset=lustre_dissect_element_obd_statfs_os_type(tvb, offset, pinfo, tree);
1986 offset=lustre_dissect_element_obd_statfs_os_blocks(tvb, offset, pinfo, tree);
1988 offset=lustre_dissect_element_obd_statfs_os_bfree(tvb, offset, pinfo, tree);
1990 offset=lustre_dissect_element_obd_statfs_os_bavail(tvb, offset, pinfo, tree);
1992 offset=lustre_dissect_element_obd_statfs_os_files(tvb, offset, pinfo, tree);
1994 offset=lustre_dissect_element_obd_statfs_os_ffree(tvb, offset, pinfo, tree);
1996 offset=lustre_dissect_element_obd_statfs_os_fsid(tvb, offset, pinfo, tree);
1998 offset=lustre_dissect_element_obd_statfs_os_bsize(tvb, offset, pinfo, tree);
2000 offset=lustre_dissect_element_obd_statfs_os_namelen(tvb, offset, pinfo, tree);
2002 offset=lustre_dissect_element_obd_statfs_os_maxbytes(tvb, offset, pinfo, tree);
2004 offset=lustre_dissect_element_obd_statfs_os_state(tvb, offset, pinfo, tree);
2006 offset=lustre_dissect_element_obd_statfs_os_spare1(tvb, offset, pinfo, tree);
2008 offset=lustre_dissect_element_obd_statfs_os_spare2(tvb, offset, pinfo, tree);
2010 offset=lustre_dissect_element_obd_statfs_os_spare3(tvb, offset, pinfo, tree);
2012 offset=lustre_dissect_element_obd_statfs_os_spare4(tvb, offset, pinfo, tree);
2014 offset=lustre_dissect_element_obd_statfs_os_spare5(tvb, offset, pinfo, tree);
2016 offset=lustre_dissect_element_obd_statfs_os_spare6(tvb, offset, pinfo, tree);
2018 offset=lustre_dissect_element_obd_statfs_os_spare7(tvb, offset, pinfo, tree);
2020 offset=lustre_dissect_element_obd_statfs_os_spare8(tvb, offset, pinfo, tree);
2022 offset=lustre_dissect_element_obd_statfs_os_spare9(tvb, offset, pinfo, tree);
2025 proto_item_set_len(item, offset-old_offset);
2030 /* IDL: struct obd_ioobj { */
2031 /* IDL: uint64 ioo_id; */
2032 /* IDL: uint64 ioo_seq; */
2033 /* IDL: uint32 ioo_type; */
2034 /* IDL: uint32 ioo_bufcnt; */
2038 lustre_dissect_element_obd_ioobj_ioo_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2040 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_id);
2046 lustre_dissect_element_obd_ioobj_ioo_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2048 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_seq);
2054 lustre_dissect_element_obd_ioobj_ioo_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2056 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_type);
2062 lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2064 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_bufcnt);
2070 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_)
2072 proto_item *item = NULL;
2073 proto_tree *tree = NULL;
2081 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2082 tree = proto_item_add_subtree(item, ett_lustre_obd_ioobj);
2085 offset=lustre_dissect_element_obd_ioobj_ioo_id(tvb, offset, pinfo, tree);
2087 offset=lustre_dissect_element_obd_ioobj_ioo_seq(tvb, offset, pinfo, tree);
2089 offset=lustre_dissect_element_obd_ioobj_ioo_type(tvb, offset, pinfo, tree);
2091 offset=lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvb, offset, pinfo, tree);
2094 proto_item_set_len(item, offset-old_offset);
2099 /* IDL: struct niobuf_remote { */
2100 /* IDL: uint64 offset; */
2101 /* IDL: uint32 len; */
2102 /* IDL: uint32 flags; */
2106 lustre_dissect_element_niobuf_remote_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2108 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_offset);
2114 lustre_dissect_element_niobuf_remote_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2116 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_len);
2122 lustre_dissect_element_niobuf_remote_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2124 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_flags);
2130 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_)
2132 proto_item *item = NULL;
2133 proto_tree *tree = NULL;
2141 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2142 tree = proto_item_add_subtree(item, ett_lustre_niobuf_remote);
2145 offset=lustre_dissect_element_niobuf_remote_offset(tvb, offset, pinfo, tree);
2147 offset=lustre_dissect_element_niobuf_remote_len(tvb, offset, pinfo, tree);
2149 offset=lustre_dissect_element_niobuf_remote_flags(tvb, offset, pinfo, tree);
2152 proto_item_set_len(item, offset-old_offset);
2157 /* IDL: struct ost_lvb { */
2158 /* IDL: uint64 lvb_size; */
2159 /* IDL: uint64 lvb_mtime; */
2160 /* IDL: uint64 lvb_atime; */
2161 /* IDL: uint64 lvb_ctime; */
2162 /* IDL: uint64 lvb_blocks; */
2166 lustre_dissect_element_ost_lvb_lvb_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2168 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_size);
2174 lustre_dissect_element_ost_lvb_lvb_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2178 ns.secs = tvb_get_letohl(tvb,offset);
2180 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_mtime, tvb, offset, 8, &ns );
2186 lustre_dissect_element_ost_lvb_lvb_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2190 ns.secs = tvb_get_letohl(tvb,offset);
2192 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_atime, tvb, offset, 8, &ns );
2199 lustre_dissect_element_ost_lvb_lvb_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2203 ns.secs = tvb_get_letohl(tvb,offset);
2205 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_ctime, tvb, offset, 8, &ns );
2212 lustre_dissect_element_ost_lvb_lvb_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2214 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_blocks);
2220 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_)
2222 proto_item *item = NULL;
2223 proto_tree *tree = NULL;
2231 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2232 tree = proto_item_add_subtree(item, ett_lustre_ost_lvb);
2235 offset=lustre_dissect_element_ost_lvb_lvb_size(tvb, offset, pinfo, tree);
2237 offset=lustre_dissect_element_ost_lvb_lvb_mtime(tvb, offset, pinfo, tree);
2239 offset=lustre_dissect_element_ost_lvb_lvb_atime(tvb, offset, pinfo, tree);
2241 offset=lustre_dissect_element_ost_lvb_lvb_ctime(tvb, offset, pinfo, tree);
2243 offset=lustre_dissect_element_ost_lvb_lvb_blocks(tvb, offset, pinfo, tree);
2246 proto_item_set_len(item, offset-old_offset);
2252 /* IDL: struct ll_fid { */
2253 /* IDL: uint64 id; */
2254 /* IDL: uint32 generation; */
2255 /* IDL: uint32 f_type; */
2259 lustre_dissect_element_ll_fid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2261 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ll_fid_id);
2267 lustre_dissect_element_ll_fid_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2269 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_generation);
2275 lustre_dissect_element_ll_fid_f_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2277 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_f_type);
2283 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_)
2285 proto_item *item = NULL;
2286 proto_tree *tree = NULL;
2292 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2293 tree = proto_item_add_subtree(item, ett_lustre_ll_fid);
2296 offset=lustre_dissect_element_ll_fid_id(tvb, offset, pinfo, tree);
2298 offset=lustre_dissect_element_ll_fid_generation(tvb, offset, pinfo, tree);
2300 offset=lustre_dissect_element_ll_fid_f_type(tvb, offset, pinfo, tree);
2303 proto_item_set_len(item, offset-old_offset);
2308 /* IDL: struct obd_dqinfo { */
2309 /* IDL: uint64 dqi_bgrace; */
2310 /* IDL: uint64 dqi_igrace; */
2311 /* IDL: uint32 dqi_flags; */
2312 /* IDL: uint32 dqi_valid; */
2316 lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2318 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_bgrace);
2324 lustre_dissect_element_obd_dqinfo_dqi_igrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2326 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_igrace);
2332 lustre_dissect_element_obd_dqinfo_dqi_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2334 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_flags);
2340 lustre_dissect_element_obd_dqinfo_dqi_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2342 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_valid);
2348 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_)
2350 proto_item *item = NULL;
2351 proto_tree *tree = NULL;
2356 old_offset = offset;
2359 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2360 tree = proto_item_add_subtree(item, ett_lustre_obd_dqinfo);
2363 offset = lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvb, offset, pinfo, tree);
2365 offset = lustre_dissect_element_obd_dqinfo_dqi_igrace(tvb, offset, pinfo, tree);
2367 offset = lustre_dissect_element_obd_dqinfo_dqi_flags(tvb, offset, pinfo, tree);
2369 offset = lustre_dissect_element_obd_dqinfo_dqi_valid(tvb, offset, pinfo, tree);
2372 proto_item_set_len(item, offset-old_offset);
2377 /* IDL: struct obd_dqblk { */
2378 /* IDL: uint64 dqb_bhardlimit; */
2379 /* IDL: uint64 dqb_bsoftlimit; */
2380 /* IDL: uint64 dqb_curspace; */
2381 /* IDL: uint64 dqb_ihardlimit; */
2382 /* IDL: uint64 dqb_isoftlimit; */
2383 /* IDL: uint64 dqb_curinodes; */
2384 /* IDL: uint64 dqb_btime; */
2385 /* IDL: uint64 dqb_itime; */
2386 /* IDL: uint32 dqb_valid; */
2387 /* IDL: uint32 padding; */
2391 lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2393 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bhardlimit);
2399 lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2401 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bsoftlimit);
2407 lustre_dissect_element_obd_dqblk_dqb_curspace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2409 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curspace);
2415 lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2417 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_ihardlimit);
2423 lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2425 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_isoftlimit);
2431 lustre_dissect_element_obd_dqblk_dqb_curinodes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2433 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curinodes);
2439 lustre_dissect_element_obd_dqblk_dqb_btime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2444 ns.secs = tvb_get_letohl(tvb,offset);
2446 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_btime, tvb, offset, 8, &ns );
2452 lustre_dissect_element_obd_dqblk_dqb_itime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2456 ns.secs = tvb_get_letohl(tvb,offset);
2458 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_itime, tvb, offset, 8, &ns );
2465 lustre_dissect_element_obd_dqblk_dqb_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2467 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_valid);
2473 lustre_dissect_element_obd_dqblk_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2475 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_padding);
2481 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_)
2483 proto_item *item = NULL;
2484 proto_tree *tree = NULL;
2489 old_offset = offset;
2492 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2493 tree = proto_item_add_subtree(item, ett_lustre_obd_dqblk);
2496 offset = lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvb, offset, pinfo, tree);
2498 offset = lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvb, offset, pinfo, tree);
2500 offset = lustre_dissect_element_obd_dqblk_dqb_curspace(tvb, offset, pinfo, tree);
2502 offset = lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvb, offset, pinfo, tree);
2504 offset = lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvb, offset, pinfo, tree);
2506 offset = lustre_dissect_element_obd_dqblk_dqb_curinodes(tvb, offset, pinfo, tree);
2508 offset = lustre_dissect_element_obd_dqblk_dqb_btime(tvb, offset, pinfo, tree);
2510 offset = lustre_dissect_element_obd_dqblk_dqb_itime(tvb, offset, pinfo, tree);
2512 offset = lustre_dissect_element_obd_dqblk_dqb_valid(tvb, offset, pinfo, tree);
2514 offset = lustre_dissect_element_obd_dqblk_padding(tvb, offset, pinfo, tree);
2517 proto_item_set_len(item, offset-old_offset);
2523 /* IDL: struct obd_quotactl { */
2524 /* IDL: uint32 qc_cmd; */
2525 /* IDL: uint32 qc_type; */
2526 /* IDL: uint32 qc_id; */
2527 /* IDL: uint32 qc_stat; */
2528 /* IDL: struct obd_dqinfo { */
2529 /* IDL: } qc_dqinfo; */
2530 /* IDL: struct obd_dqblk { */
2531 /* IDL: } qc_dqblk; */
2535 lustre_dissect_element_obd_quotactl_qc_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2537 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_cmd);
2543 lustre_dissect_element_obd_quotactl_qc_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2545 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_type);
2551 lustre_dissect_element_obd_quotactl_qc_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2553 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_id);
2559 lustre_dissect_element_obd_quotactl_qc_stat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2561 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_stat);
2569 lustre_dissect_element_obd_quotactl_qc_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2571 offset=lustre_dissect_struct_obd_dqblk(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqblk);
2576 lustre_dissect_element_obd_quotactl_qc_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2578 offset=lustre_dissect_struct_obd_dqinfo(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqinfo);
2583 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_)
2585 proto_item *item = NULL;
2586 proto_tree *tree = NULL;
2592 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2593 tree = proto_item_add_subtree(item, ett_lustre_obd_quotactl);
2596 offset=lustre_dissect_element_obd_quotactl_qc_cmd(tvb, offset, pinfo, tree);
2598 offset=lustre_dissect_element_obd_quotactl_qc_type(tvb, offset, pinfo, tree);
2600 offset=lustre_dissect_element_obd_quotactl_qc_id(tvb, offset, pinfo, tree);
2602 offset=lustre_dissect_element_obd_quotactl_qc_stat(tvb, offset, pinfo, tree);
2604 offset=lustre_dissect_element_obd_quotactl_qc_dqinfo(tvb, offset, pinfo, tree);
2606 offset=lustre_dissect_element_obd_quotactl_qc_dqblk(tvb, offset, pinfo, tree);
2609 proto_item_set_len(item, offset-old_offset);
2615 /* IDL: struct quota_adjust_qunit { */
2616 /* IDL: uint32 qaq_flags; */
2617 /* IDL: uint32 qaq_id; */
2618 /* IDL: uint64 qaq_bunit_sz; */
2619 /* IDL: uint64 qaq_iunit_sz; */
2620 /* IDL: uint64 padding1; */
2624 lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2626 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_flags);
2632 lustre_dissect_element_quota_adjust_qunit_qaq_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2634 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_id);
2640 lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2642 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_bunit_sz);
2648 lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2650 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_iunit_sz);
2656 lustre_dissect_element_quota_adjust_qunit_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2658 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_padding1);
2664 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_)
2666 proto_item *item = NULL;
2667 proto_tree *tree = NULL;
2675 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2676 tree = proto_item_add_subtree(item, ett_lustre_quota_adjust_qunit);
2679 offset=lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvb, offset, pinfo, tree);
2681 offset=lustre_dissect_element_quota_adjust_qunit_qaq_id(tvb, offset, pinfo, tree);
2683 offset=lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvb, offset, pinfo, tree);
2685 offset=lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvb, offset, pinfo, tree);
2687 offset=lustre_dissect_element_quota_adjust_qunit_padding1(tvb, offset, pinfo, tree);
2690 proto_item_set_len(item, offset-old_offset);
2695 /* IDL: struct mdt_body { */
2696 /* IDL: struct lu_fid { */
2698 /* IDL: struct lu_fid { */
2700 /* IDL: struct lustre_handle { */
2701 /* IDL: } handle; */
2702 /* IDL: uint64 valid; */
2703 /* IDL: uint64 size; */
2704 /* IDL: uint64 mtime; */
2705 /* IDL: uint64 atime; */
2706 /* IDL: uint64 ctime; */
2707 /* IDL: uint64 blocks; */
2708 /* IDL: uint64 ioepoch; */
2709 /* IDL: uint64 ino; */
2710 /* IDL: uint32 fsuid; */
2711 /* IDL: uint32 fsgid; */
2712 /* IDL: uint32 capability; */
2713 /* IDL: uint32 mode; */
2714 /* IDL: uint32 uid; */
2715 /* IDL: uint32 gid; */
2716 /* IDL: uint32 flags; */
2717 /* IDL: uint32 rdev; */
2718 /* IDL: uint32 nlink; */
2719 /* IDL: uint32 generation; */
2720 /* IDL: uint32 suppgid; */
2721 /* IDL: uint32 eadatasize; */
2722 /* IDL: uint32 aclsize; */
2723 /* IDL: uint32 max_mdsize; */
2724 /* IDL: uint32 max_cookiesize; */
2725 /* IDL: uint32 uid_h; */
2726 /* IDL: uint32 gid_h; */
2727 /* IDL: uint32 padding_5; */
2728 /* IDL: uint64 padding_6; */
2729 /* IDL: uint64 padding_7; */
2730 /* IDL: uint64 padding_8; */
2731 /* IDL: uint64 padding_9; */
2732 /* IDL: uint64 padding_10; */
2736 lustre_dissect_element_mdt_body_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2738 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid1);
2743 lustre_dissect_element_mdt_body_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2745 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid2);
2750 lustre_dissect_element_mdt_body_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2752 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
2758 lustre_dissect_element_mdt_body_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2760 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_valid);
2766 lustre_dissect_element_mdt_body_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2768 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_size);
2774 lustre_dissect_element_mdt_body_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2778 ns.secs = tvb_get_letohl(tvb,offset);
2780 proto_tree_add_time(tree, hf_lustre_mdt_body_mtime, tvb, offset, 8, &ns );
2786 lustre_dissect_element_mdt_body_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2790 ns.secs = tvb_get_letohl(tvb,offset);
2792 proto_tree_add_time(tree, hf_lustre_mdt_body_atime, tvb, offset, 8, &ns );
2799 lustre_dissect_element_mdt_body_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2803 ns.secs = tvb_get_letohl(tvb,offset);
2805 proto_tree_add_time(tree, hf_lustre_mdt_body_ctime, tvb, offset, 8, &ns );
2811 lustre_dissect_element_mdt_body_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2813 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_blocks);
2819 lustre_dissect_element_mdt_body_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2821 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ioepoch);
2827 lustre_dissect_element_mdt_body_ino(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2829 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ino);
2835 lustre_dissect_element_mdt_body_fsuid(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_fsuid);
2843 lustre_dissect_element_mdt_body_fsgid(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_fsgid);
2851 lustre_dissect_element_mdt_body_capability(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2853 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_capability);
2859 lustre_dissect_element_mdt_body_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2861 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_mode);
2867 lustre_dissect_element_mdt_body_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2869 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid);
2875 lustre_dissect_element_mdt_body_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2877 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid);
2883 lustre_dissect_element_mdt_body_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2885 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_flags);
2891 lustre_dissect_element_mdt_body_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2893 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_rdev);
2899 lustre_dissect_element_mdt_body_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2901 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_nlink);
2907 lustre_dissect_element_mdt_body_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2909 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_generation);
2915 lustre_dissect_element_mdt_body_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2917 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_suppgid);
2923 lustre_dissect_element_mdt_body_eadatasize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2925 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_eadatasize);
2931 lustre_dissect_element_mdt_body_aclsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2933 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_aclsize);
2939 lustre_dissect_element_mdt_body_max_mdsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2941 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_mdsize);
2947 lustre_dissect_element_mdt_body_max_cookiesize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2949 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_cookiesize);
2955 lustre_dissect_element_mdt_body_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2957 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid_h);
2963 lustre_dissect_element_mdt_body_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2965 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid_h);
2971 lustre_dissect_element_mdt_body_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2973 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_5);
2979 lustre_dissect_element_mdt_body_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2981 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_6);
2987 lustre_dissect_element_mdt_body_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2989 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_7);
2995 lustre_dissect_element_mdt_body_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2997 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_8);
3003 lustre_dissect_element_mdt_body_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3005 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_9);
3011 lustre_dissect_element_mdt_body_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3013 offset= dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_10);
3019 lustre_dissect_struct_mdt_body(tvbuff_t *tvb _U_, int offset _U_,
3020 packet_info *pinfo _U_,
3021 proto_tree *parent_tree _U_,
3024 proto_item *item = NULL;
3025 proto_tree *tree = NULL;
3032 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3033 tree = proto_item_add_subtree(item, ett_lustre_mdt_body);
3036 offset=lustre_dissect_element_mdt_body_fid1(tvb, offset, pinfo, tree);
3038 offset=lustre_dissect_element_mdt_body_fid2(tvb, offset, pinfo, tree);
3040 offset=lustre_dissect_element_mdt_body_handle(tvb, offset, pinfo, tree);
3042 offset=lustre_dissect_element_mdt_body_valid(tvb, offset, pinfo, tree);
3044 offset=lustre_dissect_element_mdt_body_size(tvb, offset, pinfo, tree);
3046 offset=lustre_dissect_element_mdt_body_mtime(tvb, offset, pinfo, tree);
3048 offset=lustre_dissect_element_mdt_body_atime(tvb, offset, pinfo, tree);
3050 offset=lustre_dissect_element_mdt_body_ctime(tvb, offset, pinfo, tree);
3052 offset=lustre_dissect_element_mdt_body_blocks(tvb, offset, pinfo, tree);
3054 offset=lustre_dissect_element_mdt_body_ioepoch(tvb, offset, pinfo, tree);
3056 offset=lustre_dissect_element_mdt_body_ino(tvb, offset, pinfo, tree);
3058 offset=lustre_dissect_element_mdt_body_fsuid(tvb, offset, pinfo, tree);
3060 offset=lustre_dissect_element_mdt_body_fsgid(tvb, offset, pinfo, tree);
3062 offset=lustre_dissect_element_mdt_body_capability(tvb, offset, pinfo, tree);
3064 offset=lustre_dissect_element_mdt_body_mode(tvb, offset, pinfo, tree);
3066 offset=lustre_dissect_element_mdt_body_uid(tvb, offset, pinfo, tree);
3068 offset=lustre_dissect_element_mdt_body_gid(tvb, offset, pinfo, tree);
3070 offset=lustre_dissect_element_mdt_body_flags(tvb, offset, pinfo, tree);
3072 offset=lustre_dissect_element_mdt_body_rdev(tvb, offset, pinfo, tree);
3074 offset=lustre_dissect_element_mdt_body_nlink(tvb, offset, pinfo, tree);
3076 offset=lustre_dissect_element_mdt_body_generation(tvb, offset, pinfo, tree);
3078 offset=lustre_dissect_element_mdt_body_suppgid(tvb, offset, pinfo, tree);
3080 offset=lustre_dissect_element_mdt_body_eadatasize(tvb, offset, pinfo, tree);
3082 offset=lustre_dissect_element_mdt_body_aclsize(tvb, offset, pinfo, tree);
3084 offset=lustre_dissect_element_mdt_body_max_mdsize(tvb, offset, pinfo, tree);
3086 offset=lustre_dissect_element_mdt_body_max_cookiesize(tvb, offset, pinfo, tree);
3088 offset=lustre_dissect_element_mdt_body_uid_h(tvb, offset, pinfo, tree);
3090 offset=lustre_dissect_element_mdt_body_gid_h(tvb, offset, pinfo, tree);
3092 offset=lustre_dissect_element_mdt_body_padding_5(tvb, offset, pinfo, tree);
3094 offset=lustre_dissect_element_mdt_body_padding_6(tvb, offset, pinfo, tree);
3096 offset=lustre_dissect_element_mdt_body_padding_7(tvb, offset, pinfo, tree);
3098 offset=lustre_dissect_element_mdt_body_padding_8(tvb, offset, pinfo, tree);
3100 offset=lustre_dissect_element_mdt_body_padding_9(tvb, offset, pinfo, tree);
3102 offset=lustre_dissect_element_mdt_body_padding_10(tvb, offset, pinfo, tree);
3105 proto_item_set_len(item, offset-old_offset);
3110 /* I don't find where this struct appear on wire.. need to search mdc_setattr_pack() */
3111 /* IDL: struct mdt_rec_setattr { */
3112 /* IDL: uint32 sa_opcode; */
3113 /* IDL: uint32 sa_cap; */
3114 /* IDL: uint32 sa_fsuid; */
3115 /* IDL: uint32 sa_fsuid_h; */
3116 /* IDL: uint32 sa_fsgid; */
3117 /* IDL: uint32 sa_fsgid_h; */
3118 /* IDL: uint32 sa_suppgid; */
3119 /* IDL: uint32 sa_suppgid_h; */
3120 /* IDL: uint32 sa_padding_1; */
3121 /* IDL: uint32 sa_padding_1_h; */
3122 /* IDL: struct lu_fid { */
3123 /* IDL: } sa_fid; */
3124 /* IDL: uint64 sa_valid; */
3125 /* IDL: uint32 sa_uid; */
3126 /* IDL: uint32 sa_gid; */
3127 /* IDL: uint64 sa_size; */
3128 /* IDL: uint64 sa_blocks; */
3129 /* IDL: uint64 sa_mtime; */
3130 /* IDL: uint64 sa_atime; */
3131 /* IDL: uint64 sa_ctime; */
3132 /* IDL: uint32 sa_attr_flags; */
3133 /* IDL: uint32 sa_mode; */
3134 /* IDL: uint32 sa_padding_2; */
3135 /* IDL: uint32 sa_padding_3; */
3136 /* IDL: uint32 sa_padding_4; */
3137 /* IDL: uint32 sa_padding_5; */
3141 lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3143 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_opcode);
3149 lustre_dissect_element_mdt_rec_setattr_sa_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3151 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_cap);
3157 lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3159 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid);
3165 lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3167 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid_h);
3173 lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3175 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid);
3181 lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3183 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid_h);
3189 lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3191 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid);
3197 lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3199 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid_h);
3205 lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3207 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1);
3213 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_)
3215 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1_h);
3221 lustre_dissect_element_mdt_rec_setattr_sa_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3223 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setattr_sa_fid);
3229 lustre_dissect_element_mdt_rec_setattr_sa_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3231 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_valid);
3237 lustre_dissect_element_mdt_rec_setattr_sa_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3239 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_uid);
3245 lustre_dissect_element_mdt_rec_setattr_sa_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3247 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_gid);
3253 lustre_dissect_element_mdt_rec_setattr_sa_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3255 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_size);
3261 lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3263 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_blocks);
3269 lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3274 ns.secs = tvb_get_letohl(tvb,offset);
3276 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_mtime, tvb, offset, 8, &ns );
3282 lustre_dissect_element_mdt_rec_setattr_sa_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3286 ns.secs = tvb_get_letohl(tvb,offset);
3288 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_atime, tvb, offset, 8, &ns );
3294 lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3298 ns.secs = tvb_get_letohl(tvb,offset);
3300 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_ctime, tvb, offset, 8, &ns );
3306 lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3308 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_attr_flags);
3314 lustre_dissect_element_mdt_rec_setattr_sa_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3316 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_mode);
3322 lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3324 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_2);
3330 lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3332 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_3);
3338 lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3340 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_4);
3346 lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3348 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_5);
3354 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_)
3356 proto_item *item = NULL;
3357 proto_tree *tree = NULL;
3366 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3367 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setattr);
3369 sa_opcode=tvb_get_letohl(tvb,offset);
3370 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sa_opcode, lustre_mds_reint_t_vals, "Unknown sa_opc"));
3372 offset=lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvb, offset, pinfo, tree);
3374 offset=lustre_dissect_element_mdt_rec_setattr_sa_cap(tvb, offset, pinfo, tree);
3376 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvb, offset, pinfo, tree);
3378 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvb, offset, pinfo, tree);
3380 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvb, offset, pinfo, tree);
3382 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvb, offset, pinfo, tree);
3384 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvb, offset, pinfo, tree);
3386 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvb, offset, pinfo, tree);
3388 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvb, offset, pinfo, tree);
3390 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvb, offset, pinfo, tree);
3392 offset=lustre_dissect_element_mdt_rec_setattr_sa_fid(tvb, offset, pinfo, tree);
3394 offset=lustre_dissect_element_mdt_rec_setattr_sa_valid(tvb, offset, pinfo, tree);
3396 offset=lustre_dissect_element_mdt_rec_setattr_sa_uid(tvb, offset, pinfo, tree);
3398 offset=lustre_dissect_element_mdt_rec_setattr_sa_gid(tvb, offset, pinfo, tree);
3400 offset=lustre_dissect_element_mdt_rec_setattr_sa_size(tvb, offset, pinfo, tree);
3402 offset=lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvb, offset, pinfo, tree);
3404 offset=lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvb, offset, pinfo, tree);
3406 offset=lustre_dissect_element_mdt_rec_setattr_sa_atime(tvb, offset, pinfo, tree);
3408 offset=lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvb, offset, pinfo, tree);
3410 offset=lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvb, offset, pinfo, tree);
3412 offset=lustre_dissect_element_mdt_rec_setattr_sa_mode(tvb, offset, pinfo, tree);
3414 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvb, offset, pinfo, tree);
3416 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvb, offset, pinfo, tree);
3418 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvb, offset, pinfo, tree);
3420 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvb, offset, pinfo, tree);
3423 proto_item_set_len(item, offset-old_offset);
3428 /* IDL: struct mdt_rec_create { */
3429 /* IDL: uint32 cr_opcode; */
3430 /* IDL: uint32 cr_cap; */
3431 /* IDL: uint32 cr_fsuid; */
3432 /* IDL: uint32 cr_fsuid_h; */
3433 /* IDL: uint32 cr_fsgid; */
3434 /* IDL: uint32 cr_fsgid_h; */
3435 /* IDL: uint32 cr_suppgid1; */
3436 /* IDL: uint32 cr_suppgid1_h; */
3437 /* IDL: uint32 cr_suppgid2; */
3438 /* IDL: uint32 cr_suppgid2_h; */
3439 /* IDL: struct lu_fid { */
3440 /* IDL: } cr_fid1; */
3441 /* IDL: struct lu_fid { */
3442 /* IDL: } cr_fid2; */
3443 /* IDL: struct lustre_handle { */
3444 /* IDL: } cr_old_handle; */
3445 /* IDL: uint64 cr_time; */
3446 /* IDL: uint64 cr_rdev; */
3447 /* IDL: uint64 cr_ioepoch; */
3448 /* IDL: uint64 cr_padding_1; */
3449 /* IDL: uint32 cr_mode; */
3450 /* IDL: uint32 cr_bias; */
3451 /* IDL: uint32 cr_flags_l; */
3452 /* IDL: uint32 cr_flags_h; */
3453 /* IDL: uint32 cr_umask; */
3454 /* IDL: uint32 cr_padding_4; */
3458 lustre_dissect_element_mdt_rec_create_cr_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3460 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_opcode);
3466 lustre_dissect_element_mdt_rec_create_cr_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3468 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_cap);
3474 lustre_dissect_element_mdt_rec_create_cr_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3476 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid);
3482 lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3484 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid_h);
3490 lustre_dissect_element_mdt_rec_create_cr_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3492 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid);
3498 lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3500 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid_h);
3506 lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3508 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1);
3514 lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3516 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1_h);
3522 lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3524 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2);
3530 lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3532 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2_h);
3538 lustre_dissect_element_mdt_rec_create_cr_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3540 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid1);
3545 lustre_dissect_element_mdt_rec_create_cr_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3547 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid2);
3552 lustre_dissect_element_mdt_rec_create_cr_old_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3554 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_old_handle);
3559 lustre_dissect_element_mdt_rec_create_cr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3563 ns.secs = tvb_get_letohl(tvb,offset);
3565 proto_tree_add_time(tree, hf_lustre_mdt_rec_create_cr_time, tvb, offset, 8, &ns );
3572 lustre_dissect_element_mdt_rec_create_cr_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3574 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_rdev);
3580 lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3582 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_ioepoch);
3588 lustre_dissect_element_mdt_rec_create_cr_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3590 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_1);
3596 lustre_dissect_element_mdt_rec_create_cr_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3598 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_mode);
3604 lustre_dissect_element_mdt_rec_create_cr_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3606 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_bias);
3612 lustre_dissect_element_mdt_rec_create_cr_flags_l(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3614 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_l);
3620 lustre_dissect_element_mdt_rec_create_cr_flags_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3622 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_h);
3628 lustre_dissect_element_mdt_rec_create_cr_umask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3630 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_umask);
3636 lustre_dissect_element_mdt_rec_create_cr_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3638 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_4);
3644 lustre_dissect_struct_mdt_rec_create(tvbuff_t *tvb _U_, int offset _U_,
3645 packet_info *pinfo _U_,
3646 proto_tree *parent_tree _U_,
3649 proto_item *item = NULL;
3650 proto_tree *tree = NULL;
3657 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3658 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_create);
3660 cr_opcode=tvb_get_letohl(tvb,offset);
3661 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(cr_opcode, lustre_mds_reint_t_vals, "Unknown cr_opc"));
3663 offset=lustre_dissect_element_mdt_rec_create_cr_opcode(tvb, offset, pinfo, tree);
3665 offset=lustre_dissect_element_mdt_rec_create_cr_cap(tvb, offset, pinfo, tree);
3667 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid(tvb, offset, pinfo, tree);
3669 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvb, offset, pinfo, tree);
3671 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid(tvb, offset, pinfo, tree);
3673 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvb, offset, pinfo, tree);
3675 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvb, offset, pinfo, tree);
3677 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvb, offset, pinfo, tree);
3679 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvb, offset, pinfo, tree);
3681 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvb, offset, pinfo, tree);
3683 offset=lustre_dissect_element_mdt_rec_create_cr_fid1(tvb, offset, pinfo, tree);
3685 offset=lustre_dissect_element_mdt_rec_create_cr_fid2(tvb, offset, pinfo, tree);
3687 offset=lustre_dissect_element_mdt_rec_create_cr_old_handle(tvb, offset, pinfo, tree);
3689 offset=lustre_dissect_element_mdt_rec_create_cr_time(tvb, offset, pinfo, tree);
3691 offset=lustre_dissect_element_mdt_rec_create_cr_rdev(tvb, offset, pinfo, tree);
3693 offset=lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvb, offset, pinfo, tree);
3695 offset=lustre_dissect_element_mdt_rec_create_cr_padding_1(tvb, offset, pinfo, tree);
3697 offset=lustre_dissect_element_mdt_rec_create_cr_mode(tvb, offset, pinfo, tree);
3699 offset=lustre_dissect_element_mdt_rec_create_cr_bias(tvb, offset, pinfo, tree);
3701 offset=lustre_dissect_element_mdt_rec_create_cr_flags_l(tvb, offset, pinfo, tree);
3703 offset=lustre_dissect_element_mdt_rec_create_cr_flags_h(tvb, offset, pinfo, tree);
3705 offset=lustre_dissect_element_mdt_rec_create_cr_umask(tvb, offset, pinfo, tree);
3707 offset=lustre_dissect_element_mdt_rec_create_cr_padding_4(tvb, offset, pinfo, tree);
3709 proto_item_set_len(item, offset-old_offset);
3714 /* TODO : find where this structure appear ! */
3715 /* IDL: struct mdt_rec_link { */
3716 /* IDL: uint32 lk_opcode; */
3717 /* IDL: uint32 lk_cap; */
3718 /* IDL: uint32 lk_fsuid; */
3719 /* IDL: uint32 lk_fsuid_h; */
3720 /* IDL: uint32 lk_fsgid; */
3721 /* IDL: uint32 lk_fsgid_h; */
3722 /* IDL: uint32 lk_suppgid1; */
3723 /* IDL: uint32 lk_suppgid1_h; */
3724 /* IDL: uint32 lk_suppgid2; */
3725 /* IDL: uint32 lk_suppgid2_h; */
3726 /* IDL: struct lu_fid { */
3727 /* IDL: } lk_fid1; */
3728 /* IDL: struct lu_fid { */
3729 /* IDL: } lk_fid2; */
3730 /* IDL: uint64 lk_time; */
3731 /* IDL: uint64 lk_padding_1; */
3732 /* IDL: uint64 lk_padding_2; */
3733 /* IDL: uint64 lk_padding_3; */
3734 /* IDL: uint64 lk_padding_4; */
3735 /* IDL: uint32 lk_bias; */
3736 /* IDL: uint32 lk_padding_5; */
3737 /* IDL: uint32 lk_padding_6; */
3738 /* IDL: uint32 lk_padding_7; */
3739 /* IDL: uint32 lk_padding_8; */
3740 /* IDL: uint32 lk_padding_9; */
3744 lustre_dissect_element_mdt_rec_link_lk_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3746 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_opcode);
3752 lustre_dissect_element_mdt_rec_link_lk_cap(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_cap);
3760 lustre_dissect_element_mdt_rec_link_lk_fsuid(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_fsuid);
3768 lustre_dissect_element_mdt_rec_link_lk_fsuid_h(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_fsuid_h);
3776 lustre_dissect_element_mdt_rec_link_lk_fsgid(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_fsgid);
3784 lustre_dissect_element_mdt_rec_link_lk_fsgid_h(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_fsgid_h);
3792 lustre_dissect_element_mdt_rec_link_lk_suppgid1(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_suppgid1);
3800 lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3802 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1_h);
3808 lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3810 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2);
3816 lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3818 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2_h);
3824 lustre_dissect_element_mdt_rec_link_lk_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3826 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid1);
3831 lustre_dissect_element_mdt_rec_link_lk_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3833 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid2);
3838 lustre_dissect_element_mdt_rec_link_lk_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3842 ns.secs = tvb_get_letohl(tvb,offset);
3844 proto_tree_add_time(tree, hf_lustre_mdt_rec_link_lk_time, tvb, offset, 8, &ns );
3850 lustre_dissect_element_mdt_rec_link_lk_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3852 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_1);
3858 lustre_dissect_element_mdt_rec_link_lk_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3860 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_2);
3866 lustre_dissect_element_mdt_rec_link_lk_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3868 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_3);
3874 lustre_dissect_element_mdt_rec_link_lk_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3876 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_4);
3882 lustre_dissect_element_mdt_rec_link_lk_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3884 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_bias);
3890 lustre_dissect_element_mdt_rec_link_lk_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3892 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_5);
3898 lustre_dissect_element_mdt_rec_link_lk_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3900 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_6);
3906 lustre_dissect_element_mdt_rec_link_lk_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3908 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_7);
3914 lustre_dissect_element_mdt_rec_link_lk_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3916 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_8);
3922 lustre_dissect_element_mdt_rec_link_lk_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3924 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_9);
3930 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_)
3932 proto_item *item = NULL;
3933 proto_tree *tree = NULL;
3942 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3943 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_link);
3945 lk_opcode=tvb_get_letohl(tvb,offset);
3946 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lk_opcode, lustre_mds_reint_t_vals, "Unknown lk_opc"));
3948 offset=lustre_dissect_element_mdt_rec_link_lk_opcode(tvb, offset, pinfo, tree);
3950 offset=lustre_dissect_element_mdt_rec_link_lk_cap(tvb, offset, pinfo, tree);
3952 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid(tvb, offset, pinfo, tree);
3954 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvb, offset, pinfo, tree);
3956 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid(tvb, offset, pinfo, tree);
3958 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvb, offset, pinfo, tree);
3960 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvb, offset, pinfo, tree);
3962 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvb, offset, pinfo, tree);
3964 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvb, offset, pinfo, tree);
3966 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvb, offset, pinfo, tree);
3968 offset=lustre_dissect_element_mdt_rec_link_lk_fid1(tvb, offset, pinfo, tree);
3970 offset=lustre_dissect_element_mdt_rec_link_lk_fid2(tvb, offset, pinfo, tree);
3972 offset=lustre_dissect_element_mdt_rec_link_lk_time(tvb, offset, pinfo, tree);
3974 offset=lustre_dissect_element_mdt_rec_link_lk_padding_1(tvb, offset, pinfo, tree);
3976 offset=lustre_dissect_element_mdt_rec_link_lk_padding_2(tvb, offset, pinfo, tree);
3978 offset=lustre_dissect_element_mdt_rec_link_lk_padding_3(tvb, offset, pinfo, tree);
3980 offset=lustre_dissect_element_mdt_rec_link_lk_padding_4(tvb, offset, pinfo, tree);
3982 offset=lustre_dissect_element_mdt_rec_link_lk_bias(tvb, offset, pinfo, tree);
3984 offset=lustre_dissect_element_mdt_rec_link_lk_padding_5(tvb, offset, pinfo, tree);
3986 offset=lustre_dissect_element_mdt_rec_link_lk_padding_6(tvb, offset, pinfo, tree);
3988 offset=lustre_dissect_element_mdt_rec_link_lk_padding_7(tvb, offset, pinfo, tree);
3990 offset=lustre_dissect_element_mdt_rec_link_lk_padding_8(tvb, offset, pinfo, tree);
3992 offset=lustre_dissect_element_mdt_rec_link_lk_padding_9(tvb, offset, pinfo, tree);
3995 proto_item_set_len(item, offset-old_offset);
4000 /* IDL: struct mdt_rec_unlink { */
4001 /* IDL: uint32 ul_opcode; */
4002 /* IDL: uint32 ul_cap; */
4003 /* IDL: uint32 ul_fsuid; */
4004 /* IDL: uint32 ul_fsuid_h; */
4005 /* IDL: uint32 ul_fsgid; */
4006 /* IDL: uint32 ul_fsgid_h; */
4007 /* IDL: uint32 ul_suppgid1; */
4008 /* IDL: uint32 ul_suppgid1_h; */
4009 /* IDL: uint32 ul_suppgid2; */
4010 /* IDL: uint32 ul_suppgid2_h; */
4011 /* IDL: struct lu_fid { */
4012 /* IDL: } ul_fid1; */
4013 /* IDL: struct lu_fid { */
4014 /* IDL: } ul_fid2; */
4015 /* IDL: uint64 ul_time; */
4016 /* IDL: uint64 ul_padding_2; */
4017 /* IDL: uint64 ul_padding_3; */
4018 /* IDL: uint64 ul_padding_4; */
4019 /* IDL: uint64 ul_padding_5; */
4020 /* IDL: uint32 ul_bias; */
4021 /* IDL: uint32 ul_mode; */
4022 /* IDL: uint32 ul_padding_6; */
4023 /* IDL: uint32 ul_padding_7; */
4024 /* IDL: uint32 ul_padding_8; */
4025 /* IDL: uint32 ul_padding_9; */
4029 lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4031 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_opcode);
4037 lustre_dissect_element_mdt_rec_unlink_ul_cap(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_cap);
4045 lustre_dissect_element_mdt_rec_unlink_ul_fsuid(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_fsuid);
4053 lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(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_fsuid_h);
4061 lustre_dissect_element_mdt_rec_unlink_ul_fsgid(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_fsgid);
4069 lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(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_fsgid_h);
4077 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(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_suppgid1);
4085 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4087 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1_h);
4093 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4095 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2);
4101 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4103 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2_h);
4109 lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4111 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid1);
4116 lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4118 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid2);
4123 lustre_dissect_element_mdt_rec_unlink_ul_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4127 ns.secs = tvb_get_letohl(tvb,offset);
4129 proto_tree_add_time(tree,hf_lustre_mdt_rec_unlink_ul_time , tvb, offset, 8, &ns );
4135 lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4137 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_2);
4143 lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4145 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_3);
4151 lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4153 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_4);
4159 lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4161 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_5);
4167 lustre_dissect_element_mdt_rec_unlink_ul_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4169 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_bias);
4175 lustre_dissect_element_mdt_rec_unlink_ul_mode(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_unlink_ul_mode);
4183 lustre_dissect_element_mdt_rec_unlink_ul_padding_6(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_unlink_ul_padding_6);
4191 lustre_dissect_element_mdt_rec_unlink_ul_padding_7(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_unlink_ul_padding_7);
4199 lustre_dissect_element_mdt_rec_unlink_ul_padding_8(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_unlink_ul_padding_8);
4207 lustre_dissect_element_mdt_rec_unlink_ul_padding_9(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_unlink_ul_padding_9);
4215 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_)
4217 proto_item *item = NULL;
4218 proto_tree *tree = NULL;
4227 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4228 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_unlink);
4231 ul_opcode=tvb_get_letohl(tvb,offset);
4232 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(ul_opcode, lustre_mds_reint_t_vals, "Unknown ul_opc"));
4234 offset=lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvb, offset, pinfo, tree);
4236 offset=lustre_dissect_element_mdt_rec_unlink_ul_cap(tvb, offset, pinfo, tree);
4238 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvb, offset, pinfo, tree);
4240 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvb, offset, pinfo, tree);
4242 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvb, offset, pinfo, tree);
4244 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvb, offset, pinfo, tree);
4246 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvb, offset, pinfo, tree);
4248 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvb, offset, pinfo, tree);
4250 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvb, offset, pinfo, tree);
4252 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvb, offset, pinfo, tree);
4254 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvb, offset, pinfo, tree);
4256 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvb, offset, pinfo, tree);
4258 offset=lustre_dissect_element_mdt_rec_unlink_ul_time(tvb, offset, pinfo, tree);
4260 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvb, offset, pinfo, tree);
4262 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvb, offset, pinfo, tree);
4264 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvb, offset, pinfo, tree);
4266 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvb, offset, pinfo, tree);
4268 offset=lustre_dissect_element_mdt_rec_unlink_ul_bias(tvb, offset, pinfo, tree);
4270 offset=lustre_dissect_element_mdt_rec_unlink_ul_mode(tvb, offset, pinfo, tree);
4272 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvb, offset, pinfo, tree);
4274 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvb, offset, pinfo, tree);
4276 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvb, offset, pinfo, tree);
4278 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvb, offset, pinfo, tree);
4281 proto_item_set_len(item, offset-old_offset);
4286 /* IDL: struct mdt_rec_rename { */
4287 /* IDL: uint32 rn_opcode; */
4288 /* IDL: uint32 rn_fsuid; */
4289 /* IDL: uint32 rn_fsgid; */
4290 /* IDL: uint32 rn_cap; */
4291 /* IDL: uint32 rn_suppgid1; */
4292 /* IDL: uint32 rn_suppgid2; */
4293 /* IDL: struct ll_fid { */
4294 /* IDL: } rn_fid1; */
4295 /* IDL: struct ll_fid { */
4296 /* IDL: } rn_fid2; */
4297 /* IDL: uint64 rn_time; */
4298 /* IDL: uint32 rn_padding_1; */
4299 /* IDL: uint32 rn_padding_2; */
4300 /* IDL: uint32 rn_padding_3; */
4301 /* IDL: uint32 rn_padding_4; */
4305 lustre_dissect_element_mdt_rec_rename_rn_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4307 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_opcode);
4313 lustre_dissect_element_mdt_rec_rename_rn_cap(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_cap);
4321 lustre_dissect_element_mdt_rec_rename_rn_fsuid(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_fsuid);
4329 lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(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_fsuid_h);
4337 lustre_dissect_element_mdt_rec_rename_rn_fsgid(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_fsgid);
4345 lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(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_fsgid_h);
4353 lustre_dissect_element_mdt_rec_rename_rn_suppgid1(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_suppgid1);
4361 lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4363 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1_h);
4369 lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4371 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2);
4377 lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4379 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2_h);
4385 lustre_dissect_element_mdt_rec_rename_rn_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4387 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid1);
4392 lustre_dissect_element_mdt_rec_rename_rn_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4394 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid2);
4399 lustre_dissect_element_mdt_rec_rename_rn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4403 ns.secs = tvb_get_letohl(tvb,offset);
4405 proto_tree_add_time(tree, hf_lustre_mdt_rec_rename_rn_time, tvb, offset, 8, &ns );
4411 lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4413 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_1);
4419 lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4421 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_2);
4427 lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4429 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_3);
4435 lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4437 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_4);
4443 lustre_dissect_element_mdt_rec_rename_rn_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4445 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_bias);
4451 lustre_dissect_element_mdt_rec_rename_rn_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4453 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_mode);
4459 lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4461 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_5);
4467 lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4469 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_6);
4475 lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4477 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_7);
4483 lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4485 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_8);
4491 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_)
4493 proto_item *item = NULL;
4494 proto_tree *tree = NULL;
4503 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4504 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_rename);
4507 rn_opcode=tvb_get_letohl(tvb,offset);
4508 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(rn_opcode, lustre_mds_reint_t_vals, "Unknown rn_opc"));
4510 offset=lustre_dissect_element_mdt_rec_rename_rn_opcode(tvb, offset, pinfo, tree);
4512 offset=lustre_dissect_element_mdt_rec_rename_rn_cap(tvb, offset, pinfo, tree);
4514 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvb, offset, pinfo, tree);
4516 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvb, offset, pinfo, tree);
4518 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvb, offset, pinfo, tree);
4520 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvb, offset, pinfo, tree);
4522 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvb, offset, pinfo, tree);
4524 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvb, offset, pinfo, tree);
4526 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvb, offset, pinfo, tree);
4528 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvb, offset, pinfo, tree);
4530 offset=lustre_dissect_element_mdt_rec_rename_rn_fid1(tvb, offset, pinfo, tree);
4532 offset=lustre_dissect_element_mdt_rec_rename_rn_fid2(tvb, offset, pinfo, tree);
4534 offset=lustre_dissect_element_mdt_rec_rename_rn_time(tvb, offset, pinfo, tree);
4536 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvb, offset, pinfo, tree);
4538 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvb, offset, pinfo, tree);
4540 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvb, offset, pinfo, tree);
4542 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvb, offset, pinfo, tree);
4544 offset=lustre_dissect_element_mdt_rec_rename_rn_bias(tvb, offset, pinfo, tree);
4546 offset=lustre_dissect_element_mdt_rec_rename_rn_mode(tvb, offset, pinfo, tree);
4548 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvb, offset, pinfo, tree);
4550 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvb, offset, pinfo, tree);
4552 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvb, offset, pinfo, tree);
4554 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvb, offset, pinfo, tree);
4557 proto_item_set_len(item, offset-old_offset);
4562 /* I don't find where this struct appear on wire.. need to search mdc_setxattr_pack() */
4563 /* IDL: struct mdt_rec_setxattr { */
4564 /* IDL: uint32 sx_opcode; */
4565 /* IDL: uint32 sx_cap; */
4566 /* IDL: uint32 sx_fsuid; */
4567 /* IDL: uint32 sx_fsuid_h; */
4568 /* IDL: uint32 sx_fsgid; */
4569 /* IDL: uint32 sx_fsgid_h; */
4570 /* IDL: uint32 sx_suppgid1; */
4571 /* IDL: uint32 sx_suppgid1_h; */
4572 /* IDL: uint32 sx_suppgid2; */
4573 /* IDL: uint32 sx_suppgid2_h; */
4574 /* IDL: struct lu_fid { */
4575 /* IDL: } sx_fid; */
4576 /* IDL: uint64 sx_padding_1; */
4577 /* IDL: uint32 sx_padding_2; */
4578 /* IDL: uint32 sx_padding_3; */
4579 /* IDL: uint64 sx_valid; */
4580 /* IDL: uint64 sx_time; */
4581 /* IDL: uint64 sx_padding_5; */
4582 /* IDL: uint64 sx_padding_6; */
4583 /* IDL: uint64 sx_padding_7; */
4584 /* IDL: uint32 sx_size; */
4585 /* IDL: uint32 sx_flags; */
4586 /* IDL: uint32 sx_padding_8; */
4587 /* IDL: uint32 sx_padding_9; */
4588 /* IDL: uint32 sx_padding_10; */
4589 /* IDL: uint32 sx_padding_11; */
4593 lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4595 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_opcode);
4601 lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4603 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_cap);
4609 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4611 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid);
4617 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4619 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid_h);
4625 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4627 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid);
4633 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4635 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid_h);
4641 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4643 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1);
4649 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4651 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1_h);
4657 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4659 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2);
4665 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4667 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2_h);
4673 lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4675 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setxattr_sx_fid);
4681 lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4683 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_1);
4689 lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4691 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_2);
4697 lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4699 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_3);
4705 lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4707 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_valid);
4713 lustre_dissect_element_mdt_rec_setxattr_sx_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4718 ns.secs = tvb_get_letohl(tvb,offset);
4720 proto_tree_add_time(tree, hf_lustre_mdt_rec_setxattr_sx_time, tvb, offset, 8, &ns );
4726 lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4728 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_5);
4734 lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4736 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_6);
4742 lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4744 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_7);
4750 lustre_dissect_element_mdt_rec_setxattr_sx_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4752 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_size);
4758 lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4760 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_flags);
4766 lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4768 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_8);
4774 lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4776 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_9);
4782 lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4784 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_10);
4790 lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4792 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_11);
4798 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_)
4800 proto_item *item = NULL;
4801 proto_tree *tree = NULL;
4810 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4811 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setxattr);
4813 sx_opcode=tvb_get_letohl(tvb,offset);
4814 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sx_opcode, lustre_mds_reint_t_vals, "Unknown sx_opc"));
4816 offset=lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvb, offset, pinfo, tree);
4818 offset=lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvb, offset, pinfo, tree);
4820 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvb, offset, pinfo, tree);
4822 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvb, offset, pinfo, tree);
4824 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvb, offset, pinfo, tree);
4826 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvb, offset, pinfo, tree);
4828 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvb, offset, pinfo, tree);
4830 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvb, offset, pinfo, tree);
4832 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvb, offset, pinfo, tree);
4834 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvb, offset, pinfo, tree);
4836 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvb, offset, pinfo, tree);
4838 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvb, offset, pinfo, tree);
4840 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvb, offset, pinfo, tree);
4842 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvb, offset, pinfo, tree);
4844 offset=lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvb, offset, pinfo, tree);
4846 offset=lustre_dissect_element_mdt_rec_setxattr_sx_time(tvb, offset, pinfo, tree);
4848 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvb, offset, pinfo, tree);
4850 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvb, offset, pinfo, tree);
4852 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvb, offset, pinfo, tree);
4854 offset=lustre_dissect_element_mdt_rec_setxattr_sx_size(tvb, offset, pinfo, tree);
4856 offset=lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvb, offset, pinfo, tree);
4858 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvb, offset, pinfo, tree);
4860 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvb, offset, pinfo, tree);
4862 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvb, offset, pinfo, tree);
4864 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvb, offset, pinfo, tree);
4867 proto_item_set_len(item, offset-old_offset);
4873 /* TODO : find where this structure appear */
4875 /* IDL: struct lov_desc { */
4876 /* IDL: uint32 ld_tgt_count; */
4877 /* IDL: uint32 ld_active_tgt_count; */
4878 /* IDL: uint32 ld_default_stripe_count; */
4879 /* IDL: uint32 ld_pattern; */
4880 /* IDL: uint64 ld_default_stripe_size; */
4881 /* IDL: uint64 ld_default_stripe_offset; */
4882 /* IDL: uint32 ld_padding_0; */
4883 /* IDL: uint32 ld_qos_maxage; */
4884 /* IDL: uint32 ld_padding_1; */
4885 /* IDL: uint32 ld_padding_2; */
4886 /* IDL: struct obd_uuid { */
4887 /* IDL: } ld_uuid; */
4891 lustre_dissect_element_lov_desc_ld_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4893 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_tgt_count);
4899 lustre_dissect_element_lov_desc_ld_active_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4901 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_active_tgt_count);
4907 lustre_dissect_element_lov_desc_ld_default_stripe_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4909 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_count);
4915 lustre_dissect_element_lov_desc_ld_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4917 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_pattern);
4923 lustre_dissect_element_lov_desc_ld_default_stripe_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4925 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_size);
4931 lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4933 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_offset);
4939 lustre_dissect_element_lov_desc_ld_padding_0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4941 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_0);
4947 lustre_dissect_element_lov_desc_ld_qos_maxage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4949 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_qos_maxage);
4955 lustre_dissect_element_lov_desc_ld_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4957 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_1);
4963 lustre_dissect_element_lov_desc_ld_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4965 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_2);
4971 lustre_dissect_element_lov_desc_ld_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4973 //offset=lustre_dissect_struct_HASH(0x85bade8)(tvb,offset,pinfo,tree,hf_lustre_lov_desc_ld_uuid);
4978 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_)
4980 proto_item *item = NULL;
4981 proto_tree *tree = NULL;
4989 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4990 tree = proto_item_add_subtree(item, ett_lustre_lov_desc);
4993 offset=lustre_dissect_element_lov_desc_ld_tgt_count(tvb, offset, pinfo, tree);
4995 offset=lustre_dissect_element_lov_desc_ld_active_tgt_count(tvb, offset, pinfo, tree);
4997 offset=lustre_dissect_element_lov_desc_ld_default_stripe_count(tvb, offset, pinfo, tree);
4999 offset=lustre_dissect_element_lov_desc_ld_pattern(tvb, offset, pinfo, tree);
5001 offset=lustre_dissect_element_lov_desc_ld_default_stripe_size(tvb, offset, pinfo, tree);
5003 offset=lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvb, offset, pinfo, tree);
5005 offset=lustre_dissect_element_lov_desc_ld_padding_0(tvb, offset, pinfo, tree);
5007 offset=lustre_dissect_element_lov_desc_ld_qos_maxage(tvb, offset, pinfo, tree);
5009 offset=lustre_dissect_element_lov_desc_ld_padding_1(tvb, offset, pinfo, tree);
5011 offset=lustre_dissect_element_lov_desc_ld_padding_2(tvb, offset, pinfo, tree);
5013 offset=lustre_dissect_element_lov_desc_ld_uuid(tvb, offset, pinfo, tree);
5016 proto_item_set_len(item, offset-old_offset);
5021 /* IDL: struct obd_uuid { */
5022 /* char uuid[40]; */
5026 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_)
5028 /* the lenght of the string is 40 bytes max, with \0 inside */
5029 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 40, TRUE);
5037 /* IDL: struct ldlm_res_id { */
5038 /* IDL: uint64 name[4]; */
5042 lustre_dissect_element_ldlm_res_id_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5044 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_res_id_name);
5050 lustre_dissect_element_ldlm_res_id_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5053 for (i = 0; i < 4; i++)
5054 offset=lustre_dissect_element_ldlm_res_id_name_(tvb, offset, pinfo, tree);
5062 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_)
5064 proto_item *item = NULL;
5065 proto_tree *tree = NULL;
5073 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5074 tree = proto_item_add_subtree(item, ett_lustre_ldlm_res_id);
5077 offset=lustre_dissect_element_ldlm_res_id_name(tvb, offset, pinfo, tree);
5080 proto_item_set_len(item, offset-old_offset);
5087 /* IDL: LCK_MINMODE=0, */
5088 /* IDL: LCK_EX=1, */
5089 /* IDL: LCK_PW=2, */
5090 /* IDL: LCK_PR=4, */
5091 /* IDL: LCK_CW=8, */
5092 /* IDL: LCK_CR=16, */
5093 /* IDL: LCK_NL=32, */
5094 /* IDL: LCK_GROUP=64, */
5095 /* IDL: LCK_MAXMODE, */
5099 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_)
5101 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_index);
5107 /* IDL: LDLM_PLAIN=10, */
5108 /* IDL: LDLM_EXTENT=11, */
5109 /* IDL: LDLM_FLOCK=12, */
5110 /* IDL: LDLM_IBITS=13, */
5111 /* IDL: LDLM_MAX_TYPE, */
5115 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_)
5117 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type );
5121 /* IDL: struct ldlm_extent { */
5122 /* IDL: uint64 start; */
5123 /* IDL: uint64 end; */
5124 /* IDL: uint64 gid; */
5128 lustre_dissect_element_ldlm_extent_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5130 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_start);
5136 lustre_dissect_element_ldlm_extent_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5138 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_end);
5144 lustre_dissect_element_ldlm_extent_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5146 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_gid);
5152 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_)
5154 proto_item *item = NULL;
5155 proto_tree *tree = NULL;
5163 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5164 tree = proto_item_add_subtree(item, ett_lustre_ldlm_extent);
5167 offset=lustre_dissect_element_ldlm_extent_start(tvb, offset, pinfo, tree);
5169 offset=lustre_dissect_element_ldlm_extent_end(tvb, offset, pinfo, tree);
5171 offset=lustre_dissect_element_ldlm_extent_gid(tvb, offset, pinfo, tree);
5174 proto_item_set_len(item, offset-old_offset);
5179 /* IDL: struct ldlm_inodebits { */
5180 /* IDL: uint64 bits; */
5184 lustre_dissect_element_ldlm_inodebits_bits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5186 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_inodebits_bits);
5192 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_)
5194 proto_item *item = NULL;
5195 proto_tree *tree = NULL;
5203 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5204 tree = proto_item_add_subtree(item, ett_lustre_ldlm_inodebits);
5207 offset=lustre_dissect_element_ldlm_inodebits_bits(tvb, offset, pinfo, tree);
5210 proto_item_set_len(item, offset-old_offset);
5215 /* IDL: struct ldlm_flock { */
5216 /* IDL: uint64 start; */
5217 /* IDL: uint64 end; */
5218 /* IDL: uint64 blocking_export; */
5219 /* IDL: uint32 blocking_pid; */
5220 /* IDL: uint32 pid; */
5224 lustre_dissect_element_ldlm_flock_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5226 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_start);
5232 lustre_dissect_element_ldlm_flock_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5234 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_end);
5240 lustre_dissect_element_ldlm_flock_blocking_export(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5242 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_export);
5248 lustre_dissect_element_ldlm_flock_blocking_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5250 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_pid);
5256 lustre_dissect_element_ldlm_flock_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5258 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_pid);
5264 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_)
5266 proto_item *item = NULL;
5267 proto_tree *tree = NULL;
5275 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5276 tree = proto_item_add_subtree(item, ett_lustre_ldlm_flock);
5279 offset=lustre_dissect_element_ldlm_flock_start(tvb, offset, pinfo, tree);
5281 offset=lustre_dissect_element_ldlm_flock_end(tvb, offset, pinfo, tree);
5283 offset=lustre_dissect_element_ldlm_flock_blocking_export(tvb, offset, pinfo, tree);
5285 offset=lustre_dissect_element_ldlm_flock_blocking_pid(tvb, offset, pinfo, tree);
5287 offset=lustre_dissect_element_ldlm_flock_pid(tvb, offset, pinfo, tree);
5290 proto_item_set_len(item, offset-old_offset);
5295 /* IDL: struct ldlm_intent { */
5296 /* IDL: uint64 opc; */
5300 lustre_dissect_element_ldlm_intent_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5303 /* this opcode is like a flag*/
5304 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_open );
5305 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_creat );
5306 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_readdir );
5307 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getattr );
5308 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_lookup );
5309 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_unlink );
5310 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getxattr);
5311 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_exec );
5312 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_pin );
5313 opcode = tvb_get_letohl(tvb,offset);
5315 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, "[ intent :");
5316 if(opcode & IT_OPEN ){
5317 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " open");
5318 proto_item_append_text(tree, " open" );
5320 if(opcode & IT_CREAT ){
5321 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " create");
5322 proto_item_append_text(tree, " create" );
5324 if(opcode & IT_READDIR ){
5325 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " readdir");
5326 proto_item_append_text(tree, " readdir" );
5328 if(opcode & IT_GETATTR ){
5329 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getattr");
5330 proto_item_append_text(tree, " getattr" );
5332 if(opcode & IT_LOOKUP ){
5333 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " lookup");
5334 proto_item_append_text(tree, " lookup" );
5336 if(opcode & IT_UNLINK ){
5337 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " unlink");
5338 proto_item_append_text(tree, " unlink" );
5340 if(opcode & IT_GETXATTR){
5341 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getxattr");
5342 proto_item_append_text(tree, " getxattr" );
5344 if(opcode & IT_EXEC ){
5345 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " exec");
5346 proto_item_append_text(tree, " exec" );
5348 if(opcode & IT_PIN ){
5349 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " pin");
5350 proto_item_append_text(tree, " pin" );
5353 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " ]");
5359 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_)
5362 proto_item * opcode_item = NULL;
5363 proto_tree * opcode_tree = NULL;
5365 intent_opc = tvb_get_letoh64(tvb,offset);
5367 opcode_item = proto_tree_add_item(parent_tree, hf_lustre_ldlm_intent_opc, tvb, offset, 8, TRUE);
5368 opcode_tree = proto_item_add_subtree(opcode_item, ett_lustre_ldlm_intent_opc);
5371 offset=lustre_dissect_element_ldlm_intent_opc(tvb, offset, pinfo, opcode_tree);
5373 offset=ldlm_opcode_process(tvb, offset, pinfo, parent_tree, intent_opc);
5378 /* IDL: struct ldlm_resource_desc { */
5379 /* IDL: ldlm_type_t lr_type; */
5380 /* IDL: uint32 lr_padding; */
5381 /* IDL: struct ldlm_res_id { */
5382 /* IDL: } lr_name; */
5386 lustre_dissect_element_ldlm_resource_desc_lr_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5388 /* offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);*/
5389 offset=lustre_dissect_enum_ldlm_type_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);
5394 lustre_dissect_element_ldlm_resource_desc_lr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5396 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_padding);
5402 lustre_dissect_element_ldlm_resource_desc_lr_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5404 offset=lustre_dissect_struct_ldlm_res_id(tvb,offset,pinfo,tree,hf_lustre_ldlm_resource_desc_lr_name);
5409 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_)
5411 proto_item *item = NULL;
5412 proto_tree *tree = NULL;
5420 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5421 tree = proto_item_add_subtree(item, ett_lustre_ldlm_resource_desc);
5424 offset=lustre_dissect_element_ldlm_resource_desc_lr_type(tvb, offset, pinfo, tree);
5426 offset=lustre_dissect_element_ldlm_resource_desc_lr_padding(tvb, offset, pinfo, tree);
5428 offset=lustre_dissect_element_ldlm_resource_desc_lr_name(tvb, offset, pinfo, tree);
5431 proto_item_set_len(item, offset-old_offset);
5437 /* IDL: struct ldlm_lock_desc { */
5438 /* IDL: struct ldlm_resource_desc { */
5439 /* IDL: } l_resource; */
5440 /* IDL: ldlm_mode_t l_req_mode; */
5441 /* IDL: ldlm_mode_t l_granted_mode; */
5442 /* IDL: ldlm_policy_data_t l_policy_data; */
5446 lustre_dissect_element_ldlm_lock_desc_l_resource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5448 offset=lustre_dissect_struct_ldlm_resource_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_resource);
5453 lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5455 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_req_mode);
5461 lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5463 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_granted_mode);
5469 lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5472 guint32 lr_type; /* type of the lock */
5474 lr_type = tvb_get_letohl(tvb,offset - 48 ); /* TODO : find another way that using -48 */
5476 /* this section must be check with lustre code, possible mistake here */
5480 offset=lustre_dissect_struct_ldlm_flock(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5483 offset= lustre_dissect_struct_ldlm_extent(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5484 /* add an extra padding 8 bytes */
5485 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5488 offset=lustre_dissect_struct_ldlm_inodebits(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5489 /* add an extra padding 24 bytes */
5490 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5491 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5492 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5495 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5496 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5497 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5498 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5505 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_)
5507 proto_item *item = NULL;
5508 proto_tree *tree = NULL;
5511 guint32 lock_req_mode;
5517 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5518 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_desc);
5521 offset=lustre_dissect_element_ldlm_lock_desc_l_resource(tvb, offset, pinfo, tree);
5523 lock_req_mode = tvb_get_letohl(tvb,offset);
5525 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lock_req_mode, lustre_ldlm_mode_t_vals, "Unknown lock"));
5527 offset=lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvb, offset, pinfo, tree);
5529 offset=lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvb, offset, pinfo, tree);
5531 offset=lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvb, offset, pinfo, tree);
5534 proto_item_set_len(item, offset-old_offset);
5540 /* IDL: struct ldlm_request { */
5541 /* IDL: uint32 lock_flags; */
5542 /* IDL: uint32 lock_count; */
5543 /* IDL: struct ldlm_lock_desc { */
5544 /* IDL: } lock_desc; */
5545 /* IDL: struct lustre_handle { */
5546 /* IDL: } lock_handle[2]; */
5552 lustre_dissect_element_ldlm_request_lock_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5554 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_request_lock_count);
5560 lustre_dissect_element_ldlm_request_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5562 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_desc);
5569 lustre_dissect_element_ldlm_request_lock_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5571 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5572 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5574 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_handle);
5579 lustre_dissect_element_ldlm_request_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5582 for (i = 0; i < 2; i++)
5583 offset=lustre_dissect_element_ldlm_request_lock_handle_(tvb, offset, pinfo, tree);
5589 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_)
5591 proto_item *item = NULL;
5592 proto_tree *tree = NULL;
5600 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5601 tree = proto_item_add_subtree(item, ett_lustre_ldlm_request);
5604 lock_flag = tvb_get_letohl(tvb,offset);
5605 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree,
5606 hf_lustre_ldlm_request_lock_flags);
5608 offset=lustre_dissect_element_ldlm_request_lock_count(tvb, offset, pinfo, tree);
5610 /* ldlm_type = (EXTENT, PLAIN, ou IBITS) */
5611 ldlm_type = tvb_get_letohl(tvb,offset);
5612 offset=lustre_dissect_element_ldlm_request_lock_desc(tvb, offset, pinfo, tree);
5613 offset=lustre_dissect_element_ldlm_request_lock_handle(tvb, offset, pinfo, tree);
5615 proto_item_set_len(item, offset-old_offset);
5621 /* IDL: struct ldlm_reply { */
5622 /* IDL: uint32 lock_flags; */
5623 /* IDL: uint32 lock_padding; */
5624 /* IDL: struct ldlm_lock_desc { */
5625 /* IDL: } lock_desc; */
5626 /* IDL: struct lustre_handle { */
5627 /* IDL: } lock_handle; */
5628 /* IDL: uint64 lock_policy_res1; */
5629 /* IDL: uint64 lock_policy_res2; */
5633 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_)
5635 proto_item *item = NULL;
5636 proto_tree *tree = NULL;
5639 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
5640 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_flags);
5642 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_ast_discard_data);
5643 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_deny_on_contention);
5644 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_bl_done );
5645 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_bl_ast );
5646 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_atomic_cb );
5647 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cleaned );
5648 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cp_reqd );
5649 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cancel_on_block );
5650 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_no_lru );
5651 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_kms_ignore );
5652 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_lvb_ready );
5653 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_test_lock );
5654 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_nowait );
5655 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_no_timeout );
5656 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_discard_data );
5657 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_warn );
5658 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_local );
5659 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_canceling );
5660 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_has_intent );
5661 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_failed );
5662 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_local_only );
5663 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_intent_only );
5664 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_replay );
5665 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cancel );
5666 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_wait_noreproc );
5667 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_ast_sent );
5668 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cbpending );
5669 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_wait );
5670 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_conv );
5671 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_granted );
5672 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_lock_changed );
5677 lustre_dissect_element_ldlm_reply_lock_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5679 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_padding);
5685 lustre_dissect_element_ldlm_reply_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5687 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_desc);
5692 lustre_dissect_element_ldlm_reply_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5694 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5695 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5697 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_handle);
5702 lustre_dissect_element_ldlm_reply_lock_policy_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5704 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res1);
5710 lustre_dissect_element_ldlm_reply_lock_policy_res2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5712 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res2);
5718 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_ )
5720 proto_item *item = NULL;
5721 proto_tree *tree = NULL;
5729 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5730 tree = proto_item_add_subtree(item, ett_lustre_ldlm_reply);
5733 lock_flag = tvb_get_letohl(tvb,offset);
5734 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_flags);
5736 offset=lustre_dissect_element_ldlm_reply_lock_padding(tvb, offset, pinfo, tree);
5738 if (ldlm_type != NULL)
5739 *ldlm_type = tvb_get_letohl(tvb,offset);
5740 offset=lustre_dissect_element_ldlm_reply_lock_desc(tvb, offset, pinfo, tree);
5742 offset=lustre_dissect_element_ldlm_reply_lock_handle(tvb, offset, pinfo, tree);
5744 offset=lustre_dissect_element_ldlm_reply_lock_policy_res1(tvb, offset, pinfo, tree);
5746 offset=lustre_dissect_element_ldlm_reply_lock_policy_res2(tvb, offset, pinfo, tree);
5748 proto_item_set_len(item, offset-old_offset);
5756 /* IDL: struct mgs_send_param { */
5757 /* IDL: uint8 mgs_param[1024]; */
5763 lustre_dissect_element_mgs_send_param_mgs_param_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5765 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_send_param_mgs_param);
5771 lustre_dissect_element_mgs_send_param_mgs_param(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5774 for (i = 0; i < 1024; i++)
5775 offset=lustre_dissect_element_mgs_send_param_mgs_param_(tvb, offset, pinfo, tree);
5781 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_)
5783 proto_item *item = NULL;
5784 proto_tree *tree = NULL;
5791 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5792 tree = proto_item_add_subtree(item, ett_lustre_mgs_send_param);
5795 offset=lustre_dissect_element_mgs_send_param_mgs_param(tvb, offset, pinfo, tree);
5798 proto_item_set_len(item, offset-old_offset);
5803 /* IDL: struct mgs_target_info { */
5804 /* IDL: uint32 mti_lustre_ver; */
5805 /* IDL: uint32 mti_stripe_index; */
5806 /* IDL: uint32 mti_config_ver; */
5807 /* IDL: uint32 mti_flags; */
5808 /* IDL: uint32 mti_nid_count; */
5809 /* IDL: uint32 padding; */
5810 /* IDL: uint8 mti_fsname[64]; */
5811 /* IDL: uint8 mti_svname[64]; */
5812 /* IDL: uint8 mti_uuid[40]; */
5813 /* IDL: uint64 mti_nids[32]; */
5814 /* IDL: uint8 mti_params[4096]; */
5818 lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5820 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_lustre_ver);
5826 lustre_dissect_element_mgs_target_info_mti_stripe_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5828 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_stripe_index);
5834 lustre_dissect_element_mgs_target_info_mti_config_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5836 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_config_ver);
5842 lustre_dissect_element_mgs_target_info_mti_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5844 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_flags);
5850 lustre_dissect_element_mgs_target_info_mti_nid_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5852 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nid_count);
5858 lustre_dissect_element_mgs_target_info_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5860 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_padding);
5866 lustre_dissect_element_mgs_target_info_mti_fsname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5868 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_fsname);
5874 lustre_dissect_element_mgs_target_info_mti_fsname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5877 for (i = 0; i < 64; i++)
5878 offset=lustre_dissect_element_mgs_target_info_mti_fsname_(tvb, offset, pinfo, tree);
5888 lustre_dissect_element_mgs_target_info_mti_svname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5890 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_svname);
5896 lustre_dissect_element_mgs_target_info_mti_svname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5899 for (i = 0; i < 64; i++)
5900 offset=lustre_dissect_element_mgs_target_info_mti_svname_(tvb, offset, pinfo, tree);
5906 lustre_dissect_element_mgs_target_info_mti_uuid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5908 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_uuid);
5914 lustre_dissect_element_mgs_target_info_mti_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5917 for (i = 0; i < 40; i++)
5918 offset=lustre_dissect_element_mgs_target_info_mti_uuid_(tvb, offset, pinfo, tree);
5928 lustre_dissect_element_mgs_target_info_mti_nids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5930 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nids);
5936 lustre_dissect_element_mgs_target_info_mti_nids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5939 for (i = 0; i < 32; i++)
5940 offset=lustre_dissect_element_mgs_target_info_mti_nids_(tvb, offset, pinfo, tree);
5948 lustre_dissect_element_mgs_target_info_mti_params_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5950 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_params);
5956 lustre_dissect_element_mgs_target_info_mti_params(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5959 for (i = 0; i < 4096; i++)
5960 offset=lustre_dissect_element_mgs_target_info_mti_params_(tvb, offset, pinfo, tree);
5966 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_)
5968 proto_item *item = NULL;
5969 proto_tree *tree = NULL;
5977 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5978 tree = proto_item_add_subtree(item, ett_lustre_mgs_target_info);
5981 offset=lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvb, offset, pinfo, tree);
5983 offset=lustre_dissect_element_mgs_target_info_mti_stripe_index(tvb, offset, pinfo, tree);
5985 offset=lustre_dissect_element_mgs_target_info_mti_config_ver(tvb, offset, pinfo, tree);
5987 offset=lustre_dissect_element_mgs_target_info_mti_flags(tvb, offset, pinfo, tree);
5989 offset=lustre_dissect_element_mgs_target_info_mti_nid_count(tvb, offset, pinfo, tree);
5991 offset=lustre_dissect_element_mgs_target_info_padding(tvb, offset, pinfo, tree);
5993 offset=lustre_dissect_element_mgs_target_info_mti_fsname(tvb, offset, pinfo, tree);
5995 offset=lustre_dissect_element_mgs_target_info_mti_svname(tvb, offset, pinfo, tree);
5997 offset=lustre_dissect_element_mgs_target_info_mti_uuid(tvb, offset, pinfo, tree);
5999 offset=lustre_dissect_element_mgs_target_info_mti_nids(tvb, offset, pinfo, tree);
6001 offset=lustre_dissect_element_mgs_target_info_mti_params(tvb, offset, pinfo, tree);
6004 proto_item_set_len(item, offset-old_offset);
6009 /* IDL: struct cfg_marker { */
6010 /* IDL: uint32 cm_step; */
6011 /* IDL: uint32 cm_flags; */
6012 /* IDL: uint32 cm_vers; */
6013 /* IDL: uint32 padding; */
6014 /* IDL: time_t cm_createtime; */
6015 /* IDL: time_t cm_canceltime; */
6016 /* IDL: uint8 cm_tgtname[64]; */
6017 /* IDL: uint8 cm_comment[64]; */
6021 lustre_dissect_element_cfg_marker_cm_step(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6023 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_step);
6029 lustre_dissect_element_cfg_marker_cm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6031 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_flags);
6037 lustre_dissect_element_cfg_marker_cm_vers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6039 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_vers);
6045 lustre_dissect_element_cfg_marker_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6047 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_padding);
6053 lustre_dissect_element_cfg_marker_cm_createtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6055 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_createtime );
6056 /*g_print("function lustre_dissect_element_cfg_marker_cm_createtime don't work\n");*/
6061 lustre_dissect_element_cfg_marker_cm_canceltime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6063 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_canceltime);
6065 /*g_print("element_cfg_marker_cm_canceltime\n");*/
6072 lustre_dissect_element_cfg_marker_cm_tgtname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6074 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_tgtname);
6080 lustre_dissect_element_cfg_marker_cm_tgtname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6083 for (i = 0; i < 64; i++)
6084 offset=lustre_dissect_element_cfg_marker_cm_tgtname_(tvb, offset, pinfo, tree);
6092 lustre_dissect_element_cfg_marker_cm_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6094 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_comment);
6100 lustre_dissect_element_cfg_marker_cm_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6103 for (i = 0; i < 64; i++)
6104 offset=lustre_dissect_element_cfg_marker_cm_comment_(tvb, offset, pinfo, tree);
6110 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_)
6112 proto_item *item = NULL;
6113 proto_tree *tree = NULL;
6121 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6122 tree = proto_item_add_subtree(item, ett_lustre_cfg_marker);
6125 offset=lustre_dissect_element_cfg_marker_cm_step(tvb, offset, pinfo, tree);
6127 offset=lustre_dissect_element_cfg_marker_cm_flags(tvb, offset, pinfo, tree);
6129 offset=lustre_dissect_element_cfg_marker_cm_vers(tvb, offset, pinfo, tree);
6131 offset=lustre_dissect_element_cfg_marker_padding(tvb, offset, pinfo, tree);
6133 offset=lustre_dissect_element_cfg_marker_cm_createtime(tvb, offset, pinfo, tree);
6135 offset=lustre_dissect_element_cfg_marker_cm_canceltime(tvb, offset, pinfo, tree);
6137 offset=lustre_dissect_element_cfg_marker_cm_tgtname(tvb, offset, pinfo, tree);
6139 offset=lustre_dissect_element_cfg_marker_cm_comment(tvb, offset, pinfo, tree);
6142 proto_item_set_len(item, offset-old_offset);
6149 /* IDL: struct llog_logid { */
6150 /* IDL: uint64 lgl_oid; */
6151 /* IDL: uint64 lgl_oseq; */
6152 /* IDL: uint32 lgl_ogen; */
6156 lustre_dissect_element_llog_logid_lgl_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6158 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oid);
6164 lustre_dissect_element_llog_logid_lgl_oseq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6166 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oseq);
6172 lustre_dissect_element_llog_logid_lgl_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6174 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_ogen);
6180 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_)
6182 proto_item *item = NULL;
6183 proto_tree *tree = NULL;
6191 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6192 tree = proto_item_add_subtree(item, ett_lustre_llog_logid);
6195 offset=lustre_dissect_element_llog_logid_lgl_oid(tvb, offset, pinfo, tree);
6197 offset=lustre_dissect_element_llog_logid_lgl_oseq(tvb, offset, pinfo, tree);
6199 offset=lustre_dissect_element_llog_logid_lgl_ogen(tvb, offset, pinfo, tree);
6202 proto_item_set_len(item, offset-old_offset);
6207 /* I don't know when this structure is used on network */
6208 /* IDL: struct llog_catid { */
6209 /* IDL: struct llog_logid { */
6210 /* IDL: } lci_logid; */
6211 /* IDL: uint32 lci_padding1; */
6212 /* IDL: uint32 lci_padding2; */
6213 /* IDL: uint32 lci_padding3; */
6217 lustre_dissect_element_llog_catid_lci_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6219 //offset=lustre_dissect_struct_HASH(0x85cc76c)(tvb,offset,pinfo,tree,hf_lustre_llog_catid_lci_logid);
6221 /*g_print("llog_catid_lci_logid bug\n");*/
6226 lustre_dissect_element_llog_catid_lci_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6228 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding1);
6234 lustre_dissect_element_llog_catid_lci_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6236 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding2);
6242 lustre_dissect_element_llog_catid_lci_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6244 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding3);
6250 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_)
6252 proto_item *item = NULL;
6253 proto_tree *tree = NULL;
6261 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6262 tree = proto_item_add_subtree(item, ett_lustre_llog_catid);
6265 offset=lustre_dissect_element_llog_catid_lci_logid(tvb, offset, pinfo, tree);
6267 offset=lustre_dissect_element_llog_catid_lci_padding1(tvb, offset, pinfo, tree);
6269 offset=lustre_dissect_element_llog_catid_lci_padding2(tvb, offset, pinfo, tree);
6271 offset=lustre_dissect_element_llog_catid_lci_padding3(tvb, offset, pinfo, tree);
6274 proto_item_set_len(item, offset-old_offset);
6279 /* IDL: struct llog_rec_hdr { */
6280 /* IDL: uint32 lrh_len; */
6281 /* IDL: uint32 lrh_index; */
6282 /* IDL: uint32 lrh_type; */
6283 /* IDL: uint32 padding; */
6287 lustre_dissect_element_llog_rec_hdr_lrh_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6289 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_len);
6295 lustre_dissect_element_llog_rec_hdr_lrh_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6297 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_index);
6303 lustre_dissect_element_llog_rec_hdr_lrh_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6305 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_type);
6311 lustre_dissect_element_llog_rec_hdr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6313 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_padding);
6319 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_)
6321 proto_item *item = NULL;
6322 proto_tree *tree = NULL;
6330 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6331 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_hdr);
6334 offset=lustre_dissect_element_llog_rec_hdr_lrh_len(tvb, offset, pinfo, tree);
6336 offset=lustre_dissect_element_llog_rec_hdr_lrh_index(tvb, offset, pinfo, tree);
6338 offset=lustre_dissect_element_llog_rec_hdr_lrh_type(tvb, offset, pinfo, tree);
6340 offset=lustre_dissect_element_llog_rec_hdr_padding(tvb, offset, pinfo, tree);
6343 proto_item_set_len(item, offset-old_offset);
6348 /* IDL: struct llog_rec_tail { */
6349 /* IDL: uint32 lrt_len; */
6350 /* IDL: uint32 lrt_index; */
6354 lustre_dissect_element_llog_rec_tail_lrt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6356 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_len);
6362 lustre_dissect_element_llog_rec_tail_lrt_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6364 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_index);
6370 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_)
6372 proto_item *item = NULL;
6373 proto_tree *tree = NULL;
6381 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6382 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_tail);
6385 offset=lustre_dissect_element_llog_rec_tail_lrt_len(tvb, offset, pinfo, tree);
6387 offset=lustre_dissect_element_llog_rec_tail_lrt_index(tvb, offset, pinfo, tree);
6390 proto_item_set_len(item, offset-old_offset);
6395 /* IDL: struct llog_logid_rec { */
6396 /* IDL: struct llog_rec_hdr { */
6397 /* IDL: } lid_hdr; */
6398 /* IDL: struct llog_logid { */
6399 /* IDL: } lid_id; */
6400 /* IDL: uint32 padding1; */
6401 /* IDL: uint32 padding2; */
6402 /* IDL: uint32 padding3; */
6403 /* IDL: uint32 padding4; */
6404 /* IDL: uint32 padding5; */
6405 /* IDL: struct llog_rec_tail { */
6406 /* IDL: } lid_tail; */
6410 lustre_dissect_element_llog_logid_rec_lid_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6412 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_hdr);
6417 lustre_dissect_element_llog_logid_rec_lid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6419 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_id);
6424 lustre_dissect_element_llog_logid_rec_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6426 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding1);
6432 lustre_dissect_element_llog_logid_rec_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6434 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding2);
6440 lustre_dissect_element_llog_logid_rec_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6442 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding3);
6448 lustre_dissect_element_llog_logid_rec_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6450 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding4);
6456 lustre_dissect_element_llog_logid_rec_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6458 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding5);
6464 lustre_dissect_element_llog_logid_rec_lid_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6466 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_tail);
6471 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_)
6473 proto_item *item = NULL;
6474 proto_tree *tree = NULL;
6482 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6483 tree = proto_item_add_subtree(item, ett_lustre_llog_logid_rec);
6486 offset=lustre_dissect_element_llog_logid_rec_lid_hdr(tvb, offset, pinfo, tree);
6488 offset=lustre_dissect_element_llog_logid_rec_lid_id(tvb, offset, pinfo, tree);
6490 offset=lustre_dissect_element_llog_logid_rec_padding1(tvb, offset, pinfo, tree);
6492 offset=lustre_dissect_element_llog_logid_rec_padding2(tvb, offset, pinfo, tree);
6494 offset=lustre_dissect_element_llog_logid_rec_padding3(tvb, offset, pinfo, tree);
6496 offset=lustre_dissect_element_llog_logid_rec_padding4(tvb, offset, pinfo, tree);
6498 offset=lustre_dissect_element_llog_logid_rec_padding5(tvb, offset, pinfo, tree);
6500 offset=lustre_dissect_element_llog_logid_rec_lid_tail(tvb, offset, pinfo, tree);
6503 proto_item_set_len(item, offset-old_offset);
6508 /* IDL: struct llog_create_rec { */
6509 /* IDL: struct llog_rec_hdr { */
6510 /* IDL: } lcr_hdr; */
6511 /* IDL: struct ll_fid { */
6512 /* IDL: } lcr_fid; */
6513 /* IDL: uint64 lcr_oid; */
6514 /* IDL: uint32 lcr_ogen; */
6515 /* IDL: uint32 padding; */
6516 /* IDL: struct llog_rec_tail { */
6517 /* IDL: } lcr_tail; */
6521 lustre_dissect_element_llog_create_rec_lcr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6523 //offset=lustre_dissect_struct_HASH(0x85d56e0)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_hdr);
6529 lustre_dissect_element_llog_create_rec_lcr_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6531 //offset=lustre_dissect_struct_HASH(0x85d5830)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_fid);
6537 lustre_dissect_element_llog_create_rec_lcr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6539 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_lcr_oid);
6545 lustre_dissect_element_llog_create_rec_lcr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6547 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_lcr_ogen);
6553 lustre_dissect_element_llog_create_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6555 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_padding);
6561 lustre_dissect_element_llog_create_rec_lcr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6563 //offset=lustre_dissect_struct_HASH(0x85d69dc)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_tail);
6569 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_)
6571 proto_item *item = NULL;
6572 proto_tree *tree = NULL;
6580 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6581 tree = proto_item_add_subtree(item, ett_lustre_llog_create_rec);
6584 offset=lustre_dissect_element_llog_create_rec_lcr_hdr(tvb, offset, pinfo, tree);
6586 offset=lustre_dissect_element_llog_create_rec_lcr_fid(tvb, offset, pinfo, tree);
6588 offset=lustre_dissect_element_llog_create_rec_lcr_oid(tvb, offset, pinfo, tree);
6590 offset=lustre_dissect_element_llog_create_rec_lcr_ogen(tvb, offset, pinfo, tree);
6592 offset=lustre_dissect_element_llog_create_rec_padding(tvb, offset, pinfo, tree);
6594 offset=lustre_dissect_element_llog_create_rec_lcr_tail(tvb, offset, pinfo, tree);
6597 proto_item_set_len(item, offset-old_offset);
6605 /* IDL: struct llog_orphan_rec { */
6606 /* IDL: struct llog_rec_hdr { */
6607 /* IDL: } lor_hdr; */
6608 /* IDL: uint64 lor_oid; */
6609 /* IDL: uint32 lor_ogen; */
6610 /* IDL: uint32 padding; */
6611 /* IDL: struct llog_rec_tail { */
6612 /* IDL: } lor_tail; */
6616 lustre_dissect_element_llog_orphan_rec_lor_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6618 //offset=lustre_dissect_struct_HASH(0x85d767c)(tvb,offset,pinfo,tree,hf_lustre_llog_orphan_rec_lor_hdr);
6624 lustre_dissect_element_llog_orphan_rec_lor_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6626 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_lor_oid);
6632 lustre_dissect_element_llog_orphan_rec_lor_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6634 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_lor_ogen);
6640 lustre_dissect_element_llog_orphan_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6642 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_padding);
6648 lustre_dissect_element_llog_orphan_rec_lor_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6650 //offset=lustre_dissect_struct_HASH(0x85d8550)(tvb,offset,pinfo,tree,hf_lustre_llog_orphan_rec_lor_tail);
6655 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_)
6657 proto_item *item = NULL;
6658 proto_tree *tree = NULL;
6666 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6667 tree = proto_item_add_subtree(item, ett_lustre_llog_orphan_rec);
6670 offset=lustre_dissect_element_llog_orphan_rec_lor_hdr(tvb, offset, pinfo, tree);
6672 offset=lustre_dissect_element_llog_orphan_rec_lor_oid(tvb, offset, pinfo, tree);
6674 offset=lustre_dissect_element_llog_orphan_rec_lor_ogen(tvb, offset, pinfo, tree);
6676 offset=lustre_dissect_element_llog_orphan_rec_padding(tvb, offset, pinfo, tree);
6678 offset=lustre_dissect_element_llog_orphan_rec_lor_tail(tvb, offset, pinfo, tree);
6681 proto_item_set_len(item, offset-old_offset);
6688 /* IDL: struct llog_unlink_rec { */
6689 /* IDL: struct llog_rec_hdr { */
6690 /* IDL: } lur_hdr; */
6691 /* IDL: uint64 lur_oid; */
6692 /* IDL: uint32 lur_ogen; */
6693 /* IDL: uint32 padding; */
6694 /* IDL: struct llog_rec_tail { */
6695 /* IDL: } lur_tail; */
6699 lustre_dissect_element_llog_unlink_rec_lur_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6701 //offset=lustre_dissect_struct_HASH(0x85d8730)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_hdr);
6706 lustre_dissect_element_llog_unlink_rec_lur_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6708 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_oid);
6714 lustre_dissect_element_llog_unlink_rec_lur_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6716 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_ogen);
6722 lustre_dissect_element_llog_unlink_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6724 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_padding);
6730 lustre_dissect_element_llog_unlink_rec_lur_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6732 //offset=lustre_dissect_struct_HASH(0x85d9664)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_tail);
6737 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_)
6739 proto_item *item = NULL;
6740 proto_tree *tree = NULL;
6748 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6749 tree = proto_item_add_subtree(item, ett_lustre_llog_unlink_rec);
6752 offset=lustre_dissect_element_llog_unlink_rec_lur_hdr(tvb, offset, pinfo, tree);
6754 offset=lustre_dissect_element_llog_unlink_rec_lur_oid(tvb, offset, pinfo, tree);
6756 offset=lustre_dissect_element_llog_unlink_rec_lur_ogen(tvb, offset, pinfo, tree);
6758 offset=lustre_dissect_element_llog_unlink_rec_padding(tvb, offset, pinfo, tree);
6760 offset=lustre_dissect_element_llog_unlink_rec_lur_tail(tvb, offset, pinfo, tree);
6763 proto_item_set_len(item, offset-old_offset);
6770 /* IDL: struct llog_setattr_rec { */
6771 /* IDL: struct llog_rec_hdr { */
6772 /* IDL: } lsr_hdr; */
6773 /* IDL: uint64 lsr_oid; */
6774 /* IDL: uint32 lsr_ogen; */
6775 /* IDL: uint32 lsr_uid; */
6776 /* IDL: uint32 lsr_gid; */
6777 /* IDL: uint32 padding; */
6778 /* IDL: struct llog_rec_tail { */
6779 /* IDL: } lsr_tail; */
6783 lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6785 //offset=lustre_dissect_struct_HASH(0x85da2f0)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_hdr);
6790 lustre_dissect_element_llog_setattr_rec_lsr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6792 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_oid);
6798 lustre_dissect_element_llog_setattr_rec_lsr_ogen(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_setattr_rec_lsr_ogen);
6806 lustre_dissect_element_llog_setattr_rec_lsr_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6808 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_uid);
6814 lustre_dissect_element_llog_setattr_rec_lsr_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6816 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_gid);
6822 lustre_dissect_element_llog_setattr_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6824 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_padding);
6830 lustre_dissect_element_llog_setattr_rec_lsr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6832 //offset=lustre_dissect_struct_HASH(0x85db3d4)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_tail);
6837 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_)
6839 proto_item *item = NULL;
6840 proto_tree *tree = NULL;
6848 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6849 tree = proto_item_add_subtree(item, ett_lustre_llog_setattr_rec);
6852 offset=lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvb, offset, pinfo, tree);
6854 offset=lustre_dissect_element_llog_setattr_rec_lsr_oid(tvb, offset, pinfo, tree);
6856 offset=lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvb, offset, pinfo, tree);
6858 offset=lustre_dissect_element_llog_setattr_rec_lsr_uid(tvb, offset, pinfo, tree);
6860 offset=lustre_dissect_element_llog_setattr_rec_lsr_gid(tvb, offset, pinfo, tree);
6862 offset=lustre_dissect_element_llog_setattr_rec_padding(tvb, offset, pinfo, tree);
6864 offset=lustre_dissect_element_llog_setattr_rec_lsr_tail(tvb, offset, pinfo, tree);
6867 proto_item_set_len(item, offset-old_offset);
6875 /* IDL: struct llog_size_change_rec { */
6876 /* IDL: struct llog_rec_hdr { */
6877 /* IDL: } lsc_hdr; */
6878 /* IDL: struct ll_fid { */
6879 /* IDL: } lsc_fid; */
6880 /* IDL: uint32 lsc_io_epoch; */
6881 /* IDL: uint32 padding; */
6882 /* IDL: struct llog_rec_tail { */
6883 /* IDL: } lsc_tail; */
6887 lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6889 //offset=lustre_dissect_struct_HASH(0x85dc458)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_hdr);
6894 lustre_dissect_element_llog_size_change_rec_lsc_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6896 //offset=lustre_dissect_struct_HASH(0x85dc5a8)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_fid);
6901 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_)
6903 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_lsc_io_epoch);
6909 lustre_dissect_element_llog_size_change_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6911 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_padding);
6917 lustre_dissect_element_llog_size_change_rec_lsc_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6919 //offset=lustre_dissect_struct_HASH(0x85dd384)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_tail);
6920 // TODO: to be corrected !
6925 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_)
6927 proto_item *item = NULL;
6928 proto_tree *tree = NULL;
6936 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6937 tree = proto_item_add_subtree(item, ett_lustre_llog_size_change_rec);
6940 offset=lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvb, offset, pinfo, tree);
6942 offset=lustre_dissect_element_llog_size_change_rec_lsc_fid(tvb, offset, pinfo, tree);
6944 offset=lustre_dissect_element_llog_size_change_rec_lsc_io_epoch(tvb, offset, pinfo, tree);
6946 offset=lustre_dissect_element_llog_size_change_rec_padding(tvb, offset, pinfo, tree);
6948 offset=lustre_dissect_element_llog_size_change_rec_lsc_tail(tvb, offset, pinfo, tree);
6951 proto_item_set_len(item, offset-old_offset);
6959 /* IDL: struct llog_gen { */
6960 /* IDL: uint64 mnt_cnt; */
6961 /* IDL: uint64 conn_cnt; */
6965 lustre_dissect_element_llog_gen_mnt_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6967 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_mnt_cnt);
6973 lustre_dissect_element_llog_gen_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6975 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_conn_cnt);
6981 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_)
6983 proto_item *item = NULL;
6984 proto_tree *tree = NULL;
6992 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6993 tree = proto_item_add_subtree(item, ett_lustre_llog_gen);
6996 offset=lustre_dissect_element_llog_gen_mnt_cnt(tvb, offset, pinfo, tree);
6998 offset=lustre_dissect_element_llog_gen_conn_cnt(tvb, offset, pinfo, tree);
7001 proto_item_set_len(item, offset-old_offset);
7006 /* IDL: struct llog_gen_rec { */
7007 /* IDL: struct llog_rec_hdr { */
7008 /* IDL: } lgr_hdr; */
7009 /* IDL: struct llog_gen { */
7010 /* IDL: } lgr_gen; */
7011 /* IDL: struct llog_rec_tail { */
7012 /* IDL: } lgr_tail; */
7016 lustre_dissect_element_llog_gen_rec_lgr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7018 //offset=lustre_dissect_struct_HASH(0x85de2e4)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_hdr);
7019 // TODO: to be corrected !
7024 lustre_dissect_element_llog_gen_rec_lgr_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7026 //offset=lustre_dissect_struct_HASH(0x85de434)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_gen);
7027 // TODO: to be corrected !
7032 lustre_dissect_element_llog_gen_rec_lgr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7034 //offset=lustre_dissect_struct_HASH(0x85df3f8)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_tail);
7035 // TODO: to be corrected !
7040 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_)
7042 proto_item *item = NULL;
7043 proto_tree *tree = NULL;
7051 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7052 tree = proto_item_add_subtree(item, ett_lustre_llog_gen_rec);
7055 offset=lustre_dissect_element_llog_gen_rec_lgr_hdr(tvb, offset, pinfo, tree);
7057 offset=lustre_dissect_element_llog_gen_rec_lgr_gen(tvb, offset, pinfo, tree);
7059 offset=lustre_dissect_element_llog_gen_rec_lgr_tail(tvb, offset, pinfo, tree);
7062 proto_item_set_len(item, offset-old_offset);
7070 /* IDL: struct llog_log_hdr { */
7071 /* IDL: struct llog_rec_hdr { */
7072 /* IDL: } llh_hdr; */
7073 /* IDL: uint64 llh_timestamp; */
7074 /* IDL: uint32 llh_count; */
7075 /* IDL: uint32 llh_bitmap_offset; */
7076 /* IDL: uint32 llh_size; */
7077 /* IDL: uint32 llh_flags; */
7078 /* IDL: uint32 llh_cat_idx; */
7079 /* IDL: struct obd_uuid { */
7080 /* IDL: } llh_tgtuuid; */
7081 /* IDL: uint32 llh_reserved[1]; */
7082 /* IDL: uint32 llh_bitmap[2024]; */
7083 /* IDL: struct llog_rec_tail { */
7084 /* IDL: } llh_tail; */
7088 lustre_dissect_element_llog_log_hdr_llh_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7090 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_hdr);
7095 lustre_dissect_element_llog_log_hdr_llh_timestamp(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7098 ns.secs = tvb_get_letohl(tvb,offset);
7100 proto_tree_add_time(tree, hf_lustre_llog_log_hdr_llh_timestamp, tvb, offset, 8, &ns );
7106 lustre_dissect_element_llog_log_hdr_llh_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7108 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_count);
7114 lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7116 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap_offset);
7122 lustre_dissect_element_llog_log_hdr_llh_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7124 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_size);
7132 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_)
7134 proto_item *item = NULL;
7135 proto_tree *tree = NULL;
7138 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
7139 tree = proto_item_add_subtree(item, ett_lustre_llog_log_llh_flags);
7141 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_zap_when_empty);
7142 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_cat);
7143 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_play);
7150 lustre_dissect_element_llog_log_hdr_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7152 // offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7153 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7158 lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7160 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_cat_idx);
7166 lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7168 offset=lustre_dissect_struct_obd_uuid(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tgtuuid);
7173 lustre_dissect_element_llog_log_hdr_llh_reserved_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7175 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_reserved);
7181 lustre_dissect_element_llog_log_hdr_llh_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7184 for (i = 0; i < 1; i++)
7185 offset=lustre_dissect_element_llog_log_hdr_llh_reserved_(tvb, offset, pinfo, tree);
7191 lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7193 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap);
7200 lustre_dissect_element_llog_log_hdr_llh_bitmap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7203 for (i = 0; i < 2024; i++)
7204 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvb, offset, pinfo, tree);
7212 lustre_dissect_element_llog_log_hdr_llh_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7214 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tail);
7219 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_)
7221 proto_item *item = NULL;
7222 proto_tree *tree = NULL;
7230 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7231 tree = proto_item_add_subtree(item, ett_lustre_llog_log_hdr);
7234 offset=lustre_dissect_element_llog_log_hdr_llh_hdr(tvb, offset, pinfo, tree);
7236 offset=lustre_dissect_element_llog_log_hdr_llh_timestamp(tvb, offset, pinfo, tree);
7238 offset=lustre_dissect_element_llog_log_hdr_llh_count(tvb, offset, pinfo, tree);
7240 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvb, offset, pinfo, tree);
7242 offset=lustre_dissect_element_llog_log_hdr_llh_size(tvb, offset, pinfo, tree);
7244 offset=lustre_dissect_element_llog_log_hdr_llh_flags(tvb, offset, pinfo, tree);
7246 offset=lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvb, offset, pinfo, tree);
7248 offset=lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvb, offset, pinfo, tree);
7250 offset=lustre_dissect_element_llog_log_hdr_llh_reserved(tvb, offset, pinfo, tree);
7252 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap(tvb, offset, pinfo, tree);
7254 offset=lustre_dissect_element_llog_log_hdr_llh_tail(tvb, offset, pinfo, tree);
7257 proto_item_set_len(item, offset-old_offset);
7265 /* IDL: struct llog_cookie { */
7266 /* IDL: struct llog_logid { */
7267 /* IDL: } lgc_lgl; */
7268 /* IDL: uint32 lgc_subsys; */
7269 /* IDL: uint32 lgc_index; */
7270 /* IDL: uint32 lgc_padding; */
7274 lustre_dissect_element_llog_cookie_lgc_lgl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7276 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_cookie_lgc_lgl);
7281 lustre_dissect_element_llog_cookie_lgc_subsys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7283 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_subsys);
7289 lustre_dissect_element_llog_cookie_lgc_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7291 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_index);
7297 lustre_dissect_element_llog_cookie_lgc_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7299 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_padding);
7305 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_)
7307 proto_item *item = NULL;
7308 proto_tree *tree = NULL;
7316 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7317 tree = proto_item_add_subtree(item, ett_lustre_llog_cookie);
7320 offset=lustre_dissect_element_llog_cookie_lgc_lgl(tvb, offset, pinfo, tree);
7322 offset=lustre_dissect_element_llog_cookie_lgc_subsys(tvb, offset, pinfo, tree);
7324 offset=lustre_dissect_element_llog_cookie_lgc_index(tvb, offset, pinfo, tree);
7326 offset=lustre_dissect_element_llog_cookie_lgc_padding(tvb, offset, pinfo, tree);
7329 proto_item_set_len(item, offset-old_offset);
7336 /* IDL: struct llogd_body { */
7337 /* IDL: struct llog_logid { */
7338 /* IDL: } lgd_logid; */
7339 /* IDL: uint32 lgd_ctxt_idx; */
7340 /* IDL: uint32 lgd_llh_flags; */
7341 /* IDL: uint32 lgd_index; */
7342 /* IDL: uint32 lgd_saved_index; */
7343 /* IDL: uint32 lgd_len; */
7344 /* IDL: uint64 lgd_cur_offset; */
7348 lustre_dissect_element_llogd_body_lgd_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7350 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llogd_body_lgd_logid);
7355 lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7357 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_ctxt_idx);
7363 lustre_dissect_element_llogd_body_lgd_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7365 //offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7367 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7373 lustre_dissect_element_llogd_body_lgd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7375 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_index);
7381 lustre_dissect_element_llogd_body_lgd_saved_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7383 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_saved_index);
7389 lustre_dissect_element_llogd_body_lgd_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7391 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_len);
7397 lustre_dissect_element_llogd_body_lgd_cur_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7399 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_cur_offset);
7405 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_)
7407 proto_item *item = NULL;
7408 proto_tree *tree = NULL;
7416 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7417 tree = proto_item_add_subtree(item, ett_lustre_llogd_body);
7420 offset=lustre_dissect_element_llogd_body_lgd_logid(tvb, offset, pinfo, tree);
7422 offset=lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvb, offset, pinfo, tree);
7424 offset=lustre_dissect_element_llogd_body_lgd_llh_flags(tvb, offset, pinfo, tree);
7426 offset=lustre_dissect_element_llogd_body_lgd_index(tvb, offset, pinfo, tree);
7428 offset=lustre_dissect_element_llogd_body_lgd_saved_index(tvb, offset, pinfo, tree);
7430 offset=lustre_dissect_element_llogd_body_lgd_len(tvb, offset, pinfo, tree);
7432 offset=lustre_dissect_element_llogd_body_lgd_cur_offset(tvb, offset, pinfo, tree);
7435 proto_item_set_len(item, offset-old_offset);
7441 /* TODO : find when this Structure appear on the wire */
7442 /* IDL: struct llogd_conn_body { */
7443 /* IDL: struct llog_gen { */
7444 /* IDL: } lgdc_gen; */
7445 /* IDL: struct llog_logid { */
7446 /* IDL: } lgdc_logid; */
7447 /* IDL: uint32 lgdc_ctxt_idx; */
7451 lustre_dissect_element_llogd_conn_body_lgdc_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7453 //offset=lustre_dissect_struct_HASH(0x85e6038)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_gen);
7458 lustre_dissect_element_llogd_conn_body_lgdc_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7460 //offset=lustre_dissect_struct_HASH(0x85e6188)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_logid);
7465 lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7467 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_conn_body_lgdc_ctxt_idx);
7473 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_)
7475 proto_item *item = NULL;
7476 proto_tree *tree = NULL;
7484 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7485 tree = proto_item_add_subtree(item, ett_lustre_llogd_conn_body);
7488 offset=lustre_dissect_element_llogd_conn_body_lgdc_gen(tvb, offset, pinfo, tree);
7490 offset=lustre_dissect_element_llogd_conn_body_lgdc_logid(tvb, offset, pinfo, tree);
7492 offset=lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvb, offset, pinfo, tree);
7495 proto_item_set_len(item, offset-old_offset);
7500 /* IDL: struct obdo { */
7501 /* IDL: uint64 o_valid; */
7502 /* IDL: uint64 o_id; */
7503 /* IDL: uint64 o_seq; */
7504 /* IDL: uint64 o_parent_seq; */
7505 /* IDL: uint64 o_size; */
7506 /* IDL: uint64 o_mtime; */
7507 /* IDL: uint64 o_atime; */
7508 /* IDL: uint64 o_ctime; */
7509 /* IDL: uint64 o_blocks; */
7510 /* IDL: uint64 o_grant; */
7511 /* IDL: uint32 o_blksize; */
7512 /* IDL: uint32 o_mode; */
7513 /* IDL: uint32 o_uid; */
7514 /* IDL: uint32 o_gid; */
7515 /* IDL: uint32 o_flags; */
7516 /* IDL: uint32 o_nlink; */
7517 /* IDL: uint32 o_parent_oid; */
7518 /* IDL: uint32 o_misc; */
7519 /* IDL: uint64 o_ioepoch; */
7520 /* IDL: uint32 o_stripe_idx; */
7521 /* IDL: uint32 o_parent_ver; */
7522 /* IDL: struct lustre_handle { */
7523 /* IDL: } o_handle; */
7524 /* IDL: struct llog_cookie { */
7525 /* IDL: } o_lcookie; */
7526 /* IDL: uint32 o_uid_h; */
7527 /* IDL: uint32 o_gid_h; */
7528 /* IDL: uint64 o_padding_3; */
7529 /* IDL: uint64 o_padding_4; */
7530 /* IDL: uint64 o_padding_5; */
7531 /* IDL: uint64 o_padding_6; */
7535 lustre_dissect_element_obdo_o_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7537 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_valid);
7543 lustre_dissect_element_obdo_o_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7545 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_id);
7551 lustre_dissect_element_obdo_o_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7553 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_seq);
7559 lustre_dissect_element_obdo_o_parent_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7561 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_seq);
7567 lustre_dissect_element_obdo_o_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7569 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_size);
7575 lustre_dissect_element_obdo_o_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7579 ns.secs = tvb_get_letohl(tvb,offset);
7581 proto_tree_add_time(tree, hf_lustre_obdo_o_mtime, tvb, offset, 8, &ns );
7587 lustre_dissect_element_obdo_o_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7591 ns.secs = tvb_get_letohl(tvb,offset);
7593 proto_tree_add_time(tree, hf_lustre_obdo_o_atime, tvb, offset, 8, &ns );
7600 lustre_dissect_element_obdo_o_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7604 ns.secs = tvb_get_letohl(tvb,offset);
7606 proto_tree_add_time(tree, hf_lustre_obdo_o_ctime, tvb, offset, 8, &ns );
7612 lustre_dissect_element_obdo_o_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7614 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blocks);
7620 lustre_dissect_element_obdo_o_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7622 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_grant);
7628 lustre_dissect_element_obdo_o_blksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7630 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blksize);
7636 lustre_dissect_element_obdo_o_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7638 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_mode);
7644 lustre_dissect_element_obdo_o_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7646 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid);
7652 lustre_dissect_element_obdo_o_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7654 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid);
7660 lustre_dissect_element_obdo_o_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7662 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_flags);
7663 /* TODO rajouter ça , faire une fonction générique qui s'occupe de tous les flags d'un tableau. */
7665 /*0x00000001 : "OBD_FL_INLINEDATA",*/
7666 /*0x00000002 : "OBD_FL_OBDMDEXISTS",*/
7667 /*0x00000004 : "OBD_FL_DELORPHAN",*/
7668 /*0x00000008 : "OBD_FL_NORPC",*/
7669 /*0x00000010 : "OBD_FL_IDONLY",*/
7670 /*0x00000020 : "OBD_FL_RECREATE_OBJS",*/
7671 /*0x00000040 : "OBD_FL_DEBUG_CHECK",*/
7672 /*0x00000100 : "OBD_FL_NO_USRQUOTA",*/
7673 /*0x00000200 : "OBD_FL_NO_GRPQUOTA",*/
7674 /*0x00000400 : "OBD_FL_CREATE_CROW",*/
7675 /*0x00000800 : "OBD_FL_SRVLOCK",*/
7681 lustre_dissect_element_obdo_o_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7683 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_nlink);
7689 lustre_dissect_element_obdo_o_parent_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7691 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_oid);
7697 lustre_dissect_element_obdo_o_misc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7699 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_misc);
7705 lustre_dissect_element_obdo_o_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7707 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_ioepoch);
7713 lustre_dissect_element_obdo_o_stripe_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7715 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_stripe_idx);
7721 lustre_dissect_element_obdo_o_parent_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7723 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_ver);
7729 lustre_dissect_element_obdo_o_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7731 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_handle);
7736 lustre_dissect_element_obdo_o_lcookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7738 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_lcookie);
7743 lustre_dissect_element_obdo_o_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7745 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid_h);
7751 lustre_dissect_element_obdo_o_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7753 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid_h);
7759 lustre_dissect_element_obdo_o_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7761 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_3);
7767 lustre_dissect_element_obdo_o_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7769 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_4);
7775 lustre_dissect_element_obdo_o_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7777 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_5);
7783 lustre_dissect_element_obdo_o_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7785 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_6);
7791 lustre_dissect_struct_obdo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7793 proto_item *item = NULL;
7794 proto_tree *tree = NULL;
7801 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7802 tree = proto_item_add_subtree(item, ett_lustre_obdo);
7805 offset=lustre_dissect_element_obdo_o_valid(tvb, offset, pinfo, tree);
7807 offset=lustre_dissect_element_obdo_o_id(tvb, offset, pinfo, tree);
7809 offset=lustre_dissect_element_obdo_o_seq(tvb, offset, pinfo, tree);
7811 offset=lustre_dissect_element_obdo_o_parent_seq(tvb, offset, pinfo, tree);
7813 offset=lustre_dissect_element_obdo_o_size(tvb, offset, pinfo, tree);
7815 offset=lustre_dissect_element_obdo_o_mtime(tvb, offset, pinfo, tree);
7817 offset=lustre_dissect_element_obdo_o_atime(tvb, offset, pinfo, tree);
7819 offset=lustre_dissect_element_obdo_o_ctime(tvb, offset, pinfo, tree);
7821 offset=lustre_dissect_element_obdo_o_blocks(tvb, offset, pinfo, tree);
7823 offset=lustre_dissect_element_obdo_o_grant(tvb, offset, pinfo, tree);
7825 offset=lustre_dissect_element_obdo_o_blksize(tvb, offset, pinfo, tree);
7827 offset=lustre_dissect_element_obdo_o_mode(tvb, offset, pinfo, tree);
7829 offset=lustre_dissect_element_obdo_o_uid(tvb, offset, pinfo, tree);
7831 offset=lustre_dissect_element_obdo_o_gid(tvb, offset, pinfo, tree);
7833 offset=lustre_dissect_element_obdo_o_flags(tvb, offset, pinfo, tree);
7835 offset=lustre_dissect_element_obdo_o_nlink(tvb, offset, pinfo, tree);
7837 offset=lustre_dissect_element_obdo_o_parent_oid(tvb, offset, pinfo, tree);
7839 offset=lustre_dissect_element_obdo_o_misc(tvb, offset, pinfo, tree);
7841 offset=lustre_dissect_element_obdo_o_ioepoch(tvb, offset, pinfo, tree);
7843 offset=lustre_dissect_element_obdo_o_stripe_idx(tvb, offset, pinfo, tree);
7845 offset=lustre_dissect_element_obdo_o_parent_ver(tvb, offset, pinfo, tree);
7847 offset=lustre_dissect_element_obdo_o_handle(tvb, offset, pinfo, tree);
7849 offset=lustre_dissect_element_obdo_o_lcookie(tvb, offset, pinfo, tree);
7851 offset=lustre_dissect_element_obdo_o_uid_h(tvb, offset, pinfo, tree);
7853 offset=lustre_dissect_element_obdo_o_gid_h(tvb, offset, pinfo, tree);
7855 offset=lustre_dissect_element_obdo_o_padding_3(tvb, offset, pinfo, tree);
7857 offset=lustre_dissect_element_obdo_o_padding_4(tvb, offset, pinfo, tree);
7859 offset=lustre_dissect_element_obdo_o_padding_5(tvb, offset, pinfo, tree);
7861 offset=lustre_dissect_element_obdo_o_padding_6(tvb, offset, pinfo, tree);
7864 proto_item_set_len(item, offset-old_offset);
7871 /* IDL: struct ost_body { */
7872 /* IDL: struct obdo { */
7877 lustre_dissect_element_ost_body_oa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7879 offset=lustre_dissect_struct_obdo(tvb,offset,pinfo,tree,hf_lustre_ost_body_oa);
7884 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_)
7886 proto_item *item = NULL;
7887 proto_tree *tree = NULL;
7893 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7894 tree = proto_item_add_subtree(item, ett_lustre_ost_body);
7897 offset=lustre_dissect_element_ost_body_oa(tvb, offset, pinfo, tree);
7900 proto_item_set_len(item, offset-old_offset);
7906 /* TODO : find when this Structure appear on the wire */
7907 /* IDL: struct qunit_data { */
7908 /* IDL: uint32 qd_id; */
7909 /* IDL: uint32 qd_flags; */
7910 /* IDL: uint64 qd_count; */
7911 /* IDL: uint64 qd_qunit; */
7912 /* IDL: uint64 padding; */
7916 lustre_dissect_element_qunit_data_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7918 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_id);
7924 lustre_dissect_element_qunit_data_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7926 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_flags);
7932 lustre_dissect_element_qunit_data_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7934 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_count);
7940 lustre_dissect_element_qunit_data_qd_qunit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7942 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_qunit);
7948 lustre_dissect_element_qunit_data_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7950 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_padding);
7956 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_)
7958 proto_item *item = NULL;
7959 proto_tree *tree = NULL;
7967 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7968 tree = proto_item_add_subtree(item, ett_lustre_qunit_data);
7971 offset=lustre_dissect_element_qunit_data_qd_id(tvb, offset, pinfo, tree);
7973 offset=lustre_dissect_element_qunit_data_qd_flags(tvb, offset, pinfo, tree);
7975 offset=lustre_dissect_element_qunit_data_qd_count(tvb, offset, pinfo, tree);
7977 offset=lustre_dissect_element_qunit_data_qd_qunit(tvb, offset, pinfo, tree);
7979 offset=lustre_dissect_element_qunit_data_padding(tvb, offset, pinfo, tree);
7982 proto_item_set_len(item, offset-old_offset);
7987 /* TODO : find when this Structure appear on the wire */
7988 /* IDL: struct qunit_data_old2 { */
7989 /* IDL: uint32 qd_id; */
7990 /* IDL: uint32 qd_flags; */
7991 /* IDL: uint64 qd_count; */
7995 lustre_dissect_element_qunit_data_old2_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7997 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_id);
8003 lustre_dissect_element_qunit_data_old2_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8005 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_flags);
8011 lustre_dissect_element_qunit_data_old2_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8013 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_count);
8019 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_)
8021 proto_item *item = NULL;
8022 proto_tree *tree = NULL;
8030 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8031 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old2);
8034 offset=lustre_dissect_element_qunit_data_old2_qd_id(tvb, offset, pinfo, tree);
8036 offset=lustre_dissect_element_qunit_data_old2_qd_flags(tvb, offset, pinfo, tree);
8038 offset=lustre_dissect_element_qunit_data_old2_qd_count(tvb, offset, pinfo, tree);
8041 proto_item_set_len(item, offset-old_offset);
8046 /* TODO : find when this Structure appear on the wire */
8047 /* IDL: struct qunit_data_old { */
8048 /* IDL: uint32 qd_id; */
8049 /* IDL: uint32 qd_type; */
8050 /* IDL: uint32 qd_count; */
8051 /* IDL: uint32 qd_isblk; */
8055 lustre_dissect_element_qunit_data_old_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8057 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_id);
8063 lustre_dissect_element_qunit_data_old_qd_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8065 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_type);
8071 lustre_dissect_element_qunit_data_old_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8073 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_count);
8079 lustre_dissect_element_qunit_data_old_qd_isblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8081 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_isblk);
8087 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_)
8089 proto_item *item = NULL;
8090 proto_tree *tree = NULL;
8098 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8099 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old);
8102 offset=lustre_dissect_element_qunit_data_old_qd_id(tvb, offset, pinfo, tree);
8104 offset=lustre_dissect_element_qunit_data_old_qd_type(tvb, offset, pinfo, tree);
8106 offset=lustre_dissect_element_qunit_data_old_qd_count(tvb, offset, pinfo, tree);
8108 offset=lustre_dissect_element_qunit_data_old_qd_isblk(tvb, offset, pinfo, tree);
8111 proto_item_set_len(item, offset-old_offset);
8117 lustre_dissect_struct_seq_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8119 offset=dissect_uint32(tvb, offset, pinfo, parent_tree, hf_lustre_seq_opc);
8120 /* Pad out to 8 bytes */
8121 offset=add_extra_padding(tvb,offset,pinfo,parent_tree);
8127 lustre_dissect_struct_seq_range(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
8129 proto_item *item = NULL;
8130 proto_tree *tree = NULL;
8136 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8137 tree = proto_item_add_subtree(item, ett_lustre_seq_range);
8140 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_start);
8141 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_end);
8142 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_index);
8143 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_flags);
8146 proto_item_set_len(item, offset-old_offset);
8152 lustre_dissect_struct_mdt_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
8154 proto_item *item = NULL;
8155 proto_tree *tree = NULL;
8161 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8162 tree = proto_item_add_subtree(item, ett_lustre_mdt_ioepoch);
8165 offset=lustre_dissect_struct_handle_cookie(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_handle);
8166 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_ioepoch);
8167 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_flags);
8168 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_padding);
8171 proto_item_set_len(item, offset-old_offset);
8176 lustre_dissect_struct_capa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8178 proto_item *item = NULL;
8179 proto_tree *tree = NULL;
8185 if(buf_num+1>LUSTRE_BUFCOUNT)
8188 data_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + sizeof(guint32) * buf_num);
8193 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8194 tree = proto_item_add_subtree(item, ett_lustre_capa);
8197 g_print("BUG: decode of lustre_capa NYI\n");
8198 if (check_col(pinfo->cinfo, COL_INFO))
8199 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8204 proto_item_set_len(item, offset-old_offset);
8210 /* ------------------------------------------------------------------------- */
8212 * the length of the string is the current buflen
8213 * @tvb the packet buff
8214 * @offset the current offset
8217 * @hf_index : the corresponding header field
8218 * @buf_num : the corresponding bufnumber of the string (we use it to
8219 * determine the string length), must respect : 0<bufnum<=bufmax_in_paquet
8222 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)
8224 proto_item *item = NULL;
8230 /* if (parent_tree) {
8231 * item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8232 * tree = proto_item_add_subtree(item, ett_lustre);
8236 if(buf_num+1>LUSTRE_BUFCOUNT)
8239 string_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + 4 * buf_num) ; /* 4 because a buflen is on a guint32 */
8240 /* g_print("buf_num:%d (max:%d) BUFLEN_OFF:%#x strlen:%d\n",
8241 buf_num, LUSTRE_BUFCOUNT,
8242 LUSTRE_BUFLEN_OFF, string_len);*/
8244 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
8246 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " filename : %s",
8247 (const gchar *) tvb_get_string(tvb,offset,string_len) );
8250 proto_item_set_len(item, offset-old_offset);
8251 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* after a string we must be aligned to 8 bytes. */
8256 /* ------------------------------------------------------------------------- */
8257 /* dissect raw data */
8259 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)
8261 proto_item *item = NULL;
8267 if(buf_num+1>LUSTRE_BUFCOUNT)
8270 data_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + sizeof(guint32) * buf_num);
8271 proto_tree_add_item(parent_tree, hf_index, tvb, offset, data_len, TRUE);
8274 proto_item_set_len(item, offset-old_offset);
8275 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* align on 8 bytes */
8279 /* ------------------------------------------------------------------------ */
8282 /* Process REINT opcode requests */
8283 static int reint_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8287 opcode = tvb_get_letohl(tvb,offset);
8291 /* [eadata][cookie_data][ldlm_request] */
8292 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8293 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8294 hf_lustre_ldlm_request) ;
8297 /* [rec_create][filename][tgt.. Ã 0 pour l'instant][ldlm_request] */
8298 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8299 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8300 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"*/
8301 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8302 hf_lustre_ldlm_request) ;
8305 /*[mdt_rec_link][filename][ldlm_req] */
8306 offset=lustre_dissect_struct_mdt_rec_link(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link);
8307 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8308 hf_lustre_ldlm_request) ;
8309 /*TODO : need to be check*/
8312 /* reint_unlink_client: [mdt_rec_unlink][capa1][filename][ldlm_req] */
8313 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink);
8314 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8315 if ( (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF +2))) == 112) { /* TODO : ugly .. but
8316 for now we have to do this */
8317 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8320 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8321 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8324 case REINT_RENAME : /*mds_rename_unpack : [mdt_rec_rename][filename source][filename target_name][ldlm_request] */
8325 offset=lustre_dissect_struct_mdt_rec_rename(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename);
8326 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+1);
8327 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_new_name, LUSTRE_REQ_REC_OFF+2);
8328 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8330 case REINT_OPEN : /* [rec_create][filename][eadata] */
8331 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8332 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8333 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2); /* TODO : replace with hf_eadata */
8335 case REINT_SETXATTR :
8336 /* [eadata][cookie_data][ldlm_request] */
8337 offset=lustre_dissect_struct_mdt_rec_setxattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr);
8338 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8339 hf_lustre_ldlm_request) ;
8350 /* dissect a connect message */
8352 lustre_dissect_generic_connect(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8354 /*TODO : add a cuuid and target uid */
8355 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8356 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8357 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
8358 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8363 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)
8368 case OST_REPLY: /* obsolete so nothing */
8371 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8374 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8376 case OST_READ: /* [OST_BODY][obd_ioobj][niobuf_remote] for request, [OST_BODY] for reply */
8377 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8378 if(pb_type==PTL_RPC_MSG_REQUEST){
8379 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8380 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_niobuf_remote);
8384 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo,
8385 tree, hf_lustre_ost_body) ; /* [ost_body] in both case */
8386 if(pb_type==PTL_RPC_MSG_REQUEST)
8388 for (i=0;i<tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+ 4*(LUSTRE_REQ_REC_OFF+1))/24;i++)
8389 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8390 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_obd_ioobj);
8392 if(pb_type==PTL_RPC_MSG_REPLY) /* niocount *[uint32], but niocount is in request message, so
8393 we use the bufcount */
8395 for (i=0;i<tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF)-2;i++) /* -2 because we have already dissect 2 buffers : ptl + ost */
8396 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_nio);
8397 if (i & 1 ) /* if odd we add extra padding */
8398 offset=dissect_uint32(tvb, offset, pinfo, tree,
8399 hf_lustre_extra_padding);
8403 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8406 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8407 if(pb_type==PTL_RPC_MSG_REQUEST) /* [ost_body][-si buf- ldlm_request] */
8408 if ( (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF +1))) != 0)
8409 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ost_body);
8410 /* TODO : test that */
8413 if(pb_type==PTL_RPC_MSG_REQUEST) /* [key] */
8415 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF+1);
8417 if (pb_type==PTL_RPC_MSG_REPLY)
8419 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF); /* val */
8424 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8425 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8426 if (pb_type==PTL_RPC_MSG_REPLY)
8427 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8429 case OST_DISCONNECT: /* [nothing] */
8431 case OST_PUNCH: /* [ost_body] */
8432 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8434 case OST_OPEN: /* [nothing] in the code maybee obsolete */
8436 case OST_CLOSE: /* [nothing] in the code maybee obsolete */
8438 case OST_STATFS: /* [obd_statfs] check that : TODO */
8439 if(LUSTRE_BUFCOUNT>=2)
8440 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8443 /*[ost_body] in both case */
8444 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8447 if(pb_type==PTL_RPC_MSG_REQUEST)
8449 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8450 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8452 /* if Key = "evict_by_nid" --> need to be process.. TODO */
8454 case OST_QUOTACHECK:
8455 if(pb_type==PTL_RPC_MSG_REQUEST)
8456 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8457 /* nothing in reply */
8460 /*[obd_quotactl in both case]*/
8461 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8462 case OST_QUOTA_ADJUST_QUNIT:
8463 /* [quota_adjust_qunit] in both case ? */
8464 offset=lustre_dissect_struct_quota_adjust_qunit(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit) ;
8471 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)
8474 case MDS_DISCONNECT:
8479 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8482 if(pb_type==PTL_RPC_MSG_REQUEST)
8484 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8485 /*if(reply) : [nothing]*/
8488 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8489 if(pb_type==PTL_RPC_MSG_REQUEST)
8490 /*[string_xattr_name]*/
8491 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+1);
8492 if(pb_type==PTL_RPC_MSG_REPLY)
8494 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+1);
8497 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8498 /* TODO [ something ??? ] */
8500 case MDS_GETATTR_NAME:
8501 if(pb_type==PTL_RPC_MSG_REQUEST)
8503 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8504 /*[nothing in reply]*/
8506 case MDS_DONE_WRITING:
8508 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8510 case MDS_PIN: /* repbody.. */
8512 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8516 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8520 if(pb_type==PTL_RPC_MSG_REQUEST)
8521 { /* [mdt_ioepoch][rec_reint][capa1] */
8522 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch);
8524 if(LUSTRE_BUFCOUNT>=3)
8525 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8527 if(LUSTRE_BUFCOUNT>=4)
8528 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, 4);
8530 if(pb_type==PTL_RPC_MSG_REPLY)
8531 { /* [mdt_body][md][cookie] TODO : check that (reread the code about shrink in lustre) */
8532 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8533 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0)
8534 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_md_data,LUSTRE_REQ_REC_OFF+1); /* key */
8535 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+2)) > 0)
8536 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8541 if(pb_type==PTL_RPC_MSG_REPLY)
8543 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8544 /*in request : [nothing]*/
8548 /* [mdt_body] but with some different interpration, need to modify the hf : TODO */
8549 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8553 /* the structure depend on the intent_opcode */
8554 if(pb_type==PTL_RPC_MSG_REQUEST)
8555 offset=reint_opcode_process(tvb, offset, pinfo, tree);
8556 if(pb_type==PTL_RPC_MSG_REPLY)
8558 /*[mdt_body][??][llog_logid_rec] */
8559 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8560 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0){
8561 /* OPEN, RENAME, and UNLINK */
8562 /* rec_unlink or rec_rename */
8563 if(tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0){
8564 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8565 hf_lustre_mds_xattr_eadata,
8566 LUSTRE_REQ_REC_OFF+1); // replace by eadata TODO TODO //
8567 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*/
8568 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8569 hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2); // replace withe eadata TODO TODO //
8575 if(pb_type==PTL_RPC_MSG_REQUEST){
8577 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8578 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8579 //offset=add_extra_padding(tvb,offset,pinfo,tree);
8581 /*nothing en reply*/
8583 case MDS_QUOTACHECK:
8584 /* [obd_quotactl] */
8585 if(pb_type==PTL_RPC_MSG_REQUEST)
8586 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8589 /* [obd_quotactl] in both case*/
8590 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8593 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8594 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8595 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8596 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8608 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)
8612 /* [ldlm_request] if we have one more buffer it's
8613 * [intent_opcode] and the opcode give us the corresponding
8614 * intent structure [intent] */
8615 if (pb_type==PTL_RPC_MSG_REQUEST)
8617 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8618 hf_lustre_ldlm_request);
8619 if (LUSTRE_BUFCOUNT>=3)
8620 offset=lustre_dissect_struct_ldlm_intent(tvb, offset, pinfo, tree,
8621 hf_lustre_ldlm_intent);
8623 if (pb_type==PTL_RPC_MSG_REPLY)
8628 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree,
8629 hf_lustre_ldlm_reply,
8631 if (LUSTRE_BUFCOUNT>2 && (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+sizeof(guint32)*2) == 40))
8632 /* TODO :this code need to be check and test, the
8633 * lustre corresponding code is'nt explicit, so not
8634 * sure to have this buffer, but in example it works
8637 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree,
8640 else if (LUSTRE_BUFCOUNT>2) {
8641 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree,
8642 hf_lustre_mdt_body) ;
8643 /*g_print("buflen_off+4*3 = %d", tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*LUSTRE_DLM_INTENT_REC_OFF));*/
8644 if(LUSTRE_BUFCOUNT>2 &&
8645 (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*LUSTRE_DLM_INTENT_REC_OFF) > 0))
8647 magic=tvb_get_letohl(tvb, offset); /* TODO : replace this with a macro */
8651 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1);
8654 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8655 hf_lustre_extra_padding, LUSTRE_DLM_INTENT_REC_OFF);
8664 if(pb_type==PTL_RPC_MSG_REQUEST)
8666 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8667 if(pb_type==PTL_RPC_MSG_REPLY)
8669 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply, NULL) ;
8673 if(pb_type==PTL_RPC_MSG_REQUEST)
8675 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8676 /*[nothing en reply]*/
8679 case LDLM_BL_CALLBACK: /* TODO : check the corresponding code in lustre*/
8680 if(pb_type==PTL_RPC_MSG_REQUEST)
8682 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8685 case LDLM_CP_CALLBACK:
8686 if(pb_type==PTL_RPC_MSG_REQUEST){
8687 /*[ldlm_request] if the third buffer exist we have [lvb data] so it's [ost_lvb] : TODO :
8689 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8690 if(LUSTRE_BUFCOUNT>=3)
8691 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8693 /*reply : [nothing] */
8696 case LDLM_GL_CALLBACK:
8697 if(pb_type==PTL_RPC_MSG_REQUEST)
8699 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8701 if(pb_type==PTL_RPC_MSG_REPLY)
8702 /*reply : [ost_lvb] <-- need to be check*/
8703 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree, hf_lustre_ost_lvb);
8713 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)
8717 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8718 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8719 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8720 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8722 case MGS_DISCONNECT :
8725 case MGS_EXCEPTION : /* node died, etc. */
8728 case MGS_TARGET_REG:
8729 /*[mgs_target_info], mgs_handler.c mgs_handle_target_reg() called whenever a target startup*/
8730 offset=lustre_dissect_struct_mgs_target_info(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info);
8732 case MGS_TARGET_DEL:
8736 /*[mgs_send_param], mgs_set_info_rpc()*/
8737 offset=lustre_dissect_struct_mgs_send_param(tvb,offset,pinfo,tree,hf_lustre_mgs_send_param);
8746 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)
8752 case OBD_LOG_CANCEL:
8755 case OBD_QC_CALLBACK:
8756 if(pb_type==PTL_RPC_MSG_REQUEST)
8757 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8758 /*if (request) : [nothing]*/
8767 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)
8770 case LLOG_ORIGIN_HANDLE_CREATE : /* in handler.c */
8771 /*[llogd_body] (reply and request)*/
8772 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8773 if(pb_type==PTL_RPC_MSG_REQUEST) /*[filename] */
8774 if (LUSTRE_BUFCOUNT>2)
8775 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_name,
8776 LUSTRE_REQ_REC_OFF+1);
8778 case LLOG_ORIGIN_HANDLE_NEXT_BLOCK :/* in handler.c */
8779 /* [llogd_body][???]
8780 * the size of second buf is LLOG_CHKUNK_SIZE, so it's maybee only bulk data */
8781 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8782 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8783 LUSTRE_REQ_REC_OFF + 1 );
8785 case LLOG_ORIGIN_HANDLE_READ_HEADER:/* in handler.c */
8786 if(pb_type==PTL_RPC_MSG_REQUEST){
8787 /* [llogd_body][llog_log_hdr] */
8788 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8789 if(LUSTRE_BUFCOUNT>2)
8790 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8791 hf_lustre_llogd_log_hdr);
8793 if(pb_type==PTL_RPC_MSG_REPLY) /* [llog_log_hdr] */
8794 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8795 hf_lustre_llogd_log_hdr);
8797 case LLOG_ORIGIN_HANDLE_WRITE_REC : /* I think this is obsolete */
8800 case LLOG_ORIGIN_HANDLE_CLOSE :/* handler.c */
8803 case LLOG_ORIGIN_CONNECT : /* ost_handler.c */
8805 case LLOG_CATINFO : /*in handler.c */
8806 if(pb_type==PTL_RPC_MSG_REQUEST){
8807 /* [keyword][if keyword=config [char*] else [nothing]] */
8808 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_keyword,
8809 LUSTRE_REQ_REC_OFF);
8810 if (strcmp((const char *)tvb_get_string(tvb,
8813 LUSTRE_BUFLEN_OFF + 4 *
8814 LUSTRE_REQ_REC_OFF)),
8816 /* if(keyword == "config") */
8817 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_client,
8818 LUSTRE_REQ_REC_OFF+1);
8820 if(pb_type==PTL_RPC_MSG_REPLY)
8821 /*[buf] sizeof = llog_chunk_size*/
8822 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8823 LUSTRE_REQ_REC_OFF + 1 );
8824 /* TODO TODO : check if it's note a catid */
8826 case LLOG_ORIGIN_HANDLE_PREV_BLOCK : /* in handler.c */
8827 /* [llogd_body] in both case */
8828 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8829 if(pb_type==PTL_RPC_MSG_REPLY)
8830 /*[buf] size of llog_chunk_size*/
8831 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8832 LUSTRE_REQ_REC_OFF + 1 );
8834 case LLOG_ORIGIN_HANDLE_DESTROY : /* in handler.c */
8835 /*[llogd_body] in both case*/
8836 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8846 lustre_seq_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8847 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8851 if (pb_type == PTL_RPC_MSG_REQUEST)
8852 offset=lustre_dissect_struct_seq_opc(tvb, offset, pinfo, tree);
8853 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree, hf_lustre_seq_range);
8857 g_print("error: SEQ Opcode: %d unknown\n", opc);
8858 if (check_col(pinfo->cinfo, COL_INFO))
8859 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8865 /* process lustre opcode :
8866 check if opcode is in range_opcode, and call the corresponding opcode process function */
8868 lustre_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8870 if (opc <= OST_LAST_OPC) /* OST opcodes */
8871 offset=lustre_ost_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8873 if ( (opc >= MDS_FIRST_OPC) && (opc < MDS_LAST_OPC )) /* MDS opcodes */
8874 offset=lustre_mds_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8876 if ( (opc >= LDLM_FIRST_OPC) && (opc < LDLM_LAST_OPC) ) /*LDLM Opcodes*/
8877 offset=lustre_ldlm_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8879 if( (opc>= MGS_FIRST_OPC) && (opc <= MGS_LAST_OPC)) /* MGS Opcodes */
8880 offset=lustre_mgs_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8882 if( (opc>= OBD_FIRST_OPC) && (opc<=OBD_LAST_OPC)) /* ODB Opcodes */
8883 offset=lustre_odb_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8885 if( (opc>=LLOG_FIRST_OPC) && (opc<=LLOG_LAST_OPC)) /* LLOG Opcodes */
8886 offset=lustre_llog_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8888 if( (opc >= SEQ_FIRST_OPC) && (opc <= SEQ_LAST_OPC) ) /* SEQ Opcodes */
8889 offset=lustre_seq_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
8894 /* ----------------------------------------------- */
8895 /* add an extra padding to be aligned to 8bytes */
8897 add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8899 guint32 padding_len;
8901 padding_len = (8- offset%8)%8;
8903 proto_tree_add_item(tree, hf_lustre_extra_padding , tvb, offset, padding_len, TRUE);
8904 offset+=padding_len;
8908 /* ----------------------------------------------- */
8911 ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8912 proto_tree * tree _U_, guint64 intent_opc _U_)
8914 /* all corresponding code is in mdc_locks.c in function mdc_enqueue() */
8915 /* if 0x0003 we have CREAT + OPEN
8917 if (intent_opc & IT_OPEN) {
8918 /* mdc_intent_open_pack(), d'où [opcode][mdc_rec_create][name][eada] */
8919 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree,
8920 hf_lustre_mdt_rec_create);
8921 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8922 hf_lustre_reint_name,
8923 LUSTRE_DLM_INTENT_REC_OFF+3);
8924 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8925 hf_lustre_mds_xattr_eadata,
8926 LUSTRE_DLM_INTENT_REC_OFF+4);
8927 /* TODO : replace hf with eada hf */
8930 if (intent_opc & IT_UNLINK){
8931 /* mdc_intent_unlink_pack(), d'où [opcode][mdt_rec_unlink][name] */
8932 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree,
8933 hf_lustre_mdt_rec_unlink);
8934 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8935 hf_lustre_reint_name,
8936 LUSTRE_DLM_INTENT_REC_OFF+1);
8938 if (intent_opc & IT_GETATTR){
8939 /* mdc_intent_lookup_pack, d'où [mdt_body][name] */
8940 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8941 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
8942 LUSTRE_DLM_INTENT_REC_OFF+1);
8945 if (intent_opc & IT_LOOKUP){
8946 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
8947 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
8948 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+1);
8949 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
8950 LUSTRE_DLM_INTENT_REC_OFF+2);
8957 /* ----------------------------------------------- */
8958 /* function to test if the packet is entirely dissected add BUG in PROTOCOL COL when it's not*/
8960 sanity_check(tvbuff_t *tvb, packet_info *pinfo, guint32 val_offset _U_)
8962 guint32 magic_number ;
8963 guint32 somme_buflen = 0 ;
8966 magic_number = tvb_get_letohl(tvb, 8);
8969 for (i=0;i<LUSTRE_BUFCOUNT;i++)
8970 somme_buflen += tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF +
8971 4 * i ) + (8- tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4 * i)%8)%8; /* we add the
8979 if(val_offset!=somme_buflen){
8980 /*g_print("somme_buflen=%d, val_offset = %d \n",somme_buflen,val_offset);*/
8981 if (check_col(pinfo->cinfo, COL_INFO)) {
8982 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8989 /* IDL: struct lustre_msg_v1 { */
8990 /* IDL: struct lustre_handle { */
8991 /* IDL: } lm_handle; */
8992 /* IDL: uint32 lm_magic; */
8993 /* IDL: uint32 lm_type; */
8994 /* IDL: uint32 lm_version; */
8995 /* IDL: uint32 lm_opc; */
8996 /* IDL: uint64 lm_last_xid; */
8997 /* IDL: uint64 lm_last_committed; */
8998 /* IDL: uint64 lm_transno; */
8999 /* IDL: uint32 lm_status; */
9000 /* IDL: uint32 lm_flags; */
9001 /* IDL: uint32 lm_conn_cnt; */
9002 /* IDL: uint32 lm_bufcount; */
9003 /* IDL: uint32 lm_buflens[0]; */
9008 lustre_dissect_element_msg_v1_lm_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9010 /*TODO : replace with a v1 handle*/
9011 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_lustre_msg_v1_lm_handle);
9016 lustre_dissect_element_msg_v1_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9018 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_magic);
9024 lustre_dissect_element_msg_v1_lm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9026 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_type);
9032 lustre_dissect_element_msg_v1_lm_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9034 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_version);
9040 lustre_dissect_element_msg_v1_lm_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9042 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_opc);
9048 lustre_dissect_element_msg_v1_lm_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9050 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_xid);
9056 lustre_dissect_element_msg_v1_lm_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9058 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_committed);
9064 lustre_dissect_element_msg_v1_lm_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9066 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_transno);
9072 lustre_dissect_element_msg_v1_lm_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9074 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_status);
9080 lustre_dissect_element_msg_v1_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9082 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_flags);
9088 lustre_dissect_element_msg_v1_lm_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9090 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_conn_cnt);
9096 lustre_dissect_element_msg_v1_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9098 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_bufcount);
9104 lustre_dissect_element_msg_v1_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9106 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_buflens);
9112 lustre_dissect_element_msg_v1_lm_buflens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9115 gboolean extra_padding ;
9118 bufcount=tvb_get_letohl(tvb, offset-4); /* TODO : replace with a macro */
9120 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9125 for (i=0;i<bufcount;i++) {
9126 offset=lustre_dissect_element_msg_v1_lm_buflens_(tvb, offset, pinfo, tree);
9130 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9139 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_)
9141 proto_item *item = NULL;
9142 proto_tree *tree = NULL;
9144 guint32 opc ; /* opcode */
9145 guint32 pb_type; /* type : {request, reply, error} */
9151 // if (parent_tree) {
9152 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9153 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v1);
9156 offset=lustre_dissect_element_msg_v1_lm_handle(tvb, offset, pinfo, tree);
9158 offset=lustre_dissect_element_msg_v1_lm_magic(tvb, offset, pinfo, tree);
9160 pb_type = tvb_get_letohl(tvb, offset);
9161 offset=lustre_dissect_element_msg_v1_lm_type(tvb, offset, pinfo, tree);
9163 offset=lustre_dissect_element_msg_v1_lm_version(tvb, offset, pinfo, tree);
9164 opc = tvb_get_letohl(tvb, offset);
9165 offset=lustre_dissect_element_msg_v1_lm_opc(tvb, offset, pinfo, tree);
9167 offset=lustre_dissect_element_msg_v1_lm_last_xid(tvb, offset, pinfo, tree);
9169 offset=lustre_dissect_element_msg_v1_lm_last_committed(tvb, offset, pinfo, tree);
9171 offset=lustre_dissect_element_msg_v1_lm_transno(tvb, offset, pinfo, tree);
9173 offset=lustre_dissect_element_msg_v1_lm_status(tvb, offset, pinfo, tree);
9175 offset=lustre_dissect_element_msg_v1_lm_flags(tvb, offset, pinfo, tree);
9177 offset=lustre_dissect_element_msg_v1_lm_conn_cnt(tvb, offset, pinfo, tree);
9179 offset=lustre_dissect_element_msg_v1_lm_bufcount(tvb, offset, pinfo, tree);
9181 offset=lustre_dissect_element_msg_v1_lm_buflens(tvb, offset, pinfo, tree);
9184 proto_item_set_len(item, offset-old_offset);
9186 /* display some nice infos */
9187 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9188 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9190 offset=lustre_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9195 /* IDL: struct ptlrpc_body { */
9196 /* IDL: struct lustre_handle { */
9197 /* IDL: } pb_handle; */
9198 /* IDL: uint32 pb_type; */
9199 /* IDL: uint32 pb_version; */
9200 /* IDL: uint32 pb_opc; */
9201 /* IDL: uint32 pb_status; */
9202 /* IDL: uint64 pb_last_xid; */
9203 /* IDL: uint64 pb_last_seen; */
9204 /* IDL: uint64 pb_last_committed; */
9205 /* IDL: uint64 pb_transno; */
9206 /* IDL: uint32 pb_flags; */
9207 /* IDL: uint32 pb_op_flags; */
9208 /* IDL: uint32 pb_conn_cnt; */
9209 /* IDL: uint32 pb_timeout; */
9210 /* IDL: uint32 pb_service_time; */
9211 /* IDL: uint32 pb_limit; */
9212 /* IDL: uint64 pb_slv; */
9216 lustre_dissect_element_ptlrpc_body_pb_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9218 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ptlrpc_body_pb_handle);
9224 lustre_dissect_element_ptlrpc_body_pb_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9226 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_type);
9232 lustre_dissect_element_ptlrpc_body_pb_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9234 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_version);
9240 lustre_dissect_element_ptlrpc_body_pb_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9242 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_opc);
9248 lustre_dissect_element_ptlrpc_body_pb_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9250 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_status);
9256 lustre_dissect_element_ptlrpc_body_pb_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9258 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_xid);
9264 lustre_dissect_element_ptlrpc_body_pb_last_seen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9266 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_seen);
9272 lustre_dissect_element_ptlrpc_body_pb_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9274 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_committed);
9280 lustre_dissect_element_ptlrpc_body_pb_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9282 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_transno);
9288 lustre_dissect_element_ptlrpc_body_pb_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9290 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_flags);
9296 lustre_dissect_element_ptlrpc_body_pb_op_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9298 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_op_flags);
9304 lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9306 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_conn_cnt);
9312 lustre_dissect_element_ptlrpc_body_pb_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9314 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_timeout);
9320 lustre_dissect_element_ptlrpc_body_pb_service_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9322 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_service_time);
9328 lustre_dissect_element_ptlrpc_body_pb_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9330 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_limit);
9336 lustre_dissect_element_ptlrpc_body_pb_slv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9338 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_slv);
9344 lustre_dissect_element_ptlrpc_body_pb_pre_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9346 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_pre_version);
9352 lustre_dissect_element_ptlrpc_body_pb_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9354 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_padding);
9360 lustre_dissect_element_ptlrpc_body_pb_jobid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
9363 /* the lenght of the string is 32 bytes max, with \0 inside */
9364 proto_tree_add_item(parent_tree, hf_lustre_ptlrpc_body_pb_jobid, tvb, offset, 32, TRUE);
9372 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_ )
9374 proto_item *item = NULL;
9375 proto_tree *tree = NULL;
9377 guint32 opc, pb_type, pb_version;
9382 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9383 tree = proto_item_add_subtree(item, ett_lustre_ptlrpc_body);
9386 offset=lustre_dissect_element_ptlrpc_body_pb_handle(tvb, offset, pinfo, tree);
9388 pb_type = tvb_get_letohl(tvb, offset);
9389 //g_print("msg_v2_lm_type_offset = %d \n" , offset) ;
9391 offset=lustre_dissect_element_ptlrpc_body_pb_type(tvb, offset, pinfo, tree);
9393 pb_version = tvb_get_letohl(tvb, offset) & ~LUSTRE_VERSION_MASK;
9394 //g_print("msg_v2_version_offset %d : version == %d \n", offset, pb_version);
9395 offset=lustre_dissect_element_ptlrpc_body_pb_version(tvb, offset, pinfo, tree);
9397 // g_print("msg_v2_opcode_offset %d \n", offset);
9398 opc = tvb_get_letohl(tvb, offset);
9399 offset=lustre_dissect_element_ptlrpc_body_pb_opc(tvb, offset, pinfo, tree);
9401 offset=lustre_dissect_element_ptlrpc_body_pb_status(tvb, offset, pinfo, tree);
9403 offset=lustre_dissect_element_ptlrpc_body_pb_last_xid(tvb, offset, pinfo, tree);
9405 offset=lustre_dissect_element_ptlrpc_body_pb_last_seen(tvb, offset, pinfo, tree);
9407 offset=lustre_dissect_element_ptlrpc_body_pb_last_committed(tvb, offset, pinfo, tree);
9409 offset=lustre_dissect_element_ptlrpc_body_pb_transno(tvb, offset, pinfo, tree);
9411 offset=lustre_dissect_element_ptlrpc_body_pb_flags(tvb, offset, pinfo, tree);
9413 offset=lustre_dissect_element_ptlrpc_body_pb_op_flags(tvb, offset, pinfo, tree);
9415 offset=lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvb, offset, pinfo, tree);
9417 offset=lustre_dissect_element_ptlrpc_body_pb_timeout(tvb, offset, pinfo, tree);
9419 offset=lustre_dissect_element_ptlrpc_body_pb_service_time(tvb, offset, pinfo, tree);
9421 offset=lustre_dissect_element_ptlrpc_body_pb_limit(tvb, offset, pinfo, tree);
9423 offset=lustre_dissect_element_ptlrpc_body_pb_slv(tvb, offset, pinfo, tree);
9425 /* pb_pre_versions */
9426 for(i = 0; i < 4; ++i) {
9427 offset=lustre_dissect_element_ptlrpc_body_pb_pre_version(tvb, offset, pinfo, tree);
9430 for(i = 0; i < 4; ++i) {
9431 offset=lustre_dissect_element_ptlrpc_body_pb_padding(tvb, offset, pinfo, tree);
9434 if (pb_version == LUSTRE_PTLRPC_MSG_VERSION && offset-old_offset < buf_len) {
9435 offset=lustre_dissect_element_ptlrpc_body_pb_jobid(tvb, offset, pinfo, tree);
9438 if (offset-old_offset != buf_len) {
9439 g_print("ptlbody offset-old:%d buf_len:%d\n",
9440 offset-old_offset, buf_len);
9441 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9444 proto_item_set_len(item, offset-old_offset);
9446 /* display some nice infos */
9447 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9448 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9450 /* on utilise parent_tree pour bien distinguer les différents buffers (relatifs à bufcount + buflen), il s'agit d'un choix de présentation */
9451 offset=lustre_opcode_process(tvb, offset, pinfo, parent_tree, opc, pb_type);
9453 sanity_check(tvb,pinfo,offset-old_offset);
9459 /* IDL: struct lustre_msg_v2 { */
9460 /* IDL: uint32 lm_bufcount; */
9461 /* IDL: uint32 lm_secflvr; */
9462 /* IDL: uint32 lm_magic; */
9463 /* IDL: uint32 lm_repsize; */
9464 /* IDL: uint32 lm_cksum; */
9465 /* IDL: uint32 lm_flags; */
9466 /* IDL: uint32 lm_padding_2; */
9467 /* IDL: uint32 lm_padding_3; */
9468 /* IDL: uint32 lm_buflens[0]; */
9472 lustre_dissect_element_msg_v2_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9474 proto_tree_add_item(tree, hf_lustre_lustre_msg_v2_lm_bufcount, tvb, offset, 4, TRUE);
9480 lustre_dissect_element_msg_v2_lm_secflvr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9482 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_secflvr);
9488 lustre_dissect_element_msg_v2_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9490 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_magic);
9496 lustre_dissect_element_msg_v2_lm_repsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9498 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_repsize);
9504 lustre_dissect_element_msg_v2_lm_cksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9506 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_cksum);
9512 lustre_dissect_element_msg_v2_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9514 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_flags);
9520 lustre_dissect_element_msg_v2_lm_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9522 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_2);
9528 lustre_dissect_element_msg_v2_lm_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9530 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_3);
9538 lustre_dissect_element_msg_v2_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9540 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_buflens);
9546 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_)
9548 proto_item *item = NULL;
9549 proto_tree *tree = NULL;
9553 guint32 buf_len_offset;
9554 guint32 current_buf_len ;
9555 gboolean extra_padding ;
9559 /* to get a light display */
9561 // if (parent_tree) {
9562 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9563 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v2);
9566 bufcount = tvb_get_letohl(tvb,offset);
9567 offset=lustre_dissect_element_msg_v2_lm_bufcount(tvb, offset, pinfo, tree);
9569 offset=lustre_dissect_element_msg_v2_lm_secflvr(tvb, offset, pinfo, tree);
9571 offset=lustre_dissect_element_msg_v2_lm_magic(tvb, offset, pinfo, tree);
9573 offset=lustre_dissect_element_msg_v2_lm_repsize(tvb, offset, pinfo, tree);
9575 offset=lustre_dissect_element_msg_v2_lm_cksum(tvb, offset, pinfo, tree);
9577 offset=lustre_dissect_element_msg_v2_lm_flags(tvb, offset, pinfo, tree);
9579 offset=lustre_dissect_element_msg_v2_lm_padding_2(tvb, offset, pinfo, tree);
9581 offset=lustre_dissect_element_msg_v2_lm_padding_3(tvb, offset, pinfo, tree);
9585 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9590 buf_len_offset=offset ;
9591 for (i=0;i<bufcount;i++) {
9592 offset=lustre_dissect_element_msg_v2_lm_buflens_(tvb, offset, pinfo, tree);
9597 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9600 current_buf_len = tvb_get_letohl(tvb, buf_len_offset);
9601 offset=lustre_dissect_struct_ptlrpc_body(tvb,offset, pinfo, tree, hf_lustre_ptlrpc_body_pb, current_buf_len);
9603 proto_item_set_len(item, offset-old_offset);
9610 dissect_lustre(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
9612 if (check_col(pinfo->cinfo, COL_PROTOCOL))
9613 col_set_str(pinfo->cinfo, COL_PROTOCOL, "Lustre");
9616 if (check_col(pinfo->cinfo, COL_INFO))
9617 col_set_str(pinfo->cinfo, COL_INFO, "");
9618 /* guint32 magic_number ; */
9619 /* magic_number = tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET); */
9620 /* switch (magic_number)*/
9622 /* case LUSTRE_MSG_MAGIC_V1:*/
9623 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V1 ");*/
9625 /* case LUSTRE_MSG_MAGIC_V2:*/
9626 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V2 ");*/
9634 guint32 magic_number ;
9636 proto_item *ti = NULL ;
9637 proto_tree * lustre_tree = NULL ;
9640 ti = proto_tree_add_item(tree,proto_lustre,tvb,0,-1,FALSE);
9641 lustre_tree = proto_item_add_subtree(ti,ett_lustre);
9644 magic_number = tvb_get_letohl(tvb, 8);
9647 switch (magic_number){
9648 case LUSTRE_MSG_MAGIC_V1:
9649 /* put some nice info*/
9650 proto_item_append_text(lustre_tree, " V1 ");
9651 offset=lustre_dissect_struct_msg_v1(tvb, 0, pinfo, lustre_tree, proto_lustre ) ;
9653 case LUSTRE_MSG_MAGIC_V2:
9654 /* put some nice info*/
9655 proto_item_append_text(lustre_tree, " V2 ");
9656 offset=lustre_dissect_struct_msg_v2(tvb, 0, pinfo, lustre_tree, proto_lustre ) ;
9665 void proto_register_dcerpc_lustre(void)
9667 static hf_register_info hf[] = {
9668 { &hf_lustre_mdt_body,
9669 { "mdt body", "lustre.mdt_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9670 { &hf_lustre_mdt_body_fid1,
9671 { "Fid1", "lustre.mdt_body.fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9672 { &hf_lustre_mdt_body_fid2,
9673 { "Fid2", "lustre.mdt_body.fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9674 { &hf_lustre_mdt_body_handle,
9675 { "Handle", "lustre.mdt_body.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9676 { &hf_lustre_mdt_body_valid,
9677 { "Valid", "lustre.mdt_body.valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9678 { &hf_lustre_mdt_body_size,
9679 { "Size", "lustre.mdt_body.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9680 { &hf_lustre_mdt_body_mtime,
9681 { "Mtime", "lustre.mdt_body.mtime",FT_ABSOLUTE_TIME,
9682 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9683 { &hf_lustre_mdt_body_atime,
9684 { "Atime", "lustre.mdt_body.atime",FT_ABSOLUTE_TIME,
9685 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9686 { &hf_lustre_mdt_body_ctime,
9687 { "Ctime", "lustre.mdt_body.ctime",FT_ABSOLUTE_TIME,
9688 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9689 { &hf_lustre_mdt_body_blocks,
9690 { "Blocks", "lustre.mdt_body.blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9691 { &hf_lustre_mdt_body_ioepoch,
9692 { "Ioepoch", "lustre.mdt_body.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9693 { &hf_lustre_mdt_body_ino,
9694 { "Ino", "lustre.mdt_body.ino", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9695 { &hf_lustre_mdt_body_fsuid,
9696 { "Fsuid", "lustre.mdt_body.fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9697 { &hf_lustre_mdt_body_fsgid,
9698 { "Fsgid", "lustre.mdt_body.fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9699 { &hf_lustre_mdt_body_capability,
9700 { "Capability", "lustre.mdt_body.capability", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9701 { &hf_lustre_mdt_body_mode,
9702 { "Mode", "lustre.mdt_body.mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9703 { &hf_lustre_mdt_body_uid,
9704 { "Uid", "lustre.mdt_body.uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9705 { &hf_lustre_mdt_body_gid,
9706 { "Gid", "lustre.mdt_body.gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9707 { &hf_lustre_mdt_body_flags,
9708 { "Flags", "lustre.mdt_body.flags", FT_UINT32, BASE_HEX, VALS(lustre_mds_flags_vals) , 0, "", HFILL }},
9709 { &hf_lustre_mdt_body_rdev,
9710 { "Rdev", "lustre.mdt_body.rdev", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9711 { &hf_lustre_mdt_body_nlink,
9712 { "Nlink", "lustre.mdt_body.nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9713 { &hf_lustre_mdt_body_generation,
9714 { "Generation", "lustre.mdt_body.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9715 { &hf_lustre_mdt_body_suppgid,
9716 { "Suppgid", "lustre.mdt_body.suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9717 { &hf_lustre_mdt_body_eadatasize,
9718 { "Eadatasize", "lustre.mdt_body.eadatasize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9719 { &hf_lustre_mdt_body_aclsize,
9720 { "Aclsize", "lustre.mdt_body.aclsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9721 { &hf_lustre_mdt_body_max_mdsize,
9722 { "Max Mdsize", "lustre.mdt_body.max_mdsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9723 { &hf_lustre_mdt_body_max_cookiesize,
9724 { "Max Cookiesize", "lustre.mdt_body.max_cookiesize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9725 { &hf_lustre_mdt_body_uid_h,
9726 { "Uid H", "lustre.mdt_body.uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9727 { &hf_lustre_mdt_body_gid_h,
9728 { "Gid H", "lustre.mdt_body.gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9729 { &hf_lustre_mdt_body_padding_5,
9730 { "Padding 5", "lustre.mdt_body.padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9731 { &hf_lustre_mdt_body_padding_6,
9732 { "Padding 6", "lustre.mdt_body.padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9733 { &hf_lustre_mdt_body_padding_7,
9734 { "Padding 7", "lustre.mdt_body.padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9735 { &hf_lustre_mdt_body_padding_8,
9736 { "Padding 8", "lustre.mdt_body.padding_8", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9737 { &hf_lustre_mdt_body_padding_9,
9738 { "Padding 9", "lustre.mdt_body.padding_9", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9739 { &hf_lustre_mdt_body_padding_10,
9740 { "Padding 10", "lustre.mdt_body.padding_10", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9742 { &hf_lustre_mdt_rec_setattr,
9743 { "mdt rec setattr", "lustre.mdt_rec_setattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9744 { &hf_lustre_mdt_rec_setattr_sa_opcode,
9745 { "Sa Opcode", "lustre.mdt_rec_setattr.sa_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9746 { &hf_lustre_mdt_rec_setattr_sa_cap,
9747 { "Sa Cap", "lustre.mdt_rec_setattr.sa_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9748 { &hf_lustre_mdt_rec_setattr_sa_fsuid,
9749 { "Sa Fsuid", "lustre.mdt_rec_setattr.sa_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9750 { &hf_lustre_mdt_rec_setattr_sa_fsuid_h,
9751 { "Sa Fsuid H", "lustre.mdt_rec_setattr.sa_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9752 { &hf_lustre_mdt_rec_setattr_sa_fsgid,
9753 { "Sa Fsgid", "lustre.mdt_rec_setattr.sa_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9754 { &hf_lustre_mdt_rec_setattr_sa_fsgid_h,
9755 { "Sa Fsgid H", "lustre.mdt_rec_setattr.sa_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9756 { &hf_lustre_mdt_rec_setattr_sa_suppgid,
9757 { "Sa Suppgid", "lustre.mdt_rec_setattr.sa_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9758 { &hf_lustre_mdt_rec_setattr_sa_suppgid_h,
9759 { "Sa Suppgid H", "lustre.mdt_rec_setattr.sa_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9760 { &hf_lustre_mdt_rec_setattr_sa_padding_1,
9761 { "Sa Padding 1", "lustre.mdt_rec_setattr.sa_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9762 { &hf_lustre_mdt_rec_setattr_sa_padding_1_h,
9763 { "Sa Padding 1 H", "lustre.mdt_rec_setattr.sa_padding_1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9764 { &hf_lustre_mdt_rec_setattr_sa_fid,
9765 { "Sa Fid", "lustre.mdt_rec_setattr.sa_fid", FT_NONE,
9766 BASE_NONE, NULL, 0, "", HFILL } },
9767 { &hf_lustre_mdt_rec_setattr_sa_valid,
9768 { "Sa Valid", "lustre.mdt_rec_setattr.sa_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9769 { &hf_lustre_mdt_rec_setattr_sa_uid,
9770 { "Sa Uid", "lustre.mdt_rec_setattr.sa_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9771 { &hf_lustre_mdt_rec_setattr_sa_gid,
9772 { "Sa Gid", "lustre.mdt_rec_setattr.sa_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9773 { &hf_lustre_mdt_rec_setattr_sa_size,
9774 { "Sa Size", "lustre.mdt_rec_setattr.sa_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9775 { &hf_lustre_mdt_rec_setattr_sa_blocks,
9776 { "Sa Blocks", "lustre.mdt_rec_setattr.sa_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9777 { &hf_lustre_mdt_rec_setattr_sa_mtime,
9778 { "Sa Mtime", "lustre.mdt_rec_setattr.sa_mtime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9779 { &hf_lustre_mdt_rec_setattr_sa_atime,
9780 { "Sa Atime", "lustre.mdt_rec_setattr.sa_atime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9781 { &hf_lustre_mdt_rec_setattr_sa_ctime,
9782 { "Sa Ctime", "lustre.mdt_rec_setattr.sa_ctime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9783 { &hf_lustre_mdt_rec_setattr_sa_attr_flags,
9784 { "Sa Attr Flags", "lustre.mdt_rec_setattr.sa_attr_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9785 { &hf_lustre_mdt_rec_setattr_sa_mode,
9786 { "Sa Mode", "lustre.mdt_rec_setattr.sa_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9787 { &hf_lustre_mdt_rec_setattr_sa_padding_2,
9788 { "Sa Padding 2", "lustre.mdt_rec_setattr.sa_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9789 { &hf_lustre_mdt_rec_setattr_sa_padding_3,
9790 { "Sa Padding 3", "lustre.mdt_rec_setattr.sa_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9791 { &hf_lustre_mdt_rec_setattr_sa_padding_4,
9792 { "Sa Padding 4", "lustre.mdt_rec_setattr.sa_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9793 { &hf_lustre_mdt_rec_setattr_sa_padding_5,
9794 { "Sa Padding 5", "lustre.mdt_rec_setattr.sa_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9796 { &hf_lustre_mdt_rec_create,
9797 { "mdt rec create", "lustre.mdt_rec_create", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9798 { &hf_lustre_mdt_rec_create_cr_opcode,
9799 { "Cr Opcode", "lustre.mdt_rec_create.cr_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9800 { &hf_lustre_mdt_rec_create_cr_cap,
9801 { "Cr Cap", "lustre.mdt_rec_create.cr_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9802 { &hf_lustre_mdt_rec_create_cr_fsuid,
9803 { "Cr Fsuid", "lustre.mdt_rec_create.cr_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9804 { &hf_lustre_mdt_rec_create_cr_fsuid_h,
9805 { "Cr Fsuid H", "lustre.mdt_rec_create.cr_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9806 { &hf_lustre_mdt_rec_create_cr_fsgid,
9807 { "Cr Fsgid", "lustre.mdt_rec_create.cr_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9808 { &hf_lustre_mdt_rec_create_cr_fsgid_h,
9809 { "Cr Fsgid H", "lustre.mdt_rec_create.cr_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9810 { &hf_lustre_mdt_rec_create_cr_suppgid1,
9811 { "Cr Suppgid1", "lustre.mdt_rec_create.cr_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9812 { &hf_lustre_mdt_rec_create_cr_suppgid1_h,
9813 { "Cr Suppgid1 H", "lustre.mdt_rec_create.cr_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9814 { &hf_lustre_mdt_rec_create_cr_suppgid2,
9815 { "Cr Suppgid2", "lustre.mdt_rec_create.cr_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9816 { &hf_lustre_mdt_rec_create_cr_suppgid2_h,
9817 { "Cr Suppgid2 H", "lustre.mdt_rec_create.cr_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9818 { &hf_lustre_mdt_rec_create_cr_fid1,
9819 { "Cr Fid1", "lustre.mdt_rec_create.cr_fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9820 { &hf_lustre_mdt_rec_create_cr_fid2,
9821 { "Cr Fid2", "lustre.mdt_rec_create.cr_fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9822 { &hf_lustre_mdt_rec_create_cr_old_handle,
9823 { "Cr Old Handle", "lustre.mdt_rec_create.cr_old_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9824 { &hf_lustre_mdt_rec_create_cr_time,
9825 { "Cr Time", "lustre.mdt_rec_create.cr_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9826 { &hf_lustre_mdt_rec_create_cr_rdev,
9827 { "Cr Rdev", "lustre.mdt_rec_create.cr_rdev", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9828 { &hf_lustre_mdt_rec_create_cr_ioepoch,
9829 { "Cr Ioepoch", "lustre.mdt_rec_create.cr_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9830 { &hf_lustre_mdt_rec_create_cr_padding_1,
9831 { "Cr Padding 1", "lustre.mdt_rec_create.cr_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9832 { &hf_lustre_mdt_rec_create_cr_mode,
9833 { "Cr Mode", "lustre.mdt_rec_create.cr_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9834 { &hf_lustre_mdt_rec_create_cr_bias,
9835 { "Cr Bias", "lustre.mdt_rec_create.cr_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9836 { &hf_lustre_mdt_rec_create_cr_flags_l,
9837 { "Cr Flags L", "lustre.mdt_rec_create.cr_flags_l", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9838 { &hf_lustre_mdt_rec_create_cr_flags_h,
9839 { "Cr Flags H", "lustre.mdt_rec_create.cr_flags_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9840 { &hf_lustre_mdt_rec_create_cr_umask,
9841 { "Cr Umask", "lustre.mdt_rec_create.cr_umask", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9842 { &hf_lustre_mdt_rec_create_cr_padding_4,
9843 { "Cr Padding 4", "lustre.mdt_rec_create.cr_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9845 { &hf_lustre_mdt_rec_link,
9846 { "mdt rec link", "lustre.mdt_rec_link", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9847 { &hf_lustre_mdt_rec_link_lk_opcode,
9848 { "Lk Opcode", "lustre.mdt_rec_link.lk_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9849 { &hf_lustre_mdt_rec_link_lk_cap,
9850 { "Lk Cap", "lustre.mdt_rec_link.lk_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9851 { &hf_lustre_mdt_rec_link_lk_fsuid,
9852 { "Lk Fsuid", "lustre.mdt_rec_link.lk_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9853 { &hf_lustre_mdt_rec_link_lk_fsuid_h,
9854 { "Lk Fsuid H", "lustre.mdt_rec_link.lk_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9855 { &hf_lustre_mdt_rec_link_lk_fsgid,
9856 { "Lk Fsgid", "lustre.mdt_rec_link.lk_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9857 { &hf_lustre_mdt_rec_link_lk_fsgid_h,
9858 { "Lk Fsgid H", "lustre.mdt_rec_link.lk_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9859 { &hf_lustre_mdt_rec_link_lk_suppgid1,
9860 { "Lk Suppgid1", "lustre.mdt_rec_link.lk_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9861 { &hf_lustre_mdt_rec_link_lk_suppgid1_h,
9862 { "Lk Suppgid1 H", "lustre.mdt_rec_link.lk_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9863 { &hf_lustre_mdt_rec_link_lk_suppgid2,
9864 { "Lk Suppgid2", "lustre.mdt_rec_link.lk_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9865 { &hf_lustre_mdt_rec_link_lk_suppgid2_h,
9866 { "Lk Suppgid2 H", "lustre.mdt_rec_link.lk_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9867 { &hf_lustre_mdt_rec_link_lk_fid1,
9868 { "Lk Fid1", "lustre.mdt_rec_link.lk_fid1", FT_NONE,
9869 BASE_NONE, NULL, 0, "", HFILL } },
9870 { &hf_lustre_mdt_rec_link_lk_fid2,
9871 { "Lk Fid2", "lustre.mdt_rec_link.lk_fid2", FT_NONE,
9872 BASE_NONE, NULL, 0, "", HFILL } },
9873 { &hf_lustre_mdt_rec_link_lk_time,
9874 { "Lk Time", "lustre.mdt_rec_link.lk_time",FT_ABSOLUTE_TIME,
9875 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9876 { &hf_lustre_mdt_rec_link_lk_padding_1,
9877 { "Lk Padding 1", "lustre.mdt_rec_link.lk_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9878 { &hf_lustre_mdt_rec_link_lk_padding_2,
9879 { "Lk Padding 2", "lustre.mdt_rec_link.lk_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9880 { &hf_lustre_mdt_rec_link_lk_padding_3,
9881 { "Lk Padding 3", "lustre.mdt_rec_link.lk_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9882 { &hf_lustre_mdt_rec_link_lk_padding_4,
9883 { "Lk Padding 4", "lustre.mdt_rec_link.lk_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9884 { &hf_lustre_mdt_rec_link_lk_bias,
9885 { "Lk Bias", "lustre.mdt_rec_link.lk_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9886 { &hf_lustre_mdt_rec_link_lk_padding_5,
9887 { "Lk Padding 5", "lustre.mdt_rec_link.lk_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9888 { &hf_lustre_mdt_rec_link_lk_padding_6,
9889 { "Lk Padding 6", "lustre.mdt_rec_link.lk_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9890 { &hf_lustre_mdt_rec_link_lk_padding_7,
9891 { "Lk Padding 7", "lustre.mdt_rec_link.lk_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9892 { &hf_lustre_mdt_rec_link_lk_padding_8,
9893 { "Lk Padding 8", "lustre.mdt_rec_link.lk_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9894 { &hf_lustre_mdt_rec_link_lk_padding_9,
9895 { "Lk Padding 9", "lustre.mdt_rec_link.lk_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9897 { &hf_lustre_mdt_rec_unlink,
9898 { "mdt rec unlink", "lustre.mdt_rec_unlink", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9899 { &hf_lustre_mdt_rec_unlink_ul_opcode,
9900 { "Ul Opcode", "lustre.mdt_rec_unlink.ul_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9901 { &hf_lustre_mdt_rec_unlink_ul_cap,
9902 { "Ul Cap", "lustre.mdt_rec_unlink.ul_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9903 { &hf_lustre_mdt_rec_unlink_ul_fsuid,
9904 { "Ul Fsuid", "lustre.mdt_rec_unlink.ul_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9905 { &hf_lustre_mdt_rec_unlink_ul_fsuid_h,
9906 { "Ul Fsuid H", "lustre.mdt_rec_unlink.ul_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9907 { &hf_lustre_mdt_rec_unlink_ul_fsgid,
9908 { "Ul Fsgid", "lustre.mdt_rec_unlink.ul_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9909 { &hf_lustre_mdt_rec_unlink_ul_fsgid_h,
9910 { "Ul Fsgid H", "lustre.mdt_rec_unlink.ul_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9911 { &hf_lustre_mdt_rec_unlink_ul_suppgid1,
9912 { "Ul Suppgid1", "lustre.mdt_rec_unlink.ul_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9913 { &hf_lustre_mdt_rec_unlink_ul_suppgid1_h,
9914 { "Ul Suppgid1 H", "lustre.mdt_rec_unlink.ul_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9915 { &hf_lustre_mdt_rec_unlink_ul_suppgid2,
9916 { "Ul Suppgid2", "lustre.mdt_rec_unlink.ul_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9917 { &hf_lustre_mdt_rec_unlink_ul_suppgid2_h,
9918 { "Ul Suppgid2 H", "lustre.mdt_rec_unlink.ul_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9919 { &hf_lustre_mdt_rec_unlink_ul_fid1,
9920 { "Ul Fid1", "lustre.mdt_rec_unlink.ul_fid1", FT_NONE,
9921 BASE_NONE, NULL, 0, "", HFILL } },
9922 { &hf_lustre_mdt_rec_unlink_ul_fid2,
9923 { "Ul Fid2", "lustre.mdt_rec_unlink.ul_fid2", FT_NONE,
9924 BASE_NONE, NULL, 0, "", HFILL } },
9925 { &hf_lustre_mdt_rec_unlink_ul_time,
9926 { "Ul Time", "lustre.mdt_rec_unlink.ul_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9927 { &hf_lustre_mdt_rec_unlink_ul_padding_2,
9928 { "Ul Padding 2", "lustre.mdt_rec_unlink.ul_padding_2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9929 { &hf_lustre_mdt_rec_unlink_ul_padding_3,
9930 { "Ul Padding 3", "lustre.mdt_rec_unlink.ul_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9931 { &hf_lustre_mdt_rec_unlink_ul_padding_4,
9932 { "Ul Padding 4", "lustre.mdt_rec_unlink.ul_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9933 { &hf_lustre_mdt_rec_unlink_ul_padding_5,
9934 { "Ul Padding 5", "lustre.mdt_rec_unlink.ul_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9935 { &hf_lustre_mdt_rec_unlink_ul_bias,
9936 { "Ul Bias", "lustre.mdt_rec_unlink.ul_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9937 { &hf_lustre_mdt_rec_unlink_ul_mode,
9938 { "Ul Mode", "lustre.mdt_rec_unlink.ul_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9939 { &hf_lustre_mdt_rec_unlink_ul_padding_6,
9940 { "Ul Padding 6", "lustre.mdt_rec_unlink.ul_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9941 { &hf_lustre_mdt_rec_unlink_ul_padding_7,
9942 { "Ul Padding 7", "lustre.mdt_rec_unlink.ul_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9943 { &hf_lustre_mdt_rec_unlink_ul_padding_8,
9944 { "Ul Padding 8", "lustre.mdt_rec_unlink.ul_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9945 { &hf_lustre_mdt_rec_unlink_ul_padding_9,
9946 { "Ul Padding 9", "lustre.mdt_rec_unlink.ul_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9948 { &hf_lustre_mdt_rec_rename,
9949 { "mdt rec rename", "lustre.mdt_rec_rename", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9950 { &hf_lustre_mdt_rec_rename_rn_opcode,
9951 { "Rn Opcode", "lustre.mdt_rec_rename.rn_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9952 { &hf_lustre_mdt_rec_rename_rn_cap,
9953 { "Rn Cap", "lustre.mdt_rec_rename.rn_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9954 { &hf_lustre_mdt_rec_rename_rn_fsuid,
9955 { "Rn Fsuid", "lustre.mdt_rec_rename.rn_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9956 { &hf_lustre_mdt_rec_rename_rn_fsuid_h,
9957 { "Rn Fsuid H", "lustre.mdt_rec_rename.rn_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9958 { &hf_lustre_mdt_rec_rename_rn_fsgid,
9959 { "Rn Fsgid", "lustre.mdt_rec_rename.rn_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9960 { &hf_lustre_mdt_rec_rename_rn_fsgid_h,
9961 { "Rn Fsgid H", "lustre.mdt_rec_rename.rn_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9962 { &hf_lustre_mdt_rec_rename_rn_suppgid1,
9963 { "Rn Suppgid1", "lustre.mdt_rec_rename.rn_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9964 { &hf_lustre_mdt_rec_rename_rn_suppgid1_h,
9965 { "Rn Suppgid1 H", "lustre.mdt_rec_rename.rn_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9966 { &hf_lustre_mdt_rec_rename_rn_suppgid2,
9967 { "Rn Suppgid2", "lustre.mdt_rec_rename.rn_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9968 { &hf_lustre_mdt_rec_rename_rn_suppgid2_h,
9969 { "Rn Suppgid2 H", "lustre.mdt_rec_rename.rn_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9970 { &hf_lustre_mdt_rec_rename_rn_fid1,
9971 { "Rn Fid1", "lustre.mdt_rec_rename.rn_fid1", FT_NONE,
9972 BASE_NONE, NULL, 0, "", HFILL } },
9973 { &hf_lustre_mdt_rec_rename_rn_fid2,
9974 { "Rn Fid2", "lustre.mdt_rec_rename.rn_fid2", FT_NONE,
9975 BASE_NONE, NULL, 0, "", HFILL } },
9976 { &hf_lustre_mdt_rec_rename_rn_time,
9977 { "Rn Time", "lustre.mdt_rec_rename.rn_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9978 { &hf_lustre_mdt_rec_rename_rn_padding_1,
9979 { "Rn Padding 1", "lustre.mdt_rec_rename.rn_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9980 { &hf_lustre_mdt_rec_rename_rn_padding_2,
9981 { "Rn Padding 2", "lustre.mdt_rec_rename.rn_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9982 { &hf_lustre_mdt_rec_rename_rn_padding_3,
9983 { "Rn Padding 3", "lustre.mdt_rec_rename.rn_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9984 { &hf_lustre_mdt_rec_rename_rn_padding_4,
9985 { "Rn Padding 4", "lustre.mdt_rec_rename.rn_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9986 { &hf_lustre_mdt_rec_rename_rn_bias,
9987 { "Rn Bias", "lustre.mdt_rec_rename.rn_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9988 { &hf_lustre_mdt_rec_rename_rn_mode,
9989 { "Rn Mode", "lustre.mdt_rec_rename.rn_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9990 { &hf_lustre_mdt_rec_rename_rn_padding_5,
9991 { "Rn Padding 5", "lustre.mdt_rec_rename.rn_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9992 { &hf_lustre_mdt_rec_rename_rn_padding_6,
9993 { "Rn Padding 6", "lustre.mdt_rec_rename.rn_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9994 { &hf_lustre_mdt_rec_rename_rn_padding_7,
9995 { "Rn Padding 7", "lustre.mdt_rec_rename.rn_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9996 { &hf_lustre_mdt_rec_rename_rn_padding_8,
9997 { "Rn Padding 8", "lustre.mdt_rec_rename.rn_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9999 { &hf_lustre_mdt_rec_setxattr,
10000 { "mdt rec setxattr", "lustre.mdt_rec_setxattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10001 { &hf_lustre_mdt_rec_setxattr_sx_opcode,
10002 { "Sx Opcode", "lustre.mdt_rec_setxattr.sx_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
10003 { &hf_lustre_mdt_rec_setxattr_sx_cap,
10004 { "Sx Cap", "lustre.mdt_rec_setxattr.sx_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10005 { &hf_lustre_mdt_rec_setxattr_sx_fsuid,
10006 { "Sx Fsuid", "lustre.mdt_rec_setxattr.sx_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10007 { &hf_lustre_mdt_rec_setxattr_sx_fsuid_h,
10008 { "Sx Fsuid H", "lustre.mdt_rec_setxattr.sx_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10009 { &hf_lustre_mdt_rec_setxattr_sx_fsgid,
10010 { "Sx Fsgid", "lustre.mdt_rec_setxattr.sx_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10011 { &hf_lustre_mdt_rec_setxattr_sx_fsgid_h,
10012 { "Sx Fsgid H", "lustre.mdt_rec_setxattr.sx_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10013 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1,
10014 { "Sx Suppgid1", "lustre.mdt_rec_setxattr.sx_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10015 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1_h,
10016 { "Sx Suppgid1 H", "lustre.mdt_rec_setxattr.sx_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10017 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2,
10018 { "Sx Suppgid2", "lustre.mdt_rec_setxattr.sx_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10019 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2_h,
10020 { "Sx Suppgid2 H", "lustre.mdt_rec_setxattr.sx_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10021 { &hf_lustre_mdt_rec_setxattr_sx_fid,
10022 { "Sx Fid", "lustre.mdt_rec_setxattr.sx_fid", FT_NONE,
10023 BASE_NONE, NULL, 0, "", HFILL } },
10024 { &hf_lustre_mdt_rec_setxattr_sx_padding_1,
10025 { "Sx Padding 1", "lustre.mdt_rec_setxattr.sx_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10026 { &hf_lustre_mdt_rec_setxattr_sx_padding_2,
10027 { "Sx Padding 2", "lustre.mdt_rec_setxattr.sx_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10028 { &hf_lustre_mdt_rec_setxattr_sx_padding_3,
10029 { "Sx Padding 3", "lustre.mdt_rec_setxattr.sx_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10030 { &hf_lustre_mdt_rec_setxattr_sx_valid,
10031 { "Sx Valid", "lustre.mdt_rec_setxattr.sx_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10032 { &hf_lustre_mdt_rec_setxattr_sx_time,
10033 { "Sx Time", "lustre.mdt_rec_setxattr.sx_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10034 { &hf_lustre_mdt_rec_setxattr_sx_padding_5,
10035 { "Sx Padding 5", "lustre.mdt_rec_setxattr.sx_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10036 { &hf_lustre_mdt_rec_setxattr_sx_padding_6,
10037 { "Sx Padding 6", "lustre.mdt_rec_setxattr.sx_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10038 { &hf_lustre_mdt_rec_setxattr_sx_padding_7,
10039 { "Sx Padding 7", "lustre.mdt_rec_setxattr.sx_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10040 { &hf_lustre_mdt_rec_setxattr_sx_size,
10041 { "Sx Size", "lustre.mdt_rec_setxattr.sx_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10042 { &hf_lustre_mdt_rec_setxattr_sx_flags,
10043 { "Sx Flags", "lustre.mdt_rec_setxattr.sx_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10044 { &hf_lustre_mdt_rec_setxattr_sx_padding_8,
10045 { "Sx Padding 8", "lustre.mdt_rec_setxattr.sx_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10046 { &hf_lustre_mdt_rec_setxattr_sx_padding_9,
10047 { "Sx Padding 9", "lustre.mdt_rec_setxattr.sx_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10048 { &hf_lustre_mdt_rec_setxattr_sx_padding_10,
10049 { "Sx Padding 10", "lustre.mdt_rec_setxattr.sx_padding_10", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10050 { &hf_lustre_mdt_rec_setxattr_sx_padding_11,
10051 { "Sx Padding 11", "lustre.mdt_rec_setxattr.sx_padding_11", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10053 { &hf_lustre_lustre_handle_cookie,
10054 { "Cookie", "lustre.lustre_handle.cookie", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10055 { &hf_lustre_ptlrpc_body_pb_last_committed,
10056 { "Pb Last Committed", "lustre.ptlrpc_body.pb_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10057 { &hf_lustre_ptlrpc_body_pb_version,
10058 { "Pb Version", "lustre.ptlrpc_body.pb_version", FT_UINT32, BASE_DEC, NULL, ~LUSTRE_VERSION_MASK, "", HFILL }},
10059 { &hf_lustre_lustre_msg_v1_lm_bufcount,
10060 { "Lm Bufcount", "lustre.lustre_msg_v1.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10061 { &hf_lustre_obd_ioobj_ioo_id,
10062 { "Ioo Id", "lustre.obd_ioobj.ioo_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10063 { &hf_lustre_ptlrpc_body_pb_slv,
10064 { "Pb Slv", "lustre.ptlrpc_body.pb_slv", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10066 { &hf_lustre_ptlrpc_body_pb_pre_version,
10067 { "Pb Pre-Version", "lustre.ptlrpc_body.pb_pre_version", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10068 { &hf_lustre_ptlrpc_body_pb_padding,
10069 { "Pb Padding", "lustre.ptlrpc_body.pb_padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10070 { &hf_lustre_ptlrpc_body_pb_jobid,
10071 { "Pb JobId", "lustre.ptlrpc_body.pb_jobid", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10073 { &hf_lustre_lustre_msg_v1_lm_handle,
10074 { "Lm Handle", "lustre.lustre_msg_v1.lm_handle", FT_NONE,
10075 BASE_NONE, NULL, 0, "", HFILL } },
10076 { &hf_lustre_ost_lvb_lvb_atime,
10077 { "Lvb Atime", "lustre.ost_lvb.lvb_atime",FT_ABSOLUTE_TIME,
10078 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10079 { &hf_lustre_ptlrpc_body_pb_timeout,
10080 { "Pb Timeout", "lustre.ptlrpc_body.pb_timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10081 { &hf_lustre_obd_statfs_os_bavail,
10082 { "Os Bavail", "lustre.obd_statfs.os_bavail", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10083 { &hf_lustre_obd_statfs_os_bsize,
10084 { "Os Bsize", "lustre.obd_statfs.os_bsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10085 { &hf_lustre_lustre_msg_v2_lm_repsize,
10086 { "Lm Repsize", "lustre.lustre_msg_v2.lm_repsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10087 { &hf_lustre_lov_mds_md_v1_lmm_stripe_size,
10088 { "Lmm Stripe Size", "lustre.lov_mds_md_v1.lmm_stripe_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10089 { &hf_lustre_lustre_msg_v1_lm_last_xid,
10090 { "Lm Last Xid", "lustre.lustre_msg_v1.lm_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10091 { &hf_lustre_ll_fid_f_type,
10092 { "F Type", "lustre.ll_fid.f_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10093 { &hf_lustre_lustre_msg_v2_lm_cksum,
10094 { "Lm Cksum", "lustre.lustre_msg_v2.lm_cksum", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10095 { &hf_lustre_lustre_msg_v2_lm_buflens,
10096 { "Lm Buflens", "lustre.lustre_msg_v2.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10097 { &hf_lustre_lustre_msg_v1_lm_status,
10098 { "Lm Status", "lustre.lustre_msg_v1.lm_status", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10099 { &hf_lustre_lustre_msg_v1_lm_type,
10100 { "Lm Type", "lustre.lustre_msg_v1.lm_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10101 { &hf_lustre_niobuf_remote_len,
10102 { "Len", "lustre.niobuf_remote.len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10103 { &hf_lustre_lov_mds_md_v1_lmm_magic,
10104 { "Lmm Magic", "lustre.lov_mds_md_v1.lmm_magic", FT_UINT32, BASE_HEX, VALS(lustre_lov_magic) , 0, "", HFILL }},
10105 { &hf_lustre_ptlrpc_body_pb_op_flags,
10106 { "Pb Op Flags", "lustre.ptlrpc_body.pb_op_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10107 { &hf_lustre_ost_lvb_lvb_ctime,
10108 { "Lvb Ctime", "lustre.ost_lvb.lvb_ctime",FT_ABSOLUTE_TIME,
10109 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10110 { &hf_lustre_ptlrpc_body_pb_type,
10111 { "Pb Type", "lustre.ptlrpc_body.pb_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10112 { &hf_lustre_obd_connect_data_ocd_nllg,
10113 { "Ocd Nllg", "lustre.obd_connect_data.ocd_nllg", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10114 { &hf_lustre_obd_connect_data_ocd_nllu,
10115 { "Ocd Nllu", "lustre.obd_connect_data.ocd_nllu", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10116 { &hf_lustre_ll_fid_generation,
10117 { "Generation", "lustre.ll_fid.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10118 { &hf_lustre_ost_lvb_lvb_mtime,
10119 { "Lvb Mtime", "lustre.ost_lvb.lvb_mtime",FT_ABSOLUTE_TIME,
10120 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10121 { &hf_lustre_obd_connect_data_ocd_ibits_known,
10122 { "Ocd Ibits Known", "lustre.obd_connect_data.ocd_ibits_known", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10123 { &hf_lustre_lustre_msg_v2_lm_padding_3,
10124 { "Lm Padding 3", "lustre.lustre_msg_v2.lm_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10125 { &hf_lustre_ptlrpc_body_pb_flags,
10126 { "Pb Flags", "lustre.ptlrpc_body.pb_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10127 { &hf_lustre_obd_statfs_os_spare4,
10128 { "Os Spare4", "lustre.obd_statfs.os_spare4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10129 { &hf_lustre_obd_connect_data_ocd_group,
10130 { "Ocd Group", "lustre.obd_connect_data.ocd_group", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10131 { &hf_lustre_lov_ost_data_v1_l_object_seq,
10132 { "L Object SEQ", "lustre.lov_ost_data_v1.l_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10133 { &hf_lustre_lov_mds_md_v1_lmm_object_seq,
10134 { "Lmm Object SEQ", "lustre.lov_mds_md_v1.lmm_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10135 { &hf_lustre_obd_connect_data_ocd_brw_size,
10136 { "Ocd Brw Size", "lustre.obd_connect_data.ocd_brw_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10137 { &hf_lustre_ptlrpc_body_pb_limit,
10138 { "Pb Limit", "lustre.ptlrpc_body.pb_limit", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10139 { &hf_lustre_obd_statfs_os_maxbytes,
10140 { "Os Maxbytes", "lustre.obd_statfs.os_maxbytes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10141 { &hf_lustre_obd_statfs_os_spare5,
10142 { "Os Spare5", "lustre.obd_statfs.os_spare5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10143 { &hf_lustre_lustre_msg_v2_lm_flags,
10144 { "Lm Flags", "lustre.lustre_msg_v2.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10145 { &hf_lustre_obd_statfs_os_ffree,
10146 { "Os Ffree", "lustre.obd_statfs.os_ffree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10147 { &hf_lustre_obd_statfs_os_files,
10148 { "Os Files", "lustre.obd_statfs.os_files", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10149 { &hf_lustre_lov_mds_md_v1_lmm_stripe_count,
10150 { "Lmm Stripe Count", "lustre.lov_mds_md_v1.lmm_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10151 { &hf_lustre_lustre_msg_v1_lm_flags,
10152 { "Lm Flags", "lustre.lustre_msg_v1.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10153 { &hf_lustre_lustre_msg_v1_lm_last_committed,
10154 { "Lm Last Committed", "lustre.lustre_msg_v1.lm_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10155 { &hf_lustre_obd_statfs_os_spare9,
10156 { "Os Spare9", "lustre.obd_statfs.os_spare9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10157 { &hf_lustre_obd_connect_data_ocd_index,
10158 { "Ocd Index", "lustre.obd_connect_data.ocd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10159 { &hf_lustre_lustre_msg_v1_lm_buflens,
10160 { "Lm Buflens", "lustre.lustre_msg_v1.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10161 { &hf_lustre_obd_statfs_os_spare1,
10162 { "Os Spare1", "lustre.obd_statfs.os_spare1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10163 { &hf_lustre_obd_statfs_os_spare8,
10164 { "Os Spare8", "lustre.obd_statfs.os_spare8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10165 { &hf_lustre_lustre_msg_v1_lm_conn_cnt,
10166 { "Lm Conn Cnt", "lustre.lustre_msg_v1.lm_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10167 { &hf_lustre_ptlrpc_body_pb_transno,
10168 { "Pb Transno", "lustre.ptlrpc_body.pb_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10169 { &hf_lustre_ptlrpc_body_pb_service_time,
10170 { "Pb Service Time", "lustre.ptlrpc_body.pb_service_time",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10171 { &hf_lustre_ptlrpc_body_pb_conn_cnt,
10172 { "Pb Conn Cnt", "lustre.ptlrpc_body.pb_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10173 { &hf_lustre_ptlrpc_body_pb_opc,
10174 { "Pb Opc", "lustre.ptlrpc_body.pb_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10175 { &hf_lustre_obd_connect_data_ocd_connect_flags,
10176 { "Ocd Connect Flags", "lustre.obd_connect_data.ocd_connect_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10177 { &hf_lustre_lov_ost_data_v1_l_object_id,
10178 { "L Object Id", "lustre.lov_ost_data_v1.l_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10179 { &hf_lustre_lov_ost_data_v1_l_ost_gen,
10180 { "L Ost Gen", "lustre.lov_ost_data_v1.l_ost_gen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10181 { &hf_lustre_obd_statfs_os_bfree,
10182 { "Os Bfree", "lustre.obd_statfs.os_bfree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10183 { &hf_lustre_obd_connect_data_ocd_version,
10184 { "Ocd Version", "lustre.obd_connect_data.ocd_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10185 { &hf_lustre_lov_mds_md_v1_lmm_objects,
10186 { "Lmm Objects", "lustre.lov_mds_md_v1.lmm_objects", FT_NONE,
10187 BASE_NONE, NULL, 0, "", HFILL } },
10188 { &hf_lustre_obd_statfs_os_namelen,
10189 { "Os Namelen", "lustre.obd_statfs.os_namelen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10190 { &hf_lustre_obd_statfs_os_blocks,
10191 { "Os Blocks", "lustre.obd_statfs.os_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10192 { &hf_lustre_lustre_msg_v2_lm_secflvr,
10193 { "Lm Secflvr", "lustre.lustre_msg_v2.lm_secflvr", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10194 { &hf_lustre_lustre_msg_v1_lm_transno,
10195 { "Lm Transno", "lustre.lustre_msg_v1.lm_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10196 { &hf_lustre_lov_mds_md_v1_lmm_pattern,
10197 { "Lmm Pattern", "lustre.lov_mds_md_v1.lmm_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10198 { &hf_lustre_lustre_msg_v1_lm_opc,
10199 { "Lm Opc", "lustre.lustre_msg_v1.lm_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10200 { &hf_lustre_obd_connect_data_ocd_grant,
10201 { "Ocd Grant", "lustre.obd_connect_data.ocd_grant", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10202 { &hf_lustre_obd_ioobj_ioo_bufcnt,
10203 { "Ioo Bufcnt", "lustre.obd_ioobj.ioo_bufcnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10204 { &hf_lustre_lustre_msg_v1_lm_version,
10205 { "Lm Version", "lustre.lustre_msg_v1.lm_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10206 { &hf_lustre_obd_statfs_os_spare7,
10207 { "Os Spare7", "lustre.obd_statfs.os_spare7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10208 { &hf_lustre_obd_statfs_os_fsid,
10209 { "Os Fsid", "lustre.obd_statfs.os_fsid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10210 { &hf_lustre_obd_connect_data_ocd_cksum_types,
10211 { "Ocd Cksum Types", "lustre.obd_connect_data.ocd_cksum_types", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10212 { &hf_lustre_ost_lvb_lvb_size,
10213 { "Lvb Size", "lustre.ost_lvb.lvb_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10214 { &hf_lustre_obd_statfs_os_type,
10215 { "Os Type", "lustre.obd_statfs.os_type", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10216 { &hf_lustre_obd_statfs_os_spare6,
10217 { "Os Spare6", "lustre.obd_statfs.os_spare6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10218 { &hf_lustre_obd_statfs_os_state,
10219 { "Os State", "lustre.obd_statfs.os_state", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10220 { &hf_lustre_obd_statfs_os_spare3,
10221 { "Os Spare3", "lustre.obd_statfs.os_spare3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10222 { &hf_lustre_lustre_msg_v2_lm_magic,
10223 { "Lm Magic", "lustre.lustre_msg_v2.lm_magic", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10224 { &hf_lustre_lov_mds_md_v1_lmm_object_id,
10225 { "Lmm Object Id", "lustre.lov_mds_md_v1.lmm_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10226 { &hf_lustre_ptlrpc_body_pb_last_seen,
10227 { "Pb Last Seen", "lustre.ptlrpc_body.pb_last_seen", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10228 { &hf_lustre_obd_ioobj_ioo_type, /* TODO : create the
10229 corresponding value_string */
10230 { "Ioo Type", "lustre.obd_ioobj.ioo_type", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10231 { &hf_lustre_ptlrpc_body_pb_last_xid,
10232 { "Pb Last Xid", "lustre.ptlrpc_body.pb_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10233 { &hf_lustre_ptlrpc_body_pb_status,
10234 { "Pb Status", "lustre.ptlrpc_body.pb_status", FT_INT32, BASE_DEC, NULL, 0, "", HFILL }},
10235 { &hf_lustre_niobuf_remote_flags,
10236 { "Flags", "lustre.niobuf_remote.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10237 { &hf_lustre_ll_fid_id,
10238 { "Id", "lustre.ll_fid.id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10239 { &hf_lustre_ost_lvb_lvb_blocks,
10240 { "Lvb Blocks", "lustre.ost_lvb.lvb_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10241 { &hf_lustre_lustre_msg_v2_lm_padding_2,
10242 { "Lm Padding 2", "lustre.lustre_msg_v2.lm_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10243 { &hf_lustre_obd_connect_data_padding1,
10244 { "Padding1", "lustre.obd_connect_data.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10245 { &hf_lustre_lov_ost_data_v1_l_ost_idx,
10246 { "L Ost Idx", "lustre.lov_ost_data_v1.l_ost_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10247 { &hf_lustre_obd_connect_data_padding2,
10248 { "Padding2", "lustre.obd_connect_data.padding2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10249 { &hf_lustre_obd_ioobj_ioo_seq,
10250 { "Ioo Gr", "lustre.obd_ioobj.ioo_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10251 { &hf_lustre_niobuf_remote_offset,
10252 { "Offset", "lustre.niobuf_remote.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10253 { &hf_lustre_obd_statfs_os_spare2,
10254 { "Os Spare2", "lustre.obd_statfs.os_spare2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10255 { &hf_lustre_lustre_msg_v2_lm_bufcount,
10256 { "Lm Bufcount", "lustre.lustre_msg_v2.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10257 { &hf_lustre_ptlrpc_body_pb_handle,
10258 { "Pb Handle", "lustre.ptlrpc_body.pb_handle", FT_NONE,
10259 BASE_NONE, NULL, 0, "", HFILL } },
10260 { &hf_lustre_obd_connect_data_ocd_transno,
10261 { "Ocd Transno", "lustre.obd_connect_data.ocd_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10262 { &hf_lustre_lustre_msg_v1_lm_magic,
10263 { "Lm Magic", "lustre.lustre_msg_v1.lm_magic", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10264 { &hf_lustre_ptlrpc_body_pb,
10265 { "ptl rpc", "lustre.ptlrpc_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10267 { &hf_lustre_obd_uuid,
10268 { "obd uid name", "lustre.obd_uid", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10269 { &hf_lustre_obd_connect_data ,
10270 { "obd connect data", "lustre.obd_connect_data", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10272 { &hf_lustre_ldlm_intent,
10273 { "ldlm intent", "lustre.ldlm_intent", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10275 { &hf_lustre_obd_ioobj,
10276 { "lustre obd ioobj", "lustre.obd_ioobj", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10277 { &hf_lustre_niobuf_remote,
10278 { "lustre niobuf remote", "lustre.niobuf_remote", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10279 { &hf_lustre_ost_key,
10280 { "lustre ost key", "lustre.ost_key", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10281 { &hf_lustre_ost_val,
10282 { "lustre ost val", "lustre.ost_val", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10283 { &hf_lustre_llogd_chunk,
10284 { "lustre llogd chunk", "lustre.llogd_chunk", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10285 { &hf_lustre_llogd_keyword,
10286 { "lustre llogd keyword", "lustre.llogd_keyword", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10287 { &hf_lustre_llogd_client,
10288 { "lustre llogd client", "lustre.llogd_client", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10289 { &hf_lustre_llogd_name,
10290 { "lustre llogd name", "lustre.llogd_name", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10291 { &hf_lustre_llogd_log_hdr,
10292 { "lustre llogd log hdr", "lustre.llogd_log_hdr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10293 { &hf_lustre_llog_logid_rec,
10294 { "lustre llog logid rec", "lustre.llog_logid_rec", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10296 { &hf_lustre_llogd_body,
10297 { "lustre llogd body", "lustre.llogd_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10299 { "lustre nio", "lustre.nio", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10300 { &hf_lustre_ost_body,
10301 { "ost body", "lustre.ost_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10302 { &hf_lustre_obd_statfs,
10303 { "obd statfs", "lustre.obd_statfs", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10304 { &hf_lustre_obd_quotactl,
10305 { "obd quotactl", "lustre.obd_quotacl", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10306 { &hf_lustre_quota_adjust_qunit,
10307 { "obd quota adjust qunit", "lustre.quota_adjust_qunit", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10308 { &hf_lustre_llog_unlink_rec_lur_tail,
10309 { "Lur Tail", "lustre.llog_unlink_rec.lur_tail", FT_NONE,
10310 BASE_NONE, NULL, 0, "", HFILL } },
10311 { &hf_lustre_llog_size_change_rec_lsc_io_epoch,
10312 { "Lsc Io Epoch", "lustre.llog_size_change_rec.lsc_io_epoch", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10313 { &hf_lustre_mgs_target_info_mti_flags,
10314 { "Mti Flags", "lustre.mgs_target_info.mti_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10315 { &hf_lustre_ldlm_reply_lock_policy_res1,
10316 { "Lock Policy Res1", "lustre.ldlm_reply.lock_policy_res1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10317 { &hf_lustre_llogd_body_lgd_len,
10318 { "Lgd Len", "lustre.llogd_body.lgd_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10319 { &hf_lustre_qunit_data_old_qd_id,
10320 { "Qd Id", "lustre.qunit_data_old.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10321 { &hf_lustre_llog_logid_rec_padding1,
10322 { "Padding1", "lustre.llog_logid_rec.padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10323 { &hf_lustre_quota_adjust_qunit_padding1,
10324 { "Padding1", "lustre.quota_adjust_qunit.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10325 { &hf_lustre_llog_size_change_rec_lsc_fid,
10326 { "Lsc Fid", "lustre.llog_size_change_rec.lsc_fid", FT_NONE,
10327 BASE_NONE, NULL, 0, "", HFILL } },
10328 { &hf_lustre_llog_rec_hdr_padding,
10329 { "Padding", "lustre.llog_rec_hdr.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10330 { &hf_lustre_obdo_o_nlink,
10331 { "O Nlink", "lustre.obdo.o_nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10332 { &hf_lustre_ldlm_extent_gid,
10333 { "Gid", "lustre.ldlm_extent.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10334 { &hf_lustre_obdo_o_uid,
10335 { "O Uid", "lustre.obdo.o_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10336 { &hf_lustre_mds_xattr_name,
10337 { "mds xattr name", "lustre.mds_xattr_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10338 { &hf_lustre_lov_mds_md_v1,
10339 { "lov mds md v1", "lustre.lov_mds_md_v1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10340 { &hf_lustre_llog_cookie,
10341 { "llog cookie", "lustre.llog_cookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10342 { &hf_lustre_mds_md_data,
10343 { "mds md data", "lustre.mds_md_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10344 { &hf_lustre_mds_reint_opcode,
10345 { "mds reint opcode", "lustre.mds_reint_opcode", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10346 { &hf_lustre_mds_xattr_eadata,
10347 { "mds xattr eadata", "lustre.mds_xattr_eadata", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10348 { &hf_lustre_reint_name,
10349 { "mds reint name", "lustre.mds_reint_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10350 { &hf_lustre_reint_old_name,
10351 { "mds reint old name", "lustre.mds_reint_old_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10352 { &hf_lustre_reint_new_name,
10353 { "mds reint new name", "lustre.mds_reint_new_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10356 { &hf_lustre_obdo_o_valid,
10357 { "O Valid", "lustre.obdo.o_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10358 { &hf_lustre_ldlm_reply_lock_flags,
10359 { "Lock Flags", "lustre.ldlm_reply.lock_flags", FT_UINT32,BASE_HEX, NULL, 0, "", HFILL }},
10361 {&hf_lustre_ldlm_fl_lock_changed, {"LDLM_FL_LOCK_CHANGED", "lustre.ldlm_fl_lock_changed", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_LOCK_CHANGED, "", HFILL } },
10362 {&hf_lustre_ldlm_fl_block_granted, {"LDLM_FL_BLOCK_GRANTED", "lustre.ldlm_fl_block_granted", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_BLOCK_GRANTED, "", HFILL } },
10363 {&hf_lustre_ldlm_fl_block_conv, {"LDLM_FL_BLOCK_CONV", "lustre.ldlm_fl_block_conv", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_BLOCK_CONV, "", HFILL } },
10364 {&hf_lustre_ldlm_fl_block_wait, {"LDLM_FL_BLOCK_WAIT", "lustre.ldlm_fl_block_wait", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_BLOCK_WAIT, "", HFILL } },
10365 {&hf_lustre_ldlm_fl_cbpending, {"LDLM_FL_CBPENDING", "lustre.ldlm_fl_cbpending", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CBPENDING, "", HFILL } },
10366 {&hf_lustre_ldlm_fl_ast_sent, {"LDLM_FL_AST_SENT", "lustre.ldlm_fl_ast_sent", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_AST_SENT, "", HFILL } },
10367 {&hf_lustre_ldlm_fl_wait_noreproc, {"LDLM_FL_WAIT_NOREPROC", "lustre.ldlm_fl_wait_noreproc", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_WAIT_NOREPROC, "", HFILL } },
10368 {&hf_lustre_ldlm_fl_cancel, {"LDLM_FL_CANCEL", "lustre.ldlm_fl_cancel", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CANCEL, "", HFILL } },
10369 {&hf_lustre_ldlm_fl_replay, {"LDLM_FL_REPLAY", "lustre.ldlm_fl_replay", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_REPLAY, "", HFILL } },
10370 {&hf_lustre_ldlm_fl_intent_only, {"LDLM_FL_INTENT_ONLY", "lustre.ldlm_fl_intent_only", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_INTENT_ONLY, "", HFILL } },
10371 {&hf_lustre_ldlm_fl_local_only, {"LDLM_FL_LOCAL_ONLY", "lustre.ldlm_fl_local_only", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_LOCAL_ONLY, "", HFILL } },
10372 {&hf_lustre_ldlm_fl_failed, {"LDLM_FL_FAILED", "lustre.ldlm_fl_failed", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_FAILED, "", HFILL } },
10373 {&hf_lustre_ldlm_fl_has_intent, {"LDLM_FL_HAS_INTENT", "lustre.ldlm_fl_has_intent", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_HAS_INTENT, "", HFILL } },
10374 {&hf_lustre_ldlm_fl_canceling, {"LDLM_FL_CANCELING", "lustre.ldlm_fl_canceling", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CANCELING, "", HFILL } },
10375 {&hf_lustre_ldlm_fl_local, {"LDLM_FL_LOCAL", "lustre.ldlm_fl_local", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_LOCAL, "", HFILL } },
10376 {&hf_lustre_ldlm_fl_warn, {"LDLM_FL_WARN", "lustre.ldlm_fl_warn", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_WARN, "", HFILL } },
10377 {&hf_lustre_ldlm_fl_discard_data, {"LDLM_FL_DISCARD_DATA", "lustre.ldlm_fl_discard_data", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_DISCARD_DATA, "", HFILL } },
10378 {&hf_lustre_ldlm_fl_no_timeout, {"LDLM_FL_NO_TIMEOUT", "lustre.ldlm_fl_no_timeout", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_NO_TIMEOUT, "", HFILL } },
10379 {&hf_lustre_ldlm_fl_block_nowait, {"LDLM_FL_BLOCK_NOWAIT", "lustre.ldlm_fl_block_nowait", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_BLOCK_NOWAIT, "", HFILL } },
10380 {&hf_lustre_ldlm_fl_test_lock, {"LDLM_FL_TEST_LOCK", "lustre.ldlm_fl_test_lock", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_TEST_LOCK, "", HFILL } },
10381 {&hf_lustre_ldlm_fl_lvb_ready, {"LDLM_FL_LVB_READY", "lustre.ldlm_fl_lvb_ready", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_LVB_READY, "", HFILL } },
10382 {&hf_lustre_ldlm_fl_kms_ignore, {"LDLM_FL_KMS_IGNORE", "lustre.ldlm_fl_kms_ignore", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_KMS_IGNORE, "", HFILL } },
10383 {&hf_lustre_ldlm_fl_no_lru, {"LDLM_FL_NO_LRU", "lustre.ldlm_fl_no_lru", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_NO_LRU, "", HFILL } },
10384 {&hf_lustre_ldlm_fl_cancel_on_block, {"LDLM_FL_CANCEL_ON_BLOCK", "lustre.ldlm_fl_cancel_on_block", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CANCEL_ON_BLOCK, "", HFILL } },
10385 {&hf_lustre_ldlm_fl_cp_reqd, {"LDLM_FL_CP_REQD", "lustre.ldlm_fl_cp_reqd", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CP_REQD, "", HFILL } },
10386 {&hf_lustre_ldlm_fl_cleaned, {"LDLM_FL_CLEANED", "lustre.ldlm_fl_cleaned", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CLEANED, "", HFILL } },
10387 {&hf_lustre_ldlm_fl_atomic_cb, {"LDLM_FL_ATOMIC_CB", "lustre.ldlm_fl_atomic_cb", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_ATOMIC_CB, "", HFILL } },
10388 {&hf_lustre_ldlm_fl_bl_ast, {"LDLM_FL_BL_AST", "lustre.ldlm_fl_bl_ast", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_BL_AST, "", HFILL } },
10389 {&hf_lustre_ldlm_fl_bl_done, {"LDLM_FL_BL_DONE", "lustre.ldlm_fl_bl_done", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_BL_DONE, "", HFILL } },
10390 {&hf_lustre_ldlm_fl_deny_on_contention, {"LDLM_FL_DENY_ON_CONTENTION", "lustre.ldlm_fl_deny_on_contention", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_DENY_ON_CONTENTION, "", HFILL } },
10391 {&hf_lustre_ldlm_ast_discard_data, {"LDLM_AST_DISCARD_DATA", "lustre.ldlm_ast_discard_data", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_AST_DISCARD_DATA, "", HFILL } },
10393 { &hf_lustre_obdo_o_misc,
10394 { "O Misc", "lustre.obdo.o_misc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10395 { &hf_lustre_ldlm_request_lock_handle,
10396 { "Lock Handle", "lustre.ldlm_request.lock_handle", FT_NONE,
10397 BASE_NONE, NULL, 0, "", HFILL } },
10398 { &hf_lustre_llog_logid_lgl_oid,
10399 { "Lgl Oid", "lustre.llog_logid.lgl_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10400 { &hf_lustre_ldlm_inodebits_bits,
10401 { "Bits", "lustre.ldlm_inodebits.bits", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10402 { &hf_lustre_llog_log_hdr_llh_count,
10403 { "Llh Count", "lustre.llog_log_hdr.llh_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10404 { &hf_lustre_llog_gen_rec_lgr_tail,
10405 { "Lgr Tail", "lustre.llog_gen_rec.lgr_tail", FT_NONE,
10406 BASE_NONE, NULL, 0, "", HFILL } },
10407 { &hf_lustre_llog_catid_lci_padding3,
10408 { "Lci Padding3", "lustre.llog_catid.lci_padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10409 { &hf_lustre_qunit_data_qd_qunit,
10410 { "Qd Qunit", "lustre.qunit_data.qd_qunit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10411 { &hf_lustre_llog_setattr_rec_padding,
10412 { "Padding", "lustre.llog_setattr_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10413 { &hf_lustre_llog_cookie_lgc_lgl,
10414 { "Lgc Lgl", "lustre.llog_cookie.lgc_lgl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10415 { &hf_lustre_obd_quotactl_qc_dqinfo,
10416 { "Qc Dqinfo", "lustre.obd_quotactl.qc_dqinfo", FT_NONE,
10417 BASE_NONE, NULL, 0, "", HFILL } },
10418 { &hf_lustre_llog_log_hdr_llh_bitmap,
10419 { "Llh Bitmap", "lustre.llog_log_hdr.llh_bitmap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10420 { &hf_lustre_obd_quotactl_qc_stat,
10421 { "Qc Stat", "lustre.obd_quotactl.qc_stat", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10422 { &hf_lustre_qunit_data_old2_qd_id,
10423 { "Qd Id", "lustre.qunit_data_old2.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10424 { &hf_lustre_llog_logid_rec_padding2,
10425 { "Padding2", "lustre.llog_logid_rec.padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10426 { &hf_lustre_llog_orphan_rec_lor_tail,
10427 { "Lor Tail", "lustre.llog_orphan_rec.lor_tail", FT_NONE,
10428 BASE_NONE, NULL, 0, "", HFILL } },
10429 { &hf_lustre_llog_logid_rec_padding5,
10430 { "Padding5", "lustre.llog_logid_rec.padding5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10431 /*-------------------------------------------------------------------------------------------------------------*/
10432 /*all this flags are uint64, but I don't find the way to use something like TFS() with a Uint64*/
10433 /*like TFS() with a Uint64 */
10434 { &hf_lustre_ldlm_intent_opc_open,
10435 { "open", "lustre.ldlm_intent.opc_open", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_OPEN, "", HFILL } },
10436 { &hf_lustre_ldlm_intent_opc_creat,
10437 { "creat", "lustre.ldlm_intent.opc_creat", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_CREAT , "", HFILL } },
10438 { &hf_lustre_ldlm_intent_opc_readdir,
10439 { "readdir", "lustre.ldlm_intent.opc_readdir", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_READDIR , "", HFILL } },
10440 { &hf_lustre_ldlm_intent_opc_getattr,
10441 { "getattr", "lustre.ldlm_intent.opc_getattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETATTR, "", HFILL } },
10442 { &hf_lustre_ldlm_intent_opc_lookup,
10443 { "lookup", "lustre.ldlm_intent.opc_lookup", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_LOOKUP , "", HFILL } },
10444 { &hf_lustre_ldlm_intent_opc_unlink,
10445 { "unlink", "lustre.ldlm_intent.opc_unlink", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_UNLINK , "", HFILL } },
10446 { &hf_lustre_ldlm_intent_opc_getxattr,
10447 { "getxattr", "lustre.ldlm_intent.opc_getxattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETXATTR , "", HFILL } },
10448 { &hf_lustre_ldlm_intent_opc_exec,
10449 { "exec", "lustre.ldlm_intent.opc_exec", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_EXEC , "", HFILL } },
10450 { &hf_lustre_ldlm_intent_opc_pin,
10451 { "pin", "lustre.ldlm_intent.opc_pin", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_PIN , "", HFILL } },
10452 /*-------------------------------------------------------------------*/
10453 { &hf_lustre_ldlm_intent_opc,
10454 { "intent opcode", "lustre.ldlm_intent.opc", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10455 { &hf_lustre_llog_rec_hdr_lrh_type,
10456 { "Lrh Type", "lustre.llog_rec_hdr.lrh_type", FT_UINT32, BASE_HEX, VALS(lustre_llog_op_type), 0, "", HFILL }},
10457 { &hf_lustre_llog_rec_hdr_lrh_len,
10458 { "Lrh Len", "lustre.llog_rec_hdr.lrh_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10459 { &hf_lustre_llog_setattr_rec_lsr_uid,
10460 { "Lsr Uid", "lustre.llog_setattr_rec.lsr_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10461 { &hf_lustre_lov_desc_ld_padding_1,
10462 { "Ld Padding 1", "lustre.lov_desc.ld_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10463 { &hf_lustre_obdo_o_padding_4,
10464 { "O Padding 4", "lustre.obdo.o_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10465 { &hf_lustre_mgs_target_info_padding,
10466 { "Padding", "lustre.mgs_target_info.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10467 { &hf_lustre_obd_quotactl_qc_dqblk,
10468 { "Qc Dqblk", "lustre.obd_quotactl.qc_dqblk", FT_NONE,
10469 BASE_NONE, NULL, 0, "", HFILL } },
10470 { &hf_lustre_llogd_conn_body_lgdc_gen,
10471 { "Lgdc Gen", "lustre.llogd_conn_body.lgdc_gen", FT_NONE,
10472 BASE_NONE, NULL, 0, "", HFILL } },
10473 { &hf_lustre_llog_log_hdr_llh_tail,
10474 { "Llh Tail", "lustre.llog_log_hdr.llh_tail", FT_NONE,
10475 BASE_NONE, NULL, 0, "", HFILL } },
10476 { &hf_lustre_obdo_o_size,
10477 { "O Size", "lustre.obdo.o_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10478 { &hf_lustre_ldlm_extent_start,
10479 { "Start", "lustre.ldlm_extent.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10480 { &hf_lustre_llog_size_change_rec_lsc_hdr,
10481 { "Lsc Hdr", "lustre.llog_size_change_rec.lsc_hdr", FT_NONE,
10482 BASE_NONE, NULL, 0, "", HFILL } },
10483 { &hf_lustre_llog_create_rec_lcr_tail,
10484 { "Lcr Tail", "lustre.llog_create_rec.lcr_tail", FT_NONE,
10485 BASE_NONE, NULL, 0, "", HFILL } },
10486 { &hf_lustre_llog_logid_lgl_oseq,
10487 { "Lgl SEQ", "lustre.llog_logid.lgl_oseq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10488 { &hf_lustre_llog_create_rec_lcr_hdr,
10489 { "Lcr Hdr", "lustre.llog_create_rec.lcr_hdr", FT_NONE,
10490 BASE_NONE, NULL, 0, "", HFILL } },
10491 { &hf_lustre_llog_cookie_lgc_padding,
10492 { "Lgc Padding", "lustre.llog_cookie.lgc_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10493 { &hf_lustre_qunit_data_old_qd_type,
10494 { "Qd Type", "lustre.qunit_data_old.qd_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10495 { &hf_lustre_ldlm_flock_blocking_export,
10496 { "Blocking Export", "lustre.ldlm_flock.blocking_export", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10497 { &hf_lustre_lov_desc_ld_pattern,
10498 { "Ld Pattern", "lustre.lov_desc.ld_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10499 { &hf_lustre_qunit_data_qd_id,
10500 { "Qd Id", "lustre.qunit_data.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10501 { &hf_lustre_mgs_target_info_mti_fsname,
10502 { "Mti Fsname", "lustre.mgs_target_info.mti_fsname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10503 { &hf_lustre_ldlm_request_lock_flags,
10504 { "Lock Flags", "lustre.ldlm_request.lock_flags", FT_UINT32, BASE_HEX, NULL, 0 , "", HFILL }},
10505 { &hf_lustre_obdo_o_mode,
10506 { "O Mode", "lustre.obdo.o_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10507 { &hf_lustre_mgs_target_info_mti_svname,
10508 { "Mti Svname", "lustre.mgs_target_info.mti_svname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10509 { &hf_lustre_llogd_body_lgd_logid,
10510 { "Lgd Logid", "lustre.llogd_body.lgd_logid", FT_NONE,
10511 BASE_NONE, NULL, 0, "", HFILL } },
10512 { &hf_lustre_llog_log_hdr_llh_size,
10513 { "Llh Size", "lustre.llog_log_hdr.llh_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10514 { &hf_lustre_llog_create_rec_padding,
10515 { "Padding", "lustre.llog_create_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10516 { &hf_lustre_obdo_o_handle,
10517 { "O Handle", "lustre.obdo.o_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10518 { &hf_lustre_obdo_o_atime,
10519 { "O Atime", "lustre.obdo.o_atime",FT_ABSOLUTE_TIME,
10520 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10521 { &hf_lustre_quota_adjust_qunit_qaq_id,
10522 { "Qaq Id", "lustre.quota_adjust_qunit.qaq_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10523 { &hf_lustre_ldlm_lock_desc_l_policy_data,
10524 { "L Policy Data", "lustre.ldlm_lock_desc.l_policy_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10525 { &hf_lustre_obd_quotactl_qc_cmd,
10526 { "Qc Cmd", "lustre.obd_quotactl.qc_cmd", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10527 { &hf_lustre_qunit_data_padding,
10528 { "Padding", "lustre.qunit_data.padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10529 { &hf_lustre_quota_adjust_qunit_qaq_flags,
10530 { "Qaq Flags", "lustre.quota_adjust_qunit.qaq_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10531 { &hf_lustre_ldlm_lock_desc_l_granted_mode,
10532 { "L Granted Mode", "lustre.ldlm_lock_desc.l_granted_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10533 { &hf_lustre_obdo_o_seq,
10534 { "O SEQ", "lustre.obdo.o_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10535 { &hf_lustre_obdo_o_gid,
10536 { "O Gid", "lustre.obdo.o_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10537 { &hf_lustre_llog_catid_lci_logid,
10538 { "Lci Logid", "lustre.llog_catid.lci_logid", FT_NONE,
10539 BASE_NONE, NULL, 0, "", HFILL } },
10540 { &hf_lustre_llog_rec_tail_lrt_index,
10541 { "Lrt Index", "lustre.llog_rec_tail.lrt_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10542 { &hf_lustre_lov_desc_ld_default_stripe_count,
10543 { "Ld Default Stripe Count", "lustre.lov_desc.ld_default_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10544 { &hf_lustre_ldlm_resource_desc_lr_padding,
10545 { "Lr Padding", "lustre.ldlm_resource_desc.lr_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10546 { &hf_lustre_cfg_marker_cm_vers,
10547 { "Cm Vers", "lustre.cfg_marker.cm_vers", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10548 { &hf_lustre_llog_unlink_rec_lur_hdr,
10549 { "Lur Hdr", "lustre.llog_unlink_rec.lur_hdr", FT_NONE,
10550 BASE_NONE, NULL, 0, "", HFILL } },
10551 { &hf_lustre_llogd_body_lgd_index,
10552 { "Lgd Index", "lustre.llogd_body.lgd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10553 { &hf_lustre_cfg_marker_cm_tgtname,
10554 { "Cm Tgtname", "lustre.cfg_marker.cm_tgtname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10555 { &hf_lustre_llog_setattr_rec_lsr_ogen,
10556 { "Lsr Ogen", "lustre.llog_setattr_rec.lsr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10557 { &hf_lustre_llog_logid_rec_lid_hdr,
10558 { "Lid Hdr", "lustre.llog_logid_rec.lid_hdr", FT_NONE,
10559 BASE_NONE, NULL, 0, "", HFILL } },
10560 { &hf_lustre_obdo_o_ioepoch,
10561 { "O IOEpoch", "lustre.obdo.o_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10562 { &hf_lustre_ost_body_oa,
10563 { "Oa", "lustre.ost_body.oa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10564 { &hf_lustre_llog_logid_rec_padding3,
10565 { "Padding3", "lustre.llog_logid_rec.padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10566 { &hf_lustre_llog_log_hdr_llh_flags,
10567 { "Llh Flags", "lustre.llog_log_hdr.llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10568 {&hf_lustre_llog_hdr_llh_flag_zap_when_empty,
10569 {"LLOG_F_ZAP_WHEN_EMPTY","lustre.lustre.llog_log_hdr.llh_flag_zap",FT_BOOLEAN,32,TFS(&lnet_flags_set_truth),LLOG_F_ZAP_WHEN_EMPTY,"",HFILL } },
10570 {&hf_lustre_llog_hdr_llh_flag_is_cat,
10571 {"LLOG_F_IS_CAT","lustre.lustre.llog_log_hdr.llh_flag_cat",FT_BOOLEAN,32,TFS(&lnet_flags_set_truth),LLOG_F_IS_CAT,"",HFILL } },
10572 {&hf_lustre_llog_hdr_llh_flag_is_play,
10573 {"LOG_F_IS_PLAIN","lustre.lustre.llog_log_hdr.llh_flag_play",FT_BOOLEAN,32,TFS(&lnet_flags_set_truth),LLOG_F_IS_PLAIN,"",HFILL } },
10575 { &hf_lustre_llog_setattr_rec_lsr_oid,
10576 { "Lsr Oid", "lustre.llog_setattr_rec.lsr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10577 { &hf_lustre_llog_size_change_rec_padding,
10578 { "Padding", "lustre.llog_size_change_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10579 { &hf_lustre_mgs_target_info_mti_config_ver,
10580 { "Mti Config Ver", "lustre.mgs_target_info.mti_config_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10581 { &hf_lustre_cfg_marker_cm_createtime,
10582 { "Cm Createtime", "lustre.cfg_marker.cm_createtime",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10583 { &hf_lustre_qunit_data_old_qd_count,
10584 { "Qd Count", "lustre.qunit_data_old.qd_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10585 { &hf_lustre_llog_catid_lci_padding1,
10586 { "Lci Padding1", "lustre.llog_catid.lci_padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10587 { &hf_lustre_lov_desc_ld_active_tgt_count,
10588 { "Ld Active Tgt Count", "lustre.lov_desc.ld_active_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10589 { &hf_lustre_obdo_o_lcookie,
10590 { "O Lcookie", "lustre.obdo.o_lcookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10591 { &hf_lustre_llog_gen_rec_lgr_gen,
10592 { "Lgr Gen", "lustre.llog_gen_rec.lgr_gen", FT_NONE,
10593 BASE_NONE, NULL, 0, "", HFILL } },
10594 { &hf_lustre_obdo_o_id,
10595 { "O Id", "lustre.obdo.o_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10596 { &hf_lustre_mgs_target_info_mti_uuid,
10597 { "Mti Uuid", "lustre.mgs_target_info.mti_uuid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10598 { &hf_lustre_llog_rec_hdr_lrh_index,
10599 { "Lrh Index", "lustre.llog_rec_hdr.lrh_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10600 { &hf_lustre_llog_setattr_rec_lsr_hdr,
10601 { "Lsr Hdr", "lustre.llog_setattr_rec.lsr_hdr", FT_NONE,
10602 BASE_NONE, NULL, 0, "", HFILL } },
10603 { &hf_lustre_mgs_target_info_mti_stripe_index,
10604 { "Mti Stripe Index", "lustre.mgs_target_info.mti_stripe_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10605 { &hf_lustre_llog_gen_conn_cnt,
10606 { "Conn Cnt", "lustre.llog_gen.conn_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10607 { &hf_lustre_obdo_o_padding_6,
10608 { "O Padding 6", "lustre.obdo.o_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10609 { &hf_lustre_llog_cookie_lgc_index,
10610 { "Lgc Index", "lustre.llog_cookie.lgc_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10611 { &hf_lustre_lov_desc_ld_uuid,
10612 { "Ld Uuid", "lustre.lov_desc.ld_uuid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10613 { &hf_lustre_llog_create_rec_lcr_oid,
10614 { "Lcr Oid", "lustre.llog_create_rec.lcr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10615 { &hf_lustre_ldlm_reply_lock_desc,
10616 { "Lock Desc", "lustre.ldlm_reply.lock_desc", FT_NONE,
10617 BASE_NONE, NULL, 0, "", HFILL } },
10618 { &hf_lustre_lov_desc_ld_padding_0,
10619 { "Ld Padding 0", "lustre.lov_desc.ld_padding_0", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10620 { &hf_lustre_llog_unlink_rec_lur_ogen,
10621 { "Lur Ogen", "lustre.llog_unlink_rec.lur_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10622 { &hf_lustre_llog_orphan_rec_lor_hdr,
10623 { "Lor Hdr", "lustre.llog_orphan_rec.lor_hdr", FT_NONE,
10624 BASE_NONE, NULL, 0, "", HFILL } },
10625 { &hf_lustre_cfg_marker_cm_flags,
10626 { "Cm Flags", "lustre.cfg_marker.cm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10627 { &hf_lustre_obdo_o_padding_3,
10628 { "O Padding 3", "lustre.obdo.o_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10629 { &hf_lustre_ldlm_request_lock_desc,
10630 { "Lock Desc", "lustre.ldlm_request.lock_desc", FT_NONE,
10631 BASE_NONE, NULL, 0, "", HFILL } },
10632 { &hf_lustre_llog_orphan_rec_padding,
10633 { "Padding", "lustre.llog_orphan_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10634 { &hf_lustre_obdo_o_flags,
10635 { "O Flags", "lustre.obdo.o_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10636 { &hf_lustre_mgs_target_info_mti_params,
10637 { "Mti Params", "lustre.mgs_target_info.mti_params", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10638 { &hf_lustre_llog_logid_lgl_ogen,
10639 { "Lgl Ogen", "lustre.llog_logid.lgl_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10640 { &hf_lustre_cfg_marker_cm_comment,
10641 { "Cm Comment", "lustre.cfg_marker.cm_comment", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10642 { &hf_lustre_llog_unlink_rec_lur_oid,
10643 { "Lur Oid", "lustre.llog_unlink_rec.lur_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10644 { &hf_lustre_qunit_data_qd_count,
10645 { "Qd Count", "lustre.qunit_data.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10646 { &hf_lustre_obdo_o_mtime,
10647 { "O Mtime", "lustre.obdo.o_mtime",FT_ABSOLUTE_TIME,
10648 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10649 { &hf_lustre_obdo_o_blksize,
10650 { "O Blksize", "lustre.obdo.o_blksize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10651 { &hf_lustre_ldlm_res_id_name,
10652 { "Name", "lustre.ldlm_res_id.name", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10653 { &hf_lustre_ldlm_reply_lock_handle,
10654 { "Lock Handle", "lustre.ldlm_reply.lock_handle", FT_NONE,
10655 BASE_NONE, NULL, 0, "", HFILL } },
10656 { &hf_lustre_llogd_body_lgd_saved_index,
10657 { "Lgd Saved Index", "lustre.llogd_body.lgd_saved_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10658 { &hf_lustre_qunit_data_old_qd_isblk,
10659 { "Qd Isblk", "lustre.qunit_data_old.qd_isblk", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10660 { &hf_lustre_obdo_o_blocks,
10661 { "O Blocks", "lustre.obdo.o_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10662 { &hf_lustre_lov_desc_ld_padding_2,
10663 { "Ld Padding 2", "lustre.lov_desc.ld_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10664 { &hf_lustre_llog_logid_rec_lid_tail,
10665 { "Lid Tail", "lustre.llog_logid_rec.lid_tail", FT_NONE,
10666 BASE_NONE, NULL, 0, "", HFILL } },
10667 { &hf_lustre_obdo_o_grant,
10668 { "O Grant", "lustre.obdo.o_grant", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10669 { &hf_lustre_obdo_o_uid_h,
10670 { "O Uid H", "lustre.obdo.o_uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10671 { &hf_lustre_obdo_o_gid_h,
10672 { "O Gid H", "lustre.obdo.o_gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10673 { &hf_lustre_quota_adjust_qunit_qaq_iunit_sz,
10674 { "Qaq Iunit Sz", "lustre.quota_adjust_qunit.qaq_iunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10675 { &hf_lustre_llog_unlink_rec_padding,
10676 { "Padding", "lustre.llog_unlink_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10677 { &hf_lustre_ldlm_lock_desc_l_req_mode,
10678 { "L Req Mode", "lustre.ldlm_lock_desc.l_req_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10679 { &hf_lustre_ldlm_extent_end,
10680 { "End", "lustre.ldlm_extent.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10681 { &hf_lustre_llog_gen_rec_lgr_hdr,
10682 { "Lgr Hdr", "lustre.llog_gen_rec.lgr_hdr", FT_NONE,
10683 BASE_NONE, NULL, 0, "", HFILL } },
10684 { &hf_lustre_llog_orphan_rec_lor_ogen,
10685 { "Lor Ogen", "lustre.llog_orphan_rec.lor_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10686 { &hf_lustre_llogd_body_lgd_llh_flags,
10687 { "Lgd Llh Flags", "lustre.llogd_body.lgd_llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10688 { &hf_lustre_llog_log_hdr_llh_cat_idx,
10689 { "Llh Cat Idx", "lustre.llog_log_hdr.llh_cat_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10690 { &hf_lustre_llog_log_hdr_llh_bitmap_offset,
10691 { "Llh Bitmap Offset", "lustre.llog_log_hdr.llh_bitmap_offset", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10692 { &hf_lustre_llog_orphan_rec_lor_oid,
10693 { "Lor Oid", "lustre.llog_orphan_rec.lor_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10694 { &hf_lustre_ldlm_reply_lock_padding,
10695 { "Lock Padding", "lustre.ldlm_reply.lock_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10696 { &hf_lustre_obd_quotactl_qc_id,
10697 { "Qc Id", "lustre.obd_quotactl.qc_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10698 { &hf_lustre_llog_logid_rec_padding4,
10699 { "Padding4", "lustre.llog_logid_rec.padding4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10700 { &hf_lustre_llog_setattr_rec_lsr_gid,
10701 { "Lsr Gid", "lustre.llog_setattr_rec.lsr_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10702 { &hf_lustre_obd_quotactl_qc_type,
10703 { "Qc Type", "lustre.obd_quotactl.qc_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10704 { &hf_lustre_cfg_marker_padding,
10705 { "Padding", "lustre.cfg_marker.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10706 { &hf_lustre_mgs_target_info_mti_nids,
10707 { "Mti Nids", "lustre.mgs_target_info.mti_nids", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10708 { &hf_lustre_obdo_o_stripe_idx,
10709 { "O Stripe Idx", "lustre.obdo.o_stripe_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10710 { &hf_lustre_llogd_conn_body_lgdc_logid,
10711 { "Lgdc Logid", "lustre.llogd_conn_body.lgdc_logid", FT_NONE,
10712 BASE_NONE, NULL, 0, "", HFILL } },
10713 { &hf_lustre_ldlm_flock_blocking_pid,
10714 { "Blocking Pid", "lustre.ldlm_flock.blocking_pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10715 { &hf_lustre_lov_desc_ld_tgt_count,
10716 { "Ld Tgt Count", "lustre.lov_desc.ld_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10717 { &hf_lustre_llogd_body_lgd_cur_offset,
10718 { "Lgd Cur Offset", "lustre.llogd_body.lgd_cur_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10719 { &hf_lustre_llog_create_rec_lcr_ogen,
10720 { "Lcr Ogen", "lustre.llog_create_rec.lcr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10721 { &hf_lustre_qunit_data_old2_qd_count,
10722 { "Qd Count", "lustre.qunit_data_old2.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10723 { &hf_lustre_opnum,
10724 { "Operation", "lustre.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }},
10725 { &hf_lustre_qunit_data_old2_qd_flags,
10726 { "Qd Flags", "lustre.qunit_data_old2.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10727 { &hf_lustre_ldlm_flock_start,
10728 { "Start", "lustre.ldlm_flock.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10729 { &hf_lustre_quota_adjust_qunit_qaq_bunit_sz,
10730 { "Qaq Bunit Sz", "lustre.quota_adjust_qunit.qaq_bunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10731 { &hf_lustre_ldlm_flock_pid,
10732 { "Pid", "lustre.ldlm_flock.pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10733 { &hf_lustre_lov_desc_ld_default_stripe_size,
10734 { "Ld Default Stripe Size", "lustre.lov_desc.ld_default_stripe_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10735 { &hf_lustre_llog_log_hdr_llh_tgtuuid,
10736 { "Llh Tgtuuid", "lustre.llog_log_hdr.llh_tgtuuid", FT_NONE,
10737 BASE_NONE, NULL, 0, "", HFILL } },
10738 { &hf_lustre_cfg_marker_cm_step,
10739 { "Cm Step", "lustre.cfg_marker.cm_step", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10740 { &hf_lustre_mgs_send_param_mgs_param,
10741 { "Mgs Param", "lustre.mgs_send_param.mgs_param", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10742 { &hf_lustre_llog_create_rec_lcr_fid,
10743 { "Lcr Fid", "lustre.llog_create_rec.lcr_fid", FT_NONE,
10744 BASE_NONE, NULL, 0, "", HFILL } },
10745 { &hf_lustre_lov_desc_ld_default_stripe_offset,
10746 { "Ld Default Stripe Offset", "lustre.lov_desc.ld_default_stripe_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10747 { &hf_lustre_ldlm_resource_desc_lr_name,
10748 { "Lr Name", "lustre.ldlm_resource_desc.lr_name", FT_NONE,
10749 BASE_NONE, NULL, 0, "", HFILL } },
10750 { &hf_lustre_llog_rec_tail_lrt_len,
10751 { "Lrt Len", "lustre.llog_rec_tail.lrt_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10752 { &hf_lustre_llog_log_hdr_llh_timestamp,
10753 { "Llh Timestamp", "lustre.llog_log_hdr.llh_timestamp", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10754 { &hf_lustre_llog_catid_lci_padding2,
10755 { "Lci Padding2", "lustre.llog_catid.lci_padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10756 { &hf_lustre_llogd_conn_body_lgdc_ctxt_idx,
10757 { "Lgdc Ctxt Idx", "lustre.llogd_conn_body.lgdc_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10758 { &hf_lustre_cfg_marker_cm_canceltime,
10759 { "Cm Canceltime", "lustre.cfg_marker.cm_canceltime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10760 { &hf_lustre_mgs_target_info_mti_lustre_ver,
10761 { "Mti Lustre Ver", "lustre.mgs_target_info.mti_lustre_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10762 { &hf_lustre_obdo_o_parent_ver,
10763 { "O Parent VER", "lustre.obdo.o_parent_ver", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10764 { &hf_lustre_qunit_data_qd_flags,
10765 { "Qd Flags", "lustre.qunit_data.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10766 { &hf_lustre_llog_logid_rec_lid_id,
10767 { "Lid Id", "lustre.llog_logid_rec.lid_id", FT_NONE,
10768 BASE_NONE, NULL, 0, "", HFILL } },
10769 { &hf_lustre_obdo_o_parent_oid,
10770 { "O Parent OID", "lustre.obdo.o_parent_oid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10771 { &hf_lustre_llog_gen_mnt_cnt,
10772 { "Mnt Cnt", "lustre.llog_gen.mnt_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10773 { &hf_lustre_llog_size_change_rec_lsc_tail,
10774 { "Lsc Tail", "lustre.llog_size_change_rec.lsc_tail", FT_NONE,
10775 BASE_NONE, NULL, 0, "", HFILL } },
10776 { &hf_lustre_obdo_o_padding_5,
10777 { "O Padding 5", "lustre.obdo.o_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10778 { &hf_lustre_ldlm_lock_desc_l_resource,
10779 { "L Resource", "lustre.ldlm_lock_desc.l_resource", FT_NONE,
10780 BASE_NONE, NULL, 0, "", HFILL } },
10781 { &hf_lustre_obdo_o_parent_seq,
10782 { "O Parent SEQ", "lustre.obdo.o_parent_seq", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL }},
10783 { &hf_lustre_ldlm_request_lock_count,
10784 { "Lock Count", "lustre.ldlm_request.lock_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, "", HFILL }},
10785 { &hf_lustre_ldlm_flock_end,
10786 { "End", "lustre.ldlm_flock.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10787 { &hf_lustre_mgs_target_info_mti_nid_count,
10788 { "Mti Nid Count", "lustre.mgs_target_info.mti_nid_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10789 /* -------------------------------------------------------------------- */
10790 { &hf_lustre_mgs_target_info,
10791 { "mgs target info", "lustre.mgs_target_info", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10792 { &hf_lustre_mgs_send_param,
10793 { "mgs send param", "lustre.mgs_send_param", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10794 /* -------------------------------------------------------------------- */
10795 { &hf_lustre_ost_lvb,
10796 { "ost lvb data", "lustre.ost_lvb", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10798 { &hf_lustre_obdo_o_ctime,
10799 { "O Ctime", "lustre.obdo.o_ctime",FT_ABSOLUTE_TIME,
10800 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10801 { &hf_lustre_ldlm_reply_lock_policy_res2,
10802 { "Lock Policy Res2", "lustre.ldlm_reply.lock_policy_res2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10803 { &hf_lustre_llogd_body_lgd_ctxt_idx,
10804 { "Lgd Ctxt Idx", "lustre.llogd_body.lgd_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10805 { &hf_lustre_lov_desc_ld_qos_maxage,
10806 { "Ld Qos Maxage", "lustre.lov_desc.ld_qos_maxage", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10807 { &hf_lustre_ldlm_resource_desc_lr_type,
10808 { "Lr Type", "lustre.ldlm_resource_desc.lr_type", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_type_t_vals), 0, "", HFILL }},
10809 { &hf_lustre_llog_setattr_rec_lsr_tail,
10810 { "Lsr Tail", "lustre.llog_setattr_rec.lsr_tail", FT_NONE,
10811 BASE_NONE, NULL, 0, "", HFILL } },
10812 { &hf_lustre_llog_cookie_lgc_subsys,
10813 { "Lgc Subsys", "lustre.llog_cookie.lgc_subsys", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10814 { &hf_lustre_llog_log_hdr_llh_hdr,
10815 { "Llh Hdr", "lustre.llog_log_hdr.llh_hdr", FT_NONE,
10816 BASE_NONE, NULL, 0, "", HFILL } },
10817 { &hf_lustre_llog_log_hdr_llh_reserved,
10818 { "Llh Reserved", "lustre.llog_log_hdr.llh_reserved", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10820 { &hf_lustre_extra_padding,
10821 { "extra padding", "lustre.msg_v2_extra_padding", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10822 { &hf_lustre_ldlm_reply,
10823 { "ldlm reply", "lustre.ldlm_reply", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10824 { &hf_lustre_ldlm_request,
10825 { "ldlm request", "lustre.ldlm_request", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10827 /* add for lustre_user.h */
10828 { &hf_lustre_obd_dqinfo_dqi_valid,
10829 { "Dqi Valid", "lustre.obd_dqinfo.dqi_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10830 { &hf_lustre_obd_dqblk_dqb_isoftlimit,
10831 { "Dqb Isoftlimit", "lustre.obd_dqblk.dqb_isoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10832 { &hf_lustre_obd_dqblk_dqb_bhardlimit,
10833 { "Dqb Bhardlimit", "lustre.obd_dqblk.dqb_bhardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10834 { &hf_lustre_obd_dqblk_dqb_curspace,
10835 { "Dqb Curspace", "lustre.obd_dqblk.dqb_curspace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10836 { &hf_lustre_obd_dqblk_dqb_itime,
10837 { "Dqb Itime", "lustre.obd_dqblk.dqb_itime", FT_ABSOLUTE_TIME,
10838 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10839 { &hf_lustre_obd_dqblk_dqb_valid,
10840 { "Dqb Valid", "lustre.obd_dqblk.dqb_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10841 { &hf_lustre_obd_dqinfo_dqi_igrace,
10842 { "Dqi Igrace", "lustre.obd_dqinfo.dqi_igrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10843 { &hf_lustre_obd_dqinfo_dqi_bgrace,
10844 { "Dqi Bgrace", "lustre.obd_dqinfo.dqi_bgrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10845 { &hf_lustre_obd_dqblk_padding,
10846 { "Padding", "lustre.obd_dqblk.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10847 { &hf_lustre_obd_dqblk_dqb_curinodes,
10848 { "Dqb Curinodes", "lustre.obd_dqblk.dqb_curinodes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10849 { &hf_lustre_obd_dqblk_dqb_bsoftlimit,
10850 { "Dqb Bsoftlimit", "lustre.obd_dqblk.dqb_bsoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10851 { &hf_lustre_obd_dqinfo_dqi_flags,
10852 { "Dqi Flags", "lustre.obd_dqinfo.dqi_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10853 { &hf_lustre_obd_dqblk_dqb_btime,
10854 { "Dqb Btime", "lustre.obd_dqblk.dqb_btime", FT_ABSOLUTE_TIME,
10855 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10856 { &hf_lustre_obd_dqblk_dqb_ihardlimit,
10857 { "Dqb Ihardlimit", "lustre.obd_dqblk.dqb_ihardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10860 { &hf_lustre_seq_opc,
10861 { "Seq OPC", "lustre.seq_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10862 { &hf_lustre_seq_range,
10863 { "Seq Range", "lustre.range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10864 { &hf_lustre_seq_range_start,
10865 { "Seq Range Start", "lustre.seq_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10866 { &hf_lustre_seq_range_end,
10867 { "Seq Range End", "lustre.seq_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10868 { &hf_lustre_seq_range_index,
10869 { "Seq Range Index", "lustre.seq_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10870 { &hf_lustre_seq_range_flags,
10871 { "Seq Range Flags", "lustre.seq_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10873 /* struct mdt_ioepoch */
10874 { &hf_lustre_mdt_ioepoch,
10875 { "MDT ioepoch", "lustre.mdt_ioepoch", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10876 { &hf_lustre_mdt_ioepoch_handle,
10877 { "Handle", "lustre.mdt_ioepoch.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10878 { &hf_lustre_mdt_ioepoch_ioepoch,
10879 { "ioepoch", "lustre.mdt_ioepoch.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10880 { &hf_lustre_mdt_ioepoch_flags,
10881 { "flags", "lustre.mdt_ioepoch.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10882 { &hf_lustre_mdt_ioepoch_padding,
10883 { "Padding", "lustre.mdt_ioepoch.padding", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10885 /* struct lustre_capa */
10887 { "Capability", "lustre.capa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10891 static gint *ett[] = {
10893 &ett_lustre_lustre_handle_cookie,
10894 &ett_lustre_lustre_msg_v1,
10895 &ett_lustre_lustre_handle_v1,
10896 &ett_lustre_lustre_msg_v2,
10897 &ett_lustre_ptlrpc_body,
10898 &ett_lustre_lustre_handle_v2,
10899 &ett_lustre_obd_connect_data,
10900 &ett_lustre_lov_mds_md_v1,
10901 &ett_lustre_lov_ost_data_v1,
10902 &ett_lustre_obd_statfs,
10903 &ett_lustre_obd_ioobj,
10904 &ett_lustre_niobuf_remote,
10905 &ett_lustre_ost_lvb,
10906 &ett_lustre_ll_fid,
10907 &ett_lustre_obd_quotactl,
10908 &ett_lustre_obd_dqinfo,
10909 &ett_lustre_obd_dqblk,
10910 &ett_lustre_quota_adjust_qunit,
10911 &ett_lustre_mdt_body,
10912 &ett_lustre_mdt_rec_setattr,
10913 &ett_lustre_mdt_rec_create,
10914 &ett_lustre_mdt_rec_link,
10915 &ett_lustre_mdt_rec_unlink,
10916 &ett_lustre_mdt_rec_rename,
10917 &ett_lustre_mdt_rec_setxattr,
10918 &ett_lustre_lov_desc,
10919 &ett_lustre_obd_uuid,
10920 &ett_lustre_ldlm_res_id,
10921 &ett_lustre_ldlm_extent,
10922 &ett_lustre_ldlm_inodebits,
10923 &ett_lustre_ldlm_flock,
10924 &ett_lustre_ldlm_intent_opc,
10925 &ett_lustre_ldlm_resource_desc,
10926 &ett_lustre_ldlm_lock_desc,
10927 &ett_lustre_ldlm_request,
10928 &ett_lustre_lustre_handle,
10929 &ett_lustre_ldlm_reply,
10930 &ett_lustre_mgs_send_param,
10931 &ett_lustre_mgs_target_info,
10932 &ett_lustre_cfg_marker,
10933 &ett_lustre_llog_catid,
10934 &ett_lustre_llog_logid,
10935 &ett_lustre_lov_mds_md,
10936 &ett_lustre_llog_rec_hdr,
10937 &ett_lustre_llog_rec_tail,
10938 &ett_lustre_llog_logid_rec,
10939 &ett_lustre_llog_create_rec,
10940 &ett_lustre_llog_orphan_rec,
10941 &ett_lustre_llog_unlink_rec,
10942 &ett_lustre_llog_setattr_rec,
10943 &ett_lustre_llog_size_change_rec,
10944 &ett_lustre_llog_gen,
10945 &ett_lustre_llog_gen_rec,
10946 &ett_lustre_llog_log_hdr,
10947 &ett_lustre_llog_cookie,
10948 &ett_lustre_llogd_body,
10949 &ett_lustre_llogd_conn_body,
10951 &ett_lustre_ost_body,
10952 &ett_lustre_qunit_data,
10953 &ett_lustre_qunit_data_old2,
10954 &ett_lustre_qunit_data_old,
10955 &ett_lustre_ldlm_lock_flags,
10956 &ett_lustre_llog_log_llh_flags,
10957 &ett_lustre_seq_range,
10958 &ett_lustre_mdt_ioepoch,
10962 proto_lustre = proto_register_protocol("Lustre", "lustre", "lustre");
10963 proto_register_field_array(proto_lustre, hf, array_length (hf));
10964 proto_register_subtree_array(ett, array_length(ett));
10968 void proto_reg_handoff_lustre(void)
10970 dissector_handle_t lustre_handle;
10971 lustre_handle=create_dissector_handle(dissect_lustre, proto_lustre);
10972 /* we use Lustre only if we get ptl_index = One of this code (we have removed the bulk code) */
10973 /* in LNET we test if the message is a put or not before adding an lnet.ptl_index value */
10974 dissector_add("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
10975 dissector_add("lnet.ptl_index", CONNMGR_REQUEST_PORTAL , lustre_handle);
10976 dissector_add("lnet.ptl_index", CONNMGR_REPLY_PORTAL , lustre_handle);
10977 dissector_add("lnet.ptl_index", OSC_REPLY_PORTAL , lustre_handle);
10978 dissector_add("lnet.ptl_index", OST_IO_PORTAL , lustre_handle);
10979 dissector_add("lnet.ptl_index", OST_CREATE_PORTAL , lustre_handle);
10980 dissector_add("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
10981 dissector_add("lnet.ptl_index", MDS_REQUEST_PORTAL , lustre_handle);
10982 dissector_add("lnet.ptl_index", LDLM_CB_REQUEST_PORTAL , lustre_handle);
10983 dissector_add("lnet.ptl_index", LDLM_CB_REPLY_PORTAL , lustre_handle);
10984 dissector_add("lnet.ptl_index", LDLM_CANCEL_REQUEST_PORTAL, lustre_handle);
10985 dissector_add("lnet.ptl_index", LDLM_CANCEL_REPLY_PORTAL , lustre_handle);
10986 dissector_add("lnet.ptl_index", MDS_SETATTR_PORTAL , lustre_handle);
10987 dissector_add("lnet.ptl_index", MDS_READPAGE_PORTAL , lustre_handle);
10988 dissector_add("lnet.ptl_index", MGC_REPLY_PORTAL , lustre_handle);
10989 dissector_add("lnet.ptl_index", MGS_REQUEST_PORTAL , lustre_handle);
10990 dissector_add("lnet.ptl_index", MGS_REPLY_PORTAL , lustre_handle);
10991 dissector_add("lnet.ptl_index", OST_REQUEST_PORTAL , lustre_handle);
10992 dissector_add("lnet.ptl_index", FLD_REQUEST_PORTAL, lustre_handle);
10993 dissector_add("lnet.ptl_index", SEQ_METADATA_PORTAL, lustre_handle);
10994 dissector_add("lnet.ptl_index", SEQ_DATA_PORTAL, lustre_handle);
10995 dissector_add("lnet.ptl_index", SEQ_CONTROLLER_PORTAL, lustre_handle);
10996 dissector_add("lnet.ptl_index", MGS_BULK_PORTAL, lustre_handle);