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
190 /* must be coherent with same declaration
191 * in lustre/include/lustre/lustre_idl.h
195 MDS_GETATTR_NAME = 34,
206 MDS_DONE_WRITING = 45,
218 #define IT_OPEN 0x0001
219 #define IT_CREAT 0x0002
220 #define IT_READDIR 0x0004
221 #define IT_GETATTR 0x0008
222 #define IT_LOOKUP 0x0010
223 #define IT_UNLINK 0x0020
224 #define IT_GETXATTR 0x0040
225 #define IT_EXEC 0x0080
226 #define IT_PIN 0x0100
230 #define MDS_FIRST_OPC MDS_GETATTR
231 #define LDLM_FIRST_OPC LDLM_ENQUEUE
250 LDLM_BL_CALLBACK = 104,
251 LDLM_CP_CALLBACK = 105,
252 LDLM_GL_CALLBACK = 106,
255 #define LDLM_FIRST_OPC LDLM_ENQUEUE
260 SEQ_FIRST_OPC = SEQ_QUERY
263 #define LDLM_FL_LOCK_CHANGED 0x000001
264 #define LDLM_FL_BLOCK_GRANTED 0x000002
265 #define LDLM_FL_BLOCK_CONV 0x000004
266 #define LDLM_FL_BLOCK_WAIT 0x000008
267 #define LDLM_FL_CBPENDING 0x000010
268 #define LDLM_FL_AST_SENT 0x000020
269 #define LDLM_FL_WAIT_NOREPROC 0x000040
270 #define LDLM_FL_CANCEL 0x000080
271 #define LDLM_FL_REPLAY 0x000100
272 #define LDLM_FL_INTENT_ONLY 0x000200
273 #define LDLM_FL_LOCAL_ONLY 0x000400
274 #define LDLM_FL_FAILED 0x000800
275 #define LDLM_FL_HAS_INTENT 0x001000
276 #define LDLM_FL_CANCELING 0x002000
277 #define LDLM_FL_LOCAL 0x004000
278 #define LDLM_FL_WARN 0x008000
279 #define LDLM_FL_DISCARD_DATA 0x010000
280 #define LDLM_FL_NO_TIMEOUT 0x020000
281 #define LDLM_FL_BLOCK_NOWAIT 0x040000
282 #define LDLM_FL_TEST_LOCK 0x080000
283 #define LDLM_FL_LVB_READY 0x100000
284 #define LDLM_FL_KMS_IGNORE 0x200000
285 #define LDLM_FL_NO_LRU 0x400000
286 #define LDLM_FL_CANCEL_ON_BLOCK 0x800000
287 #define LDLM_FL_CP_REQD 0x1000000
288 #define LDLM_FL_CLEANED 0x2000000
289 #define LDLM_FL_ATOMIC_CB 0x4000000
290 #define LDLM_FL_BL_AST 0x10000000
291 #define LDLM_FL_BL_DONE 0x20000000
292 #define LDLM_FL_DENY_ON_CONTENTION 0x40000000
293 #define LDLM_AST_DISCARD_DATA 0x80000000
296 #define LDLM_ENQUEUE (101)
297 #define LDLM_CONVERT (102)
298 #define LDLM_CANCEL (103)
299 #define LDLM_BL_CALLBACK (104)
300 #define LDLM_CP_CALLBACK (105)
301 #define LDLM_GL_CALLBACK (106)
302 #define LCK_MINMODE (0)
309 #define LCK_GROUP (64)
310 #define LDLM_PLAIN (10)
311 #define LDLM_EXTENT (11)
312 #define LDLM_FLOCK (12)
313 #define LDLM_IBITS (13)
314 //#define MGS_CONNECT (250)
315 #define OBD_PING (400)
318 * Opcodes for mountconf (mgs and mgc)
323 MGS_EXCEPTION, /* node died, etc. */
324 MGS_TARGET_REG, /* whenever target starts up */
329 #define MGS_FIRST_OPC MGS_CONNECT
333 LLOG_ORIGIN_HANDLE_CREATE = 501,
334 LLOG_ORIGIN_HANDLE_NEXT_BLOCK = 502,
335 LLOG_ORIGIN_HANDLE_READ_HEADER = 503,
336 LLOG_ORIGIN_HANDLE_WRITE_REC = 504,
337 LLOG_ORIGIN_HANDLE_CLOSE = 505,
338 LLOG_ORIGIN_CONNECT = 506,
339 LLOG_CATINFO = 507, /* for lfs catinfo */
340 LLOG_ORIGIN_HANDLE_PREV_BLOCK = 508,
341 LLOG_ORIGIN_HANDLE_DESTROY = 509, /* for destroy llog object*/
345 #define LLOG_FIRST_OPC LLOG_ORIGIN_HANDLE_CREATE
346 /*flag for the LLOG*/
347 #define LLOG_OP_MAGIC 0x10600000
348 #define LLOG_OP_MASK 0xfff00000
351 LLOG_PAD_MAGIC = LLOG_OP_MAGIC | 0x00000,
352 OST_SZ_REC = LLOG_OP_MAGIC | 0x00f00,
353 OST_RAID1_REC = LLOG_OP_MAGIC | 0x01000,
354 MDS_UNLINK_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_UNLINK,
355 MDS_SETATTR_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_SETATTR,
356 OBD_CFG_REC = LLOG_OP_MAGIC | 0x20000,
357 PTL_CFG_REC = LLOG_OP_MAGIC | 0x30000, /* obsolete */
358 LLOG_GEN_REC = LLOG_OP_MAGIC | 0x40000,
359 LLOG_JOIN_REC = LLOG_OP_MAGIC | 0x50000, /* obsolete */
360 LLOG_HDR_MAGIC = LLOG_OP_MAGIC | 0x45539,
361 LLOG_LOGID_MAGIC = LLOG_OP_MAGIC | 0x4553b,
365 /*defined in lustre/include/lustre/lustre_idl.h*/
366 #define LLOG_F_ZAP_WHEN_EMPTY 0x1
367 #define LLOG_F_IS_CAT 0x2
368 #define LLOG_F_IS_PLAIN 0x4
370 #define PTL_RPC_MSG_REQUEST 4711
371 #define PTL_RPC_MSG_ERR 4712
372 #define PTL_RPC_MSG_REPLY 4713
375 /* Ett declarations */
376 static gint ett_lustre_llog_log_llh_flags = -1 ;
377 static gint ett_lustre = -1;
378 static gint ett_lustre_lustre_handle_cookie = -1;
379 static gint ett_lustre_lustre_msg_v1 = -1;
380 static gint ett_lustre_lustre_handle_v1 = -1;
381 static gint ett_lustre_lustre_msg_v2 = -1;
382 static gint ett_lustre_ptlrpc_body = -1;
383 static gint ett_lustre_lustre_handle_v2 = -1;
384 static gint ett_lustre_obd_connect_data = -1;
385 static gint ett_lustre_lov_mds_md_v1 = -1;
386 static gint ett_lustre_lov_ost_data_v1 = -1;
387 static gint ett_lustre_obd_statfs = -1;
388 static gint ett_lustre_obd_ioobj = -1;
389 static gint ett_lustre_niobuf_remote = -1;
390 static gint ett_lustre_ost_lvb = -1;
391 static gint ett_lustre_ll_fid = -1;
392 static gint ett_lustre_mdt_body = -1;
393 static gint ett_lustre_mdt_rec_setattr = -1;
394 static gint ett_lustre_mdt_rec_create = -1;
395 static gint ett_lustre_mdt_rec_link = -1;
396 static gint ett_lustre_mdt_rec_unlink = -1;
397 static gint ett_lustre_mdt_rec_rename = -1;
398 static gint ett_lustre_mdt_rec_setxattr = -1;
399 static gint ett_lustre_obd_quotactl = -1;
400 static gint ett_lustre_obd_dqinfo = -1;
401 static gint ett_lustre_obd_dqblk = -1;
402 static gint ett_lustre_quota_adjust_qunit = -1;
403 static gint ett_lustre_lov_desc = -1;
404 static gint ett_lustre_obd_uuid = -1;
405 static gint ett_lustre_ldlm_res_id = -1;
406 static gint ett_lustre_ldlm_extent = -1;
407 static gint ett_lustre_ldlm_inodebits = -1;
408 static gint ett_lustre_ldlm_flock = -1;
409 static gint ett_lustre_ldlm_intent_opc = -1;
410 static gint ett_lustre_ldlm_resource_desc = -1;
411 static gint ett_lustre_ldlm_lock_desc = -1;
412 static gint ett_lustre_ldlm_request = -1;
413 static gint ett_lustre_lustre_handle = -1;
414 static gint ett_lustre_ldlm_reply = -1;
415 static gint ett_lustre_mgs_send_param = -1;
416 static gint ett_lustre_mgs_target_info = -1;
417 static gint ett_lustre_cfg_marker = -1;
418 static gint ett_lustre_llog_catid = -1;
419 static gint ett_lustre_llog_rec_hdr = -1;
420 static gint ett_lustre_llog_logid_rec = -1;
421 static gint ett_lustre_llog_logid = -1;
422 static gint ett_lustre_llog_rec_tail = -1;
423 static gint ett_lustre_lov_mds_md = -1;
424 static gint ett_lustre_llog_create_rec = -1;
425 static gint ett_lustre_llog_orphan_rec = -1;
426 static gint ett_lustre_llog_unlink_rec = -1;
427 static gint ett_lustre_llog_setattr_rec = -1;
428 static gint ett_lustre_llog_size_change_rec = -1;
429 static gint ett_lustre_llog_gen_rec = -1;
430 static gint ett_lustre_llog_log_hdr = -1;
431 static gint ett_lustre_llog_cookie = -1;
432 static gint ett_lustre_llogd_body = -1;
433 static gint ett_lustre_llogd_conn_body = -1;
434 static gint ett_lustre_llog_gen = -1;
435 static gint ett_lustre_obdo = -1;
436 static gint ett_lustre_ost_body = -1;
437 static gint ett_lustre_qunit_data = -1;
438 static gint ett_lustre_qunit_data_old2 = -1;
439 static gint ett_lustre_qunit_data_old = -1;
440 static gint ett_lustre_ldlm_lock_flags = -1 ;
441 static gint ett_lustre_seq_range = -1;
442 static gint ett_lustre_mdt_ioepoch = -1;
443 static gint ett_lustre_capa = -1;
445 /* -----------------------------------------------*/
446 /* Header field declarations */
447 static int hf_lustre_ptlrpc_body_pb = -1 ;
448 static int hf_lustre_ost_body = -1 ;
449 static int hf_lustre_obd_statfs = -1 ;
450 static int hf_lustre_obd_quotactl = -1 ;
451 static int hf_lustre_quota_adjust_qunit = -1 ;
452 static int hf_lustre_extra_padding = -1 ;
453 static int hf_lustre_ldlm_reply = -1 ;
454 static int hf_lustre_ldlm_request = -1 ;
455 static int hf_lustre_obd_uuid = -1 ;
456 static int hf_lustre_obd_connect_data = -1 ;
457 static int hf_lustre_ldlm_intent = -1;
458 static int hf_lustre_obd_ioobj = -1 ;
459 static int hf_lustre_niobuf_remote = -1 ;
460 static int hf_lustre_ost_key = -1 ;
461 static int hf_lustre_nio= -1 ;
462 static int hf_lustre_ost_val= -1;
463 static int hf_lustre_llogd_body = -1;
464 static int hf_lustre_llogd_log_hdr= -1;
465 static int hf_lustre_llog_logid_rec =-1 ;
466 static int hf_lustre_llogd_chunk= -1;
467 static int hf_lustre_llogd_keyword= -1;
468 static int hf_lustre_llogd_client= -1;
469 static int hf_lustre_llogd_name= -1;
471 static int hf_lustre_mds_xattr_name = -1;
472 static int hf_lustre_lov_mds_md_v1= -1;
473 static int hf_lustre_llog_cookie= -1;
474 static int hf_lustre_mds_md_data= -1;
475 static int hf_lustre_mds_reint_opcode= -1;
476 static int hf_lustre_mds_xattr_eadata = -1;
478 static int hf_lustre_reint_name= -1;
479 static int hf_lustre_reint_old_name= -1;
480 static int hf_lustre_reint_new_name= -1;
482 static int hf_lustre_mgs_target_info = -1 ;
483 static int hf_lustre_mgs_send_param = -1;
485 static int hf_lustre_ost_lvb = -1 ;
487 static int hf_lustre_ldlm_fl_lock_changed = -1;
488 static int hf_lustre_ldlm_fl_block_granted = -1;
489 static int hf_lustre_ldlm_fl_block_conv = -1;
490 static int hf_lustre_ldlm_fl_block_wait = -1;
491 static int hf_lustre_ldlm_fl_cbpending = -1;
492 static int hf_lustre_ldlm_fl_ast_sent = -1;
493 static int hf_lustre_ldlm_fl_wait_noreproc = -1;
494 static int hf_lustre_ldlm_fl_cancel = -1;
495 static int hf_lustre_ldlm_fl_replay = -1;
496 static int hf_lustre_ldlm_fl_intent_only = -1;
497 static int hf_lustre_ldlm_fl_local_only = -1;
498 static int hf_lustre_ldlm_fl_failed = -1;
499 static int hf_lustre_ldlm_fl_has_intent = -1;
500 static int hf_lustre_ldlm_fl_canceling = -1;
501 static int hf_lustre_ldlm_fl_local = -1;
502 static int hf_lustre_ldlm_fl_warn = -1;
503 static int hf_lustre_ldlm_fl_discard_data = -1;
504 static int hf_lustre_ldlm_fl_no_timeout = -1;
505 static int hf_lustre_ldlm_fl_block_nowait = -1;
506 static int hf_lustre_ldlm_fl_test_lock = -1;
507 static int hf_lustre_ldlm_fl_lvb_ready = -1;
508 static int hf_lustre_ldlm_fl_kms_ignore = -1;
509 static int hf_lustre_ldlm_fl_no_lru = -1;
510 static int hf_lustre_ldlm_fl_cancel_on_block = -1;
511 static int hf_lustre_ldlm_fl_cp_reqd = -1;
512 static int hf_lustre_ldlm_fl_cleaned = -1;
513 static int hf_lustre_ldlm_fl_atomic_cb = -1;
514 static int hf_lustre_ldlm_fl_bl_ast = -1;
515 static int hf_lustre_ldlm_fl_bl_done = -1;
516 static int hf_lustre_ldlm_fl_deny_on_contention = -1;
517 static int hf_lustre_ldlm_ast_discard_data = -1;
519 static int hf_lustre_mdt_body = -1 ;
520 static int hf_lustre_mdt_body_fid1 = -1;
521 static int hf_lustre_mdt_body_fid2 = -1;
522 static int hf_lustre_mdt_body_handle = -1;
523 static int hf_lustre_mdt_body_valid = -1;
524 static int hf_lustre_mdt_body_size = -1;
525 static int hf_lustre_mdt_body_mtime = -1;
526 static int hf_lustre_mdt_body_atime = -1;
527 static int hf_lustre_mdt_body_ctime = -1;
528 static int hf_lustre_mdt_body_blocks = -1;
529 static int hf_lustre_mdt_body_ioepoch = -1;
530 static int hf_lustre_mdt_body_ino = -1;
531 static int hf_lustre_mdt_body_fsuid = -1;
532 static int hf_lustre_mdt_body_fsgid = -1;
533 static int hf_lustre_mdt_body_capability = -1;
534 static int hf_lustre_mdt_body_mode = -1;
535 static int hf_lustre_mdt_body_uid = -1;
536 static int hf_lustre_mdt_body_gid = -1;
537 static int hf_lustre_mdt_body_flags = -1;
538 static int hf_lustre_mdt_body_rdev = -1;
539 static int hf_lustre_mdt_body_nlink = -1;
540 static int hf_lustre_mdt_body_generation = -1;
541 static int hf_lustre_mdt_body_suppgid = -1;
542 static int hf_lustre_mdt_body_eadatasize = -1;
543 static int hf_lustre_mdt_body_aclsize = -1;
544 static int hf_lustre_mdt_body_max_mdsize = -1;
545 static int hf_lustre_mdt_body_max_cookiesize = -1;
546 static int hf_lustre_mdt_body_uid_h = -1;
547 static int hf_lustre_mdt_body_gid_h = -1;
548 static int hf_lustre_mdt_body_padding_5 = -1;
549 static int hf_lustre_mdt_body_padding_6 = -1;
550 static int hf_lustre_mdt_body_padding_7 = -1;
551 static int hf_lustre_mdt_body_padding_8 = -1;
552 static int hf_lustre_mdt_body_padding_9 = -1;
553 static int hf_lustre_mdt_body_padding_10 = -1;
555 static int hf_lustre_mdt_rec_setattr = -1 ;
556 static int hf_lustre_mdt_rec_setattr_sa_opcode = -1;
557 static int hf_lustre_mdt_rec_setattr_sa_cap = -1;
558 static int hf_lustre_mdt_rec_setattr_sa_fsuid = -1;
559 static int hf_lustre_mdt_rec_setattr_sa_fsuid_h = -1;
560 static int hf_lustre_mdt_rec_setattr_sa_fsgid = -1;
561 static int hf_lustre_mdt_rec_setattr_sa_fsgid_h = -1;
562 static int hf_lustre_mdt_rec_setattr_sa_suppgid = -1;
563 static int hf_lustre_mdt_rec_setattr_sa_suppgid_h = -1;
564 static int hf_lustre_mdt_rec_setattr_sa_padding_1 = -1;
565 static int hf_lustre_mdt_rec_setattr_sa_padding_1_h = -1;
566 static int hf_lustre_mdt_rec_setattr_sa_fid = -1;
567 static int hf_lustre_mdt_rec_setattr_sa_valid = -1;
568 static int hf_lustre_mdt_rec_setattr_sa_uid = -1;
569 static int hf_lustre_mdt_rec_setattr_sa_gid = -1;
570 static int hf_lustre_mdt_rec_setattr_sa_size = -1;
571 static int hf_lustre_mdt_rec_setattr_sa_blocks = -1;
572 static int hf_lustre_mdt_rec_setattr_sa_mtime = -1;
573 static int hf_lustre_mdt_rec_setattr_sa_atime = -1;
574 static int hf_lustre_mdt_rec_setattr_sa_ctime = -1;
575 static int hf_lustre_mdt_rec_setattr_sa_attr_flags = -1;
576 static int hf_lustre_mdt_rec_setattr_sa_mode = -1;
577 static int hf_lustre_mdt_rec_setattr_sa_padding_2 = -1;
578 static int hf_lustre_mdt_rec_setattr_sa_padding_3 = -1;
579 static int hf_lustre_mdt_rec_setattr_sa_padding_4 = -1;
580 static int hf_lustre_mdt_rec_setattr_sa_padding_5 = -1;
582 static int hf_lustre_mdt_rec_create = -1 ;
583 static int hf_lustre_mdt_rec_create_cr_opcode = -1;
584 static int hf_lustre_mdt_rec_create_cr_cap = -1;
585 static int hf_lustre_mdt_rec_create_cr_fsuid = -1;
586 static int hf_lustre_mdt_rec_create_cr_fsuid_h = -1;
587 static int hf_lustre_mdt_rec_create_cr_fsgid = -1;
588 static int hf_lustre_mdt_rec_create_cr_fsgid_h = -1;
589 static int hf_lustre_mdt_rec_create_cr_suppgid1 = -1;
590 static int hf_lustre_mdt_rec_create_cr_suppgid1_h = -1;
591 static int hf_lustre_mdt_rec_create_cr_suppgid2 = -1;
592 static int hf_lustre_mdt_rec_create_cr_suppgid2_h = -1;
593 static int hf_lustre_mdt_rec_create_cr_fid1 = -1;
594 static int hf_lustre_mdt_rec_create_cr_fid2 = -1;
595 static int hf_lustre_mdt_rec_create_cr_old_handle = -1;
596 static int hf_lustre_mdt_rec_create_cr_time = -1;
597 static int hf_lustre_mdt_rec_create_cr_rdev = -1;
598 static int hf_lustre_mdt_rec_create_cr_ioepoch = -1;
599 static int hf_lustre_mdt_rec_create_cr_padding_1 = -1;
600 static int hf_lustre_mdt_rec_create_cr_mode = -1;
601 static int hf_lustre_mdt_rec_create_cr_bias = -1;
602 static int hf_lustre_mdt_rec_create_cr_flags_l = -1;
603 static int hf_lustre_mdt_rec_create_cr_flags_h = -1;
604 static int hf_lustre_mdt_rec_create_cr_umask = -1;
605 static int hf_lustre_mdt_rec_create_cr_padding_4 = -1;
607 static int hf_lustre_mdt_rec_link = -1 ;
608 static int hf_lustre_mdt_rec_link_lk_opcode = -1;
609 static int hf_lustre_mdt_rec_link_lk_cap = -1;
610 static int hf_lustre_mdt_rec_link_lk_fsuid = -1;
611 static int hf_lustre_mdt_rec_link_lk_fsuid_h = -1;
612 static int hf_lustre_mdt_rec_link_lk_fsgid = -1;
613 static int hf_lustre_mdt_rec_link_lk_fsgid_h = -1;
614 static int hf_lustre_mdt_rec_link_lk_suppgid1 = -1;
615 static int hf_lustre_mdt_rec_link_lk_suppgid1_h = -1;
616 static int hf_lustre_mdt_rec_link_lk_suppgid2 = -1;
617 static int hf_lustre_mdt_rec_link_lk_suppgid2_h = -1;
618 static int hf_lustre_mdt_rec_link_lk_fid1 = -1;
619 static int hf_lustre_mdt_rec_link_lk_fid2 = -1;
620 static int hf_lustre_mdt_rec_link_lk_time = -1;
621 static int hf_lustre_mdt_rec_link_lk_padding_1 = -1;
622 static int hf_lustre_mdt_rec_link_lk_padding_2 = -1;
623 static int hf_lustre_mdt_rec_link_lk_padding_3 = -1;
624 static int hf_lustre_mdt_rec_link_lk_padding_4 = -1;
625 static int hf_lustre_mdt_rec_link_lk_bias = -1;
626 static int hf_lustre_mdt_rec_link_lk_padding_5 = -1;
627 static int hf_lustre_mdt_rec_link_lk_padding_6 = -1;
628 static int hf_lustre_mdt_rec_link_lk_padding_7 = -1;
629 static int hf_lustre_mdt_rec_link_lk_padding_8 = -1;
630 static int hf_lustre_mdt_rec_link_lk_padding_9 = -1;
632 static int hf_lustre_mdt_rec_unlink = -1 ;
633 static int hf_lustre_mdt_rec_unlink_ul_opcode = -1;
634 static int hf_lustre_mdt_rec_unlink_ul_cap = -1;
635 static int hf_lustre_mdt_rec_unlink_ul_fsuid = -1;
636 static int hf_lustre_mdt_rec_unlink_ul_fsuid_h = -1;
637 static int hf_lustre_mdt_rec_unlink_ul_fsgid = -1;
638 static int hf_lustre_mdt_rec_unlink_ul_fsgid_h = -1;
639 static int hf_lustre_mdt_rec_unlink_ul_suppgid1 = -1;
640 static int hf_lustre_mdt_rec_unlink_ul_suppgid1_h = -1;
641 static int hf_lustre_mdt_rec_unlink_ul_suppgid2 = -1;
642 static int hf_lustre_mdt_rec_unlink_ul_suppgid2_h = -1;
643 static int hf_lustre_mdt_rec_unlink_ul_fid1 = -1;
644 static int hf_lustre_mdt_rec_unlink_ul_fid2 = -1;
645 static int hf_lustre_mdt_rec_unlink_ul_time = -1;
646 static int hf_lustre_mdt_rec_unlink_ul_padding_2 = -1;
647 static int hf_lustre_mdt_rec_unlink_ul_padding_3 = -1;
648 static int hf_lustre_mdt_rec_unlink_ul_padding_4 = -1;
649 static int hf_lustre_mdt_rec_unlink_ul_padding_5 = -1;
650 static int hf_lustre_mdt_rec_unlink_ul_bias = -1;
651 static int hf_lustre_mdt_rec_unlink_ul_mode = -1;
652 static int hf_lustre_mdt_rec_unlink_ul_padding_6 = -1;
653 static int hf_lustre_mdt_rec_unlink_ul_padding_7 = -1;
654 static int hf_lustre_mdt_rec_unlink_ul_padding_8 = -1;
655 static int hf_lustre_mdt_rec_unlink_ul_padding_9 = -1;
657 static int hf_lustre_mdt_rec_rename = -1 ;
658 static int hf_lustre_mdt_rec_rename_rn_opcode = -1;
659 static int hf_lustre_mdt_rec_rename_rn_cap = -1;
660 static int hf_lustre_mdt_rec_rename_rn_fsuid = -1;
661 static int hf_lustre_mdt_rec_rename_rn_fsuid_h = -1;
662 static int hf_lustre_mdt_rec_rename_rn_fsgid = -1;
663 static int hf_lustre_mdt_rec_rename_rn_fsgid_h = -1;
664 static int hf_lustre_mdt_rec_rename_rn_suppgid1 = -1;
665 static int hf_lustre_mdt_rec_rename_rn_suppgid1_h = -1;
666 static int hf_lustre_mdt_rec_rename_rn_suppgid2 = -1;
667 static int hf_lustre_mdt_rec_rename_rn_suppgid2_h = -1;
668 static int hf_lustre_mdt_rec_rename_rn_fid1 = -1;
669 static int hf_lustre_mdt_rec_rename_rn_fid2 = -1;
670 static int hf_lustre_mdt_rec_rename_rn_time = -1;
671 static int hf_lustre_mdt_rec_rename_rn_padding_1 = -1;
672 static int hf_lustre_mdt_rec_rename_rn_padding_2 = -1;
673 static int hf_lustre_mdt_rec_rename_rn_padding_3 = -1;
674 static int hf_lustre_mdt_rec_rename_rn_padding_4 = -1;
675 static int hf_lustre_mdt_rec_rename_rn_bias = -1;
676 static int hf_lustre_mdt_rec_rename_rn_mode = -1;
677 static int hf_lustre_mdt_rec_rename_rn_padding_5 = -1;
678 static int hf_lustre_mdt_rec_rename_rn_padding_6 = -1;
679 static int hf_lustre_mdt_rec_rename_rn_padding_7 = -1;
680 static int hf_lustre_mdt_rec_rename_rn_padding_8 = -1;
682 static int hf_lustre_mdt_rec_setxattr = -1 ;
683 static int hf_lustre_mdt_rec_setxattr_sx_opcode = -1;
684 static int hf_lustre_mdt_rec_setxattr_sx_cap = -1;
685 static int hf_lustre_mdt_rec_setxattr_sx_fsuid = -1;
686 static int hf_lustre_mdt_rec_setxattr_sx_fsuid_h = -1;
687 static int hf_lustre_mdt_rec_setxattr_sx_fsgid = -1;
688 static int hf_lustre_mdt_rec_setxattr_sx_fsgid_h = -1;
689 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1 = -1;
690 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1_h = -1;
691 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2 = -1;
692 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2_h = -1;
693 static int hf_lustre_mdt_rec_setxattr_sx_fid = -1;
694 static int hf_lustre_mdt_rec_setxattr_sx_padding_1 = -1;
695 static int hf_lustre_mdt_rec_setxattr_sx_padding_2 = -1;
696 static int hf_lustre_mdt_rec_setxattr_sx_padding_3 = -1;
697 static int hf_lustre_mdt_rec_setxattr_sx_valid = -1;
698 static int hf_lustre_mdt_rec_setxattr_sx_time = -1;
699 static int hf_lustre_mdt_rec_setxattr_sx_padding_5 = -1;
700 static int hf_lustre_mdt_rec_setxattr_sx_padding_6 = -1;
701 static int hf_lustre_mdt_rec_setxattr_sx_padding_7 = -1;
702 static int hf_lustre_mdt_rec_setxattr_sx_size = -1;
703 static int hf_lustre_mdt_rec_setxattr_sx_flags = -1;
704 static int hf_lustre_mdt_rec_setxattr_sx_padding_8 = -1;
705 static int hf_lustre_mdt_rec_setxattr_sx_padding_9 = -1;
706 static int hf_lustre_mdt_rec_setxattr_sx_padding_10 = -1;
707 static int hf_lustre_mdt_rec_setxattr_sx_padding_11 = -1;
709 static int hf_lustre_seq_opc = -1;
710 static int hf_lustre_seq_range = -1;
711 static int hf_lustre_seq_range_start = -1;
712 static int hf_lustre_seq_range_end = -1;
713 static int hf_lustre_seq_range_index = -1;
714 static int hf_lustre_seq_range_flags = -1;
716 static int hf_lustre_mdt_ioepoch = -1;
717 static int hf_lustre_mdt_ioepoch_handle = -1;
718 static int hf_lustre_mdt_ioepoch_ioepoch = -1;
719 static int hf_lustre_mdt_ioepoch_flags = -1;
720 static int hf_lustre_mdt_ioepoch_padding = -1;
722 static int hf_lustre_capa = -1;
724 static int hf_lustre_lustre_handle_cookie = -1;
725 static int hf_lustre_ptlrpc_body_pb_last_committed = -1;
726 static int hf_lustre_ptlrpc_body_pb_version = -1;
727 static int hf_lustre_lustre_msg_v1_lm_bufcount = -1;
728 static int hf_lustre_obd_ioobj_ioo_id = -1;
729 static int hf_lustre_ptlrpc_body_pb_slv = -1;
730 static int hf_lustre_ptlrpc_body_pb_pre_version = -1;
731 static int hf_lustre_ptlrpc_body_pb_padding = -1;
732 static int hf_lustre_ptlrpc_body_pb_jobid = -1;
733 static int hf_lustre_lustre_msg_v1_lm_handle = -1;
734 static int hf_lustre_ost_lvb_lvb_atime = -1;
735 static int hf_lustre_ptlrpc_body_pb_timeout = -1;
736 static int hf_lustre_obd_statfs_os_bavail = -1;
737 static int hf_lustre_obd_statfs_os_bsize = -1;
738 static int hf_lustre_lustre_msg_v2_lm_repsize = -1;
739 static int hf_lustre_lov_mds_md_v1_lmm_stripe_size = -1;
740 static int hf_lustre_lustre_msg_v1_lm_last_xid = -1;
741 static int hf_lustre_ll_fid_f_type = -1;
742 static int hf_lustre_lustre_msg_v2_lm_cksum = -1;
743 static int hf_lustre_lustre_msg_v2_lm_buflens = -1;
744 static int hf_lustre_lustre_msg_v1_lm_status = -1;
745 static int hf_lustre_lustre_msg_v1_lm_type = -1;
746 static int hf_lustre_niobuf_remote_len = -1;
747 static int hf_lustre_lov_mds_md_v1_lmm_magic = -1;
748 static int hf_lustre_ptlrpc_body_pb_op_flags = -1;
749 static int hf_lustre_ost_lvb_lvb_ctime = -1;
750 static int hf_lustre_ptlrpc_body_pb_type = -1;
751 static int hf_lustre_obd_connect_data_ocd_nllg = -1;
752 static int hf_lustre_obd_connect_data_ocd_nllu = -1;
753 static int hf_lustre_ll_fid_generation = -1;
754 static int hf_lustre_ost_lvb_lvb_mtime = -1;
755 static int hf_lustre_obd_connect_data_ocd_ibits_known = -1;
756 static int hf_lustre_lustre_msg_v2_lm_padding_3 = -1;
757 static int hf_lustre_ptlrpc_body_pb_flags = -1;
758 static int hf_lustre_obd_statfs_os_spare4 = -1;
759 static int hf_lustre_obd_connect_data_ocd_group = -1;
760 static int hf_lustre_lov_ost_data_v1_l_object_seq = -1;
761 static int hf_lustre_lov_mds_md_v1_lmm_object_seq = -1;
762 static int hf_lustre_obd_connect_data_ocd_brw_size = -1;
763 static int hf_lustre_ptlrpc_body_pb_limit = -1;
764 static int hf_lustre_obd_statfs_os_maxbytes = -1;
765 static int hf_lustre_obd_statfs_os_spare5 = -1;
766 static int hf_lustre_lustre_msg_v2_lm_flags = -1;
767 static int hf_lustre_obd_statfs_os_ffree = -1;
768 static int hf_lustre_obd_statfs_os_files = -1;
769 static int hf_lustre_lov_mds_md_v1_lmm_stripe_count = -1;
770 static int hf_lustre_lustre_msg_v1_lm_flags = -1;
771 static int hf_lustre_lustre_msg_v1_lm_last_committed = -1;
772 static int hf_lustre_obd_statfs_os_spare9 = -1;
773 static int hf_lustre_obd_connect_data_ocd_index = -1;
774 static int hf_lustre_opnum = -1;
775 static int hf_lustre_lustre_msg_v1_lm_buflens = -1;
776 static int hf_lustre_obd_statfs_os_spare1 = -1;
777 static int hf_lustre_obd_statfs_os_spare8 = -1;
778 static int hf_lustre_lustre_msg_v1_lm_conn_cnt = -1;
779 static int hf_lustre_ptlrpc_body_pb_transno = -1;
780 static int hf_lustre_ptlrpc_body_pb_service_time = -1;
781 static int hf_lustre_ptlrpc_body_pb_conn_cnt = -1;
782 static int hf_lustre_ptlrpc_body_pb_opc = -1;
783 static int hf_lustre_obd_connect_data_ocd_connect_flags = -1;
784 static int hf_lustre_lov_ost_data_v1_l_object_id = -1;
785 static int hf_lustre_lov_ost_data_v1_l_ost_gen = -1;
786 static int hf_lustre_obd_statfs_os_bfree = -1;
787 static int hf_lustre_obd_connect_data_ocd_version = -1;
788 static int hf_lustre_lov_mds_md_v1_lmm_objects = -1;
789 static int hf_lustre_obd_statfs_os_namelen = -1;
790 static int hf_lustre_obd_statfs_os_blocks = -1;
791 static int hf_lustre_lustre_msg_v2_lm_secflvr = -1;
792 static int hf_lustre_lustre_msg_v1_lm_transno = -1;
793 static int hf_lustre_lov_mds_md_v1_lmm_pattern = -1;
794 static int hf_lustre_lustre_msg_v1_lm_opc = -1;
795 static int hf_lustre_obd_connect_data_ocd_grant = -1;
796 static int hf_lustre_obd_ioobj_ioo_bufcnt = -1;
797 static int hf_lustre_lustre_msg_v1_lm_version = -1;
798 static int hf_lustre_obd_statfs_os_spare7 = -1;
799 static int hf_lustre_obd_statfs_os_fsid = -1;
800 static int hf_lustre_obd_connect_data_ocd_cksum_types = -1;
801 static int hf_lustre_ost_lvb_lvb_size = -1;
802 static int hf_lustre_obd_statfs_os_type = -1;
803 static int hf_lustre_obd_statfs_os_spare6 = -1;
804 static int hf_lustre_obd_statfs_os_state = -1;
805 static int hf_lustre_obd_statfs_os_spare3 = -1;
806 static int hf_lustre_lustre_msg_v2_lm_magic = -1;
807 static int hf_lustre_lov_mds_md_v1_lmm_object_id = -1;
808 static int hf_lustre_ptlrpc_body_pb_last_seen = -1;
809 static int hf_lustre_obd_ioobj_ioo_type = -1;
810 static int hf_lustre_ptlrpc_body_pb_last_xid = -1;
811 static int hf_lustre_ptlrpc_body_pb_status = -1;
812 static int hf_lustre_niobuf_remote_flags = -1;
813 static int hf_lustre_ll_fid_id = -1;
814 static int hf_lustre_ost_lvb_lvb_blocks = -1;
815 static int hf_lustre_lustre_msg_v2_lm_padding_2 = -1;
816 static int hf_lustre_obd_connect_data_padding1 = -1;
817 static int hf_lustre_lov_ost_data_v1_l_ost_idx = -1;
818 static int hf_lustre_obd_connect_data_padding2 = -1;
819 static int hf_lustre_obd_ioobj_ioo_seq = -1;
820 static int hf_lustre_niobuf_remote_offset=-1;
821 static int hf_lustre_obd_statfs_os_spare2 = -1;
822 static int hf_lustre_lustre_msg_v2_lm_bufcount = -1;
823 static int hf_lustre_ptlrpc_body_pb_handle = -1;
824 static int hf_lustre_obd_connect_data_ocd_transno = -1;
825 static int hf_lustre_lustre_msg_v1_lm_magic = -1;
826 static int hf_lustre_llog_unlink_rec_lur_tail = -1;
827 static int hf_lustre_llog_size_change_rec_lsc_io_epoch = -1;
828 static int hf_lustre_mgs_target_info_mti_flags = -1;
829 static int hf_lustre_ldlm_reply_lock_policy_res1 = -1;
830 static int hf_lustre_llogd_body_lgd_len = -1;
831 static int hf_lustre_qunit_data_old_qd_id = -1;
832 static int hf_lustre_llog_logid_rec_padding1 = -1;
833 static int hf_lustre_quota_adjust_qunit_padding1 = -1;
834 static int hf_lustre_llog_size_change_rec_lsc_fid = -1;
835 static int hf_lustre_llog_rec_hdr_padding = -1;
836 static int hf_lustre_obdo_o_nlink = -1;
837 static int hf_lustre_ldlm_extent_gid = -1;
838 static int hf_lustre_obdo_o_uid = -1;
839 static int hf_lustre_obdo_o_valid = -1;
840 static int hf_lustre_ldlm_reply_lock_flags = -1;
841 static int hf_lustre_obdo_o_misc = -1;
843 static int hf_lustre_ldlm_request_lock_handle = -1;
844 static int hf_lustre_llog_logid_lgl_oid = -1;
845 static int hf_lustre_ldlm_inodebits_bits = -1;
846 static int hf_lustre_llog_log_hdr_llh_count = -1;
847 static int hf_lustre_llog_gen_rec_lgr_tail = -1;
848 static int hf_lustre_llog_catid_lci_padding3 = -1;
849 static int hf_lustre_qunit_data_qd_qunit = -1;
850 static int hf_lustre_llog_setattr_rec_padding = -1;
851 static int hf_lustre_llog_cookie_lgc_lgl = -1;
852 static int hf_lustre_obd_quotactl_qc_dqinfo = -1;
853 static int hf_lustre_llog_log_hdr_llh_bitmap = -1;
854 static int hf_lustre_obd_quotactl_qc_stat = -1;
855 static int hf_lustre_qunit_data_old2_qd_id = -1;
856 static int hf_lustre_llog_logid_rec_padding2 = -1;
857 static int hf_lustre_llog_orphan_rec_lor_tail = -1;
858 static int hf_lustre_llog_logid_rec_padding5 = -1;
859 static int hf_lustre_ldlm_intent_opc = -1;
860 static int hf_lustre_llog_rec_hdr_lrh_type = -1;
861 static int hf_lustre_llog_rec_hdr_lrh_len = -1;
862 static int hf_lustre_llog_setattr_rec_lsr_uid = -1;
863 static int hf_lustre_lov_desc_ld_padding_1 = -1;
864 static int hf_lustre_obdo_o_padding_4 = -1;
865 static int hf_lustre_mgs_target_info_padding = -1;
866 static int hf_lustre_obd_quotactl_qc_dqblk = -1;
867 static int hf_lustre_llogd_conn_body_lgdc_gen = -1;
868 static int hf_lustre_llog_log_hdr_llh_tail = -1;
869 static int hf_lustre_obdo_o_size = -1;
870 static int hf_lustre_ldlm_extent_start = -1;
871 static int hf_lustre_llog_size_change_rec_lsc_hdr = -1;
872 static int hf_lustre_llog_create_rec_lcr_tail = -1;
873 static int hf_lustre_llog_logid_lgl_oseq = -1;
874 static int hf_lustre_llog_create_rec_lcr_hdr = -1;
875 static int hf_lustre_llog_cookie_lgc_padding = -1;
876 static int hf_lustre_qunit_data_old_qd_type = -1;
877 static int hf_lustre_ldlm_flock_blocking_export = -1;
878 static int hf_lustre_lov_desc_ld_pattern = -1;
879 static int hf_lustre_qunit_data_qd_id = -1;
880 static int hf_lustre_mgs_target_info_mti_fsname = -1;
881 static int hf_lustre_ldlm_request_lock_flags = -1;
882 static int hf_lustre_obdo_o_mode = -1;
883 static int hf_lustre_mgs_target_info_mti_svname = -1;
884 static int hf_lustre_llogd_body_lgd_logid = -1;
885 static int hf_lustre_llog_log_hdr_llh_size = -1;
886 static int hf_lustre_llog_create_rec_padding = -1;
887 static int hf_lustre_obdo_o_handle = -1;
888 static int hf_lustre_obdo_o_atime = -1;
889 static int hf_lustre_quota_adjust_qunit_qaq_id = -1;
890 static int hf_lustre_ldlm_lock_desc_l_policy_data = -1;
891 static int hf_lustre_obd_quotactl_qc_cmd = -1;
892 static int hf_lustre_qunit_data_padding = -1;
893 static int hf_lustre_quota_adjust_qunit_qaq_flags = -1;
894 static int hf_lustre_ldlm_lock_desc_l_granted_mode = -1;
895 static int hf_lustre_obdo_o_seq = -1;
896 static int hf_lustre_obdo_o_gid = -1;
897 static int hf_lustre_llog_catid_lci_logid = -1;
898 static int hf_lustre_llog_rec_tail_lrt_index = -1;
899 static int hf_lustre_lov_desc_ld_default_stripe_count = -1;
900 static int hf_lustre_ldlm_resource_desc_lr_padding = -1;
901 static int hf_lustre_cfg_marker_cm_vers = -1;
902 static int hf_lustre_llog_unlink_rec_lur_hdr = -1;
903 static int hf_lustre_llogd_body_lgd_index = -1;
904 static int hf_lustre_cfg_marker_cm_tgtname = -1;
905 static int hf_lustre_llog_setattr_rec_lsr_ogen = -1;
906 static int hf_lustre_llog_logid_rec_lid_hdr = -1;
907 static int hf_lustre_obdo_o_ioepoch = -1;
908 static int hf_lustre_ost_body_oa = -1;
909 static int hf_lustre_llog_logid_rec_padding3 = -1;
910 static int hf_lustre_llog_log_hdr_llh_flags = -1;
911 static int hf_lustre_llog_setattr_rec_lsr_oid = -1;
912 static int hf_lustre_llog_size_change_rec_padding = -1;
913 static int hf_lustre_mgs_target_info_mti_config_ver = -1;
914 static int hf_lustre_cfg_marker_cm_createtime = -1;
915 static int hf_lustre_qunit_data_old_qd_count = -1;
916 static int hf_lustre_llog_catid_lci_padding1 = -1;
917 static int hf_lustre_lov_desc_ld_active_tgt_count = -1;
918 static int hf_lustre_obdo_o_lcookie = -1;
919 static int hf_lustre_llog_gen_rec_lgr_gen = -1;
920 static int hf_lustre_obdo_o_id = -1;
921 static int hf_lustre_mgs_target_info_mti_uuid = -1;
922 static int hf_lustre_llog_rec_hdr_lrh_index = -1;
923 static int hf_lustre_llog_setattr_rec_lsr_hdr = -1;
924 static int hf_lustre_mgs_target_info_mti_stripe_index = -1;
925 static int hf_lustre_llog_gen_conn_cnt = -1;
926 static int hf_lustre_obdo_o_padding_6 = -1;
927 static int hf_lustre_llog_cookie_lgc_index = -1;
928 static int hf_lustre_lov_desc_ld_uuid = -1;
929 static int hf_lustre_llog_create_rec_lcr_oid = -1;
930 static int hf_lustre_ldlm_reply_lock_desc = -1;
931 static int hf_lustre_lov_desc_ld_padding_0 = -1;
932 static int hf_lustre_llog_unlink_rec_lur_ogen = -1;
933 static int hf_lustre_llog_orphan_rec_lor_hdr = -1;
934 static int hf_lustre_cfg_marker_cm_flags = -1;
935 static int hf_lustre_obdo_o_padding_3 = -1;
936 static int hf_lustre_ldlm_request_lock_desc = -1;
937 static int hf_lustre_llog_orphan_rec_padding = -1;
938 static int hf_lustre_obdo_o_flags = -1;
939 static int hf_lustre_mgs_target_info_mti_params = -1;
940 static int hf_lustre_llog_logid_lgl_ogen = -1;
941 static int hf_lustre_cfg_marker_cm_comment = -1;
942 static int hf_lustre_llog_unlink_rec_lur_oid = -1;
943 static int hf_lustre_qunit_data_qd_count = -1;
944 static int hf_lustre_obdo_o_mtime = -1;
945 static int hf_lustre_obdo_o_blksize = -1;
946 static int hf_lustre_ldlm_res_id_name = -1;
947 static int hf_lustre_ldlm_reply_lock_handle = -1;
948 static int hf_lustre_llogd_body_lgd_saved_index = -1;
949 static int hf_lustre_qunit_data_old_qd_isblk = -1;
950 static int hf_lustre_obdo_o_blocks = -1;
951 static int hf_lustre_lov_desc_ld_padding_2 = -1;
952 static int hf_lustre_llog_logid_rec_lid_tail = -1;
953 static int hf_lustre_obdo_o_grant = -1;
954 static int hf_lustre_obdo_o_uid_h = -1;
955 static int hf_lustre_obdo_o_gid_h = -1;
956 static int hf_lustre_quota_adjust_qunit_qaq_iunit_sz = -1;
957 static int hf_lustre_llog_unlink_rec_padding = -1;
958 static int hf_lustre_ldlm_lock_desc_l_req_mode = -1;
959 static int hf_lustre_ldlm_extent_end = -1;
960 static int hf_lustre_llog_gen_rec_lgr_hdr = -1;
961 static int hf_lustre_llog_orphan_rec_lor_ogen = -1;
962 static int hf_lustre_llogd_body_lgd_llh_flags = -1;
963 static int hf_lustre_llog_log_hdr_llh_cat_idx = -1;
964 static int hf_lustre_llog_log_hdr_llh_bitmap_offset=-1;
965 static int hf_lustre_llog_orphan_rec_lor_oid = -1;
966 static int hf_lustre_ldlm_reply_lock_padding = -1;
967 static int hf_lustre_obd_quotactl_qc_id = -1;
968 static int hf_lustre_llog_logid_rec_padding4 = -1;
969 static int hf_lustre_llog_setattr_rec_lsr_gid = -1;
970 static int hf_lustre_obd_quotactl_qc_type = -1;
971 static int hf_lustre_cfg_marker_padding = -1;
972 static int hf_lustre_mgs_target_info_mti_nids = -1;
973 static int hf_lustre_obdo_o_stripe_idx = -1;
974 static int hf_lustre_llogd_conn_body_lgdc_logid = -1;
975 static int hf_lustre_ldlm_flock_blocking_pid = -1;
976 static int hf_lustre_lov_desc_ld_tgt_count = -1;
977 static int hf_lustre_llogd_body_lgd_cur_offset=-1;
978 static int hf_lustre_llog_create_rec_lcr_ogen = -1;
979 static int hf_lustre_qunit_data_old2_qd_count = -1;
980 static int hf_lustre_qunit_data_old2_qd_flags = -1;
981 static int hf_lustre_ldlm_flock_start = -1;
982 static int hf_lustre_quota_adjust_qunit_qaq_bunit_sz = -1;
983 static int hf_lustre_ldlm_flock_pid = -1;
984 static int hf_lustre_lov_desc_ld_default_stripe_size = -1;
985 static int hf_lustre_llog_log_hdr_llh_tgtuuid = -1;
986 static int hf_lustre_cfg_marker_cm_step = -1;
987 static int hf_lustre_mgs_send_param_mgs_param = -1;
988 static int hf_lustre_llog_create_rec_lcr_fid = -1;
989 static int hf_lustre_lov_desc_ld_default_stripe_offset=-1;
990 static int hf_lustre_ldlm_resource_desc_lr_name = -1;
991 static int hf_lustre_llog_rec_tail_lrt_len = -1;
992 static int hf_lustre_llog_log_hdr_llh_timestamp = -1;
993 static int hf_lustre_llog_catid_lci_padding2 = -1;
994 static int hf_lustre_llogd_conn_body_lgdc_ctxt_idx = -1;
995 static int hf_lustre_cfg_marker_cm_canceltime = -1;
996 static int hf_lustre_mgs_target_info_mti_lustre_ver = -1;
997 static int hf_lustre_obdo_o_parent_ver = -1;
998 static int hf_lustre_qunit_data_qd_flags = -1;
999 static int hf_lustre_llog_logid_rec_lid_id = -1;
1000 static int hf_lustre_obdo_o_parent_oid = -1;
1001 static int hf_lustre_llog_gen_mnt_cnt = -1;
1002 static int hf_lustre_llog_size_change_rec_lsc_tail = -1;
1003 static int hf_lustre_obdo_o_padding_5 = -1;
1004 static int hf_lustre_ldlm_lock_desc_l_resource = -1;
1005 static int hf_lustre_obdo_o_parent_seq = -1;
1006 static int hf_lustre_ldlm_request_lock_count = -1;
1007 static int hf_lustre_ldlm_flock_end = -1;
1008 static int hf_lustre_mgs_target_info_mti_nid_count = -1;
1009 static int hf_lustre_obdo_o_ctime = -1;
1010 static int hf_lustre_ldlm_reply_lock_policy_res2 = -1;
1011 static int hf_lustre_llogd_body_lgd_ctxt_idx = -1;
1012 static int hf_lustre_lov_desc_ld_qos_maxage = -1;
1013 static int hf_lustre_ldlm_resource_desc_lr_type = -1;
1014 static int hf_lustre_llog_setattr_rec_lsr_tail = -1;
1015 static int hf_lustre_llog_cookie_lgc_subsys = -1;
1016 static int hf_lustre_llog_log_hdr_llh_hdr = -1;
1017 static int hf_lustre_llog_log_hdr_llh_reserved = -1;
1019 /* Header field declarations for field from lustre_user.h*/
1020 static int hf_lustre_obd_dqinfo_dqi_valid = -1;
1021 static int hf_lustre_obd_dqblk_dqb_isoftlimit = -1;
1022 static int hf_lustre_obd_dqblk_dqb_bhardlimit = -1;
1023 static int hf_lustre_obd_dqblk_dqb_curspace = -1;
1024 static int hf_lustre_obd_dqblk_dqb_itime = -1;
1025 static int hf_lustre_obd_dqblk_dqb_valid = -1;
1026 static int hf_lustre_obd_dqinfo_dqi_igrace = -1;
1027 static int hf_lustre_obd_dqinfo_dqi_bgrace = -1;
1028 static int hf_lustre_obd_dqblk_padding = -1;
1029 static int hf_lustre_obd_dqblk_dqb_curinodes = -1;
1030 static int hf_lustre_obd_dqblk_dqb_bsoftlimit = -1;
1031 static int hf_lustre_obd_dqinfo_dqi_flags = -1;
1032 static int hf_lustre_obd_dqblk_dqb_btime = -1;
1033 static int hf_lustre_obd_dqblk_dqb_ihardlimit = -1;
1034 static int hf_lustre_ldlm_intent_opc_open = -1 ;
1035 static int hf_lustre_ldlm_intent_opc_creat = -1;
1036 static int hf_lustre_ldlm_intent_opc_readdir = -1;
1037 static int hf_lustre_ldlm_intent_opc_getattr = -1;
1038 static int hf_lustre_ldlm_intent_opc_lookup = -1;
1039 static int hf_lustre_ldlm_intent_opc_unlink = -1;
1040 static int hf_lustre_ldlm_intent_opc_getxattr = -1;
1041 static int hf_lustre_ldlm_intent_opc_exec = -1;
1042 static int hf_lustre_ldlm_intent_opc_pin = -1;
1043 static int hf_lustre_llog_hdr_llh_flag_zap_when_empty = -1;
1044 static int hf_lustre_llog_hdr_llh_flag_is_cat = -1;
1045 static int hf_lustre_llog_hdr_llh_flag_is_play = -1;
1046 /* --------------------------------------------------------------------*/
1049 /* proto declaration */
1050 static gint proto_lustre = -1;
1055 static int ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_) ;
1056 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_);
1057 static int add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_) ;
1060 /* ======================================================================== */
1061 /*the value_string*/
1062 const value_string lustre_ldlm_opcode[] = {
1063 { IT_OPEN , "IT_OPEN "},
1064 { IT_CREAT , "IT_CREAT "},
1065 { IT_READDIR , "IT_READDIR "},
1066 { IT_GETATTR , "IT_GETATTR "},
1067 { IT_LOOKUP , "IT_LOOKUP "},
1068 { IT_UNLINK , "IT_UNLINK "},
1069 { IT_GETXATTR, "IT_GETXATTR"},
1070 { IT_EXEC , "IT_EXEC "},
1071 { IT_PIN , "IT_PIN "},
1075 const value_string lustre_lov_magic[] = {
1076 { LOV_MAGIC_V1, "LOV_MAGIC_V1" },
1080 const value_string lustre_ldlm_flags_vals[] = {
1081 {0x000001 , "LDLM_FL_LOCK_CHANGED"},
1082 {0x000002 , "LDLM_FL_BLOCK_GRANTED"},
1083 {0x000004 , "LDLM_FL_BLOCK_CONV"},
1084 {0x000008 , "LDLM_FL_BLOCK_WAIT"},
1085 {0x000010 , "LDLM_FL_CBPENDING"},
1086 {0x000020 , "LDLM_FL_AST_SENT"},
1087 {0x000040 , "LDLM_FL_WAIT_NOREPROC"},
1088 {0x000080 , "LDLM_FL_CANCEL"},
1089 {0x000100 , "LDLM_FL_REPLAY"},
1090 {0x000200 , "LDLM_FL_INTENT_ONLY"},
1091 {0x000400 , "LDLM_FL_LOCAL_ONLY"},
1092 {0x000800 , "LDLM_FL_FAILED"},
1093 {0x001000 , "LDLM_FL_HAS_INTENT"},
1094 {0x002000 , "LDLM_FL_CANCELING"},
1095 {0x004000 , "LDLM_FL_LOCAL"},
1096 {0x008000 , "LDLM_FL_WARN"},
1097 {0x010000 , "LDLM_FL_DISCARD_DATA"},
1098 {0x020000 , "LDLM_FL_NO_TIMEOUT"},
1099 {0x040000 , "LDLM_FL_BLOCK_NOWAIT"},
1100 {0x080000 , "LDLM_FL_TEST_LOCK"},
1101 {0x100000 , "LDLM_FL_LVB_READY"},
1102 {0x200000 , "LDLM_FL_KMS_IGNORE"},
1103 {0x400000 , "LDLM_FL_NO_LRU"},
1104 {0x800000 , "LDLM_FL_CANCEL_ON_BLOCK"},
1105 {0x1000000 , "LDLM_FL_CP_REQD"},
1106 {0x2000000 , "LDLM_FL_CLEANED"},
1107 {0x4000000 , "LDLM_FL_ATOMIC_CB"},
1108 {0x10000000 , "LDLM_FL_BL_AST"},
1109 {0x20000000 , "LDLM_FL_BL_DONE"},
1110 {0x40000000 , "LDLM_FL_DENY_ON_CONTENTION"},
1111 {0x80000000 , "LDLM_AST_DISCARD_DATA"},
1115 const value_string lustre_llog_op_type[] = {
1116 {LLOG_PAD_MAGIC ,"LLOG_PAD_MAGIC "},
1117 {OST_SZ_REC ,"OST_SZ_REC "},
1118 {OST_RAID1_REC ,"OST_RAID1_REC "},
1119 {MDS_UNLINK_REC ,"MDS_UNLINK_REC "},
1120 {MDS_SETATTR_REC ,"MDS_SETATTR_REC "},
1121 {OBD_CFG_REC ,"OBD_CFG_REC "},
1122 {PTL_CFG_REC ,"PTL_CFG_REC "},
1123 {LLOG_GEN_REC ,"LLOG_GEN_REC "},
1124 {LLOG_JOIN_REC ,"LLOG_JOIN_REC "},
1125 {LLOG_HDR_MAGIC ,"LLOG_HDR_MAGIC "},
1126 {LLOG_LOGID_MAGIC ,"LLOG_LOGID_MAGIC"},
1130 const value_string lustre_llog_hdr_llh_flags[]= {
1131 {LLOG_F_ZAP_WHEN_EMPTY , "LLOhdr_llh_G_F_ZAP_WHEN_EMPTY"},
1132 {LLOG_F_IS_CAT , "LLOhdr_llh_G_F_IS_CAT"},
1133 {LLOG_F_IS_PLAIN , "LLOG_F_IS_PLAIN"},
1137 const value_string lustre_mds_flags_vals[] = {
1138 {0x1, "LUSTRE_BFLAG_UNCOMMITTED_WRITES"},
1139 {0x80000000, "LUSTRE_BFLAG_EXT_FLAGS"}, /* == EXT3_RESERVED_FL */
1140 {0x00000008, "LUSTRE_SYNC_FL "}, /* Synchronous updates */
1141 {0x00000010, "LUSTRE_IMMUTABLE_FL "}, /* Immutable file */
1142 {0x00000020, "LUSTRE_APPEND_FL "}, /* writes to file may only append */
1143 {0x00000080, "LUSTRE_NOATIME_FL "}, /* do not update atime */
1144 {0x00010000, "LUSTRE_DIRSYNC_FL "}, /* dirsync behaviour (dir only) */
1148 const value_string lustre_LMTypes[] = {
1149 { PTL_RPC_MSG_REQUEST, "request"},
1150 { PTL_RPC_MSG_ERR , "error"},
1151 { PTL_RPC_MSG_REPLY , "reply"},
1155 const value_string lustre_mds_reint_t_vals[] = {
1156 { REINT_SETATTR, "REINT_SETATTR" },
1157 { REINT_CREATE, "REINT_CREATE" },
1158 { REINT_LINK, "REINT_LINK" },
1159 { REINT_UNLINK, "REINT_UNLINK" },
1160 { REINT_RENAME, "REINT_RENAME" },
1161 { REINT_OPEN, "REINT_OPEN" },
1162 { REINT_SETXATTR, "REINT_SETXATTR" },
1165 const value_string lustre_op_codes[] = {
1168 {1 , "OST_GETATTR"},
1169 {2 , "OST_SETATTR"},
1173 {6 , "OST_DESTROY"},
1174 {7 , "OST_GET_INFO"},
1175 {8 , "OST_CONNECT"},
1176 {9 , "OST_DISCONNECT"},
1180 {13 , "OST_STATFS"},
1181 {14 , "OST_SAN_READ(deprecated)"},
1182 {15 , "OST_SAN_WRITE(deprecated)"},
1184 {17 , "OST_SET_INFO"},
1185 {18 , "OST_QUOTACHECK"},
1186 {19 , "OST_QUOTACTL"},
1187 {20 , "OST_LAST_OPC"},
1189 {33 , "MDS_GETATTR"},
1190 {34 , "MDS_GETATTR_NAME"},
1193 {37 , "MDS_READPAGE"},
1194 {38 , "MDS_CONNECT"},
1195 {39 , "MDS_DISCONNECT"},
1196 {40 , "MDS_GETSTATUS"},
1197 {41 , "MDS_STATFS"},
1201 {45 , "MDS_DONE_WRITING"},
1202 {46 , "MDS_SET_INFO"},
1203 {47 , "MDS_QUOTACHECK"},
1204 {48 , "MDS_QUOTACTL"},
1205 {49 , "MDS_GETXATTR"},
1206 {50 , "MDS_SETXATTR"},
1207 {51 , "MDS_LAST_OPC"},
1209 {101 , "LDLM_ENQUEUE"},
1210 {102 , "LDLM_CONVERT"},
1211 {103 , "LDLM_CANCEL"},
1212 {104 , "LDLM_BL_CALLBACK"},
1213 {105 , "LDLM_CP_CALLBACK"},
1214 {106 , "LDLM_GL_CALLBACK"},
1215 {107 , "LDLM_LAST_OPC"},
1217 {250 , "MGS_CONNECT"},
1218 {251 , "MGS_DISCONNECT"},
1219 {252 , "MGS_EXCEPTION"},
1220 {253 , "MGS_TARGET_REG"},
1221 {254 , "MGS_TARGET_DEL"},
1222 {255 , "MGS_SET_INFO"},
1223 {256 , "MGS_LAST_OPC"},
1226 {401 , "OBD_LOG_CANCEL"},
1227 {402 , "OBD_QC_CALLBACK"},
1228 {403 , "OBD_LAST_OPC"},
1230 { 501, "LLOG_ORIGIN_HANDLE_CREATE"},
1231 { 502, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK"},
1232 { 503, "LLOG_ORIGIN_HANDLE_READ_HEADER"},
1233 { 504, "LLOG_ORIGIN_HANDLE_WRITE_REC"},
1234 { 505, "LLOG_ORIGIN_HANDLE_CLOSE"},
1235 { 506, "LLOG_ORIGIN_CONNECT"},
1236 { 507, "LLOG_CATINFO"},
1237 { 508, "LLOG_ORIGIN_HANDLE_PREV_BLOCK"},
1238 { 509, "LLOG_ORIGIN_HANDLE_DESTROY"},
1239 /* SEQ RPC opcodes */
1240 { 700, "SEQ_QUERY"},
1241 { 701, "SEQ_LAST_OPC"},
1242 /* FLD RPC opcodes */
1243 { 900, "FLD_QUERY"},
1244 { 901, "FLD_LAST_OPC"},
1247 /*const value_string lustre_ldlm_mode_t_vals[] = {*/
1248 /* { LCK_MINMODE, "MINMODE" },*/
1249 /* { LCK_EX, "EX" },*/
1250 /* { LCK_PW, "PW" },*/
1251 /* { LCK_PR, "PR" },*/
1252 /* { LCK_CW, "CW" },*/
1253 /* { LCK_CR, "CR" },*/
1254 /* { LCK_NL, "NL" },*/
1255 /* { LCK_GROUP, "GROUP" },*/
1259 /* detailled version the information came from : http://wiki.lustre.org/images/e/e5/LustreInternals_Architecture.pdf */
1260 const value_string lustre_ldlm_mode_t_vals[] = {
1261 { LCK_MINMODE, "MINMODE" },
1262 { LCK_EX, "Exclusive" },
1263 { LCK_PW, "Protected Write" },
1264 { LCK_PR, "Protected Read" },
1265 { LCK_CW, "Concurrent Write" },
1266 { LCK_CR, "Concurrent Read" },
1268 { LCK_GROUP, "GROUP" },
1272 const value_string lustre_ldlm_type_t_vals[] = {
1273 { LDLM_PLAIN, "LDLM_PLAIN" },
1274 { LDLM_EXTENT,"LDLM_EXTENT" },
1275 { LDLM_FLOCK, "LDLM_FLOCK" },
1276 { LDLM_IBITS, "LDLM_IBITS" },
1281 const value_string lustre_llog_cmd_t_vals[] = {
1282 { LLOG_ORIGIN_HANDLE_CREATE, "LLOG_ORIGIN_HANDLE_CREATE" },
1283 { LLOG_ORIGIN_HANDLE_NEXT_BLOCK, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK" },
1284 { LLOG_ORIGIN_HANDLE_READ_HEADER, "LLOG_ORIGIN_HANDLE_READ_HEADER" },
1285 { LLOG_ORIGIN_HANDLE_WRITE_REC, "LLOG_ORIGIN_HANDLE_WRITE_REC" },
1286 { LLOG_ORIGIN_HANDLE_CLOSE, "LLOG_ORIGIN_HANDLE_CLOSE" },
1287 { LLOG_ORIGIN_CONNECT, "LLOG_ORIGIN_CONNECT" },
1288 { LLOG_CATINFO, "LLOG_CATINFO" },
1289 { LLOG_ORIGIN_HANDLE_PREV_BLOCK, "LLOG_ORIGIN_HANDLE_PREV_BLOCK" },
1290 { LLOG_ORIGIN_HANDLE_DESTROY, "LLOG_ORIGIN_HANDLE_DESTROY" },
1294 #ifndef ENABLE_STATIC
1295 const gchar version[] = VERSION;
1297 /* Start the functions we need for the plugin stuff */
1300 plugin_register(void)
1302 extern void proto_register_dcerpc_lustre(void);
1304 proto_register_dcerpc_lustre();
1308 plugin_reg_handoff(void)
1310 extern void proto_reg_handoff_lustre(void);
1312 proto_reg_handoff_lustre();
1317 /* ------------------------------------------------------------------- */
1318 /* display functions */
1319 /* ------------------------------------------------------------------- */
1320 /* display str in left corner and in COL */
1321 /* TODO : do we need to use inline here ?*/
1322 /* @gint col : the col where we add the information */
1323 inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
1326 proto_item_append_text(pi, str);
1329 if (check_col(cinfo, col))
1330 col_append_str(cinfo, col, str);
1334 * Need to be (re)written
1336 static void display_info_fstr(proto_item *pi, column_info *cinfo, gint col, const char* format, const gchar * str){
1339 //va_start(ap, format);
1340 proto_item_append_text(pi, format, str);
1345 if (check_col(cinfo, col)){
1347 // va_start(ap, format);
1348 col_append_fstr(cinfo, col, format, str);
1355 /* ------------------------------ basic dissect functions ------------------------ */
1358 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1360 proto_tree_add_item(tree, hfindex, tvb, offset, 8, TRUE);
1366 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1368 proto_tree_add_item(tree, hfindex, tvb, offset, 4, TRUE);
1374 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1376 proto_tree_add_item(tree, hfindex, tvb, offset, 1, TRUE);
1379 /* ------------------------------------------------------------------------- */
1384 /* IDL: struct lustre_handle { */
1385 /* IDL: uint64 cookie; */
1389 lustre_dissect_element_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1391 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_handle_cookie);
1397 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_)
1399 proto_item *item = NULL;
1400 proto_tree *tree = NULL;
1406 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1407 tree = proto_item_add_subtree(item, ett_lustre_lustre_handle_cookie);
1410 offset=lustre_dissect_element_handle_cookie(tvb, offset, pinfo, tree);
1413 proto_item_set_len(item, offset-old_offset);
1418 /* IDL: struct obd_connect_data { */
1419 /* IDL: uint64 ocd_connect_flags; */
1420 /* IDL: uint32 ocd_version; */
1421 /* IDL: uint32 ocd_grant; */
1422 /* IDL: uint32 ocd_index; */
1423 /* IDL: uint32 ocd_brw_size; */
1424 /* IDL: uint64 ocd_ibits_known; */
1425 /* IDL: uint32 ocd_nllu; */
1426 /* IDL: uint32 ocd_nllg; */
1427 /* IDL: uint64 ocd_transno; */
1428 /* IDL: uint32 ocd_group; */
1429 /* IDL: uint32 ocd_cksum_types; */
1430 /* IDL: uint64 padding1; */
1431 /* IDL: uint64 padding2; */
1435 lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1437 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_connect_flags);
1443 lustre_dissect_element_obd_connect_data_ocd_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1445 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_version);
1451 lustre_dissect_element_obd_connect_data_ocd_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1453 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_grant);
1459 lustre_dissect_element_obd_connect_data_ocd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1461 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_index);
1467 lustre_dissect_element_obd_connect_data_ocd_brw_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1469 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_brw_size);
1475 lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1477 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_ibits_known);
1483 lustre_dissect_element_obd_connect_data_ocd_nllu(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1485 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllu);
1491 lustre_dissect_element_obd_connect_data_ocd_nllg(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1493 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllg);
1499 lustre_dissect_element_obd_connect_data_ocd_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1501 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_transno);
1507 lustre_dissect_element_obd_connect_data_ocd_group(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1509 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_group);
1515 lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1517 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_cksum_types);
1523 lustre_dissect_element_obd_connect_data_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1525 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding1);
1531 lustre_dissect_element_obd_connect_data_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1533 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding2);
1539 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_)
1541 proto_item *item = NULL;
1542 proto_tree *tree = NULL;
1550 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1551 tree = proto_item_add_subtree(item, ett_lustre_obd_connect_data);
1554 offset=lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvb, offset, pinfo, tree);
1556 offset=lustre_dissect_element_obd_connect_data_ocd_version(tvb, offset, pinfo, tree);
1558 offset=lustre_dissect_element_obd_connect_data_ocd_grant(tvb, offset, pinfo, tree);
1560 offset=lustre_dissect_element_obd_connect_data_ocd_index(tvb, offset, pinfo, tree);
1562 offset=lustre_dissect_element_obd_connect_data_ocd_brw_size(tvb, offset, pinfo, tree);
1564 offset=lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvb, offset, pinfo, tree);
1566 offset=lustre_dissect_element_obd_connect_data_ocd_nllu(tvb, offset, pinfo, tree);
1568 offset=lustre_dissect_element_obd_connect_data_ocd_nllg(tvb, offset, pinfo, tree);
1570 offset=lustre_dissect_element_obd_connect_data_ocd_transno(tvb, offset, pinfo, tree);
1572 offset=lustre_dissect_element_obd_connect_data_ocd_group(tvb, offset, pinfo, tree);
1574 offset=lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvb, offset, pinfo, tree);
1576 offset=lustre_dissect_element_obd_connect_data_padding1(tvb, offset, pinfo, tree);
1578 offset=lustre_dissect_element_obd_connect_data_padding2(tvb, offset, pinfo, tree);
1581 proto_item_set_len(item, offset-old_offset);
1587 /* IDL: struct lov_ost_data_v1 { */
1588 /* IDL: uint64 l_object_id; */
1589 /* IDL: uint64 l_object_seq; */
1590 /* IDL: uint32 l_ost_gen; */
1591 /* IDL: uint32 l_ost_idx; */
1595 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_)
1597 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_id);
1603 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_)
1605 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_seq);
1611 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_)
1613 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_gen);
1619 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_)
1621 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_idx);
1627 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_)
1629 proto_item *item = NULL;
1630 proto_tree *tree = NULL;
1638 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1639 tree = proto_item_add_subtree(item, ett_lustre_lov_ost_data_v1);
1642 offset=lustre_dissect_element_lov_ost_data_v1_l_object_id(tvb, offset, pinfo, tree);
1644 offset=lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvb, offset, pinfo, tree);
1646 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvb, offset, pinfo, tree);
1648 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvb, offset, pinfo, tree);
1651 proto_item_set_len(item, offset-old_offset);
1656 /* IDL: struct lov_mds_md_v1 { */
1657 /* IDL: uint32 lmm_magic; */
1658 /* IDL: uint32 lmm_pattern; */
1659 /* IDL: uint64 lmm_object_id; */
1660 /* IDL: uint64 lmm_object_seq; */
1661 /* IDL: uint32 lmm_stripe_size; */
1662 /* IDL: uint32 lmm_stripe_count; */
1663 /* IDL: struct lov_ost_data_v1 { */
1664 /* IDL: } lmm_objects[0]; <-- en fait on en a lmm_stripe_count */
1668 lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1670 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_magic);
1676 lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1678 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_pattern);
1684 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_)
1686 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_id);
1692 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_)
1694 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_seq);
1700 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_)
1702 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_size);
1708 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_)
1710 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_count);
1716 lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1718 offset=lustre_dissect_struct_lov_ost_data_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1_lmm_objects);
1723 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)
1726 /*g_print("num = %d", num);*/
1727 for (i = 0; i < num; i++){
1728 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvb, offset, pinfo, tree);
1737 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_)
1739 proto_item *item = NULL;
1740 proto_tree *tree = NULL;
1743 guint32 stripe_count ;
1749 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1750 tree = proto_item_add_subtree(item, ett_lustre_lov_mds_md_v1);
1753 offset=lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvb, offset, pinfo, tree);
1755 offset=lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvb, offset, pinfo, tree);
1757 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvb, offset, pinfo, tree);
1759 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvb, offset, pinfo, tree);
1761 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvb, offset, pinfo, tree);
1763 stripe_count = tvb_get_letohl(tvb,offset);
1764 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvb, offset, pinfo, tree);
1766 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvb, offset, pinfo, tree, stripe_count);
1769 proto_item_set_len(item, offset-old_offset);
1776 /* IDL: struct obd_statfs { */
1777 /* IDL: uint64 os_type; */
1778 /* IDL: uint64 os_blocks; */
1779 /* IDL: uint64 os_bfree; */
1780 /* IDL: uint64 os_bavail; */
1781 /* IDL: uint64 os_files; */
1782 /* IDL: uint64 os_ffree; */
1783 /* IDL: uint8 os_fsid[40]; */
1784 /* IDL: uint32 os_bsize; */
1785 /* IDL: uint32 os_namelen; */
1786 /* IDL: uint64 os_maxbytes; */
1787 /* IDL: uint32 os_state; */
1788 /* IDL: uint32 os_spare1; */
1789 /* IDL: uint32 os_spare2; */
1790 /* IDL: uint32 os_spare3; */
1791 /* IDL: uint32 os_spare4; */
1792 /* IDL: uint32 os_spare5; */
1793 /* IDL: uint32 os_spare6; */
1794 /* IDL: uint32 os_spare7; */
1795 /* IDL: uint32 os_spare8; */
1796 /* IDL: uint32 os_spare9; */
1800 lustre_dissect_element_obd_statfs_os_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1802 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_type);
1808 lustre_dissect_element_obd_statfs_os_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1810 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_blocks);
1816 lustre_dissect_element_obd_statfs_os_bfree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1818 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bfree);
1824 lustre_dissect_element_obd_statfs_os_bavail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1826 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bavail);
1832 lustre_dissect_element_obd_statfs_os_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1834 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_files);
1840 lustre_dissect_element_obd_statfs_os_ffree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1842 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_ffree);
1848 lustre_dissect_element_obd_statfs_os_fsid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1850 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_fsid);
1856 lustre_dissect_element_obd_statfs_os_fsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1859 for (i = 0; i < 40; i++)
1860 offset=lustre_dissect_element_obd_statfs_os_fsid_(tvb, offset, pinfo, tree);
1868 lustre_dissect_element_obd_statfs_os_bsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1870 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bsize);
1876 lustre_dissect_element_obd_statfs_os_namelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1878 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_namelen);
1884 lustre_dissect_element_obd_statfs_os_maxbytes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1886 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_maxbytes);
1892 lustre_dissect_element_obd_statfs_os_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1894 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_state);
1900 lustre_dissect_element_obd_statfs_os_spare1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1902 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare1);
1908 lustre_dissect_element_obd_statfs_os_spare2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1910 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare2);
1916 lustre_dissect_element_obd_statfs_os_spare3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1918 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare3);
1924 lustre_dissect_element_obd_statfs_os_spare4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1926 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare4);
1932 lustre_dissect_element_obd_statfs_os_spare5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1934 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare5);
1940 lustre_dissect_element_obd_statfs_os_spare6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1942 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare6);
1948 lustre_dissect_element_obd_statfs_os_spare7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1950 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare7);
1956 lustre_dissect_element_obd_statfs_os_spare8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1958 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare8);
1964 lustre_dissect_element_obd_statfs_os_spare9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1966 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare9);
1972 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_)
1974 proto_item *item = NULL;
1975 proto_tree *tree = NULL;
1983 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1984 tree = proto_item_add_subtree(item, ett_lustre_obd_statfs);
1987 offset=lustre_dissect_element_obd_statfs_os_type(tvb, offset, pinfo, tree);
1989 offset=lustre_dissect_element_obd_statfs_os_blocks(tvb, offset, pinfo, tree);
1991 offset=lustre_dissect_element_obd_statfs_os_bfree(tvb, offset, pinfo, tree);
1993 offset=lustre_dissect_element_obd_statfs_os_bavail(tvb, offset, pinfo, tree);
1995 offset=lustre_dissect_element_obd_statfs_os_files(tvb, offset, pinfo, tree);
1997 offset=lustre_dissect_element_obd_statfs_os_ffree(tvb, offset, pinfo, tree);
1999 offset=lustre_dissect_element_obd_statfs_os_fsid(tvb, offset, pinfo, tree);
2001 offset=lustre_dissect_element_obd_statfs_os_bsize(tvb, offset, pinfo, tree);
2003 offset=lustre_dissect_element_obd_statfs_os_namelen(tvb, offset, pinfo, tree);
2005 offset=lustre_dissect_element_obd_statfs_os_maxbytes(tvb, offset, pinfo, tree);
2007 offset=lustre_dissect_element_obd_statfs_os_state(tvb, offset, pinfo, tree);
2009 offset=lustre_dissect_element_obd_statfs_os_spare1(tvb, offset, pinfo, tree);
2011 offset=lustre_dissect_element_obd_statfs_os_spare2(tvb, offset, pinfo, tree);
2013 offset=lustre_dissect_element_obd_statfs_os_spare3(tvb, offset, pinfo, tree);
2015 offset=lustre_dissect_element_obd_statfs_os_spare4(tvb, offset, pinfo, tree);
2017 offset=lustre_dissect_element_obd_statfs_os_spare5(tvb, offset, pinfo, tree);
2019 offset=lustre_dissect_element_obd_statfs_os_spare6(tvb, offset, pinfo, tree);
2021 offset=lustre_dissect_element_obd_statfs_os_spare7(tvb, offset, pinfo, tree);
2023 offset=lustre_dissect_element_obd_statfs_os_spare8(tvb, offset, pinfo, tree);
2025 offset=lustre_dissect_element_obd_statfs_os_spare9(tvb, offset, pinfo, tree);
2028 proto_item_set_len(item, offset-old_offset);
2033 /* IDL: struct obd_ioobj { */
2034 /* IDL: uint64 ioo_id; */
2035 /* IDL: uint64 ioo_seq; */
2036 /* IDL: uint32 ioo_type; */
2037 /* IDL: uint32 ioo_bufcnt; */
2041 lustre_dissect_element_obd_ioobj_ioo_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2043 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_id);
2049 lustre_dissect_element_obd_ioobj_ioo_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2051 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_seq);
2057 lustre_dissect_element_obd_ioobj_ioo_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2059 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_type);
2065 lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2067 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_bufcnt);
2073 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_)
2075 proto_item *item = NULL;
2076 proto_tree *tree = NULL;
2084 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2085 tree = proto_item_add_subtree(item, ett_lustre_obd_ioobj);
2088 offset=lustre_dissect_element_obd_ioobj_ioo_id(tvb, offset, pinfo, tree);
2090 offset=lustre_dissect_element_obd_ioobj_ioo_seq(tvb, offset, pinfo, tree);
2092 offset=lustre_dissect_element_obd_ioobj_ioo_type(tvb, offset, pinfo, tree);
2094 offset=lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvb, offset, pinfo, tree);
2097 proto_item_set_len(item, offset-old_offset);
2102 /* IDL: struct niobuf_remote { */
2103 /* IDL: uint64 offset; */
2104 /* IDL: uint32 len; */
2105 /* IDL: uint32 flags; */
2109 lustre_dissect_element_niobuf_remote_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2111 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_offset);
2117 lustre_dissect_element_niobuf_remote_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2119 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_len);
2125 lustre_dissect_element_niobuf_remote_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2127 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_flags);
2133 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_)
2135 proto_item *item = NULL;
2136 proto_tree *tree = NULL;
2144 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2145 tree = proto_item_add_subtree(item, ett_lustre_niobuf_remote);
2148 offset=lustre_dissect_element_niobuf_remote_offset(tvb, offset, pinfo, tree);
2150 offset=lustre_dissect_element_niobuf_remote_len(tvb, offset, pinfo, tree);
2152 offset=lustre_dissect_element_niobuf_remote_flags(tvb, offset, pinfo, tree);
2155 proto_item_set_len(item, offset-old_offset);
2160 /* IDL: struct ost_lvb { */
2161 /* IDL: uint64 lvb_size; */
2162 /* IDL: uint64 lvb_mtime; */
2163 /* IDL: uint64 lvb_atime; */
2164 /* IDL: uint64 lvb_ctime; */
2165 /* IDL: uint64 lvb_blocks; */
2169 lustre_dissect_element_ost_lvb_lvb_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2171 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_size);
2177 lustre_dissect_element_ost_lvb_lvb_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2181 ns.secs = tvb_get_letohl(tvb,offset);
2183 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_mtime, tvb, offset, 8, &ns );
2189 lustre_dissect_element_ost_lvb_lvb_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2193 ns.secs = tvb_get_letohl(tvb,offset);
2195 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_atime, tvb, offset, 8, &ns );
2202 lustre_dissect_element_ost_lvb_lvb_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2206 ns.secs = tvb_get_letohl(tvb,offset);
2208 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_ctime, tvb, offset, 8, &ns );
2215 lustre_dissect_element_ost_lvb_lvb_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2217 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_blocks);
2223 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_)
2225 proto_item *item = NULL;
2226 proto_tree *tree = NULL;
2234 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2235 tree = proto_item_add_subtree(item, ett_lustre_ost_lvb);
2238 offset=lustre_dissect_element_ost_lvb_lvb_size(tvb, offset, pinfo, tree);
2240 offset=lustre_dissect_element_ost_lvb_lvb_mtime(tvb, offset, pinfo, tree);
2242 offset=lustre_dissect_element_ost_lvb_lvb_atime(tvb, offset, pinfo, tree);
2244 offset=lustre_dissect_element_ost_lvb_lvb_ctime(tvb, offset, pinfo, tree);
2246 offset=lustre_dissect_element_ost_lvb_lvb_blocks(tvb, offset, pinfo, tree);
2249 proto_item_set_len(item, offset-old_offset);
2255 /* IDL: struct ll_fid { */
2256 /* IDL: uint64 id; */
2257 /* IDL: uint32 generation; */
2258 /* IDL: uint32 f_type; */
2262 lustre_dissect_element_ll_fid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2264 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ll_fid_id);
2270 lustre_dissect_element_ll_fid_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2272 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_generation);
2278 lustre_dissect_element_ll_fid_f_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2280 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_f_type);
2286 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_)
2288 proto_item *item = NULL;
2289 proto_tree *tree = NULL;
2295 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2296 tree = proto_item_add_subtree(item, ett_lustre_ll_fid);
2299 offset=lustre_dissect_element_ll_fid_id(tvb, offset, pinfo, tree);
2301 offset=lustre_dissect_element_ll_fid_generation(tvb, offset, pinfo, tree);
2303 offset=lustre_dissect_element_ll_fid_f_type(tvb, offset, pinfo, tree);
2306 proto_item_set_len(item, offset-old_offset);
2311 /* IDL: struct obd_dqinfo { */
2312 /* IDL: uint64 dqi_bgrace; */
2313 /* IDL: uint64 dqi_igrace; */
2314 /* IDL: uint32 dqi_flags; */
2315 /* IDL: uint32 dqi_valid; */
2319 lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2321 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_bgrace);
2327 lustre_dissect_element_obd_dqinfo_dqi_igrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2329 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_igrace);
2335 lustre_dissect_element_obd_dqinfo_dqi_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2337 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_flags);
2343 lustre_dissect_element_obd_dqinfo_dqi_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2345 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_valid);
2351 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_)
2353 proto_item *item = NULL;
2354 proto_tree *tree = NULL;
2359 old_offset = offset;
2362 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2363 tree = proto_item_add_subtree(item, ett_lustre_obd_dqinfo);
2366 offset = lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvb, offset, pinfo, tree);
2368 offset = lustre_dissect_element_obd_dqinfo_dqi_igrace(tvb, offset, pinfo, tree);
2370 offset = lustre_dissect_element_obd_dqinfo_dqi_flags(tvb, offset, pinfo, tree);
2372 offset = lustre_dissect_element_obd_dqinfo_dqi_valid(tvb, offset, pinfo, tree);
2375 proto_item_set_len(item, offset-old_offset);
2380 /* IDL: struct obd_dqblk { */
2381 /* IDL: uint64 dqb_bhardlimit; */
2382 /* IDL: uint64 dqb_bsoftlimit; */
2383 /* IDL: uint64 dqb_curspace; */
2384 /* IDL: uint64 dqb_ihardlimit; */
2385 /* IDL: uint64 dqb_isoftlimit; */
2386 /* IDL: uint64 dqb_curinodes; */
2387 /* IDL: uint64 dqb_btime; */
2388 /* IDL: uint64 dqb_itime; */
2389 /* IDL: uint32 dqb_valid; */
2390 /* IDL: uint32 padding; */
2394 lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2396 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bhardlimit);
2402 lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2404 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bsoftlimit);
2410 lustre_dissect_element_obd_dqblk_dqb_curspace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2412 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curspace);
2418 lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2420 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_ihardlimit);
2426 lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2428 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_isoftlimit);
2434 lustre_dissect_element_obd_dqblk_dqb_curinodes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2436 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curinodes);
2442 lustre_dissect_element_obd_dqblk_dqb_btime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2447 ns.secs = tvb_get_letohl(tvb,offset);
2449 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_btime, tvb, offset, 8, &ns );
2455 lustre_dissect_element_obd_dqblk_dqb_itime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2459 ns.secs = tvb_get_letohl(tvb,offset);
2461 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_itime, tvb, offset, 8, &ns );
2468 lustre_dissect_element_obd_dqblk_dqb_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2470 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_valid);
2476 lustre_dissect_element_obd_dqblk_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2478 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_padding);
2484 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_)
2486 proto_item *item = NULL;
2487 proto_tree *tree = NULL;
2492 old_offset = offset;
2495 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2496 tree = proto_item_add_subtree(item, ett_lustre_obd_dqblk);
2499 offset = lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvb, offset, pinfo, tree);
2501 offset = lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvb, offset, pinfo, tree);
2503 offset = lustre_dissect_element_obd_dqblk_dqb_curspace(tvb, offset, pinfo, tree);
2505 offset = lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvb, offset, pinfo, tree);
2507 offset = lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvb, offset, pinfo, tree);
2509 offset = lustre_dissect_element_obd_dqblk_dqb_curinodes(tvb, offset, pinfo, tree);
2511 offset = lustre_dissect_element_obd_dqblk_dqb_btime(tvb, offset, pinfo, tree);
2513 offset = lustre_dissect_element_obd_dqblk_dqb_itime(tvb, offset, pinfo, tree);
2515 offset = lustre_dissect_element_obd_dqblk_dqb_valid(tvb, offset, pinfo, tree);
2517 offset = lustre_dissect_element_obd_dqblk_padding(tvb, offset, pinfo, tree);
2520 proto_item_set_len(item, offset-old_offset);
2526 /* IDL: struct obd_quotactl { */
2527 /* IDL: uint32 qc_cmd; */
2528 /* IDL: uint32 qc_type; */
2529 /* IDL: uint32 qc_id; */
2530 /* IDL: uint32 qc_stat; */
2531 /* IDL: struct obd_dqinfo { */
2532 /* IDL: } qc_dqinfo; */
2533 /* IDL: struct obd_dqblk { */
2534 /* IDL: } qc_dqblk; */
2538 lustre_dissect_element_obd_quotactl_qc_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2540 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_cmd);
2546 lustre_dissect_element_obd_quotactl_qc_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2548 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_type);
2554 lustre_dissect_element_obd_quotactl_qc_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2556 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_id);
2562 lustre_dissect_element_obd_quotactl_qc_stat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2564 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_stat);
2572 lustre_dissect_element_obd_quotactl_qc_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2574 offset=lustre_dissect_struct_obd_dqblk(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqblk);
2579 lustre_dissect_element_obd_quotactl_qc_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2581 offset=lustre_dissect_struct_obd_dqinfo(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqinfo);
2586 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_)
2588 proto_item *item = NULL;
2589 proto_tree *tree = NULL;
2595 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2596 tree = proto_item_add_subtree(item, ett_lustre_obd_quotactl);
2599 offset=lustre_dissect_element_obd_quotactl_qc_cmd(tvb, offset, pinfo, tree);
2601 offset=lustre_dissect_element_obd_quotactl_qc_type(tvb, offset, pinfo, tree);
2603 offset=lustre_dissect_element_obd_quotactl_qc_id(tvb, offset, pinfo, tree);
2605 offset=lustre_dissect_element_obd_quotactl_qc_stat(tvb, offset, pinfo, tree);
2607 offset=lustre_dissect_element_obd_quotactl_qc_dqinfo(tvb, offset, pinfo, tree);
2609 offset=lustre_dissect_element_obd_quotactl_qc_dqblk(tvb, offset, pinfo, tree);
2612 proto_item_set_len(item, offset-old_offset);
2618 /* IDL: struct quota_adjust_qunit { */
2619 /* IDL: uint32 qaq_flags; */
2620 /* IDL: uint32 qaq_id; */
2621 /* IDL: uint64 qaq_bunit_sz; */
2622 /* IDL: uint64 qaq_iunit_sz; */
2623 /* IDL: uint64 padding1; */
2627 lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2629 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_flags);
2635 lustre_dissect_element_quota_adjust_qunit_qaq_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2637 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_id);
2643 lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2645 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_bunit_sz);
2651 lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2653 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_iunit_sz);
2659 lustre_dissect_element_quota_adjust_qunit_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2661 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_padding1);
2667 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_)
2669 proto_item *item = NULL;
2670 proto_tree *tree = NULL;
2678 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2679 tree = proto_item_add_subtree(item, ett_lustre_quota_adjust_qunit);
2682 offset=lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvb, offset, pinfo, tree);
2684 offset=lustre_dissect_element_quota_adjust_qunit_qaq_id(tvb, offset, pinfo, tree);
2686 offset=lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvb, offset, pinfo, tree);
2688 offset=lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvb, offset, pinfo, tree);
2690 offset=lustre_dissect_element_quota_adjust_qunit_padding1(tvb, offset, pinfo, tree);
2693 proto_item_set_len(item, offset-old_offset);
2698 /* IDL: struct mdt_body { */
2699 /* IDL: struct lu_fid { */
2701 /* IDL: struct lu_fid { */
2703 /* IDL: struct lustre_handle { */
2704 /* IDL: } handle; */
2705 /* IDL: uint64 valid; */
2706 /* IDL: uint64 size; */
2707 /* IDL: uint64 mtime; */
2708 /* IDL: uint64 atime; */
2709 /* IDL: uint64 ctime; */
2710 /* IDL: uint64 blocks; */
2711 /* IDL: uint64 ioepoch; */
2712 /* IDL: uint64 ino; */
2713 /* IDL: uint32 fsuid; */
2714 /* IDL: uint32 fsgid; */
2715 /* IDL: uint32 capability; */
2716 /* IDL: uint32 mode; */
2717 /* IDL: uint32 uid; */
2718 /* IDL: uint32 gid; */
2719 /* IDL: uint32 flags; */
2720 /* IDL: uint32 rdev; */
2721 /* IDL: uint32 nlink; */
2722 /* IDL: uint32 generation; */
2723 /* IDL: uint32 suppgid; */
2724 /* IDL: uint32 eadatasize; */
2725 /* IDL: uint32 aclsize; */
2726 /* IDL: uint32 max_mdsize; */
2727 /* IDL: uint32 max_cookiesize; */
2728 /* IDL: uint32 uid_h; */
2729 /* IDL: uint32 gid_h; */
2730 /* IDL: uint32 padding_5; */
2731 /* IDL: uint64 padding_6; */
2732 /* IDL: uint64 padding_7; */
2733 /* IDL: uint64 padding_8; */
2734 /* IDL: uint64 padding_9; */
2735 /* IDL: uint64 padding_10; */
2739 lustre_dissect_element_mdt_body_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2741 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid1);
2746 lustre_dissect_element_mdt_body_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2748 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid2);
2753 lustre_dissect_element_mdt_body_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2755 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
2761 lustre_dissect_element_mdt_body_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2763 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_valid);
2769 lustre_dissect_element_mdt_body_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2771 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_size);
2777 lustre_dissect_element_mdt_body_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2781 ns.secs = tvb_get_letohl(tvb,offset);
2783 proto_tree_add_time(tree, hf_lustre_mdt_body_mtime, tvb, offset, 8, &ns );
2789 lustre_dissect_element_mdt_body_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2793 ns.secs = tvb_get_letohl(tvb,offset);
2795 proto_tree_add_time(tree, hf_lustre_mdt_body_atime, tvb, offset, 8, &ns );
2802 lustre_dissect_element_mdt_body_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2806 ns.secs = tvb_get_letohl(tvb,offset);
2808 proto_tree_add_time(tree, hf_lustre_mdt_body_ctime, tvb, offset, 8, &ns );
2814 lustre_dissect_element_mdt_body_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2816 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_blocks);
2822 lustre_dissect_element_mdt_body_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2824 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ioepoch);
2830 lustre_dissect_element_mdt_body_ino(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2832 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ino);
2838 lustre_dissect_element_mdt_body_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2840 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsuid);
2846 lustre_dissect_element_mdt_body_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2848 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsgid);
2854 lustre_dissect_element_mdt_body_capability(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2856 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_capability);
2862 lustre_dissect_element_mdt_body_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2864 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_mode);
2870 lustre_dissect_element_mdt_body_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2872 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid);
2878 lustre_dissect_element_mdt_body_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2880 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid);
2886 lustre_dissect_element_mdt_body_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2888 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_flags);
2894 lustre_dissect_element_mdt_body_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2896 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_rdev);
2902 lustre_dissect_element_mdt_body_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2904 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_nlink);
2910 lustre_dissect_element_mdt_body_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2912 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_generation);
2918 lustre_dissect_element_mdt_body_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2920 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_suppgid);
2926 lustre_dissect_element_mdt_body_eadatasize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2928 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_eadatasize);
2934 lustre_dissect_element_mdt_body_aclsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2936 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_aclsize);
2942 lustre_dissect_element_mdt_body_max_mdsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2944 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_mdsize);
2950 lustre_dissect_element_mdt_body_max_cookiesize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2952 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_cookiesize);
2958 lustre_dissect_element_mdt_body_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2960 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid_h);
2966 lustre_dissect_element_mdt_body_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2968 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid_h);
2974 lustre_dissect_element_mdt_body_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2976 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_5);
2982 lustre_dissect_element_mdt_body_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2984 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_6);
2990 lustre_dissect_element_mdt_body_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2992 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_7);
2998 lustre_dissect_element_mdt_body_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3000 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_8);
3006 lustre_dissect_element_mdt_body_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3008 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_9);
3014 lustre_dissect_element_mdt_body_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3016 offset= dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_10);
3022 lustre_dissect_struct_mdt_body(tvbuff_t *tvb _U_, int offset _U_,
3023 packet_info *pinfo _U_,
3024 proto_tree *parent_tree _U_,
3027 proto_item *item = NULL;
3028 proto_tree *tree = NULL;
3035 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3036 tree = proto_item_add_subtree(item, ett_lustre_mdt_body);
3039 offset=lustre_dissect_element_mdt_body_fid1(tvb, offset, pinfo, tree);
3041 offset=lustre_dissect_element_mdt_body_fid2(tvb, offset, pinfo, tree);
3043 offset=lustre_dissect_element_mdt_body_handle(tvb, offset, pinfo, tree);
3045 offset=lustre_dissect_element_mdt_body_valid(tvb, offset, pinfo, tree);
3047 offset=lustre_dissect_element_mdt_body_size(tvb, offset, pinfo, tree);
3049 offset=lustre_dissect_element_mdt_body_mtime(tvb, offset, pinfo, tree);
3051 offset=lustre_dissect_element_mdt_body_atime(tvb, offset, pinfo, tree);
3053 offset=lustre_dissect_element_mdt_body_ctime(tvb, offset, pinfo, tree);
3055 offset=lustre_dissect_element_mdt_body_blocks(tvb, offset, pinfo, tree);
3057 offset=lustre_dissect_element_mdt_body_ioepoch(tvb, offset, pinfo, tree);
3059 offset=lustre_dissect_element_mdt_body_ino(tvb, offset, pinfo, tree);
3061 offset=lustre_dissect_element_mdt_body_fsuid(tvb, offset, pinfo, tree);
3063 offset=lustre_dissect_element_mdt_body_fsgid(tvb, offset, pinfo, tree);
3065 offset=lustre_dissect_element_mdt_body_capability(tvb, offset, pinfo, tree);
3067 offset=lustre_dissect_element_mdt_body_mode(tvb, offset, pinfo, tree);
3069 offset=lustre_dissect_element_mdt_body_uid(tvb, offset, pinfo, tree);
3071 offset=lustre_dissect_element_mdt_body_gid(tvb, offset, pinfo, tree);
3073 offset=lustre_dissect_element_mdt_body_flags(tvb, offset, pinfo, tree);
3075 offset=lustre_dissect_element_mdt_body_rdev(tvb, offset, pinfo, tree);
3077 offset=lustre_dissect_element_mdt_body_nlink(tvb, offset, pinfo, tree);
3079 offset=lustre_dissect_element_mdt_body_generation(tvb, offset, pinfo, tree);
3081 offset=lustre_dissect_element_mdt_body_suppgid(tvb, offset, pinfo, tree);
3083 offset=lustre_dissect_element_mdt_body_eadatasize(tvb, offset, pinfo, tree);
3085 offset=lustre_dissect_element_mdt_body_aclsize(tvb, offset, pinfo, tree);
3087 offset=lustre_dissect_element_mdt_body_max_mdsize(tvb, offset, pinfo, tree);
3089 offset=lustre_dissect_element_mdt_body_max_cookiesize(tvb, offset, pinfo, tree);
3091 offset=lustre_dissect_element_mdt_body_uid_h(tvb, offset, pinfo, tree);
3093 offset=lustre_dissect_element_mdt_body_gid_h(tvb, offset, pinfo, tree);
3095 offset=lustre_dissect_element_mdt_body_padding_5(tvb, offset, pinfo, tree);
3097 offset=lustre_dissect_element_mdt_body_padding_6(tvb, offset, pinfo, tree);
3099 offset=lustre_dissect_element_mdt_body_padding_7(tvb, offset, pinfo, tree);
3101 offset=lustre_dissect_element_mdt_body_padding_8(tvb, offset, pinfo, tree);
3103 offset=lustre_dissect_element_mdt_body_padding_9(tvb, offset, pinfo, tree);
3105 offset=lustre_dissect_element_mdt_body_padding_10(tvb, offset, pinfo, tree);
3108 proto_item_set_len(item, offset-old_offset);
3113 /* I don't find where this struct appear on wire.. need to search mdc_setattr_pack() */
3114 /* IDL: struct mdt_rec_setattr { */
3115 /* IDL: uint32 sa_opcode; */
3116 /* IDL: uint32 sa_cap; */
3117 /* IDL: uint32 sa_fsuid; */
3118 /* IDL: uint32 sa_fsuid_h; */
3119 /* IDL: uint32 sa_fsgid; */
3120 /* IDL: uint32 sa_fsgid_h; */
3121 /* IDL: uint32 sa_suppgid; */
3122 /* IDL: uint32 sa_suppgid_h; */
3123 /* IDL: uint32 sa_padding_1; */
3124 /* IDL: uint32 sa_padding_1_h; */
3125 /* IDL: struct lu_fid { */
3126 /* IDL: } sa_fid; */
3127 /* IDL: uint64 sa_valid; */
3128 /* IDL: uint32 sa_uid; */
3129 /* IDL: uint32 sa_gid; */
3130 /* IDL: uint64 sa_size; */
3131 /* IDL: uint64 sa_blocks; */
3132 /* IDL: uint64 sa_mtime; */
3133 /* IDL: uint64 sa_atime; */
3134 /* IDL: uint64 sa_ctime; */
3135 /* IDL: uint32 sa_attr_flags; */
3136 /* IDL: uint32 sa_mode; */
3137 /* IDL: uint32 sa_padding_2; */
3138 /* IDL: uint32 sa_padding_3; */
3139 /* IDL: uint32 sa_padding_4; */
3140 /* IDL: uint32 sa_padding_5; */
3144 lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3146 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_opcode);
3152 lustre_dissect_element_mdt_rec_setattr_sa_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3154 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_cap);
3160 lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3162 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid);
3168 lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3170 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid_h);
3176 lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3178 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid);
3184 lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3186 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid_h);
3192 lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3194 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid);
3200 lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3202 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid_h);
3208 lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3210 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1);
3216 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_)
3218 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1_h);
3224 lustre_dissect_element_mdt_rec_setattr_sa_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3226 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setattr_sa_fid);
3232 lustre_dissect_element_mdt_rec_setattr_sa_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3234 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_valid);
3240 lustre_dissect_element_mdt_rec_setattr_sa_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3242 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_uid);
3248 lustre_dissect_element_mdt_rec_setattr_sa_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3250 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_gid);
3256 lustre_dissect_element_mdt_rec_setattr_sa_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3258 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_size);
3264 lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3266 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_blocks);
3272 lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3277 ns.secs = tvb_get_letohl(tvb,offset);
3279 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_mtime, tvb, offset, 8, &ns );
3285 lustre_dissect_element_mdt_rec_setattr_sa_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3289 ns.secs = tvb_get_letohl(tvb,offset);
3291 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_atime, tvb, offset, 8, &ns );
3297 lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3301 ns.secs = tvb_get_letohl(tvb,offset);
3303 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_ctime, tvb, offset, 8, &ns );
3309 lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3311 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_attr_flags);
3317 lustre_dissect_element_mdt_rec_setattr_sa_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3319 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_mode);
3325 lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3327 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_2);
3333 lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3335 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_3);
3341 lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3343 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_4);
3349 lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3351 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_5);
3357 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_)
3359 proto_item *item = NULL;
3360 proto_tree *tree = NULL;
3369 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3370 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setattr);
3372 sa_opcode=tvb_get_letohl(tvb,offset);
3373 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sa_opcode, lustre_mds_reint_t_vals, "Unknown sa_opc"));
3375 offset=lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvb, offset, pinfo, tree);
3377 offset=lustre_dissect_element_mdt_rec_setattr_sa_cap(tvb, offset, pinfo, tree);
3379 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvb, offset, pinfo, tree);
3381 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvb, offset, pinfo, tree);
3383 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvb, offset, pinfo, tree);
3385 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvb, offset, pinfo, tree);
3387 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvb, offset, pinfo, tree);
3389 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvb, offset, pinfo, tree);
3391 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvb, offset, pinfo, tree);
3393 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvb, offset, pinfo, tree);
3395 offset=lustre_dissect_element_mdt_rec_setattr_sa_fid(tvb, offset, pinfo, tree);
3397 offset=lustre_dissect_element_mdt_rec_setattr_sa_valid(tvb, offset, pinfo, tree);
3399 offset=lustre_dissect_element_mdt_rec_setattr_sa_uid(tvb, offset, pinfo, tree);
3401 offset=lustre_dissect_element_mdt_rec_setattr_sa_gid(tvb, offset, pinfo, tree);
3403 offset=lustre_dissect_element_mdt_rec_setattr_sa_size(tvb, offset, pinfo, tree);
3405 offset=lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvb, offset, pinfo, tree);
3407 offset=lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvb, offset, pinfo, tree);
3409 offset=lustre_dissect_element_mdt_rec_setattr_sa_atime(tvb, offset, pinfo, tree);
3411 offset=lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvb, offset, pinfo, tree);
3413 offset=lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvb, offset, pinfo, tree);
3415 offset=lustre_dissect_element_mdt_rec_setattr_sa_mode(tvb, offset, pinfo, tree);
3417 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvb, offset, pinfo, tree);
3419 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvb, offset, pinfo, tree);
3421 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvb, offset, pinfo, tree);
3423 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvb, offset, pinfo, tree);
3426 proto_item_set_len(item, offset-old_offset);
3431 /* IDL: struct mdt_rec_create { */
3432 /* IDL: uint32 cr_opcode; */
3433 /* IDL: uint32 cr_cap; */
3434 /* IDL: uint32 cr_fsuid; */
3435 /* IDL: uint32 cr_fsuid_h; */
3436 /* IDL: uint32 cr_fsgid; */
3437 /* IDL: uint32 cr_fsgid_h; */
3438 /* IDL: uint32 cr_suppgid1; */
3439 /* IDL: uint32 cr_suppgid1_h; */
3440 /* IDL: uint32 cr_suppgid2; */
3441 /* IDL: uint32 cr_suppgid2_h; */
3442 /* IDL: struct lu_fid { */
3443 /* IDL: } cr_fid1; */
3444 /* IDL: struct lu_fid { */
3445 /* IDL: } cr_fid2; */
3446 /* IDL: struct lustre_handle { */
3447 /* IDL: } cr_old_handle; */
3448 /* IDL: uint64 cr_time; */
3449 /* IDL: uint64 cr_rdev; */
3450 /* IDL: uint64 cr_ioepoch; */
3451 /* IDL: uint64 cr_padding_1; */
3452 /* IDL: uint32 cr_mode; */
3453 /* IDL: uint32 cr_bias; */
3454 /* IDL: uint32 cr_flags_l; */
3455 /* IDL: uint32 cr_flags_h; */
3456 /* IDL: uint32 cr_umask; */
3457 /* IDL: uint32 cr_padding_4; */
3461 lustre_dissect_element_mdt_rec_create_cr_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3463 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_opcode);
3469 lustre_dissect_element_mdt_rec_create_cr_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3471 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_cap);
3477 lustre_dissect_element_mdt_rec_create_cr_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3479 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid);
3485 lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3487 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid_h);
3493 lustre_dissect_element_mdt_rec_create_cr_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3495 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid);
3501 lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3503 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid_h);
3509 lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3511 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1);
3517 lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3519 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1_h);
3525 lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3527 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2);
3533 lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3535 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2_h);
3541 lustre_dissect_element_mdt_rec_create_cr_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3543 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid1);
3548 lustre_dissect_element_mdt_rec_create_cr_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3550 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid2);
3555 lustre_dissect_element_mdt_rec_create_cr_old_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3557 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_old_handle);
3562 lustre_dissect_element_mdt_rec_create_cr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3566 ns.secs = tvb_get_letohl(tvb,offset);
3568 proto_tree_add_time(tree, hf_lustre_mdt_rec_create_cr_time, tvb, offset, 8, &ns );
3575 lustre_dissect_element_mdt_rec_create_cr_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3577 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_rdev);
3583 lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3585 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_ioepoch);
3591 lustre_dissect_element_mdt_rec_create_cr_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3593 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_1);
3599 lustre_dissect_element_mdt_rec_create_cr_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3601 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_mode);
3607 lustre_dissect_element_mdt_rec_create_cr_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3609 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_bias);
3615 lustre_dissect_element_mdt_rec_create_cr_flags_l(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3617 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_l);
3623 lustre_dissect_element_mdt_rec_create_cr_flags_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3625 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_h);
3631 lustre_dissect_element_mdt_rec_create_cr_umask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3633 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_umask);
3639 lustre_dissect_element_mdt_rec_create_cr_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3641 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_4);
3647 lustre_dissect_struct_mdt_rec_create(tvbuff_t *tvb _U_, int offset _U_,
3648 packet_info *pinfo _U_,
3649 proto_tree *parent_tree _U_,
3652 proto_item *item = NULL;
3653 proto_tree *tree = NULL;
3660 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3661 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_create);
3663 cr_opcode=tvb_get_letohl(tvb,offset);
3664 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(cr_opcode, lustre_mds_reint_t_vals, "Unknown cr_opc"));
3666 offset=lustre_dissect_element_mdt_rec_create_cr_opcode(tvb, offset, pinfo, tree);
3668 offset=lustre_dissect_element_mdt_rec_create_cr_cap(tvb, offset, pinfo, tree);
3670 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid(tvb, offset, pinfo, tree);
3672 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvb, offset, pinfo, tree);
3674 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid(tvb, offset, pinfo, tree);
3676 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvb, offset, pinfo, tree);
3678 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvb, offset, pinfo, tree);
3680 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvb, offset, pinfo, tree);
3682 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvb, offset, pinfo, tree);
3684 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvb, offset, pinfo, tree);
3686 offset=lustre_dissect_element_mdt_rec_create_cr_fid1(tvb, offset, pinfo, tree);
3688 offset=lustre_dissect_element_mdt_rec_create_cr_fid2(tvb, offset, pinfo, tree);
3690 offset=lustre_dissect_element_mdt_rec_create_cr_old_handle(tvb, offset, pinfo, tree);
3692 offset=lustre_dissect_element_mdt_rec_create_cr_time(tvb, offset, pinfo, tree);
3694 offset=lustre_dissect_element_mdt_rec_create_cr_rdev(tvb, offset, pinfo, tree);
3696 offset=lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvb, offset, pinfo, tree);
3698 offset=lustre_dissect_element_mdt_rec_create_cr_padding_1(tvb, offset, pinfo, tree);
3700 offset=lustre_dissect_element_mdt_rec_create_cr_mode(tvb, offset, pinfo, tree);
3702 offset=lustre_dissect_element_mdt_rec_create_cr_bias(tvb, offset, pinfo, tree);
3704 offset=lustre_dissect_element_mdt_rec_create_cr_flags_l(tvb, offset, pinfo, tree);
3706 offset=lustre_dissect_element_mdt_rec_create_cr_flags_h(tvb, offset, pinfo, tree);
3708 offset=lustre_dissect_element_mdt_rec_create_cr_umask(tvb, offset, pinfo, tree);
3710 offset=lustre_dissect_element_mdt_rec_create_cr_padding_4(tvb, offset, pinfo, tree);
3712 proto_item_set_len(item, offset-old_offset);
3717 /* TODO : find where this structure appear ! */
3718 /* IDL: struct mdt_rec_link { */
3719 /* IDL: uint32 lk_opcode; */
3720 /* IDL: uint32 lk_cap; */
3721 /* IDL: uint32 lk_fsuid; */
3722 /* IDL: uint32 lk_fsuid_h; */
3723 /* IDL: uint32 lk_fsgid; */
3724 /* IDL: uint32 lk_fsgid_h; */
3725 /* IDL: uint32 lk_suppgid1; */
3726 /* IDL: uint32 lk_suppgid1_h; */
3727 /* IDL: uint32 lk_suppgid2; */
3728 /* IDL: uint32 lk_suppgid2_h; */
3729 /* IDL: struct lu_fid { */
3730 /* IDL: } lk_fid1; */
3731 /* IDL: struct lu_fid { */
3732 /* IDL: } lk_fid2; */
3733 /* IDL: uint64 lk_time; */
3734 /* IDL: uint64 lk_padding_1; */
3735 /* IDL: uint64 lk_padding_2; */
3736 /* IDL: uint64 lk_padding_3; */
3737 /* IDL: uint64 lk_padding_4; */
3738 /* IDL: uint32 lk_bias; */
3739 /* IDL: uint32 lk_padding_5; */
3740 /* IDL: uint32 lk_padding_6; */
3741 /* IDL: uint32 lk_padding_7; */
3742 /* IDL: uint32 lk_padding_8; */
3743 /* IDL: uint32 lk_padding_9; */
3747 lustre_dissect_element_mdt_rec_link_lk_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3749 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_opcode);
3755 lustre_dissect_element_mdt_rec_link_lk_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3757 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_cap);
3763 lustre_dissect_element_mdt_rec_link_lk_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3765 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid);
3771 lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3773 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid_h);
3779 lustre_dissect_element_mdt_rec_link_lk_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3781 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid);
3787 lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3789 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid_h);
3795 lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3797 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1);
3803 lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3805 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1_h);
3811 lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3813 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2);
3819 lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3821 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2_h);
3827 lustre_dissect_element_mdt_rec_link_lk_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3829 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid1);
3834 lustre_dissect_element_mdt_rec_link_lk_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3836 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid2);
3841 lustre_dissect_element_mdt_rec_link_lk_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3845 ns.secs = tvb_get_letohl(tvb,offset);
3847 proto_tree_add_time(tree, hf_lustre_mdt_rec_link_lk_time, tvb, offset, 8, &ns );
3853 lustre_dissect_element_mdt_rec_link_lk_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3855 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_1);
3861 lustre_dissect_element_mdt_rec_link_lk_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3863 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_2);
3869 lustre_dissect_element_mdt_rec_link_lk_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3871 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_3);
3877 lustre_dissect_element_mdt_rec_link_lk_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3879 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_4);
3885 lustre_dissect_element_mdt_rec_link_lk_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3887 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_bias);
3893 lustre_dissect_element_mdt_rec_link_lk_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3895 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_5);
3901 lustre_dissect_element_mdt_rec_link_lk_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3903 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_6);
3909 lustre_dissect_element_mdt_rec_link_lk_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3911 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_7);
3917 lustre_dissect_element_mdt_rec_link_lk_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3919 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_8);
3925 lustre_dissect_element_mdt_rec_link_lk_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3927 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_9);
3933 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_)
3935 proto_item *item = NULL;
3936 proto_tree *tree = NULL;
3945 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3946 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_link);
3948 lk_opcode=tvb_get_letohl(tvb,offset);
3949 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lk_opcode, lustre_mds_reint_t_vals, "Unknown lk_opc"));
3951 offset=lustre_dissect_element_mdt_rec_link_lk_opcode(tvb, offset, pinfo, tree);
3953 offset=lustre_dissect_element_mdt_rec_link_lk_cap(tvb, offset, pinfo, tree);
3955 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid(tvb, offset, pinfo, tree);
3957 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvb, offset, pinfo, tree);
3959 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid(tvb, offset, pinfo, tree);
3961 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvb, offset, pinfo, tree);
3963 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvb, offset, pinfo, tree);
3965 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvb, offset, pinfo, tree);
3967 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvb, offset, pinfo, tree);
3969 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvb, offset, pinfo, tree);
3971 offset=lustre_dissect_element_mdt_rec_link_lk_fid1(tvb, offset, pinfo, tree);
3973 offset=lustre_dissect_element_mdt_rec_link_lk_fid2(tvb, offset, pinfo, tree);
3975 offset=lustre_dissect_element_mdt_rec_link_lk_time(tvb, offset, pinfo, tree);
3977 offset=lustre_dissect_element_mdt_rec_link_lk_padding_1(tvb, offset, pinfo, tree);
3979 offset=lustre_dissect_element_mdt_rec_link_lk_padding_2(tvb, offset, pinfo, tree);
3981 offset=lustre_dissect_element_mdt_rec_link_lk_padding_3(tvb, offset, pinfo, tree);
3983 offset=lustre_dissect_element_mdt_rec_link_lk_padding_4(tvb, offset, pinfo, tree);
3985 offset=lustre_dissect_element_mdt_rec_link_lk_bias(tvb, offset, pinfo, tree);
3987 offset=lustre_dissect_element_mdt_rec_link_lk_padding_5(tvb, offset, pinfo, tree);
3989 offset=lustre_dissect_element_mdt_rec_link_lk_padding_6(tvb, offset, pinfo, tree);
3991 offset=lustre_dissect_element_mdt_rec_link_lk_padding_7(tvb, offset, pinfo, tree);
3993 offset=lustre_dissect_element_mdt_rec_link_lk_padding_8(tvb, offset, pinfo, tree);
3995 offset=lustre_dissect_element_mdt_rec_link_lk_padding_9(tvb, offset, pinfo, tree);
3998 proto_item_set_len(item, offset-old_offset);
4003 /* IDL: struct mdt_rec_unlink { */
4004 /* IDL: uint32 ul_opcode; */
4005 /* IDL: uint32 ul_cap; */
4006 /* IDL: uint32 ul_fsuid; */
4007 /* IDL: uint32 ul_fsuid_h; */
4008 /* IDL: uint32 ul_fsgid; */
4009 /* IDL: uint32 ul_fsgid_h; */
4010 /* IDL: uint32 ul_suppgid1; */
4011 /* IDL: uint32 ul_suppgid1_h; */
4012 /* IDL: uint32 ul_suppgid2; */
4013 /* IDL: uint32 ul_suppgid2_h; */
4014 /* IDL: struct lu_fid { */
4015 /* IDL: } ul_fid1; */
4016 /* IDL: struct lu_fid { */
4017 /* IDL: } ul_fid2; */
4018 /* IDL: uint64 ul_time; */
4019 /* IDL: uint64 ul_padding_2; */
4020 /* IDL: uint64 ul_padding_3; */
4021 /* IDL: uint64 ul_padding_4; */
4022 /* IDL: uint64 ul_padding_5; */
4023 /* IDL: uint32 ul_bias; */
4024 /* IDL: uint32 ul_mode; */
4025 /* IDL: uint32 ul_padding_6; */
4026 /* IDL: uint32 ul_padding_7; */
4027 /* IDL: uint32 ul_padding_8; */
4028 /* IDL: uint32 ul_padding_9; */
4032 lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4034 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_opcode);
4040 lustre_dissect_element_mdt_rec_unlink_ul_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4042 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_cap);
4048 lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4050 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid);
4056 lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4058 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid_h);
4064 lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4066 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid);
4072 lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4074 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid_h);
4080 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4082 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1);
4088 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4090 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1_h);
4096 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4098 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2);
4104 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4106 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2_h);
4112 lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4114 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid1);
4119 lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4121 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid2);
4126 lustre_dissect_element_mdt_rec_unlink_ul_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4130 ns.secs = tvb_get_letohl(tvb,offset);
4132 proto_tree_add_time(tree,hf_lustre_mdt_rec_unlink_ul_time , tvb, offset, 8, &ns );
4138 lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4140 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_2);
4146 lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4148 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_3);
4154 lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4156 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_4);
4162 lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4164 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_5);
4170 lustre_dissect_element_mdt_rec_unlink_ul_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4172 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_bias);
4178 lustre_dissect_element_mdt_rec_unlink_ul_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4180 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_mode);
4186 lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4188 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_6);
4194 lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4196 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_7);
4202 lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4204 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_8);
4210 lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4212 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_9);
4218 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_)
4220 proto_item *item = NULL;
4221 proto_tree *tree = NULL;
4230 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4231 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_unlink);
4234 ul_opcode=tvb_get_letohl(tvb,offset);
4235 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(ul_opcode, lustre_mds_reint_t_vals, "Unknown ul_opc"));
4237 offset=lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvb, offset, pinfo, tree);
4239 offset=lustre_dissect_element_mdt_rec_unlink_ul_cap(tvb, offset, pinfo, tree);
4241 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvb, offset, pinfo, tree);
4243 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvb, offset, pinfo, tree);
4245 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvb, offset, pinfo, tree);
4247 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvb, offset, pinfo, tree);
4249 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvb, offset, pinfo, tree);
4251 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvb, offset, pinfo, tree);
4253 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvb, offset, pinfo, tree);
4255 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvb, offset, pinfo, tree);
4257 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvb, offset, pinfo, tree);
4259 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvb, offset, pinfo, tree);
4261 offset=lustre_dissect_element_mdt_rec_unlink_ul_time(tvb, offset, pinfo, tree);
4263 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvb, offset, pinfo, tree);
4265 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvb, offset, pinfo, tree);
4267 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvb, offset, pinfo, tree);
4269 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvb, offset, pinfo, tree);
4271 offset=lustre_dissect_element_mdt_rec_unlink_ul_bias(tvb, offset, pinfo, tree);
4273 offset=lustre_dissect_element_mdt_rec_unlink_ul_mode(tvb, offset, pinfo, tree);
4275 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvb, offset, pinfo, tree);
4277 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvb, offset, pinfo, tree);
4279 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvb, offset, pinfo, tree);
4281 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvb, offset, pinfo, tree);
4284 proto_item_set_len(item, offset-old_offset);
4289 /* IDL: struct mdt_rec_rename { */
4290 /* IDL: uint32 rn_opcode; */
4291 /* IDL: uint32 rn_fsuid; */
4292 /* IDL: uint32 rn_fsgid; */
4293 /* IDL: uint32 rn_cap; */
4294 /* IDL: uint32 rn_suppgid1; */
4295 /* IDL: uint32 rn_suppgid2; */
4296 /* IDL: struct ll_fid { */
4297 /* IDL: } rn_fid1; */
4298 /* IDL: struct ll_fid { */
4299 /* IDL: } rn_fid2; */
4300 /* IDL: uint64 rn_time; */
4301 /* IDL: uint32 rn_padding_1; */
4302 /* IDL: uint32 rn_padding_2; */
4303 /* IDL: uint32 rn_padding_3; */
4304 /* IDL: uint32 rn_padding_4; */
4308 lustre_dissect_element_mdt_rec_rename_rn_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4310 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_opcode);
4316 lustre_dissect_element_mdt_rec_rename_rn_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4318 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_cap);
4324 lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4326 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid);
4332 lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4334 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid_h);
4340 lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4342 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid);
4348 lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4350 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid_h);
4356 lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4358 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1);
4364 lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4366 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1_h);
4372 lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4374 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2);
4380 lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4382 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2_h);
4388 lustre_dissect_element_mdt_rec_rename_rn_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4390 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid1);
4395 lustre_dissect_element_mdt_rec_rename_rn_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4397 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid2);
4402 lustre_dissect_element_mdt_rec_rename_rn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4406 ns.secs = tvb_get_letohl(tvb,offset);
4408 proto_tree_add_time(tree, hf_lustre_mdt_rec_rename_rn_time, tvb, offset, 8, &ns );
4414 lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4416 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_1);
4422 lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4424 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_2);
4430 lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4432 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_3);
4438 lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4440 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_4);
4446 lustre_dissect_element_mdt_rec_rename_rn_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4448 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_bias);
4454 lustre_dissect_element_mdt_rec_rename_rn_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4456 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_mode);
4462 lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4464 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_5);
4470 lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4472 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_6);
4478 lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4480 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_7);
4486 lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4488 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_8);
4494 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_)
4496 proto_item *item = NULL;
4497 proto_tree *tree = NULL;
4506 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4507 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_rename);
4510 rn_opcode=tvb_get_letohl(tvb,offset);
4511 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(rn_opcode, lustre_mds_reint_t_vals, "Unknown rn_opc"));
4513 offset=lustre_dissect_element_mdt_rec_rename_rn_opcode(tvb, offset, pinfo, tree);
4515 offset=lustre_dissect_element_mdt_rec_rename_rn_cap(tvb, offset, pinfo, tree);
4517 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvb, offset, pinfo, tree);
4519 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvb, offset, pinfo, tree);
4521 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvb, offset, pinfo, tree);
4523 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvb, offset, pinfo, tree);
4525 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvb, offset, pinfo, tree);
4527 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvb, offset, pinfo, tree);
4529 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvb, offset, pinfo, tree);
4531 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvb, offset, pinfo, tree);
4533 offset=lustre_dissect_element_mdt_rec_rename_rn_fid1(tvb, offset, pinfo, tree);
4535 offset=lustre_dissect_element_mdt_rec_rename_rn_fid2(tvb, offset, pinfo, tree);
4537 offset=lustre_dissect_element_mdt_rec_rename_rn_time(tvb, offset, pinfo, tree);
4539 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvb, offset, pinfo, tree);
4541 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvb, offset, pinfo, tree);
4543 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvb, offset, pinfo, tree);
4545 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvb, offset, pinfo, tree);
4547 offset=lustre_dissect_element_mdt_rec_rename_rn_bias(tvb, offset, pinfo, tree);
4549 offset=lustre_dissect_element_mdt_rec_rename_rn_mode(tvb, offset, pinfo, tree);
4551 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvb, offset, pinfo, tree);
4553 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvb, offset, pinfo, tree);
4555 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvb, offset, pinfo, tree);
4557 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvb, offset, pinfo, tree);
4560 proto_item_set_len(item, offset-old_offset);
4565 /* I don't find where this struct appear on wire.. need to search mdc_setxattr_pack() */
4566 /* IDL: struct mdt_rec_setxattr { */
4567 /* IDL: uint32 sx_opcode; */
4568 /* IDL: uint32 sx_cap; */
4569 /* IDL: uint32 sx_fsuid; */
4570 /* IDL: uint32 sx_fsuid_h; */
4571 /* IDL: uint32 sx_fsgid; */
4572 /* IDL: uint32 sx_fsgid_h; */
4573 /* IDL: uint32 sx_suppgid1; */
4574 /* IDL: uint32 sx_suppgid1_h; */
4575 /* IDL: uint32 sx_suppgid2; */
4576 /* IDL: uint32 sx_suppgid2_h; */
4577 /* IDL: struct lu_fid { */
4578 /* IDL: } sx_fid; */
4579 /* IDL: uint64 sx_padding_1; */
4580 /* IDL: uint32 sx_padding_2; */
4581 /* IDL: uint32 sx_padding_3; */
4582 /* IDL: uint64 sx_valid; */
4583 /* IDL: uint64 sx_time; */
4584 /* IDL: uint64 sx_padding_5; */
4585 /* IDL: uint64 sx_padding_6; */
4586 /* IDL: uint64 sx_padding_7; */
4587 /* IDL: uint32 sx_size; */
4588 /* IDL: uint32 sx_flags; */
4589 /* IDL: uint32 sx_padding_8; */
4590 /* IDL: uint32 sx_padding_9; */
4591 /* IDL: uint32 sx_padding_10; */
4592 /* IDL: uint32 sx_padding_11; */
4596 lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4598 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_opcode);
4604 lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4606 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_cap);
4612 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4614 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid);
4620 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4622 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid_h);
4628 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4630 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid);
4636 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4638 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid_h);
4644 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4646 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1);
4652 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4654 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1_h);
4660 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4662 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2);
4668 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4670 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2_h);
4676 lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4678 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setxattr_sx_fid);
4684 lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4686 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_1);
4692 lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4694 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_2);
4700 lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4702 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_3);
4708 lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4710 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_valid);
4716 lustre_dissect_element_mdt_rec_setxattr_sx_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4721 ns.secs = tvb_get_letohl(tvb,offset);
4723 proto_tree_add_time(tree, hf_lustre_mdt_rec_setxattr_sx_time, tvb, offset, 8, &ns );
4729 lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4731 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_5);
4737 lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4739 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_6);
4745 lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4747 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_7);
4753 lustre_dissect_element_mdt_rec_setxattr_sx_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4755 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_size);
4761 lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4763 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_flags);
4769 lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4771 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_8);
4777 lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4779 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_9);
4785 lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4787 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_10);
4793 lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4795 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_11);
4801 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_)
4803 proto_item *item = NULL;
4804 proto_tree *tree = NULL;
4813 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4814 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setxattr);
4816 sx_opcode=tvb_get_letohl(tvb,offset);
4817 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sx_opcode, lustre_mds_reint_t_vals, "Unknown sx_opc"));
4819 offset=lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvb, offset, pinfo, tree);
4821 offset=lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvb, offset, pinfo, tree);
4823 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvb, offset, pinfo, tree);
4825 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvb, offset, pinfo, tree);
4827 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvb, offset, pinfo, tree);
4829 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvb, offset, pinfo, tree);
4831 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvb, offset, pinfo, tree);
4833 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvb, offset, pinfo, tree);
4835 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvb, offset, pinfo, tree);
4837 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvb, offset, pinfo, tree);
4839 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvb, offset, pinfo, tree);
4841 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvb, offset, pinfo, tree);
4843 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvb, offset, pinfo, tree);
4845 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvb, offset, pinfo, tree);
4847 offset=lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvb, offset, pinfo, tree);
4849 offset=lustre_dissect_element_mdt_rec_setxattr_sx_time(tvb, offset, pinfo, tree);
4851 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvb, offset, pinfo, tree);
4853 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvb, offset, pinfo, tree);
4855 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvb, offset, pinfo, tree);
4857 offset=lustre_dissect_element_mdt_rec_setxattr_sx_size(tvb, offset, pinfo, tree);
4859 offset=lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvb, offset, pinfo, tree);
4861 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvb, offset, pinfo, tree);
4863 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvb, offset, pinfo, tree);
4865 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvb, offset, pinfo, tree);
4867 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvb, offset, pinfo, tree);
4870 proto_item_set_len(item, offset-old_offset);
4876 /* TODO : find where this structure appear */
4878 /* IDL: struct lov_desc { */
4879 /* IDL: uint32 ld_tgt_count; */
4880 /* IDL: uint32 ld_active_tgt_count; */
4881 /* IDL: uint32 ld_default_stripe_count; */
4882 /* IDL: uint32 ld_pattern; */
4883 /* IDL: uint64 ld_default_stripe_size; */
4884 /* IDL: uint64 ld_default_stripe_offset; */
4885 /* IDL: uint32 ld_padding_0; */
4886 /* IDL: uint32 ld_qos_maxage; */
4887 /* IDL: uint32 ld_padding_1; */
4888 /* IDL: uint32 ld_padding_2; */
4889 /* IDL: struct obd_uuid { */
4890 /* IDL: } ld_uuid; */
4894 lustre_dissect_element_lov_desc_ld_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4896 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_tgt_count);
4902 lustre_dissect_element_lov_desc_ld_active_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4904 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_active_tgt_count);
4910 lustre_dissect_element_lov_desc_ld_default_stripe_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4912 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_count);
4918 lustre_dissect_element_lov_desc_ld_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4920 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_pattern);
4926 lustre_dissect_element_lov_desc_ld_default_stripe_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4928 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_size);
4934 lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4936 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_offset);
4942 lustre_dissect_element_lov_desc_ld_padding_0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4944 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_0);
4950 lustre_dissect_element_lov_desc_ld_qos_maxage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4952 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_qos_maxage);
4958 lustre_dissect_element_lov_desc_ld_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4960 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_1);
4966 lustre_dissect_element_lov_desc_ld_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4968 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_2);
4974 lustre_dissect_element_lov_desc_ld_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4976 //offset=lustre_dissect_struct_HASH(0x85bade8)(tvb,offset,pinfo,tree,hf_lustre_lov_desc_ld_uuid);
4981 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_)
4983 proto_item *item = NULL;
4984 proto_tree *tree = NULL;
4992 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4993 tree = proto_item_add_subtree(item, ett_lustre_lov_desc);
4996 offset=lustre_dissect_element_lov_desc_ld_tgt_count(tvb, offset, pinfo, tree);
4998 offset=lustre_dissect_element_lov_desc_ld_active_tgt_count(tvb, offset, pinfo, tree);
5000 offset=lustre_dissect_element_lov_desc_ld_default_stripe_count(tvb, offset, pinfo, tree);
5002 offset=lustre_dissect_element_lov_desc_ld_pattern(tvb, offset, pinfo, tree);
5004 offset=lustre_dissect_element_lov_desc_ld_default_stripe_size(tvb, offset, pinfo, tree);
5006 offset=lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvb, offset, pinfo, tree);
5008 offset=lustre_dissect_element_lov_desc_ld_padding_0(tvb, offset, pinfo, tree);
5010 offset=lustre_dissect_element_lov_desc_ld_qos_maxage(tvb, offset, pinfo, tree);
5012 offset=lustre_dissect_element_lov_desc_ld_padding_1(tvb, offset, pinfo, tree);
5014 offset=lustre_dissect_element_lov_desc_ld_padding_2(tvb, offset, pinfo, tree);
5016 offset=lustre_dissect_element_lov_desc_ld_uuid(tvb, offset, pinfo, tree);
5019 proto_item_set_len(item, offset-old_offset);
5024 /* IDL: struct obd_uuid { */
5025 /* char uuid[40]; */
5029 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_)
5031 /* the lenght of the string is 40 bytes max, with \0 inside */
5032 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 40, TRUE);
5040 /* IDL: struct ldlm_res_id { */
5041 /* IDL: uint64 name[4]; */
5045 lustre_dissect_element_ldlm_res_id_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5047 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_res_id_name);
5053 lustre_dissect_element_ldlm_res_id_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5056 for (i = 0; i < 4; i++)
5057 offset=lustre_dissect_element_ldlm_res_id_name_(tvb, offset, pinfo, tree);
5065 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_)
5067 proto_item *item = NULL;
5068 proto_tree *tree = NULL;
5076 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5077 tree = proto_item_add_subtree(item, ett_lustre_ldlm_res_id);
5080 offset=lustre_dissect_element_ldlm_res_id_name(tvb, offset, pinfo, tree);
5083 proto_item_set_len(item, offset-old_offset);
5090 /* IDL: LCK_MINMODE=0, */
5091 /* IDL: LCK_EX=1, */
5092 /* IDL: LCK_PW=2, */
5093 /* IDL: LCK_PR=4, */
5094 /* IDL: LCK_CW=8, */
5095 /* IDL: LCK_CR=16, */
5096 /* IDL: LCK_NL=32, */
5097 /* IDL: LCK_GROUP=64, */
5098 /* IDL: LCK_MAXMODE, */
5102 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_)
5104 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_index);
5110 /* IDL: LDLM_PLAIN=10, */
5111 /* IDL: LDLM_EXTENT=11, */
5112 /* IDL: LDLM_FLOCK=12, */
5113 /* IDL: LDLM_IBITS=13, */
5114 /* IDL: LDLM_MAX_TYPE, */
5118 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_)
5120 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type );
5124 /* IDL: struct ldlm_extent { */
5125 /* IDL: uint64 start; */
5126 /* IDL: uint64 end; */
5127 /* IDL: uint64 gid; */
5131 lustre_dissect_element_ldlm_extent_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5133 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_start);
5139 lustre_dissect_element_ldlm_extent_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5141 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_end);
5147 lustre_dissect_element_ldlm_extent_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5149 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_gid);
5155 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_)
5157 proto_item *item = NULL;
5158 proto_tree *tree = NULL;
5166 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5167 tree = proto_item_add_subtree(item, ett_lustre_ldlm_extent);
5170 offset=lustre_dissect_element_ldlm_extent_start(tvb, offset, pinfo, tree);
5172 offset=lustre_dissect_element_ldlm_extent_end(tvb, offset, pinfo, tree);
5174 offset=lustre_dissect_element_ldlm_extent_gid(tvb, offset, pinfo, tree);
5177 proto_item_set_len(item, offset-old_offset);
5182 /* IDL: struct ldlm_inodebits { */
5183 /* IDL: uint64 bits; */
5187 lustre_dissect_element_ldlm_inodebits_bits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5189 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_inodebits_bits);
5195 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_)
5197 proto_item *item = NULL;
5198 proto_tree *tree = NULL;
5206 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5207 tree = proto_item_add_subtree(item, ett_lustre_ldlm_inodebits);
5210 offset=lustre_dissect_element_ldlm_inodebits_bits(tvb, offset, pinfo, tree);
5213 proto_item_set_len(item, offset-old_offset);
5218 /* IDL: struct ldlm_flock { */
5219 /* IDL: uint64 start; */
5220 /* IDL: uint64 end; */
5221 /* IDL: uint64 blocking_export; */
5222 /* IDL: uint32 blocking_pid; */
5223 /* IDL: uint32 pid; */
5227 lustre_dissect_element_ldlm_flock_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5229 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_start);
5235 lustre_dissect_element_ldlm_flock_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5237 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_end);
5243 lustre_dissect_element_ldlm_flock_blocking_export(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5245 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_export);
5251 lustre_dissect_element_ldlm_flock_blocking_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5253 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_pid);
5259 lustre_dissect_element_ldlm_flock_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5261 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_pid);
5267 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_)
5269 proto_item *item = NULL;
5270 proto_tree *tree = NULL;
5278 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5279 tree = proto_item_add_subtree(item, ett_lustre_ldlm_flock);
5282 offset=lustre_dissect_element_ldlm_flock_start(tvb, offset, pinfo, tree);
5284 offset=lustre_dissect_element_ldlm_flock_end(tvb, offset, pinfo, tree);
5286 offset=lustre_dissect_element_ldlm_flock_blocking_export(tvb, offset, pinfo, tree);
5288 offset=lustre_dissect_element_ldlm_flock_blocking_pid(tvb, offset, pinfo, tree);
5290 offset=lustre_dissect_element_ldlm_flock_pid(tvb, offset, pinfo, tree);
5293 proto_item_set_len(item, offset-old_offset);
5298 /* IDL: struct ldlm_intent { */
5299 /* IDL: uint64 opc; */
5303 lustre_dissect_element_ldlm_intent_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5306 /* this opcode is like a flag*/
5307 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_open );
5308 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_creat );
5309 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_readdir );
5310 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getattr );
5311 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_lookup );
5312 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_unlink );
5313 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getxattr);
5314 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_exec );
5315 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_pin );
5316 opcode = tvb_get_letohl(tvb,offset);
5318 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, "[ intent :");
5319 if(opcode & IT_OPEN ){
5320 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " open");
5321 proto_item_append_text(tree, " open" );
5323 if(opcode & IT_CREAT ){
5324 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " create");
5325 proto_item_append_text(tree, " create" );
5327 if(opcode & IT_READDIR ){
5328 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " readdir");
5329 proto_item_append_text(tree, " readdir" );
5331 if(opcode & IT_GETATTR ){
5332 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getattr");
5333 proto_item_append_text(tree, " getattr" );
5335 if(opcode & IT_LOOKUP ){
5336 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " lookup");
5337 proto_item_append_text(tree, " lookup" );
5339 if(opcode & IT_UNLINK ){
5340 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " unlink");
5341 proto_item_append_text(tree, " unlink" );
5343 if(opcode & IT_GETXATTR){
5344 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getxattr");
5345 proto_item_append_text(tree, " getxattr" );
5347 if(opcode & IT_EXEC ){
5348 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " exec");
5349 proto_item_append_text(tree, " exec" );
5351 if(opcode & IT_PIN ){
5352 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " pin");
5353 proto_item_append_text(tree, " pin" );
5356 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " ]");
5362 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_)
5365 proto_item * opcode_item = NULL;
5366 proto_tree * opcode_tree = NULL;
5368 intent_opc = tvb_get_letoh64(tvb,offset);
5370 opcode_item = proto_tree_add_item(parent_tree, hf_lustre_ldlm_intent_opc, tvb, offset, 8, TRUE);
5371 opcode_tree = proto_item_add_subtree(opcode_item, ett_lustre_ldlm_intent_opc);
5374 offset=lustre_dissect_element_ldlm_intent_opc(tvb, offset, pinfo, opcode_tree);
5376 offset=ldlm_opcode_process(tvb, offset, pinfo, parent_tree, intent_opc);
5381 /* IDL: struct ldlm_resource_desc { */
5382 /* IDL: ldlm_type_t lr_type; */
5383 /* IDL: uint32 lr_padding; */
5384 /* IDL: struct ldlm_res_id { */
5385 /* IDL: } lr_name; */
5389 lustre_dissect_element_ldlm_resource_desc_lr_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5391 /* offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);*/
5392 offset=lustre_dissect_enum_ldlm_type_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);
5397 lustre_dissect_element_ldlm_resource_desc_lr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5399 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_padding);
5405 lustre_dissect_element_ldlm_resource_desc_lr_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5407 offset=lustre_dissect_struct_ldlm_res_id(tvb,offset,pinfo,tree,hf_lustre_ldlm_resource_desc_lr_name);
5412 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_)
5414 proto_item *item = NULL;
5415 proto_tree *tree = NULL;
5423 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5424 tree = proto_item_add_subtree(item, ett_lustre_ldlm_resource_desc);
5427 offset=lustre_dissect_element_ldlm_resource_desc_lr_type(tvb, offset, pinfo, tree);
5429 offset=lustre_dissect_element_ldlm_resource_desc_lr_padding(tvb, offset, pinfo, tree);
5431 offset=lustre_dissect_element_ldlm_resource_desc_lr_name(tvb, offset, pinfo, tree);
5434 proto_item_set_len(item, offset-old_offset);
5440 /* IDL: struct ldlm_lock_desc { */
5441 /* IDL: struct ldlm_resource_desc { */
5442 /* IDL: } l_resource; */
5443 /* IDL: ldlm_mode_t l_req_mode; */
5444 /* IDL: ldlm_mode_t l_granted_mode; */
5445 /* IDL: ldlm_policy_data_t l_policy_data; */
5449 lustre_dissect_element_ldlm_lock_desc_l_resource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5451 offset=lustre_dissect_struct_ldlm_resource_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_resource);
5456 lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5458 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_req_mode);
5464 lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5466 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_granted_mode);
5472 lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5475 guint32 lr_type; /* type of the lock */
5477 lr_type = tvb_get_letohl(tvb,offset - 48 ); /* TODO : find another way that using -48 */
5479 /* this section must be check with lustre code, possible mistake here */
5483 offset=lustre_dissect_struct_ldlm_flock(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5486 offset= lustre_dissect_struct_ldlm_extent(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5487 /* add an extra padding 8 bytes */
5488 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5491 offset=lustre_dissect_struct_ldlm_inodebits(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5492 /* add an extra padding 24 bytes */
5493 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5494 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5495 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5498 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5499 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5500 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5501 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5508 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_)
5510 proto_item *item = NULL;
5511 proto_tree *tree = NULL;
5514 guint32 lock_req_mode;
5520 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5521 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_desc);
5524 offset=lustre_dissect_element_ldlm_lock_desc_l_resource(tvb, offset, pinfo, tree);
5526 lock_req_mode = tvb_get_letohl(tvb,offset);
5528 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lock_req_mode, lustre_ldlm_mode_t_vals, "Unknown lock"));
5530 offset=lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvb, offset, pinfo, tree);
5532 offset=lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvb, offset, pinfo, tree);
5534 offset=lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvb, offset, pinfo, tree);
5537 proto_item_set_len(item, offset-old_offset);
5543 /* IDL: struct ldlm_request { */
5544 /* IDL: uint32 lock_flags; */
5545 /* IDL: uint32 lock_count; */
5546 /* IDL: struct ldlm_lock_desc { */
5547 /* IDL: } lock_desc; */
5548 /* IDL: struct lustre_handle { */
5549 /* IDL: } lock_handle[2]; */
5555 lustre_dissect_element_ldlm_request_lock_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5557 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_request_lock_count);
5563 lustre_dissect_element_ldlm_request_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5565 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_desc);
5572 lustre_dissect_element_ldlm_request_lock_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5574 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5575 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5577 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_handle);
5582 lustre_dissect_element_ldlm_request_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5585 for (i = 0; i < 2; i++)
5586 offset=lustre_dissect_element_ldlm_request_lock_handle_(tvb, offset, pinfo, tree);
5592 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_)
5594 proto_item *item = NULL;
5595 proto_tree *tree = NULL;
5603 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5604 tree = proto_item_add_subtree(item, ett_lustre_ldlm_request);
5607 lock_flag = tvb_get_letohl(tvb,offset);
5608 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree,
5609 hf_lustre_ldlm_request_lock_flags);
5611 offset=lustre_dissect_element_ldlm_request_lock_count(tvb, offset, pinfo, tree);
5613 /* ldlm_type = (EXTENT, PLAIN, ou IBITS) */
5614 ldlm_type = tvb_get_letohl(tvb,offset);
5615 offset=lustre_dissect_element_ldlm_request_lock_desc(tvb, offset, pinfo, tree);
5616 offset=lustre_dissect_element_ldlm_request_lock_handle(tvb, offset, pinfo, tree);
5618 proto_item_set_len(item, offset-old_offset);
5624 /* IDL: struct ldlm_reply { */
5625 /* IDL: uint32 lock_flags; */
5626 /* IDL: uint32 lock_padding; */
5627 /* IDL: struct ldlm_lock_desc { */
5628 /* IDL: } lock_desc; */
5629 /* IDL: struct lustre_handle { */
5630 /* IDL: } lock_handle; */
5631 /* IDL: uint64 lock_policy_res1; */
5632 /* IDL: uint64 lock_policy_res2; */
5636 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_)
5638 proto_item *item = NULL;
5639 proto_tree *tree = NULL;
5642 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
5643 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_flags);
5645 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_ast_discard_data);
5646 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_deny_on_contention);
5647 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_bl_done );
5648 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_bl_ast );
5649 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_atomic_cb );
5650 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cleaned );
5651 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cp_reqd );
5652 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cancel_on_block );
5653 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_no_lru );
5654 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_kms_ignore );
5655 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_lvb_ready );
5656 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_test_lock );
5657 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_nowait );
5658 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_no_timeout );
5659 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_discard_data );
5660 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_warn );
5661 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_local );
5662 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_canceling );
5663 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_has_intent );
5664 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_failed );
5665 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_local_only );
5666 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_intent_only );
5667 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_replay );
5668 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cancel );
5669 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_wait_noreproc );
5670 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_ast_sent );
5671 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_cbpending );
5672 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_wait );
5673 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_conv );
5674 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_block_granted );
5675 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_fl_lock_changed );
5680 lustre_dissect_element_ldlm_reply_lock_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5682 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_padding);
5688 lustre_dissect_element_ldlm_reply_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5690 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_desc);
5695 lustre_dissect_element_ldlm_reply_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5697 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5698 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5700 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_handle);
5705 lustre_dissect_element_ldlm_reply_lock_policy_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5707 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res1);
5713 lustre_dissect_element_ldlm_reply_lock_policy_res2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5715 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res2);
5721 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_ )
5723 proto_item *item = NULL;
5724 proto_tree *tree = NULL;
5732 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5733 tree = proto_item_add_subtree(item, ett_lustre_ldlm_reply);
5736 lock_flag = tvb_get_letohl(tvb,offset);
5737 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_flags);
5739 offset=lustre_dissect_element_ldlm_reply_lock_padding(tvb, offset, pinfo, tree);
5741 if (ldlm_type != NULL)
5742 *ldlm_type = tvb_get_letohl(tvb,offset);
5743 offset=lustre_dissect_element_ldlm_reply_lock_desc(tvb, offset, pinfo, tree);
5745 offset=lustre_dissect_element_ldlm_reply_lock_handle(tvb, offset, pinfo, tree);
5747 offset=lustre_dissect_element_ldlm_reply_lock_policy_res1(tvb, offset, pinfo, tree);
5749 offset=lustre_dissect_element_ldlm_reply_lock_policy_res2(tvb, offset, pinfo, tree);
5751 proto_item_set_len(item, offset-old_offset);
5759 /* IDL: struct mgs_send_param { */
5760 /* IDL: uint8 mgs_param[1024]; */
5766 lustre_dissect_element_mgs_send_param_mgs_param_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5768 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_send_param_mgs_param);
5774 lustre_dissect_element_mgs_send_param_mgs_param(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5777 for (i = 0; i < 1024; i++)
5778 offset=lustre_dissect_element_mgs_send_param_mgs_param_(tvb, offset, pinfo, tree);
5784 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_)
5786 proto_item *item = NULL;
5787 proto_tree *tree = NULL;
5794 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5795 tree = proto_item_add_subtree(item, ett_lustre_mgs_send_param);
5798 offset=lustre_dissect_element_mgs_send_param_mgs_param(tvb, offset, pinfo, tree);
5801 proto_item_set_len(item, offset-old_offset);
5806 /* IDL: struct mgs_target_info { */
5807 /* IDL: uint32 mti_lustre_ver; */
5808 /* IDL: uint32 mti_stripe_index; */
5809 /* IDL: uint32 mti_config_ver; */
5810 /* IDL: uint32 mti_flags; */
5811 /* IDL: uint32 mti_nid_count; */
5812 /* IDL: uint32 padding; */
5813 /* IDL: uint8 mti_fsname[64]; */
5814 /* IDL: uint8 mti_svname[64]; */
5815 /* IDL: uint8 mti_uuid[40]; */
5816 /* IDL: uint64 mti_nids[32]; */
5817 /* IDL: uint8 mti_params[4096]; */
5821 lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5823 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_lustre_ver);
5829 lustre_dissect_element_mgs_target_info_mti_stripe_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5831 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_stripe_index);
5837 lustre_dissect_element_mgs_target_info_mti_config_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5839 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_config_ver);
5845 lustre_dissect_element_mgs_target_info_mti_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5847 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_flags);
5853 lustre_dissect_element_mgs_target_info_mti_nid_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5855 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nid_count);
5861 lustre_dissect_element_mgs_target_info_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5863 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_padding);
5869 lustre_dissect_element_mgs_target_info_mti_fsname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5871 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_fsname);
5877 lustre_dissect_element_mgs_target_info_mti_fsname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5880 for (i = 0; i < 64; i++)
5881 offset=lustre_dissect_element_mgs_target_info_mti_fsname_(tvb, offset, pinfo, tree);
5891 lustre_dissect_element_mgs_target_info_mti_svname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5893 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_svname);
5899 lustre_dissect_element_mgs_target_info_mti_svname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5902 for (i = 0; i < 64; i++)
5903 offset=lustre_dissect_element_mgs_target_info_mti_svname_(tvb, offset, pinfo, tree);
5909 lustre_dissect_element_mgs_target_info_mti_uuid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5911 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_uuid);
5917 lustre_dissect_element_mgs_target_info_mti_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5920 for (i = 0; i < 40; i++)
5921 offset=lustre_dissect_element_mgs_target_info_mti_uuid_(tvb, offset, pinfo, tree);
5931 lustre_dissect_element_mgs_target_info_mti_nids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5933 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nids);
5939 lustre_dissect_element_mgs_target_info_mti_nids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5942 for (i = 0; i < 32; i++)
5943 offset=lustre_dissect_element_mgs_target_info_mti_nids_(tvb, offset, pinfo, tree);
5951 lustre_dissect_element_mgs_target_info_mti_params_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5953 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_params);
5959 lustre_dissect_element_mgs_target_info_mti_params(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5962 for (i = 0; i < 4096; i++)
5963 offset=lustre_dissect_element_mgs_target_info_mti_params_(tvb, offset, pinfo, tree);
5969 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_)
5971 proto_item *item = NULL;
5972 proto_tree *tree = NULL;
5980 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5981 tree = proto_item_add_subtree(item, ett_lustre_mgs_target_info);
5984 offset=lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvb, offset, pinfo, tree);
5986 offset=lustre_dissect_element_mgs_target_info_mti_stripe_index(tvb, offset, pinfo, tree);
5988 offset=lustre_dissect_element_mgs_target_info_mti_config_ver(tvb, offset, pinfo, tree);
5990 offset=lustre_dissect_element_mgs_target_info_mti_flags(tvb, offset, pinfo, tree);
5992 offset=lustre_dissect_element_mgs_target_info_mti_nid_count(tvb, offset, pinfo, tree);
5994 offset=lustre_dissect_element_mgs_target_info_padding(tvb, offset, pinfo, tree);
5996 offset=lustre_dissect_element_mgs_target_info_mti_fsname(tvb, offset, pinfo, tree);
5998 offset=lustre_dissect_element_mgs_target_info_mti_svname(tvb, offset, pinfo, tree);
6000 offset=lustre_dissect_element_mgs_target_info_mti_uuid(tvb, offset, pinfo, tree);
6002 offset=lustre_dissect_element_mgs_target_info_mti_nids(tvb, offset, pinfo, tree);
6004 offset=lustre_dissect_element_mgs_target_info_mti_params(tvb, offset, pinfo, tree);
6007 proto_item_set_len(item, offset-old_offset);
6012 /* IDL: struct cfg_marker { */
6013 /* IDL: uint32 cm_step; */
6014 /* IDL: uint32 cm_flags; */
6015 /* IDL: uint32 cm_vers; */
6016 /* IDL: uint32 padding; */
6017 /* IDL: time_t cm_createtime; */
6018 /* IDL: time_t cm_canceltime; */
6019 /* IDL: uint8 cm_tgtname[64]; */
6020 /* IDL: uint8 cm_comment[64]; */
6024 lustre_dissect_element_cfg_marker_cm_step(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6026 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_step);
6032 lustre_dissect_element_cfg_marker_cm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6034 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_flags);
6040 lustre_dissect_element_cfg_marker_cm_vers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6042 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_vers);
6048 lustre_dissect_element_cfg_marker_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6050 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_padding);
6056 lustre_dissect_element_cfg_marker_cm_createtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6058 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_createtime );
6059 /*g_print("function lustre_dissect_element_cfg_marker_cm_createtime don't work\n");*/
6064 lustre_dissect_element_cfg_marker_cm_canceltime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6066 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_canceltime);
6068 /*g_print("element_cfg_marker_cm_canceltime\n");*/
6075 lustre_dissect_element_cfg_marker_cm_tgtname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6077 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_tgtname);
6083 lustre_dissect_element_cfg_marker_cm_tgtname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6086 for (i = 0; i < 64; i++)
6087 offset=lustre_dissect_element_cfg_marker_cm_tgtname_(tvb, offset, pinfo, tree);
6095 lustre_dissect_element_cfg_marker_cm_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6097 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_comment);
6103 lustre_dissect_element_cfg_marker_cm_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6106 for (i = 0; i < 64; i++)
6107 offset=lustre_dissect_element_cfg_marker_cm_comment_(tvb, offset, pinfo, tree);
6113 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_)
6115 proto_item *item = NULL;
6116 proto_tree *tree = NULL;
6124 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6125 tree = proto_item_add_subtree(item, ett_lustre_cfg_marker);
6128 offset=lustre_dissect_element_cfg_marker_cm_step(tvb, offset, pinfo, tree);
6130 offset=lustre_dissect_element_cfg_marker_cm_flags(tvb, offset, pinfo, tree);
6132 offset=lustre_dissect_element_cfg_marker_cm_vers(tvb, offset, pinfo, tree);
6134 offset=lustre_dissect_element_cfg_marker_padding(tvb, offset, pinfo, tree);
6136 offset=lustre_dissect_element_cfg_marker_cm_createtime(tvb, offset, pinfo, tree);
6138 offset=lustre_dissect_element_cfg_marker_cm_canceltime(tvb, offset, pinfo, tree);
6140 offset=lustre_dissect_element_cfg_marker_cm_tgtname(tvb, offset, pinfo, tree);
6142 offset=lustre_dissect_element_cfg_marker_cm_comment(tvb, offset, pinfo, tree);
6145 proto_item_set_len(item, offset-old_offset);
6152 /* IDL: struct llog_logid { */
6153 /* IDL: uint64 lgl_oid; */
6154 /* IDL: uint64 lgl_oseq; */
6155 /* IDL: uint32 lgl_ogen; */
6159 lustre_dissect_element_llog_logid_lgl_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6161 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oid);
6167 lustre_dissect_element_llog_logid_lgl_oseq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6169 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oseq);
6175 lustre_dissect_element_llog_logid_lgl_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6177 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_ogen);
6183 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_)
6185 proto_item *item = NULL;
6186 proto_tree *tree = NULL;
6194 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6195 tree = proto_item_add_subtree(item, ett_lustre_llog_logid);
6198 offset=lustre_dissect_element_llog_logid_lgl_oid(tvb, offset, pinfo, tree);
6200 offset=lustre_dissect_element_llog_logid_lgl_oseq(tvb, offset, pinfo, tree);
6202 offset=lustre_dissect_element_llog_logid_lgl_ogen(tvb, offset, pinfo, tree);
6205 proto_item_set_len(item, offset-old_offset);
6210 /* I don't know when this structure is used on network */
6211 /* IDL: struct llog_catid { */
6212 /* IDL: struct llog_logid { */
6213 /* IDL: } lci_logid; */
6214 /* IDL: uint32 lci_padding1; */
6215 /* IDL: uint32 lci_padding2; */
6216 /* IDL: uint32 lci_padding3; */
6220 lustre_dissect_element_llog_catid_lci_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6222 //offset=lustre_dissect_struct_HASH(0x85cc76c)(tvb,offset,pinfo,tree,hf_lustre_llog_catid_lci_logid);
6224 /*g_print("llog_catid_lci_logid bug\n");*/
6229 lustre_dissect_element_llog_catid_lci_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6231 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding1);
6237 lustre_dissect_element_llog_catid_lci_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6239 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding2);
6245 lustre_dissect_element_llog_catid_lci_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6247 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding3);
6253 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_)
6255 proto_item *item = NULL;
6256 proto_tree *tree = NULL;
6264 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6265 tree = proto_item_add_subtree(item, ett_lustre_llog_catid);
6268 offset=lustre_dissect_element_llog_catid_lci_logid(tvb, offset, pinfo, tree);
6270 offset=lustre_dissect_element_llog_catid_lci_padding1(tvb, offset, pinfo, tree);
6272 offset=lustre_dissect_element_llog_catid_lci_padding2(tvb, offset, pinfo, tree);
6274 offset=lustre_dissect_element_llog_catid_lci_padding3(tvb, offset, pinfo, tree);
6277 proto_item_set_len(item, offset-old_offset);
6282 /* IDL: struct llog_rec_hdr { */
6283 /* IDL: uint32 lrh_len; */
6284 /* IDL: uint32 lrh_index; */
6285 /* IDL: uint32 lrh_type; */
6286 /* IDL: uint32 padding; */
6290 lustre_dissect_element_llog_rec_hdr_lrh_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6292 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_len);
6298 lustre_dissect_element_llog_rec_hdr_lrh_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6300 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_index);
6306 lustre_dissect_element_llog_rec_hdr_lrh_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6308 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_type);
6314 lustre_dissect_element_llog_rec_hdr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6316 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_padding);
6322 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_)
6324 proto_item *item = NULL;
6325 proto_tree *tree = NULL;
6333 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6334 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_hdr);
6337 offset=lustre_dissect_element_llog_rec_hdr_lrh_len(tvb, offset, pinfo, tree);
6339 offset=lustre_dissect_element_llog_rec_hdr_lrh_index(tvb, offset, pinfo, tree);
6341 offset=lustre_dissect_element_llog_rec_hdr_lrh_type(tvb, offset, pinfo, tree);
6343 offset=lustre_dissect_element_llog_rec_hdr_padding(tvb, offset, pinfo, tree);
6346 proto_item_set_len(item, offset-old_offset);
6351 /* IDL: struct llog_rec_tail { */
6352 /* IDL: uint32 lrt_len; */
6353 /* IDL: uint32 lrt_index; */
6357 lustre_dissect_element_llog_rec_tail_lrt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6359 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_len);
6365 lustre_dissect_element_llog_rec_tail_lrt_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6367 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_index);
6373 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_)
6375 proto_item *item = NULL;
6376 proto_tree *tree = NULL;
6384 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6385 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_tail);
6388 offset=lustre_dissect_element_llog_rec_tail_lrt_len(tvb, offset, pinfo, tree);
6390 offset=lustre_dissect_element_llog_rec_tail_lrt_index(tvb, offset, pinfo, tree);
6393 proto_item_set_len(item, offset-old_offset);
6398 /* IDL: struct llog_logid_rec { */
6399 /* IDL: struct llog_rec_hdr { */
6400 /* IDL: } lid_hdr; */
6401 /* IDL: struct llog_logid { */
6402 /* IDL: } lid_id; */
6403 /* IDL: uint32 padding1; */
6404 /* IDL: uint32 padding2; */
6405 /* IDL: uint32 padding3; */
6406 /* IDL: uint32 padding4; */
6407 /* IDL: uint32 padding5; */
6408 /* IDL: struct llog_rec_tail { */
6409 /* IDL: } lid_tail; */
6413 lustre_dissect_element_llog_logid_rec_lid_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6415 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_hdr);
6420 lustre_dissect_element_llog_logid_rec_lid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6422 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_id);
6427 lustre_dissect_element_llog_logid_rec_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6429 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding1);
6435 lustre_dissect_element_llog_logid_rec_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6437 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding2);
6443 lustre_dissect_element_llog_logid_rec_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6445 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding3);
6451 lustre_dissect_element_llog_logid_rec_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6453 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding4);
6459 lustre_dissect_element_llog_logid_rec_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6461 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding5);
6467 lustre_dissect_element_llog_logid_rec_lid_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6469 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_tail);
6474 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_)
6476 proto_item *item = NULL;
6477 proto_tree *tree = NULL;
6485 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6486 tree = proto_item_add_subtree(item, ett_lustre_llog_logid_rec);
6489 offset=lustre_dissect_element_llog_logid_rec_lid_hdr(tvb, offset, pinfo, tree);
6491 offset=lustre_dissect_element_llog_logid_rec_lid_id(tvb, offset, pinfo, tree);
6493 offset=lustre_dissect_element_llog_logid_rec_padding1(tvb, offset, pinfo, tree);
6495 offset=lustre_dissect_element_llog_logid_rec_padding2(tvb, offset, pinfo, tree);
6497 offset=lustre_dissect_element_llog_logid_rec_padding3(tvb, offset, pinfo, tree);
6499 offset=lustre_dissect_element_llog_logid_rec_padding4(tvb, offset, pinfo, tree);
6501 offset=lustre_dissect_element_llog_logid_rec_padding5(tvb, offset, pinfo, tree);
6503 offset=lustre_dissect_element_llog_logid_rec_lid_tail(tvb, offset, pinfo, tree);
6506 proto_item_set_len(item, offset-old_offset);
6511 /* IDL: struct llog_create_rec { */
6512 /* IDL: struct llog_rec_hdr { */
6513 /* IDL: } lcr_hdr; */
6514 /* IDL: struct ll_fid { */
6515 /* IDL: } lcr_fid; */
6516 /* IDL: uint64 lcr_oid; */
6517 /* IDL: uint32 lcr_ogen; */
6518 /* IDL: uint32 padding; */
6519 /* IDL: struct llog_rec_tail { */
6520 /* IDL: } lcr_tail; */
6524 lustre_dissect_element_llog_create_rec_lcr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6526 //offset=lustre_dissect_struct_HASH(0x85d56e0)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_hdr);
6532 lustre_dissect_element_llog_create_rec_lcr_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6534 //offset=lustre_dissect_struct_HASH(0x85d5830)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_fid);
6540 lustre_dissect_element_llog_create_rec_lcr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6542 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_lcr_oid);
6548 lustre_dissect_element_llog_create_rec_lcr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6550 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_lcr_ogen);
6556 lustre_dissect_element_llog_create_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6558 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_create_rec_padding);
6564 lustre_dissect_element_llog_create_rec_lcr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6566 //offset=lustre_dissect_struct_HASH(0x85d69dc)(tvb,offset,pinfo,tree,hf_lustre_llog_create_rec_lcr_tail);
6572 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_)
6574 proto_item *item = NULL;
6575 proto_tree *tree = NULL;
6583 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6584 tree = proto_item_add_subtree(item, ett_lustre_llog_create_rec);
6587 offset=lustre_dissect_element_llog_create_rec_lcr_hdr(tvb, offset, pinfo, tree);
6589 offset=lustre_dissect_element_llog_create_rec_lcr_fid(tvb, offset, pinfo, tree);
6591 offset=lustre_dissect_element_llog_create_rec_lcr_oid(tvb, offset, pinfo, tree);
6593 offset=lustre_dissect_element_llog_create_rec_lcr_ogen(tvb, offset, pinfo, tree);
6595 offset=lustre_dissect_element_llog_create_rec_padding(tvb, offset, pinfo, tree);
6597 offset=lustre_dissect_element_llog_create_rec_lcr_tail(tvb, offset, pinfo, tree);
6600 proto_item_set_len(item, offset-old_offset);
6608 /* IDL: struct llog_orphan_rec { */
6609 /* IDL: struct llog_rec_hdr { */
6610 /* IDL: } lor_hdr; */
6611 /* IDL: uint64 lor_oid; */
6612 /* IDL: uint32 lor_ogen; */
6613 /* IDL: uint32 padding; */
6614 /* IDL: struct llog_rec_tail { */
6615 /* IDL: } lor_tail; */
6619 lustre_dissect_element_llog_orphan_rec_lor_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6621 //offset=lustre_dissect_struct_HASH(0x85d767c)(tvb,offset,pinfo,tree,hf_lustre_llog_orphan_rec_lor_hdr);
6627 lustre_dissect_element_llog_orphan_rec_lor_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6629 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_lor_oid);
6635 lustre_dissect_element_llog_orphan_rec_lor_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6637 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_lor_ogen);
6643 lustre_dissect_element_llog_orphan_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6645 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_orphan_rec_padding);
6651 lustre_dissect_element_llog_orphan_rec_lor_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6653 //offset=lustre_dissect_struct_HASH(0x85d8550)(tvb,offset,pinfo,tree,hf_lustre_llog_orphan_rec_lor_tail);
6658 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_)
6660 proto_item *item = NULL;
6661 proto_tree *tree = NULL;
6669 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6670 tree = proto_item_add_subtree(item, ett_lustre_llog_orphan_rec);
6673 offset=lustre_dissect_element_llog_orphan_rec_lor_hdr(tvb, offset, pinfo, tree);
6675 offset=lustre_dissect_element_llog_orphan_rec_lor_oid(tvb, offset, pinfo, tree);
6677 offset=lustre_dissect_element_llog_orphan_rec_lor_ogen(tvb, offset, pinfo, tree);
6679 offset=lustre_dissect_element_llog_orphan_rec_padding(tvb, offset, pinfo, tree);
6681 offset=lustre_dissect_element_llog_orphan_rec_lor_tail(tvb, offset, pinfo, tree);
6684 proto_item_set_len(item, offset-old_offset);
6691 /* IDL: struct llog_unlink_rec { */
6692 /* IDL: struct llog_rec_hdr { */
6693 /* IDL: } lur_hdr; */
6694 /* IDL: uint64 lur_oid; */
6695 /* IDL: uint32 lur_ogen; */
6696 /* IDL: uint32 padding; */
6697 /* IDL: struct llog_rec_tail { */
6698 /* IDL: } lur_tail; */
6702 lustre_dissect_element_llog_unlink_rec_lur_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6704 //offset=lustre_dissect_struct_HASH(0x85d8730)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_hdr);
6709 lustre_dissect_element_llog_unlink_rec_lur_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6711 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_oid);
6717 lustre_dissect_element_llog_unlink_rec_lur_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6719 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_ogen);
6725 lustre_dissect_element_llog_unlink_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6727 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_padding);
6733 lustre_dissect_element_llog_unlink_rec_lur_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6735 //offset=lustre_dissect_struct_HASH(0x85d9664)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_tail);
6740 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_)
6742 proto_item *item = NULL;
6743 proto_tree *tree = NULL;
6751 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6752 tree = proto_item_add_subtree(item, ett_lustre_llog_unlink_rec);
6755 offset=lustre_dissect_element_llog_unlink_rec_lur_hdr(tvb, offset, pinfo, tree);
6757 offset=lustre_dissect_element_llog_unlink_rec_lur_oid(tvb, offset, pinfo, tree);
6759 offset=lustre_dissect_element_llog_unlink_rec_lur_ogen(tvb, offset, pinfo, tree);
6761 offset=lustre_dissect_element_llog_unlink_rec_padding(tvb, offset, pinfo, tree);
6763 offset=lustre_dissect_element_llog_unlink_rec_lur_tail(tvb, offset, pinfo, tree);
6766 proto_item_set_len(item, offset-old_offset);
6773 /* IDL: struct llog_setattr_rec { */
6774 /* IDL: struct llog_rec_hdr { */
6775 /* IDL: } lsr_hdr; */
6776 /* IDL: uint64 lsr_oid; */
6777 /* IDL: uint32 lsr_ogen; */
6778 /* IDL: uint32 lsr_uid; */
6779 /* IDL: uint32 lsr_gid; */
6780 /* IDL: uint32 padding; */
6781 /* IDL: struct llog_rec_tail { */
6782 /* IDL: } lsr_tail; */
6786 lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6788 //offset=lustre_dissect_struct_HASH(0x85da2f0)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_hdr);
6793 lustre_dissect_element_llog_setattr_rec_lsr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6795 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_oid);
6801 lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6803 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_ogen);
6809 lustre_dissect_element_llog_setattr_rec_lsr_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6811 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_uid);
6817 lustre_dissect_element_llog_setattr_rec_lsr_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6819 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_gid);
6825 lustre_dissect_element_llog_setattr_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6827 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_padding);
6833 lustre_dissect_element_llog_setattr_rec_lsr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6835 //offset=lustre_dissect_struct_HASH(0x85db3d4)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_tail);
6840 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_)
6842 proto_item *item = NULL;
6843 proto_tree *tree = NULL;
6851 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6852 tree = proto_item_add_subtree(item, ett_lustre_llog_setattr_rec);
6855 offset=lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvb, offset, pinfo, tree);
6857 offset=lustre_dissect_element_llog_setattr_rec_lsr_oid(tvb, offset, pinfo, tree);
6859 offset=lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvb, offset, pinfo, tree);
6861 offset=lustre_dissect_element_llog_setattr_rec_lsr_uid(tvb, offset, pinfo, tree);
6863 offset=lustre_dissect_element_llog_setattr_rec_lsr_gid(tvb, offset, pinfo, tree);
6865 offset=lustre_dissect_element_llog_setattr_rec_padding(tvb, offset, pinfo, tree);
6867 offset=lustre_dissect_element_llog_setattr_rec_lsr_tail(tvb, offset, pinfo, tree);
6870 proto_item_set_len(item, offset-old_offset);
6878 /* IDL: struct llog_size_change_rec { */
6879 /* IDL: struct llog_rec_hdr { */
6880 /* IDL: } lsc_hdr; */
6881 /* IDL: struct ll_fid { */
6882 /* IDL: } lsc_fid; */
6883 /* IDL: uint32 lsc_io_epoch; */
6884 /* IDL: uint32 padding; */
6885 /* IDL: struct llog_rec_tail { */
6886 /* IDL: } lsc_tail; */
6890 lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6892 //offset=lustre_dissect_struct_HASH(0x85dc458)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_hdr);
6897 lustre_dissect_element_llog_size_change_rec_lsc_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6899 //offset=lustre_dissect_struct_HASH(0x85dc5a8)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_fid);
6904 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_)
6906 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_lsc_io_epoch);
6912 lustre_dissect_element_llog_size_change_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6914 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_padding);
6920 lustre_dissect_element_llog_size_change_rec_lsc_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6922 //offset=lustre_dissect_struct_HASH(0x85dd384)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_tail);
6923 // TODO: to be corrected !
6928 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_)
6930 proto_item *item = NULL;
6931 proto_tree *tree = NULL;
6939 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6940 tree = proto_item_add_subtree(item, ett_lustre_llog_size_change_rec);
6943 offset=lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvb, offset, pinfo, tree);
6945 offset=lustre_dissect_element_llog_size_change_rec_lsc_fid(tvb, offset, pinfo, tree);
6947 offset=lustre_dissect_element_llog_size_change_rec_lsc_io_epoch(tvb, offset, pinfo, tree);
6949 offset=lustre_dissect_element_llog_size_change_rec_padding(tvb, offset, pinfo, tree);
6951 offset=lustre_dissect_element_llog_size_change_rec_lsc_tail(tvb, offset, pinfo, tree);
6954 proto_item_set_len(item, offset-old_offset);
6962 /* IDL: struct llog_gen { */
6963 /* IDL: uint64 mnt_cnt; */
6964 /* IDL: uint64 conn_cnt; */
6968 lustre_dissect_element_llog_gen_mnt_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6970 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_mnt_cnt);
6976 lustre_dissect_element_llog_gen_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6978 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_conn_cnt);
6984 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_)
6986 proto_item *item = NULL;
6987 proto_tree *tree = NULL;
6995 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6996 tree = proto_item_add_subtree(item, ett_lustre_llog_gen);
6999 offset=lustre_dissect_element_llog_gen_mnt_cnt(tvb, offset, pinfo, tree);
7001 offset=lustre_dissect_element_llog_gen_conn_cnt(tvb, offset, pinfo, tree);
7004 proto_item_set_len(item, offset-old_offset);
7009 /* IDL: struct llog_gen_rec { */
7010 /* IDL: struct llog_rec_hdr { */
7011 /* IDL: } lgr_hdr; */
7012 /* IDL: struct llog_gen { */
7013 /* IDL: } lgr_gen; */
7014 /* IDL: struct llog_rec_tail { */
7015 /* IDL: } lgr_tail; */
7019 lustre_dissect_element_llog_gen_rec_lgr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7021 //offset=lustre_dissect_struct_HASH(0x85de2e4)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_hdr);
7022 // TODO: to be corrected !
7027 lustre_dissect_element_llog_gen_rec_lgr_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7029 //offset=lustre_dissect_struct_HASH(0x85de434)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_gen);
7030 // TODO: to be corrected !
7035 lustre_dissect_element_llog_gen_rec_lgr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7037 //offset=lustre_dissect_struct_HASH(0x85df3f8)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_tail);
7038 // TODO: to be corrected !
7043 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_)
7045 proto_item *item = NULL;
7046 proto_tree *tree = NULL;
7054 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7055 tree = proto_item_add_subtree(item, ett_lustre_llog_gen_rec);
7058 offset=lustre_dissect_element_llog_gen_rec_lgr_hdr(tvb, offset, pinfo, tree);
7060 offset=lustre_dissect_element_llog_gen_rec_lgr_gen(tvb, offset, pinfo, tree);
7062 offset=lustre_dissect_element_llog_gen_rec_lgr_tail(tvb, offset, pinfo, tree);
7065 proto_item_set_len(item, offset-old_offset);
7073 /* IDL: struct llog_log_hdr { */
7074 /* IDL: struct llog_rec_hdr { */
7075 /* IDL: } llh_hdr; */
7076 /* IDL: uint64 llh_timestamp; */
7077 /* IDL: uint32 llh_count; */
7078 /* IDL: uint32 llh_bitmap_offset; */
7079 /* IDL: uint32 llh_size; */
7080 /* IDL: uint32 llh_flags; */
7081 /* IDL: uint32 llh_cat_idx; */
7082 /* IDL: struct obd_uuid { */
7083 /* IDL: } llh_tgtuuid; */
7084 /* IDL: uint32 llh_reserved[1]; */
7085 /* IDL: uint32 llh_bitmap[2024]; */
7086 /* IDL: struct llog_rec_tail { */
7087 /* IDL: } llh_tail; */
7091 lustre_dissect_element_llog_log_hdr_llh_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7093 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_hdr);
7098 lustre_dissect_element_llog_log_hdr_llh_timestamp(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7101 ns.secs = tvb_get_letohl(tvb,offset);
7103 proto_tree_add_time(tree, hf_lustre_llog_log_hdr_llh_timestamp, tvb, offset, 8, &ns );
7109 lustre_dissect_element_llog_log_hdr_llh_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7111 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_count);
7117 lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7119 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap_offset);
7125 lustre_dissect_element_llog_log_hdr_llh_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7127 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_size);
7135 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_)
7137 proto_item *item = NULL;
7138 proto_tree *tree = NULL;
7141 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
7142 tree = proto_item_add_subtree(item, ett_lustre_llog_log_llh_flags);
7144 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_zap_when_empty);
7145 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_cat);
7146 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_play);
7153 lustre_dissect_element_llog_log_hdr_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7155 // offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7156 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7161 lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7163 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_cat_idx);
7169 lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7171 offset=lustre_dissect_struct_obd_uuid(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tgtuuid);
7176 lustre_dissect_element_llog_log_hdr_llh_reserved_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7178 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_reserved);
7184 lustre_dissect_element_llog_log_hdr_llh_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7187 for (i = 0; i < 1; i++)
7188 offset=lustre_dissect_element_llog_log_hdr_llh_reserved_(tvb, offset, pinfo, tree);
7194 lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7196 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap);
7203 lustre_dissect_element_llog_log_hdr_llh_bitmap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7206 for (i = 0; i < 2024; i++)
7207 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvb, offset, pinfo, tree);
7215 lustre_dissect_element_llog_log_hdr_llh_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7217 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tail);
7222 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_)
7224 proto_item *item = NULL;
7225 proto_tree *tree = NULL;
7233 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7234 tree = proto_item_add_subtree(item, ett_lustre_llog_log_hdr);
7237 offset=lustre_dissect_element_llog_log_hdr_llh_hdr(tvb, offset, pinfo, tree);
7239 offset=lustre_dissect_element_llog_log_hdr_llh_timestamp(tvb, offset, pinfo, tree);
7241 offset=lustre_dissect_element_llog_log_hdr_llh_count(tvb, offset, pinfo, tree);
7243 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvb, offset, pinfo, tree);
7245 offset=lustre_dissect_element_llog_log_hdr_llh_size(tvb, offset, pinfo, tree);
7247 offset=lustre_dissect_element_llog_log_hdr_llh_flags(tvb, offset, pinfo, tree);
7249 offset=lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvb, offset, pinfo, tree);
7251 offset=lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvb, offset, pinfo, tree);
7253 offset=lustre_dissect_element_llog_log_hdr_llh_reserved(tvb, offset, pinfo, tree);
7255 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap(tvb, offset, pinfo, tree);
7257 offset=lustre_dissect_element_llog_log_hdr_llh_tail(tvb, offset, pinfo, tree);
7260 proto_item_set_len(item, offset-old_offset);
7268 /* IDL: struct llog_cookie { */
7269 /* IDL: struct llog_logid { */
7270 /* IDL: } lgc_lgl; */
7271 /* IDL: uint32 lgc_subsys; */
7272 /* IDL: uint32 lgc_index; */
7273 /* IDL: uint32 lgc_padding; */
7277 lustre_dissect_element_llog_cookie_lgc_lgl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7279 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_cookie_lgc_lgl);
7284 lustre_dissect_element_llog_cookie_lgc_subsys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7286 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_subsys);
7292 lustre_dissect_element_llog_cookie_lgc_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7294 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_index);
7300 lustre_dissect_element_llog_cookie_lgc_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7302 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_padding);
7308 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_)
7310 proto_item *item = NULL;
7311 proto_tree *tree = NULL;
7319 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7320 tree = proto_item_add_subtree(item, ett_lustre_llog_cookie);
7323 offset=lustre_dissect_element_llog_cookie_lgc_lgl(tvb, offset, pinfo, tree);
7325 offset=lustre_dissect_element_llog_cookie_lgc_subsys(tvb, offset, pinfo, tree);
7327 offset=lustre_dissect_element_llog_cookie_lgc_index(tvb, offset, pinfo, tree);
7329 offset=lustre_dissect_element_llog_cookie_lgc_padding(tvb, offset, pinfo, tree);
7332 proto_item_set_len(item, offset-old_offset);
7339 /* IDL: struct llogd_body { */
7340 /* IDL: struct llog_logid { */
7341 /* IDL: } lgd_logid; */
7342 /* IDL: uint32 lgd_ctxt_idx; */
7343 /* IDL: uint32 lgd_llh_flags; */
7344 /* IDL: uint32 lgd_index; */
7345 /* IDL: uint32 lgd_saved_index; */
7346 /* IDL: uint32 lgd_len; */
7347 /* IDL: uint64 lgd_cur_offset; */
7351 lustre_dissect_element_llogd_body_lgd_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7353 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llogd_body_lgd_logid);
7358 lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7360 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_ctxt_idx);
7366 lustre_dissect_element_llogd_body_lgd_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7368 //offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7370 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7376 lustre_dissect_element_llogd_body_lgd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7378 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_index);
7384 lustre_dissect_element_llogd_body_lgd_saved_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7386 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_saved_index);
7392 lustre_dissect_element_llogd_body_lgd_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7394 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_len);
7400 lustre_dissect_element_llogd_body_lgd_cur_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7402 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_cur_offset);
7408 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_)
7410 proto_item *item = NULL;
7411 proto_tree *tree = NULL;
7419 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7420 tree = proto_item_add_subtree(item, ett_lustre_llogd_body);
7423 offset=lustre_dissect_element_llogd_body_lgd_logid(tvb, offset, pinfo, tree);
7425 offset=lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvb, offset, pinfo, tree);
7427 offset=lustre_dissect_element_llogd_body_lgd_llh_flags(tvb, offset, pinfo, tree);
7429 offset=lustre_dissect_element_llogd_body_lgd_index(tvb, offset, pinfo, tree);
7431 offset=lustre_dissect_element_llogd_body_lgd_saved_index(tvb, offset, pinfo, tree);
7433 offset=lustre_dissect_element_llogd_body_lgd_len(tvb, offset, pinfo, tree);
7435 offset=lustre_dissect_element_llogd_body_lgd_cur_offset(tvb, offset, pinfo, tree);
7438 proto_item_set_len(item, offset-old_offset);
7444 /* TODO : find when this Structure appear on the wire */
7445 /* IDL: struct llogd_conn_body { */
7446 /* IDL: struct llog_gen { */
7447 /* IDL: } lgdc_gen; */
7448 /* IDL: struct llog_logid { */
7449 /* IDL: } lgdc_logid; */
7450 /* IDL: uint32 lgdc_ctxt_idx; */
7454 lustre_dissect_element_llogd_conn_body_lgdc_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7456 //offset=lustre_dissect_struct_HASH(0x85e6038)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_gen);
7461 lustre_dissect_element_llogd_conn_body_lgdc_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7463 //offset=lustre_dissect_struct_HASH(0x85e6188)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_logid);
7468 lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7470 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_conn_body_lgdc_ctxt_idx);
7476 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_)
7478 proto_item *item = NULL;
7479 proto_tree *tree = NULL;
7487 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7488 tree = proto_item_add_subtree(item, ett_lustre_llogd_conn_body);
7491 offset=lustre_dissect_element_llogd_conn_body_lgdc_gen(tvb, offset, pinfo, tree);
7493 offset=lustre_dissect_element_llogd_conn_body_lgdc_logid(tvb, offset, pinfo, tree);
7495 offset=lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvb, offset, pinfo, tree);
7498 proto_item_set_len(item, offset-old_offset);
7503 /* IDL: struct obdo { */
7504 /* IDL: uint64 o_valid; */
7505 /* IDL: uint64 o_id; */
7506 /* IDL: uint64 o_seq; */
7507 /* IDL: uint64 o_parent_seq; */
7508 /* IDL: uint64 o_size; */
7509 /* IDL: uint64 o_mtime; */
7510 /* IDL: uint64 o_atime; */
7511 /* IDL: uint64 o_ctime; */
7512 /* IDL: uint64 o_blocks; */
7513 /* IDL: uint64 o_grant; */
7514 /* IDL: uint32 o_blksize; */
7515 /* IDL: uint32 o_mode; */
7516 /* IDL: uint32 o_uid; */
7517 /* IDL: uint32 o_gid; */
7518 /* IDL: uint32 o_flags; */
7519 /* IDL: uint32 o_nlink; */
7520 /* IDL: uint32 o_parent_oid; */
7521 /* IDL: uint32 o_misc; */
7522 /* IDL: uint64 o_ioepoch; */
7523 /* IDL: uint32 o_stripe_idx; */
7524 /* IDL: uint32 o_parent_ver; */
7525 /* IDL: struct lustre_handle { */
7526 /* IDL: } o_handle; */
7527 /* IDL: struct llog_cookie { */
7528 /* IDL: } o_lcookie; */
7529 /* IDL: uint32 o_uid_h; */
7530 /* IDL: uint32 o_gid_h; */
7531 /* IDL: uint64 o_padding_3; */
7532 /* IDL: uint64 o_padding_4; */
7533 /* IDL: uint64 o_padding_5; */
7534 /* IDL: uint64 o_padding_6; */
7538 lustre_dissect_element_obdo_o_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7540 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_valid);
7546 lustre_dissect_element_obdo_o_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7548 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_id);
7554 lustre_dissect_element_obdo_o_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7556 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_seq);
7562 lustre_dissect_element_obdo_o_parent_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7564 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_seq);
7570 lustre_dissect_element_obdo_o_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7572 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_size);
7578 lustre_dissect_element_obdo_o_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7582 ns.secs = tvb_get_letohl(tvb,offset);
7584 proto_tree_add_time(tree, hf_lustre_obdo_o_mtime, tvb, offset, 8, &ns );
7590 lustre_dissect_element_obdo_o_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7594 ns.secs = tvb_get_letohl(tvb,offset);
7596 proto_tree_add_time(tree, hf_lustre_obdo_o_atime, tvb, offset, 8, &ns );
7603 lustre_dissect_element_obdo_o_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7607 ns.secs = tvb_get_letohl(tvb,offset);
7609 proto_tree_add_time(tree, hf_lustre_obdo_o_ctime, tvb, offset, 8, &ns );
7615 lustre_dissect_element_obdo_o_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7617 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blocks);
7623 lustre_dissect_element_obdo_o_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7625 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_grant);
7631 lustre_dissect_element_obdo_o_blksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7633 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blksize);
7639 lustre_dissect_element_obdo_o_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7641 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_mode);
7647 lustre_dissect_element_obdo_o_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7649 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid);
7655 lustre_dissect_element_obdo_o_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7657 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid);
7663 lustre_dissect_element_obdo_o_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7665 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_flags);
7666 /* TODO rajouter ça , faire une fonction générique qui s'occupe de tous les flags d'un tableau. */
7668 /*0x00000001 : "OBD_FL_INLINEDATA",*/
7669 /*0x00000002 : "OBD_FL_OBDMDEXISTS",*/
7670 /*0x00000004 : "OBD_FL_DELORPHAN",*/
7671 /*0x00000008 : "OBD_FL_NORPC",*/
7672 /*0x00000010 : "OBD_FL_IDONLY",*/
7673 /*0x00000020 : "OBD_FL_RECREATE_OBJS",*/
7674 /*0x00000040 : "OBD_FL_DEBUG_CHECK",*/
7675 /*0x00000100 : "OBD_FL_NO_USRQUOTA",*/
7676 /*0x00000200 : "OBD_FL_NO_GRPQUOTA",*/
7677 /*0x00000400 : "OBD_FL_CREATE_CROW",*/
7678 /*0x00000800 : "OBD_FL_SRVLOCK",*/
7684 lustre_dissect_element_obdo_o_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7686 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_nlink);
7692 lustre_dissect_element_obdo_o_parent_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7694 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_oid);
7700 lustre_dissect_element_obdo_o_misc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7702 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_misc);
7708 lustre_dissect_element_obdo_o_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7710 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_ioepoch);
7716 lustre_dissect_element_obdo_o_stripe_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7718 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_stripe_idx);
7724 lustre_dissect_element_obdo_o_parent_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7726 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_ver);
7732 lustre_dissect_element_obdo_o_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7734 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_handle);
7739 lustre_dissect_element_obdo_o_lcookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7741 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_lcookie);
7746 lustre_dissect_element_obdo_o_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7748 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid_h);
7754 lustre_dissect_element_obdo_o_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7756 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid_h);
7762 lustre_dissect_element_obdo_o_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7764 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_3);
7770 lustre_dissect_element_obdo_o_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7772 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_4);
7778 lustre_dissect_element_obdo_o_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7780 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_5);
7786 lustre_dissect_element_obdo_o_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7788 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_6);
7794 lustre_dissect_struct_obdo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7796 proto_item *item = NULL;
7797 proto_tree *tree = NULL;
7804 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7805 tree = proto_item_add_subtree(item, ett_lustre_obdo);
7808 offset=lustre_dissect_element_obdo_o_valid(tvb, offset, pinfo, tree);
7810 offset=lustre_dissect_element_obdo_o_id(tvb, offset, pinfo, tree);
7812 offset=lustre_dissect_element_obdo_o_seq(tvb, offset, pinfo, tree);
7814 offset=lustre_dissect_element_obdo_o_parent_seq(tvb, offset, pinfo, tree);
7816 offset=lustre_dissect_element_obdo_o_size(tvb, offset, pinfo, tree);
7818 offset=lustre_dissect_element_obdo_o_mtime(tvb, offset, pinfo, tree);
7820 offset=lustre_dissect_element_obdo_o_atime(tvb, offset, pinfo, tree);
7822 offset=lustre_dissect_element_obdo_o_ctime(tvb, offset, pinfo, tree);
7824 offset=lustre_dissect_element_obdo_o_blocks(tvb, offset, pinfo, tree);
7826 offset=lustre_dissect_element_obdo_o_grant(tvb, offset, pinfo, tree);
7828 offset=lustre_dissect_element_obdo_o_blksize(tvb, offset, pinfo, tree);
7830 offset=lustre_dissect_element_obdo_o_mode(tvb, offset, pinfo, tree);
7832 offset=lustre_dissect_element_obdo_o_uid(tvb, offset, pinfo, tree);
7834 offset=lustre_dissect_element_obdo_o_gid(tvb, offset, pinfo, tree);
7836 offset=lustre_dissect_element_obdo_o_flags(tvb, offset, pinfo, tree);
7838 offset=lustre_dissect_element_obdo_o_nlink(tvb, offset, pinfo, tree);
7840 offset=lustre_dissect_element_obdo_o_parent_oid(tvb, offset, pinfo, tree);
7842 offset=lustre_dissect_element_obdo_o_misc(tvb, offset, pinfo, tree);
7844 offset=lustre_dissect_element_obdo_o_ioepoch(tvb, offset, pinfo, tree);
7846 offset=lustre_dissect_element_obdo_o_stripe_idx(tvb, offset, pinfo, tree);
7848 offset=lustre_dissect_element_obdo_o_parent_ver(tvb, offset, pinfo, tree);
7850 offset=lustre_dissect_element_obdo_o_handle(tvb, offset, pinfo, tree);
7852 offset=lustre_dissect_element_obdo_o_lcookie(tvb, offset, pinfo, tree);
7854 offset=lustre_dissect_element_obdo_o_uid_h(tvb, offset, pinfo, tree);
7856 offset=lustre_dissect_element_obdo_o_gid_h(tvb, offset, pinfo, tree);
7858 offset=lustre_dissect_element_obdo_o_padding_3(tvb, offset, pinfo, tree);
7860 offset=lustre_dissect_element_obdo_o_padding_4(tvb, offset, pinfo, tree);
7862 offset=lustre_dissect_element_obdo_o_padding_5(tvb, offset, pinfo, tree);
7864 offset=lustre_dissect_element_obdo_o_padding_6(tvb, offset, pinfo, tree);
7867 proto_item_set_len(item, offset-old_offset);
7874 /* IDL: struct ost_body { */
7875 /* IDL: struct obdo { */
7880 lustre_dissect_element_ost_body_oa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7882 offset=lustre_dissect_struct_obdo(tvb,offset,pinfo,tree,hf_lustre_ost_body_oa);
7887 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_)
7889 proto_item *item = NULL;
7890 proto_tree *tree = NULL;
7896 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7897 tree = proto_item_add_subtree(item, ett_lustre_ost_body);
7900 offset=lustre_dissect_element_ost_body_oa(tvb, offset, pinfo, tree);
7903 proto_item_set_len(item, offset-old_offset);
7909 /* TODO : find when this Structure appear on the wire */
7910 /* IDL: struct qunit_data { */
7911 /* IDL: uint32 qd_id; */
7912 /* IDL: uint32 qd_flags; */
7913 /* IDL: uint64 qd_count; */
7914 /* IDL: uint64 qd_qunit; */
7915 /* IDL: uint64 padding; */
7919 lustre_dissect_element_qunit_data_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7921 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_id);
7927 lustre_dissect_element_qunit_data_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7929 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_flags);
7935 lustre_dissect_element_qunit_data_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7937 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_count);
7943 lustre_dissect_element_qunit_data_qd_qunit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7945 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_qunit);
7951 lustre_dissect_element_qunit_data_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7953 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_padding);
7959 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_)
7961 proto_item *item = NULL;
7962 proto_tree *tree = NULL;
7970 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7971 tree = proto_item_add_subtree(item, ett_lustre_qunit_data);
7974 offset=lustre_dissect_element_qunit_data_qd_id(tvb, offset, pinfo, tree);
7976 offset=lustre_dissect_element_qunit_data_qd_flags(tvb, offset, pinfo, tree);
7978 offset=lustre_dissect_element_qunit_data_qd_count(tvb, offset, pinfo, tree);
7980 offset=lustre_dissect_element_qunit_data_qd_qunit(tvb, offset, pinfo, tree);
7982 offset=lustre_dissect_element_qunit_data_padding(tvb, offset, pinfo, tree);
7985 proto_item_set_len(item, offset-old_offset);
7990 /* TODO : find when this Structure appear on the wire */
7991 /* IDL: struct qunit_data_old2 { */
7992 /* IDL: uint32 qd_id; */
7993 /* IDL: uint32 qd_flags; */
7994 /* IDL: uint64 qd_count; */
7998 lustre_dissect_element_qunit_data_old2_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8000 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_id);
8006 lustre_dissect_element_qunit_data_old2_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8008 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_flags);
8014 lustre_dissect_element_qunit_data_old2_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8016 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_count);
8022 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_)
8024 proto_item *item = NULL;
8025 proto_tree *tree = NULL;
8033 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8034 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old2);
8037 offset=lustre_dissect_element_qunit_data_old2_qd_id(tvb, offset, pinfo, tree);
8039 offset=lustre_dissect_element_qunit_data_old2_qd_flags(tvb, offset, pinfo, tree);
8041 offset=lustre_dissect_element_qunit_data_old2_qd_count(tvb, offset, pinfo, tree);
8044 proto_item_set_len(item, offset-old_offset);
8049 /* TODO : find when this Structure appear on the wire */
8050 /* IDL: struct qunit_data_old { */
8051 /* IDL: uint32 qd_id; */
8052 /* IDL: uint32 qd_type; */
8053 /* IDL: uint32 qd_count; */
8054 /* IDL: uint32 qd_isblk; */
8058 lustre_dissect_element_qunit_data_old_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8060 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_id);
8066 lustre_dissect_element_qunit_data_old_qd_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8068 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_type);
8074 lustre_dissect_element_qunit_data_old_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8076 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_count);
8082 lustre_dissect_element_qunit_data_old_qd_isblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8084 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_isblk);
8090 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_)
8092 proto_item *item = NULL;
8093 proto_tree *tree = NULL;
8101 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8102 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old);
8105 offset=lustre_dissect_element_qunit_data_old_qd_id(tvb, offset, pinfo, tree);
8107 offset=lustre_dissect_element_qunit_data_old_qd_type(tvb, offset, pinfo, tree);
8109 offset=lustre_dissect_element_qunit_data_old_qd_count(tvb, offset, pinfo, tree);
8111 offset=lustre_dissect_element_qunit_data_old_qd_isblk(tvb, offset, pinfo, tree);
8114 proto_item_set_len(item, offset-old_offset);
8120 lustre_dissect_struct_seq_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8122 offset=dissect_uint32(tvb, offset, pinfo, parent_tree, hf_lustre_seq_opc);
8123 /* Pad out to 8 bytes */
8124 offset=add_extra_padding(tvb,offset,pinfo,parent_tree);
8130 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_)
8132 proto_item *item = NULL;
8133 proto_tree *tree = NULL;
8139 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8140 tree = proto_item_add_subtree(item, ett_lustre_seq_range);
8143 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_start);
8144 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_end);
8145 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_index);
8146 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_flags);
8149 proto_item_set_len(item, offset-old_offset);
8155 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_)
8157 proto_item *item = NULL;
8158 proto_tree *tree = NULL;
8164 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8165 tree = proto_item_add_subtree(item, ett_lustre_mdt_ioepoch);
8168 offset=lustre_dissect_struct_handle_cookie(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_handle);
8169 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_ioepoch);
8170 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_flags);
8171 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_padding);
8174 proto_item_set_len(item, offset-old_offset);
8179 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)
8181 proto_item *item = NULL;
8182 proto_tree *tree = NULL;
8188 if(buf_num+1>LUSTRE_BUFCOUNT)
8191 data_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + sizeof(guint32) * buf_num);
8196 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8197 tree = proto_item_add_subtree(item, ett_lustre_capa);
8200 g_print("BUG: decode of lustre_capa NYI\n");
8201 if (check_col(pinfo->cinfo, COL_INFO))
8202 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8207 proto_item_set_len(item, offset-old_offset);
8213 /* ------------------------------------------------------------------------- */
8215 * the length of the string is the current buflen
8216 * @tvb the packet buff
8217 * @offset the current offset
8220 * @hf_index : the corresponding header field
8221 * @buf_num : the corresponding bufnumber of the string (we use it to
8222 * determine the string length), must respect : 0<bufnum<=bufmax_in_paquet
8225 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)
8227 proto_item *item = NULL;
8233 /* if (parent_tree) {
8234 * item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8235 * tree = proto_item_add_subtree(item, ett_lustre);
8239 if(buf_num+1>LUSTRE_BUFCOUNT)
8242 string_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + 4 * buf_num) ; /* 4 because a buflen is on a guint32 */
8243 /* g_print("buf_num:%d (max:%d) BUFLEN_OFF:%#x strlen:%d\n",
8244 buf_num, LUSTRE_BUFCOUNT,
8245 LUSTRE_BUFLEN_OFF, string_len);*/
8247 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
8249 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " filename : %s",
8250 (const gchar *) tvb_get_string(tvb,offset,string_len) );
8253 proto_item_set_len(item, offset-old_offset);
8254 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* after a string we must be aligned to 8 bytes. */
8259 /* ------------------------------------------------------------------------- */
8260 /* dissect raw data */
8262 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)
8264 proto_item *item = NULL;
8270 if(buf_num+1>LUSTRE_BUFCOUNT)
8273 data_len = tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF + sizeof(guint32) * buf_num);
8274 proto_tree_add_item(parent_tree, hf_index, tvb, offset, data_len, TRUE);
8277 proto_item_set_len(item, offset-old_offset);
8278 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* align on 8 bytes */
8282 /* ------------------------------------------------------------------------ */
8285 /* Process REINT opcode requests */
8286 static int reint_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8290 opcode = tvb_get_letohl(tvb,offset);
8294 /* [eadata][cookie_data][ldlm_request] */
8295 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8296 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8297 hf_lustre_ldlm_request) ;
8300 /* [rec_create][filename][tgt.. Ã 0 pour l'instant][ldlm_request] */
8301 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8302 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8303 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"*/
8304 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8305 hf_lustre_ldlm_request) ;
8308 /*[mdt_rec_link][filename][ldlm_req] */
8309 offset=lustre_dissect_struct_mdt_rec_link(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link);
8310 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8311 hf_lustre_ldlm_request) ;
8312 /*TODO : need to be check*/
8315 /* reint_unlink_client: [mdt_rec_unlink][capa1][filename][ldlm_req] */
8316 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink);
8317 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8318 if ( (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF +2))) == 112) { /* TODO : ugly .. but
8319 for now we have to do this */
8320 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8323 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8324 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8327 case REINT_RENAME : /*mds_rename_unpack : [mdt_rec_rename][filename source][filename target_name][ldlm_request] */
8328 offset=lustre_dissect_struct_mdt_rec_rename(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename);
8329 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+1);
8330 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_new_name, LUSTRE_REQ_REC_OFF+2);
8331 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8333 case REINT_OPEN : /* [rec_create][filename][eadata] */
8334 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8335 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8336 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2); /* TODO : replace with hf_eadata */
8338 case REINT_SETXATTR :
8339 /* [eadata][cookie_data][ldlm_request] */
8340 offset=lustre_dissect_struct_mdt_rec_setxattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr);
8341 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8342 hf_lustre_ldlm_request) ;
8353 /* dissect a connect message */
8355 lustre_dissect_generic_connect(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8357 /*TODO : add a cuuid and target uid */
8358 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8359 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8360 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
8361 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8366 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)
8371 case OST_REPLY: /* obsolete so nothing */
8374 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8377 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8379 case OST_READ: /* [OST_BODY][obd_ioobj][niobuf_remote] for request, [OST_BODY] for reply */
8380 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8381 if(pb_type==PTL_RPC_MSG_REQUEST){
8382 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8383 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_niobuf_remote);
8387 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo,
8388 tree, hf_lustre_ost_body) ; /* [ost_body] in both case */
8389 if(pb_type==PTL_RPC_MSG_REQUEST)
8391 for (i=0;i<tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+ 4*(LUSTRE_REQ_REC_OFF+1))/24;i++)
8392 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8393 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_obd_ioobj);
8395 if(pb_type==PTL_RPC_MSG_REPLY) /* niocount *[uint32], but niocount is in request message, so
8396 we use the bufcount */
8398 for (i=0;i<tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF)-2;i++) /* -2 because we have already dissect 2 buffers : ptl + ost */
8399 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_nio);
8400 if (i & 1 ) /* if odd we add extra padding */
8401 offset=dissect_uint32(tvb, offset, pinfo, tree,
8402 hf_lustre_extra_padding);
8406 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8409 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8410 if(pb_type==PTL_RPC_MSG_REQUEST) /* [ost_body][-si buf- ldlm_request] */
8411 if ( (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF +1))) != 0)
8412 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ost_body);
8413 /* TODO : test that */
8416 if(pb_type==PTL_RPC_MSG_REQUEST) /* [key] */
8418 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF+1);
8420 if (pb_type==PTL_RPC_MSG_REPLY)
8422 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF); /* val */
8427 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8428 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8429 if (pb_type==PTL_RPC_MSG_REPLY)
8430 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8432 case OST_DISCONNECT: /* [nothing] */
8434 case OST_PUNCH: /* [ost_body] */
8435 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8437 case OST_OPEN: /* [nothing] in the code maybee obsolete */
8439 case OST_CLOSE: /* [nothing] in the code maybee obsolete */
8441 case OST_STATFS: /* [obd_statfs] check that : TODO */
8442 if(LUSTRE_BUFCOUNT>=2)
8443 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8446 /*[ost_body] in both case */
8447 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8450 if(pb_type==PTL_RPC_MSG_REQUEST)
8452 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8453 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8455 /* if Key = "evict_by_nid" --> need to be process.. TODO */
8457 case OST_QUOTACHECK:
8458 if(pb_type==PTL_RPC_MSG_REQUEST)
8459 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8460 /* nothing in reply */
8463 /*[obd_quotactl in both case]*/
8464 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8465 case OST_QUOTA_ADJUST_QUNIT:
8466 /* [quota_adjust_qunit] in both case ? */
8467 offset=lustre_dissect_struct_quota_adjust_qunit(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit) ;
8474 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)
8477 case MDS_DISCONNECT:
8482 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8485 if(pb_type==PTL_RPC_MSG_REQUEST)
8487 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8488 /*if(reply) : [nothing]*/
8491 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8492 if(pb_type==PTL_RPC_MSG_REQUEST)
8493 /*[string_xattr_name]*/
8494 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+1);
8495 if(pb_type==PTL_RPC_MSG_REPLY)
8497 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+1);
8500 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8501 /* TODO [ something ??? ] */
8503 case MDS_GETATTR_NAME:
8504 if(pb_type==PTL_RPC_MSG_REQUEST)
8506 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8507 /*[nothing in reply]*/
8509 case MDS_DONE_WRITING:
8511 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8513 case MDS_PIN: /* repbody.. */
8515 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8519 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8523 if(pb_type==PTL_RPC_MSG_REQUEST)
8524 { /* [mdt_ioepoch][rec_reint][capa1] */
8525 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch);
8527 if(LUSTRE_BUFCOUNT>=3)
8528 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8530 if(LUSTRE_BUFCOUNT>=4)
8531 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, 4);
8533 if(pb_type==PTL_RPC_MSG_REPLY)
8534 { /* [mdt_body][md][cookie] TODO : check that (reread the code about shrink in lustre) */
8535 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8536 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0)
8537 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_md_data,LUSTRE_REQ_REC_OFF+1); /* key */
8538 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+2)) > 0)
8539 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8544 if(pb_type==PTL_RPC_MSG_REPLY)
8546 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8547 /*in request : [nothing]*/
8551 /* [mdt_body] but with some different interpration, need to modify the hf : TODO */
8552 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8556 /* the structure depend on the intent_opcode */
8557 if(pb_type==PTL_RPC_MSG_REQUEST)
8558 offset=reint_opcode_process(tvb, offset, pinfo, tree);
8559 if(pb_type==PTL_RPC_MSG_REPLY)
8561 /*[mdt_body][??][llog_logid_rec] */
8562 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8563 if(tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0){
8564 /* OPEN, RENAME, and UNLINK */
8565 /* rec_unlink or rec_rename */
8566 if(tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4*(LUSTRE_REQ_REC_OFF+1)) > 0){
8567 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8568 hf_lustre_mds_xattr_eadata,
8569 LUSTRE_REQ_REC_OFF+1); // replace by eadata TODO TODO //
8570 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*/
8571 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8572 hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2); // replace withe eadata TODO TODO //
8578 if(pb_type==PTL_RPC_MSG_REQUEST){
8580 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8581 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8582 //offset=add_extra_padding(tvb,offset,pinfo,tree);
8584 /*nothing en reply*/
8586 case MDS_QUOTACHECK:
8587 /* [obd_quotactl] */
8588 if(pb_type==PTL_RPC_MSG_REQUEST)
8589 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8592 /* [obd_quotactl] in both case*/
8593 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8596 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8597 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8598 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8599 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8611 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)
8615 /* [ldlm_request] if we have one more buffer it's
8616 * [intent_opcode] and the opcode give us the corresponding
8617 * intent structure [intent] */
8618 if (pb_type==PTL_RPC_MSG_REQUEST)
8620 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8621 hf_lustre_ldlm_request);
8622 if (LUSTRE_BUFCOUNT>=3)
8623 offset=lustre_dissect_struct_ldlm_intent(tvb, offset, pinfo, tree,
8624 hf_lustre_ldlm_intent);
8626 if (pb_type==PTL_RPC_MSG_REPLY)
8631 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree,
8632 hf_lustre_ldlm_reply,
8634 if (LUSTRE_BUFCOUNT>2 && (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+sizeof(guint32)*2) == 40))
8635 /* TODO :this code need to be check and test, the
8636 * lustre corresponding code is'nt explicit, so not
8637 * sure to have this buffer, but in example it works
8640 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree,
8643 else if (LUSTRE_BUFCOUNT>2) {
8644 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree,
8645 hf_lustre_mdt_body) ;
8646 /*g_print("buflen_off+4*3 = %d", tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*LUSTRE_DLM_INTENT_REC_OFF));*/
8647 if(LUSTRE_BUFCOUNT>2 &&
8648 (tvb_get_letohl(tvb,LUSTRE_BUFLEN_OFF+4*LUSTRE_DLM_INTENT_REC_OFF) > 0))
8650 magic=tvb_get_letohl(tvb, offset); /* TODO : replace this with a macro */
8654 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1);
8657 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8658 hf_lustre_extra_padding, LUSTRE_DLM_INTENT_REC_OFF);
8667 if(pb_type==PTL_RPC_MSG_REQUEST)
8669 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8670 if(pb_type==PTL_RPC_MSG_REPLY)
8672 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply, NULL) ;
8676 if(pb_type==PTL_RPC_MSG_REQUEST)
8678 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8679 /*[nothing en reply]*/
8682 case LDLM_BL_CALLBACK: /* TODO : check the corresponding code in lustre*/
8683 if(pb_type==PTL_RPC_MSG_REQUEST)
8685 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8688 case LDLM_CP_CALLBACK:
8689 if(pb_type==PTL_RPC_MSG_REQUEST){
8690 /*[ldlm_request] if the third buffer exist we have [lvb data] so it's [ost_lvb] : TODO :
8692 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8693 if(LUSTRE_BUFCOUNT>=3)
8694 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8696 /*reply : [nothing] */
8699 case LDLM_GL_CALLBACK:
8700 if(pb_type==PTL_RPC_MSG_REQUEST)
8702 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8704 if(pb_type==PTL_RPC_MSG_REPLY)
8705 /*reply : [ost_lvb] <-- need to be check*/
8706 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree, hf_lustre_ost_lvb);
8716 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)
8720 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8721 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8722 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8723 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8725 case MGS_DISCONNECT :
8728 case MGS_EXCEPTION : /* node died, etc. */
8731 case MGS_TARGET_REG:
8732 /*[mgs_target_info], mgs_handler.c mgs_handle_target_reg() called whenever a target startup*/
8733 offset=lustre_dissect_struct_mgs_target_info(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info);
8735 case MGS_TARGET_DEL:
8739 /*[mgs_send_param], mgs_set_info_rpc()*/
8740 offset=lustre_dissect_struct_mgs_send_param(tvb,offset,pinfo,tree,hf_lustre_mgs_send_param);
8749 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)
8755 case OBD_LOG_CANCEL:
8758 case OBD_QC_CALLBACK:
8759 if(pb_type==PTL_RPC_MSG_REQUEST)
8760 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8761 /*if (request) : [nothing]*/
8770 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)
8773 case LLOG_ORIGIN_HANDLE_CREATE : /* in handler.c */
8774 /*[llogd_body] (reply and request)*/
8775 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8776 if(pb_type==PTL_RPC_MSG_REQUEST) /*[filename] */
8777 if (LUSTRE_BUFCOUNT>2)
8778 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_name,
8779 LUSTRE_REQ_REC_OFF+1);
8781 case LLOG_ORIGIN_HANDLE_NEXT_BLOCK :/* in handler.c */
8782 /* [llogd_body][???]
8783 * the size of second buf is LLOG_CHKUNK_SIZE, so it's maybee only bulk data */
8784 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8785 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8786 LUSTRE_REQ_REC_OFF + 1 );
8788 case LLOG_ORIGIN_HANDLE_READ_HEADER:/* in handler.c */
8789 if(pb_type==PTL_RPC_MSG_REQUEST){
8790 /* [llogd_body][llog_log_hdr] */
8791 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8792 if(LUSTRE_BUFCOUNT>2)
8793 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8794 hf_lustre_llogd_log_hdr);
8796 if(pb_type==PTL_RPC_MSG_REPLY) /* [llog_log_hdr] */
8797 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8798 hf_lustre_llogd_log_hdr);
8800 case LLOG_ORIGIN_HANDLE_WRITE_REC : /* I think this is obsolete */
8803 case LLOG_ORIGIN_HANDLE_CLOSE :/* handler.c */
8806 case LLOG_ORIGIN_CONNECT : /* ost_handler.c */
8808 case LLOG_CATINFO : /*in handler.c */
8809 if(pb_type==PTL_RPC_MSG_REQUEST){
8810 /* [keyword][if keyword=config [char*] else [nothing]] */
8811 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_keyword,
8812 LUSTRE_REQ_REC_OFF);
8813 if (strcmp((const char *)tvb_get_string(tvb,
8816 LUSTRE_BUFLEN_OFF + 4 *
8817 LUSTRE_REQ_REC_OFF)),
8819 /* if(keyword == "config") */
8820 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_client,
8821 LUSTRE_REQ_REC_OFF+1);
8823 if(pb_type==PTL_RPC_MSG_REPLY)
8824 /*[buf] sizeof = llog_chunk_size*/
8825 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8826 LUSTRE_REQ_REC_OFF + 1 );
8827 /* TODO TODO : check if it's note a catid */
8829 case LLOG_ORIGIN_HANDLE_PREV_BLOCK : /* in handler.c */
8830 /* [llogd_body] in both case */
8831 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8832 if(pb_type==PTL_RPC_MSG_REPLY)
8833 /*[buf] size of llog_chunk_size*/
8834 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8835 LUSTRE_REQ_REC_OFF + 1 );
8837 case LLOG_ORIGIN_HANDLE_DESTROY : /* in handler.c */
8838 /*[llogd_body] in both case*/
8839 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8849 lustre_seq_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8850 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8854 if (pb_type == PTL_RPC_MSG_REQUEST)
8855 offset=lustre_dissect_struct_seq_opc(tvb, offset, pinfo, tree);
8856 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree, hf_lustre_seq_range);
8860 g_print("error: SEQ Opcode: %d unknown\n", opc);
8861 if (check_col(pinfo->cinfo, COL_INFO))
8862 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8868 /* process lustre opcode :
8869 check if opcode is in range_opcode, and call the corresponding opcode process function */
8871 lustre_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8873 if (opc <= OST_LAST_OPC) /* OST opcodes */
8874 offset=lustre_ost_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8876 if ( (opc >= MDS_FIRST_OPC) && (opc < MDS_LAST_OPC )) /* MDS opcodes */
8877 offset=lustre_mds_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8879 if ( (opc >= LDLM_FIRST_OPC) && (opc < LDLM_LAST_OPC) ) /*LDLM Opcodes*/
8880 offset=lustre_ldlm_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8882 if( (opc>= MGS_FIRST_OPC) && (opc <= MGS_LAST_OPC)) /* MGS Opcodes */
8883 offset=lustre_mgs_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8885 if( (opc>= OBD_FIRST_OPC) && (opc<=OBD_LAST_OPC)) /* ODB Opcodes */
8886 offset=lustre_odb_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8888 if( (opc>=LLOG_FIRST_OPC) && (opc<=LLOG_LAST_OPC)) /* LLOG Opcodes */
8889 offset=lustre_llog_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8891 if( (opc >= SEQ_FIRST_OPC) && (opc <= SEQ_LAST_OPC) ) /* SEQ Opcodes */
8892 offset=lustre_seq_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
8897 /* ----------------------------------------------- */
8898 /* add an extra padding to be aligned to 8bytes */
8900 add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8902 guint32 padding_len;
8904 padding_len = (8- offset%8)%8;
8906 proto_tree_add_item(tree, hf_lustre_extra_padding , tvb, offset, padding_len, TRUE);
8907 offset+=padding_len;
8911 /* ----------------------------------------------- */
8914 ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8915 proto_tree * tree _U_, guint64 intent_opc _U_)
8917 /* all corresponding code is in mdc_locks.c in function mdc_enqueue() */
8918 /* if 0x0003 we have CREAT + OPEN
8920 if (intent_opc & IT_OPEN) {
8921 /* mdc_intent_open_pack(), d'où [opcode][mdc_rec_create][name][eada] */
8922 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree,
8923 hf_lustre_mdt_rec_create);
8924 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8925 hf_lustre_reint_name,
8926 LUSTRE_DLM_INTENT_REC_OFF+3);
8927 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8928 hf_lustre_mds_xattr_eadata,
8929 LUSTRE_DLM_INTENT_REC_OFF+4);
8930 /* TODO : replace hf with eada hf */
8933 if (intent_opc & IT_UNLINK){
8934 /* mdc_intent_unlink_pack(), d'où [opcode][mdt_rec_unlink][name] */
8935 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree,
8936 hf_lustre_mdt_rec_unlink);
8937 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8938 hf_lustre_reint_name,
8939 LUSTRE_DLM_INTENT_REC_OFF+1);
8941 if (intent_opc & IT_GETATTR){
8942 /* mdc_intent_lookup_pack, d'où [mdt_body][name] */
8943 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8944 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
8945 LUSTRE_DLM_INTENT_REC_OFF+1);
8948 if (intent_opc & IT_LOOKUP){
8949 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
8950 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
8951 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+1);
8952 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
8953 LUSTRE_DLM_INTENT_REC_OFF+2);
8960 /* ----------------------------------------------- */
8961 /* function to test if the packet is entirely dissected add BUG in PROTOCOL COL when it's not*/
8963 sanity_check(tvbuff_t *tvb, packet_info *pinfo, guint32 val_offset _U_)
8965 guint32 magic_number ;
8966 guint32 somme_buflen = 0 ;
8969 magic_number = tvb_get_letohl(tvb, 8);
8972 for (i=0;i<LUSTRE_BUFCOUNT;i++)
8973 somme_buflen += tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF +
8974 4 * i ) + (8- tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4 * i)%8)%8; /* we add the
8982 if(val_offset!=somme_buflen){
8983 /*g_print("somme_buflen=%d, val_offset = %d \n",somme_buflen,val_offset);*/
8984 if (check_col(pinfo->cinfo, COL_INFO)) {
8985 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8992 /* IDL: struct lustre_msg_v1 { */
8993 /* IDL: struct lustre_handle { */
8994 /* IDL: } lm_handle; */
8995 /* IDL: uint32 lm_magic; */
8996 /* IDL: uint32 lm_type; */
8997 /* IDL: uint32 lm_version; */
8998 /* IDL: uint32 lm_opc; */
8999 /* IDL: uint64 lm_last_xid; */
9000 /* IDL: uint64 lm_last_committed; */
9001 /* IDL: uint64 lm_transno; */
9002 /* IDL: uint32 lm_status; */
9003 /* IDL: uint32 lm_flags; */
9004 /* IDL: uint32 lm_conn_cnt; */
9005 /* IDL: uint32 lm_bufcount; */
9006 /* IDL: uint32 lm_buflens[0]; */
9011 lustre_dissect_element_msg_v1_lm_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9013 /*TODO : replace with a v1 handle*/
9014 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_lustre_msg_v1_lm_handle);
9019 lustre_dissect_element_msg_v1_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9021 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_magic);
9027 lustre_dissect_element_msg_v1_lm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9029 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_type);
9035 lustre_dissect_element_msg_v1_lm_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9037 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_version);
9043 lustre_dissect_element_msg_v1_lm_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9045 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_opc);
9051 lustre_dissect_element_msg_v1_lm_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9053 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_xid);
9059 lustre_dissect_element_msg_v1_lm_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9061 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_committed);
9067 lustre_dissect_element_msg_v1_lm_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9069 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_transno);
9075 lustre_dissect_element_msg_v1_lm_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9077 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_status);
9083 lustre_dissect_element_msg_v1_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9085 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_flags);
9091 lustre_dissect_element_msg_v1_lm_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9093 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_conn_cnt);
9099 lustre_dissect_element_msg_v1_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9101 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_bufcount);
9107 lustre_dissect_element_msg_v1_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9109 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_buflens);
9115 lustre_dissect_element_msg_v1_lm_buflens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9118 gboolean extra_padding ;
9121 bufcount=tvb_get_letohl(tvb, offset-4); /* TODO : replace with a macro */
9123 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9128 for (i=0;i<bufcount;i++) {
9129 offset=lustre_dissect_element_msg_v1_lm_buflens_(tvb, offset, pinfo, tree);
9133 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9142 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_)
9144 proto_item *item = NULL;
9145 proto_tree *tree = NULL;
9147 guint32 opc ; /* opcode */
9148 guint32 pb_type; /* type : {request, reply, error} */
9154 // if (parent_tree) {
9155 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9156 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v1);
9159 offset=lustre_dissect_element_msg_v1_lm_handle(tvb, offset, pinfo, tree);
9161 offset=lustre_dissect_element_msg_v1_lm_magic(tvb, offset, pinfo, tree);
9163 pb_type = tvb_get_letohl(tvb, offset);
9164 offset=lustre_dissect_element_msg_v1_lm_type(tvb, offset, pinfo, tree);
9166 offset=lustre_dissect_element_msg_v1_lm_version(tvb, offset, pinfo, tree);
9167 opc = tvb_get_letohl(tvb, offset);
9168 offset=lustre_dissect_element_msg_v1_lm_opc(tvb, offset, pinfo, tree);
9170 offset=lustre_dissect_element_msg_v1_lm_last_xid(tvb, offset, pinfo, tree);
9172 offset=lustre_dissect_element_msg_v1_lm_last_committed(tvb, offset, pinfo, tree);
9174 offset=lustre_dissect_element_msg_v1_lm_transno(tvb, offset, pinfo, tree);
9176 offset=lustre_dissect_element_msg_v1_lm_status(tvb, offset, pinfo, tree);
9178 offset=lustre_dissect_element_msg_v1_lm_flags(tvb, offset, pinfo, tree);
9180 offset=lustre_dissect_element_msg_v1_lm_conn_cnt(tvb, offset, pinfo, tree);
9182 offset=lustre_dissect_element_msg_v1_lm_bufcount(tvb, offset, pinfo, tree);
9184 offset=lustre_dissect_element_msg_v1_lm_buflens(tvb, offset, pinfo, tree);
9187 proto_item_set_len(item, offset-old_offset);
9189 /* display some nice infos */
9190 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9191 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9193 offset=lustre_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9198 /* IDL: struct ptlrpc_body { */
9199 /* IDL: struct lustre_handle { */
9200 /* IDL: } pb_handle; */
9201 /* IDL: uint32 pb_type; */
9202 /* IDL: uint32 pb_version; */
9203 /* IDL: uint32 pb_opc; */
9204 /* IDL: uint32 pb_status; */
9205 /* IDL: uint64 pb_last_xid; */
9206 /* IDL: uint64 pb_last_seen; */
9207 /* IDL: uint64 pb_last_committed; */
9208 /* IDL: uint64 pb_transno; */
9209 /* IDL: uint32 pb_flags; */
9210 /* IDL: uint32 pb_op_flags; */
9211 /* IDL: uint32 pb_conn_cnt; */
9212 /* IDL: uint32 pb_timeout; */
9213 /* IDL: uint32 pb_service_time; */
9214 /* IDL: uint32 pb_limit; */
9215 /* IDL: uint64 pb_slv; */
9219 lustre_dissect_element_ptlrpc_body_pb_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9221 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ptlrpc_body_pb_handle);
9227 lustre_dissect_element_ptlrpc_body_pb_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9229 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_type);
9235 lustre_dissect_element_ptlrpc_body_pb_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9237 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_version);
9243 lustre_dissect_element_ptlrpc_body_pb_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9245 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_opc);
9251 lustre_dissect_element_ptlrpc_body_pb_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9253 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_status);
9259 lustre_dissect_element_ptlrpc_body_pb_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9261 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_xid);
9267 lustre_dissect_element_ptlrpc_body_pb_last_seen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9269 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_seen);
9275 lustre_dissect_element_ptlrpc_body_pb_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9277 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_committed);
9283 lustre_dissect_element_ptlrpc_body_pb_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9285 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_transno);
9291 lustre_dissect_element_ptlrpc_body_pb_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9293 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_flags);
9299 lustre_dissect_element_ptlrpc_body_pb_op_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9301 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_op_flags);
9307 lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9309 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_conn_cnt);
9315 lustre_dissect_element_ptlrpc_body_pb_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9317 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_timeout);
9323 lustre_dissect_element_ptlrpc_body_pb_service_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9325 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_service_time);
9331 lustre_dissect_element_ptlrpc_body_pb_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9333 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_limit);
9339 lustre_dissect_element_ptlrpc_body_pb_slv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9341 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_slv);
9347 lustre_dissect_element_ptlrpc_body_pb_pre_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9349 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_pre_version);
9355 lustre_dissect_element_ptlrpc_body_pb_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9357 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_padding);
9363 lustre_dissect_element_ptlrpc_body_pb_jobid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
9366 /* the lenght of the string is 32 bytes max, with \0 inside */
9367 proto_tree_add_item(parent_tree, hf_lustre_ptlrpc_body_pb_jobid, tvb, offset, 32, TRUE);
9375 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_ )
9377 proto_item *item = NULL;
9378 proto_tree *tree = NULL;
9380 guint32 opc, pb_type, pb_version;
9385 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9386 tree = proto_item_add_subtree(item, ett_lustre_ptlrpc_body);
9389 offset=lustre_dissect_element_ptlrpc_body_pb_handle(tvb, offset, pinfo, tree);
9391 pb_type = tvb_get_letohl(tvb, offset);
9392 //g_print("msg_v2_lm_type_offset = %d \n" , offset) ;
9394 offset=lustre_dissect_element_ptlrpc_body_pb_type(tvb, offset, pinfo, tree);
9396 pb_version = tvb_get_letohl(tvb, offset) & ~LUSTRE_VERSION_MASK;
9397 //g_print("msg_v2_version_offset %d : version == %d \n", offset, pb_version);
9398 offset=lustre_dissect_element_ptlrpc_body_pb_version(tvb, offset, pinfo, tree);
9400 // g_print("msg_v2_opcode_offset %d \n", offset);
9401 opc = tvb_get_letohl(tvb, offset);
9402 offset=lustre_dissect_element_ptlrpc_body_pb_opc(tvb, offset, pinfo, tree);
9404 offset=lustre_dissect_element_ptlrpc_body_pb_status(tvb, offset, pinfo, tree);
9406 offset=lustre_dissect_element_ptlrpc_body_pb_last_xid(tvb, offset, pinfo, tree);
9408 offset=lustre_dissect_element_ptlrpc_body_pb_last_seen(tvb, offset, pinfo, tree);
9410 offset=lustre_dissect_element_ptlrpc_body_pb_last_committed(tvb, offset, pinfo, tree);
9412 offset=lustre_dissect_element_ptlrpc_body_pb_transno(tvb, offset, pinfo, tree);
9414 offset=lustre_dissect_element_ptlrpc_body_pb_flags(tvb, offset, pinfo, tree);
9416 offset=lustre_dissect_element_ptlrpc_body_pb_op_flags(tvb, offset, pinfo, tree);
9418 offset=lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvb, offset, pinfo, tree);
9420 offset=lustre_dissect_element_ptlrpc_body_pb_timeout(tvb, offset, pinfo, tree);
9422 offset=lustre_dissect_element_ptlrpc_body_pb_service_time(tvb, offset, pinfo, tree);
9424 offset=lustre_dissect_element_ptlrpc_body_pb_limit(tvb, offset, pinfo, tree);
9426 offset=lustre_dissect_element_ptlrpc_body_pb_slv(tvb, offset, pinfo, tree);
9428 /* pb_pre_versions */
9429 for(i = 0; i < 4; ++i) {
9430 offset=lustre_dissect_element_ptlrpc_body_pb_pre_version(tvb, offset, pinfo, tree);
9433 for(i = 0; i < 4; ++i) {
9434 offset=lustre_dissect_element_ptlrpc_body_pb_padding(tvb, offset, pinfo, tree);
9437 if (pb_version == LUSTRE_PTLRPC_MSG_VERSION && offset-old_offset < buf_len) {
9438 offset=lustre_dissect_element_ptlrpc_body_pb_jobid(tvb, offset, pinfo, tree);
9441 if (offset-old_offset != buf_len) {
9442 g_print("ptlbody offset-old:%d buf_len:%d\n",
9443 offset-old_offset, buf_len);
9444 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9447 proto_item_set_len(item, offset-old_offset);
9449 /* display some nice infos */
9450 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9451 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9453 /* on utilise parent_tree pour bien distinguer les différents buffers (relatifs à bufcount + buflen), il s'agit d'un choix de présentation */
9454 offset=lustre_opcode_process(tvb, offset, pinfo, parent_tree, opc, pb_type);
9456 sanity_check(tvb,pinfo,offset-old_offset);
9462 /* IDL: struct lustre_msg_v2 { */
9463 /* IDL: uint32 lm_bufcount; */
9464 /* IDL: uint32 lm_secflvr; */
9465 /* IDL: uint32 lm_magic; */
9466 /* IDL: uint32 lm_repsize; */
9467 /* IDL: uint32 lm_cksum; */
9468 /* IDL: uint32 lm_flags; */
9469 /* IDL: uint32 lm_padding_2; */
9470 /* IDL: uint32 lm_padding_3; */
9471 /* IDL: uint32 lm_buflens[0]; */
9475 lustre_dissect_element_msg_v2_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9477 proto_tree_add_item(tree, hf_lustre_lustre_msg_v2_lm_bufcount, tvb, offset, 4, TRUE);
9483 lustre_dissect_element_msg_v2_lm_secflvr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9485 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_secflvr);
9491 lustre_dissect_element_msg_v2_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9493 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_magic);
9499 lustre_dissect_element_msg_v2_lm_repsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9501 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_repsize);
9507 lustre_dissect_element_msg_v2_lm_cksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9509 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_cksum);
9515 lustre_dissect_element_msg_v2_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9517 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_flags);
9523 lustre_dissect_element_msg_v2_lm_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9525 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_2);
9531 lustre_dissect_element_msg_v2_lm_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9533 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_3);
9541 lustre_dissect_element_msg_v2_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9543 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_buflens);
9549 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_)
9551 proto_item *item = NULL;
9552 proto_tree *tree = NULL;
9556 guint32 buf_len_offset;
9557 guint32 current_buf_len ;
9558 gboolean extra_padding ;
9562 /* to get a light display */
9564 // if (parent_tree) {
9565 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9566 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v2);
9569 bufcount = tvb_get_letohl(tvb,offset);
9570 offset=lustre_dissect_element_msg_v2_lm_bufcount(tvb, offset, pinfo, tree);
9572 offset=lustre_dissect_element_msg_v2_lm_secflvr(tvb, offset, pinfo, tree);
9574 offset=lustre_dissect_element_msg_v2_lm_magic(tvb, offset, pinfo, tree);
9576 offset=lustre_dissect_element_msg_v2_lm_repsize(tvb, offset, pinfo, tree);
9578 offset=lustre_dissect_element_msg_v2_lm_cksum(tvb, offset, pinfo, tree);
9580 offset=lustre_dissect_element_msg_v2_lm_flags(tvb, offset, pinfo, tree);
9582 offset=lustre_dissect_element_msg_v2_lm_padding_2(tvb, offset, pinfo, tree);
9584 offset=lustre_dissect_element_msg_v2_lm_padding_3(tvb, offset, pinfo, tree);
9588 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9593 buf_len_offset=offset ;
9594 for (i=0;i<bufcount;i++) {
9595 offset=lustre_dissect_element_msg_v2_lm_buflens_(tvb, offset, pinfo, tree);
9600 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9603 current_buf_len = tvb_get_letohl(tvb, buf_len_offset);
9604 offset=lustre_dissect_struct_ptlrpc_body(tvb,offset, pinfo, tree, hf_lustre_ptlrpc_body_pb, current_buf_len);
9606 proto_item_set_len(item, offset-old_offset);
9613 dissect_lustre(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
9615 if (check_col(pinfo->cinfo, COL_PROTOCOL))
9616 col_set_str(pinfo->cinfo, COL_PROTOCOL, "Lustre");
9619 if (check_col(pinfo->cinfo, COL_INFO))
9620 col_set_str(pinfo->cinfo, COL_INFO, "");
9621 /* guint32 magic_number ; */
9622 /* magic_number = tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET); */
9623 /* switch (magic_number)*/
9625 /* case LUSTRE_MSG_MAGIC_V1:*/
9626 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V1 ");*/
9628 /* case LUSTRE_MSG_MAGIC_V2:*/
9629 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V2 ");*/
9637 guint32 magic_number ;
9639 proto_item *ti = NULL ;
9640 proto_tree * lustre_tree = NULL ;
9643 ti = proto_tree_add_item(tree,proto_lustre,tvb,0,-1,FALSE);
9644 lustre_tree = proto_item_add_subtree(ti,ett_lustre);
9647 magic_number = tvb_get_letohl(tvb, 8);
9650 switch (magic_number){
9651 case LUSTRE_MSG_MAGIC_V1:
9652 /* put some nice info*/
9653 proto_item_append_text(lustre_tree, " V1 ");
9654 offset=lustre_dissect_struct_msg_v1(tvb, 0, pinfo, lustre_tree, proto_lustre ) ;
9656 case LUSTRE_MSG_MAGIC_V2:
9657 /* put some nice info*/
9658 proto_item_append_text(lustre_tree, " V2 ");
9659 offset=lustre_dissect_struct_msg_v2(tvb, 0, pinfo, lustre_tree, proto_lustre ) ;
9668 void proto_register_dcerpc_lustre(void)
9670 static hf_register_info hf[] = {
9671 { &hf_lustre_mdt_body,
9672 { "mdt body", "lustre.mdt_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9673 { &hf_lustre_mdt_body_fid1,
9674 { "Fid1", "lustre.mdt_body.fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9675 { &hf_lustre_mdt_body_fid2,
9676 { "Fid2", "lustre.mdt_body.fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9677 { &hf_lustre_mdt_body_handle,
9678 { "Handle", "lustre.mdt_body.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9679 { &hf_lustre_mdt_body_valid,
9680 { "Valid", "lustre.mdt_body.valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9681 { &hf_lustre_mdt_body_size,
9682 { "Size", "lustre.mdt_body.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9683 { &hf_lustre_mdt_body_mtime,
9684 { "Mtime", "lustre.mdt_body.mtime",FT_ABSOLUTE_TIME,
9685 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9686 { &hf_lustre_mdt_body_atime,
9687 { "Atime", "lustre.mdt_body.atime",FT_ABSOLUTE_TIME,
9688 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9689 { &hf_lustre_mdt_body_ctime,
9690 { "Ctime", "lustre.mdt_body.ctime",FT_ABSOLUTE_TIME,
9691 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9692 { &hf_lustre_mdt_body_blocks,
9693 { "Blocks", "lustre.mdt_body.blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9694 { &hf_lustre_mdt_body_ioepoch,
9695 { "Ioepoch", "lustre.mdt_body.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9696 { &hf_lustre_mdt_body_ino,
9697 { "Ino", "lustre.mdt_body.ino", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9698 { &hf_lustre_mdt_body_fsuid,
9699 { "Fsuid", "lustre.mdt_body.fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9700 { &hf_lustre_mdt_body_fsgid,
9701 { "Fsgid", "lustre.mdt_body.fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9702 { &hf_lustre_mdt_body_capability,
9703 { "Capability", "lustre.mdt_body.capability", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9704 { &hf_lustre_mdt_body_mode,
9705 { "Mode", "lustre.mdt_body.mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9706 { &hf_lustre_mdt_body_uid,
9707 { "Uid", "lustre.mdt_body.uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9708 { &hf_lustre_mdt_body_gid,
9709 { "Gid", "lustre.mdt_body.gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9710 { &hf_lustre_mdt_body_flags,
9711 { "Flags", "lustre.mdt_body.flags", FT_UINT32, BASE_HEX, VALS(lustre_mds_flags_vals) , 0, "", HFILL }},
9712 { &hf_lustre_mdt_body_rdev,
9713 { "Rdev", "lustre.mdt_body.rdev", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9714 { &hf_lustre_mdt_body_nlink,
9715 { "Nlink", "lustre.mdt_body.nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9716 { &hf_lustre_mdt_body_generation,
9717 { "Generation", "lustre.mdt_body.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9718 { &hf_lustre_mdt_body_suppgid,
9719 { "Suppgid", "lustre.mdt_body.suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9720 { &hf_lustre_mdt_body_eadatasize,
9721 { "Eadatasize", "lustre.mdt_body.eadatasize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9722 { &hf_lustre_mdt_body_aclsize,
9723 { "Aclsize", "lustre.mdt_body.aclsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9724 { &hf_lustre_mdt_body_max_mdsize,
9725 { "Max Mdsize", "lustre.mdt_body.max_mdsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9726 { &hf_lustre_mdt_body_max_cookiesize,
9727 { "Max Cookiesize", "lustre.mdt_body.max_cookiesize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9728 { &hf_lustre_mdt_body_uid_h,
9729 { "Uid H", "lustre.mdt_body.uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9730 { &hf_lustre_mdt_body_gid_h,
9731 { "Gid H", "lustre.mdt_body.gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9732 { &hf_lustre_mdt_body_padding_5,
9733 { "Padding 5", "lustre.mdt_body.padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9734 { &hf_lustre_mdt_body_padding_6,
9735 { "Padding 6", "lustre.mdt_body.padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9736 { &hf_lustre_mdt_body_padding_7,
9737 { "Padding 7", "lustre.mdt_body.padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9738 { &hf_lustre_mdt_body_padding_8,
9739 { "Padding 8", "lustre.mdt_body.padding_8", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9740 { &hf_lustre_mdt_body_padding_9,
9741 { "Padding 9", "lustre.mdt_body.padding_9", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9742 { &hf_lustre_mdt_body_padding_10,
9743 { "Padding 10", "lustre.mdt_body.padding_10", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9745 { &hf_lustre_mdt_rec_setattr,
9746 { "mdt rec setattr", "lustre.mdt_rec_setattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9747 { &hf_lustre_mdt_rec_setattr_sa_opcode,
9748 { "Sa Opcode", "lustre.mdt_rec_setattr.sa_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9749 { &hf_lustre_mdt_rec_setattr_sa_cap,
9750 { "Sa Cap", "lustre.mdt_rec_setattr.sa_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9751 { &hf_lustre_mdt_rec_setattr_sa_fsuid,
9752 { "Sa Fsuid", "lustre.mdt_rec_setattr.sa_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9753 { &hf_lustre_mdt_rec_setattr_sa_fsuid_h,
9754 { "Sa Fsuid H", "lustre.mdt_rec_setattr.sa_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9755 { &hf_lustre_mdt_rec_setattr_sa_fsgid,
9756 { "Sa Fsgid", "lustre.mdt_rec_setattr.sa_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9757 { &hf_lustre_mdt_rec_setattr_sa_fsgid_h,
9758 { "Sa Fsgid H", "lustre.mdt_rec_setattr.sa_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9759 { &hf_lustre_mdt_rec_setattr_sa_suppgid,
9760 { "Sa Suppgid", "lustre.mdt_rec_setattr.sa_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9761 { &hf_lustre_mdt_rec_setattr_sa_suppgid_h,
9762 { "Sa Suppgid H", "lustre.mdt_rec_setattr.sa_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9763 { &hf_lustre_mdt_rec_setattr_sa_padding_1,
9764 { "Sa Padding 1", "lustre.mdt_rec_setattr.sa_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9765 { &hf_lustre_mdt_rec_setattr_sa_padding_1_h,
9766 { "Sa Padding 1 H", "lustre.mdt_rec_setattr.sa_padding_1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9767 { &hf_lustre_mdt_rec_setattr_sa_fid,
9768 { "Sa Fid", "lustre.mdt_rec_setattr.sa_fid", FT_NONE,
9769 BASE_NONE, NULL, 0, "", HFILL } },
9770 { &hf_lustre_mdt_rec_setattr_sa_valid,
9771 { "Sa Valid", "lustre.mdt_rec_setattr.sa_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9772 { &hf_lustre_mdt_rec_setattr_sa_uid,
9773 { "Sa Uid", "lustre.mdt_rec_setattr.sa_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9774 { &hf_lustre_mdt_rec_setattr_sa_gid,
9775 { "Sa Gid", "lustre.mdt_rec_setattr.sa_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9776 { &hf_lustre_mdt_rec_setattr_sa_size,
9777 { "Sa Size", "lustre.mdt_rec_setattr.sa_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9778 { &hf_lustre_mdt_rec_setattr_sa_blocks,
9779 { "Sa Blocks", "lustre.mdt_rec_setattr.sa_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9780 { &hf_lustre_mdt_rec_setattr_sa_mtime,
9781 { "Sa Mtime", "lustre.mdt_rec_setattr.sa_mtime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9782 { &hf_lustre_mdt_rec_setattr_sa_atime,
9783 { "Sa Atime", "lustre.mdt_rec_setattr.sa_atime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9784 { &hf_lustre_mdt_rec_setattr_sa_ctime,
9785 { "Sa Ctime", "lustre.mdt_rec_setattr.sa_ctime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9786 { &hf_lustre_mdt_rec_setattr_sa_attr_flags,
9787 { "Sa Attr Flags", "lustre.mdt_rec_setattr.sa_attr_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9788 { &hf_lustre_mdt_rec_setattr_sa_mode,
9789 { "Sa Mode", "lustre.mdt_rec_setattr.sa_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9790 { &hf_lustre_mdt_rec_setattr_sa_padding_2,
9791 { "Sa Padding 2", "lustre.mdt_rec_setattr.sa_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9792 { &hf_lustre_mdt_rec_setattr_sa_padding_3,
9793 { "Sa Padding 3", "lustre.mdt_rec_setattr.sa_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9794 { &hf_lustre_mdt_rec_setattr_sa_padding_4,
9795 { "Sa Padding 4", "lustre.mdt_rec_setattr.sa_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9796 { &hf_lustre_mdt_rec_setattr_sa_padding_5,
9797 { "Sa Padding 5", "lustre.mdt_rec_setattr.sa_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9799 { &hf_lustre_mdt_rec_create,
9800 { "mdt rec create", "lustre.mdt_rec_create", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9801 { &hf_lustre_mdt_rec_create_cr_opcode,
9802 { "Cr Opcode", "lustre.mdt_rec_create.cr_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9803 { &hf_lustre_mdt_rec_create_cr_cap,
9804 { "Cr Cap", "lustre.mdt_rec_create.cr_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9805 { &hf_lustre_mdt_rec_create_cr_fsuid,
9806 { "Cr Fsuid", "lustre.mdt_rec_create.cr_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9807 { &hf_lustre_mdt_rec_create_cr_fsuid_h,
9808 { "Cr Fsuid H", "lustre.mdt_rec_create.cr_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9809 { &hf_lustre_mdt_rec_create_cr_fsgid,
9810 { "Cr Fsgid", "lustre.mdt_rec_create.cr_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9811 { &hf_lustre_mdt_rec_create_cr_fsgid_h,
9812 { "Cr Fsgid H", "lustre.mdt_rec_create.cr_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9813 { &hf_lustre_mdt_rec_create_cr_suppgid1,
9814 { "Cr Suppgid1", "lustre.mdt_rec_create.cr_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9815 { &hf_lustre_mdt_rec_create_cr_suppgid1_h,
9816 { "Cr Suppgid1 H", "lustre.mdt_rec_create.cr_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9817 { &hf_lustre_mdt_rec_create_cr_suppgid2,
9818 { "Cr Suppgid2", "lustre.mdt_rec_create.cr_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9819 { &hf_lustre_mdt_rec_create_cr_suppgid2_h,
9820 { "Cr Suppgid2 H", "lustre.mdt_rec_create.cr_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9821 { &hf_lustre_mdt_rec_create_cr_fid1,
9822 { "Cr Fid1", "lustre.mdt_rec_create.cr_fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9823 { &hf_lustre_mdt_rec_create_cr_fid2,
9824 { "Cr Fid2", "lustre.mdt_rec_create.cr_fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9825 { &hf_lustre_mdt_rec_create_cr_old_handle,
9826 { "Cr Old Handle", "lustre.mdt_rec_create.cr_old_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9827 { &hf_lustre_mdt_rec_create_cr_time,
9828 { "Cr Time", "lustre.mdt_rec_create.cr_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9829 { &hf_lustre_mdt_rec_create_cr_rdev,
9830 { "Cr Rdev", "lustre.mdt_rec_create.cr_rdev", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9831 { &hf_lustre_mdt_rec_create_cr_ioepoch,
9832 { "Cr Ioepoch", "lustre.mdt_rec_create.cr_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9833 { &hf_lustre_mdt_rec_create_cr_padding_1,
9834 { "Cr Padding 1", "lustre.mdt_rec_create.cr_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9835 { &hf_lustre_mdt_rec_create_cr_mode,
9836 { "Cr Mode", "lustre.mdt_rec_create.cr_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9837 { &hf_lustre_mdt_rec_create_cr_bias,
9838 { "Cr Bias", "lustre.mdt_rec_create.cr_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9839 { &hf_lustre_mdt_rec_create_cr_flags_l,
9840 { "Cr Flags L", "lustre.mdt_rec_create.cr_flags_l", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9841 { &hf_lustre_mdt_rec_create_cr_flags_h,
9842 { "Cr Flags H", "lustre.mdt_rec_create.cr_flags_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9843 { &hf_lustre_mdt_rec_create_cr_umask,
9844 { "Cr Umask", "lustre.mdt_rec_create.cr_umask", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9845 { &hf_lustre_mdt_rec_create_cr_padding_4,
9846 { "Cr Padding 4", "lustre.mdt_rec_create.cr_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9848 { &hf_lustre_mdt_rec_link,
9849 { "mdt rec link", "lustre.mdt_rec_link", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9850 { &hf_lustre_mdt_rec_link_lk_opcode,
9851 { "Lk Opcode", "lustre.mdt_rec_link.lk_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9852 { &hf_lustre_mdt_rec_link_lk_cap,
9853 { "Lk Cap", "lustre.mdt_rec_link.lk_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9854 { &hf_lustre_mdt_rec_link_lk_fsuid,
9855 { "Lk Fsuid", "lustre.mdt_rec_link.lk_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9856 { &hf_lustre_mdt_rec_link_lk_fsuid_h,
9857 { "Lk Fsuid H", "lustre.mdt_rec_link.lk_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9858 { &hf_lustre_mdt_rec_link_lk_fsgid,
9859 { "Lk Fsgid", "lustre.mdt_rec_link.lk_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9860 { &hf_lustre_mdt_rec_link_lk_fsgid_h,
9861 { "Lk Fsgid H", "lustre.mdt_rec_link.lk_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9862 { &hf_lustre_mdt_rec_link_lk_suppgid1,
9863 { "Lk Suppgid1", "lustre.mdt_rec_link.lk_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9864 { &hf_lustre_mdt_rec_link_lk_suppgid1_h,
9865 { "Lk Suppgid1 H", "lustre.mdt_rec_link.lk_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9866 { &hf_lustre_mdt_rec_link_lk_suppgid2,
9867 { "Lk Suppgid2", "lustre.mdt_rec_link.lk_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9868 { &hf_lustre_mdt_rec_link_lk_suppgid2_h,
9869 { "Lk Suppgid2 H", "lustre.mdt_rec_link.lk_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9870 { &hf_lustre_mdt_rec_link_lk_fid1,
9871 { "Lk Fid1", "lustre.mdt_rec_link.lk_fid1", FT_NONE,
9872 BASE_NONE, NULL, 0, "", HFILL } },
9873 { &hf_lustre_mdt_rec_link_lk_fid2,
9874 { "Lk Fid2", "lustre.mdt_rec_link.lk_fid2", FT_NONE,
9875 BASE_NONE, NULL, 0, "", HFILL } },
9876 { &hf_lustre_mdt_rec_link_lk_time,
9877 { "Lk Time", "lustre.mdt_rec_link.lk_time",FT_ABSOLUTE_TIME,
9878 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9879 { &hf_lustre_mdt_rec_link_lk_padding_1,
9880 { "Lk Padding 1", "lustre.mdt_rec_link.lk_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9881 { &hf_lustre_mdt_rec_link_lk_padding_2,
9882 { "Lk Padding 2", "lustre.mdt_rec_link.lk_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9883 { &hf_lustre_mdt_rec_link_lk_padding_3,
9884 { "Lk Padding 3", "lustre.mdt_rec_link.lk_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9885 { &hf_lustre_mdt_rec_link_lk_padding_4,
9886 { "Lk Padding 4", "lustre.mdt_rec_link.lk_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9887 { &hf_lustre_mdt_rec_link_lk_bias,
9888 { "Lk Bias", "lustre.mdt_rec_link.lk_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9889 { &hf_lustre_mdt_rec_link_lk_padding_5,
9890 { "Lk Padding 5", "lustre.mdt_rec_link.lk_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9891 { &hf_lustre_mdt_rec_link_lk_padding_6,
9892 { "Lk Padding 6", "lustre.mdt_rec_link.lk_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9893 { &hf_lustre_mdt_rec_link_lk_padding_7,
9894 { "Lk Padding 7", "lustre.mdt_rec_link.lk_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9895 { &hf_lustre_mdt_rec_link_lk_padding_8,
9896 { "Lk Padding 8", "lustre.mdt_rec_link.lk_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9897 { &hf_lustre_mdt_rec_link_lk_padding_9,
9898 { "Lk Padding 9", "lustre.mdt_rec_link.lk_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9900 { &hf_lustre_mdt_rec_unlink,
9901 { "mdt rec unlink", "lustre.mdt_rec_unlink", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9902 { &hf_lustre_mdt_rec_unlink_ul_opcode,
9903 { "Ul Opcode", "lustre.mdt_rec_unlink.ul_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9904 { &hf_lustre_mdt_rec_unlink_ul_cap,
9905 { "Ul Cap", "lustre.mdt_rec_unlink.ul_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9906 { &hf_lustre_mdt_rec_unlink_ul_fsuid,
9907 { "Ul Fsuid", "lustre.mdt_rec_unlink.ul_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9908 { &hf_lustre_mdt_rec_unlink_ul_fsuid_h,
9909 { "Ul Fsuid H", "lustre.mdt_rec_unlink.ul_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9910 { &hf_lustre_mdt_rec_unlink_ul_fsgid,
9911 { "Ul Fsgid", "lustre.mdt_rec_unlink.ul_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9912 { &hf_lustre_mdt_rec_unlink_ul_fsgid_h,
9913 { "Ul Fsgid H", "lustre.mdt_rec_unlink.ul_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9914 { &hf_lustre_mdt_rec_unlink_ul_suppgid1,
9915 { "Ul Suppgid1", "lustre.mdt_rec_unlink.ul_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9916 { &hf_lustre_mdt_rec_unlink_ul_suppgid1_h,
9917 { "Ul Suppgid1 H", "lustre.mdt_rec_unlink.ul_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9918 { &hf_lustre_mdt_rec_unlink_ul_suppgid2,
9919 { "Ul Suppgid2", "lustre.mdt_rec_unlink.ul_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9920 { &hf_lustre_mdt_rec_unlink_ul_suppgid2_h,
9921 { "Ul Suppgid2 H", "lustre.mdt_rec_unlink.ul_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9922 { &hf_lustre_mdt_rec_unlink_ul_fid1,
9923 { "Ul Fid1", "lustre.mdt_rec_unlink.ul_fid1", FT_NONE,
9924 BASE_NONE, NULL, 0, "", HFILL } },
9925 { &hf_lustre_mdt_rec_unlink_ul_fid2,
9926 { "Ul Fid2", "lustre.mdt_rec_unlink.ul_fid2", FT_NONE,
9927 BASE_NONE, NULL, 0, "", HFILL } },
9928 { &hf_lustre_mdt_rec_unlink_ul_time,
9929 { "Ul Time", "lustre.mdt_rec_unlink.ul_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9930 { &hf_lustre_mdt_rec_unlink_ul_padding_2,
9931 { "Ul Padding 2", "lustre.mdt_rec_unlink.ul_padding_2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9932 { &hf_lustre_mdt_rec_unlink_ul_padding_3,
9933 { "Ul Padding 3", "lustre.mdt_rec_unlink.ul_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9934 { &hf_lustre_mdt_rec_unlink_ul_padding_4,
9935 { "Ul Padding 4", "lustre.mdt_rec_unlink.ul_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9936 { &hf_lustre_mdt_rec_unlink_ul_padding_5,
9937 { "Ul Padding 5", "lustre.mdt_rec_unlink.ul_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9938 { &hf_lustre_mdt_rec_unlink_ul_bias,
9939 { "Ul Bias", "lustre.mdt_rec_unlink.ul_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9940 { &hf_lustre_mdt_rec_unlink_ul_mode,
9941 { "Ul Mode", "lustre.mdt_rec_unlink.ul_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9942 { &hf_lustre_mdt_rec_unlink_ul_padding_6,
9943 { "Ul Padding 6", "lustre.mdt_rec_unlink.ul_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9944 { &hf_lustre_mdt_rec_unlink_ul_padding_7,
9945 { "Ul Padding 7", "lustre.mdt_rec_unlink.ul_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9946 { &hf_lustre_mdt_rec_unlink_ul_padding_8,
9947 { "Ul Padding 8", "lustre.mdt_rec_unlink.ul_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9948 { &hf_lustre_mdt_rec_unlink_ul_padding_9,
9949 { "Ul Padding 9", "lustre.mdt_rec_unlink.ul_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9951 { &hf_lustre_mdt_rec_rename,
9952 { "mdt rec rename", "lustre.mdt_rec_rename", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9953 { &hf_lustre_mdt_rec_rename_rn_opcode,
9954 { "Rn Opcode", "lustre.mdt_rec_rename.rn_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9955 { &hf_lustre_mdt_rec_rename_rn_cap,
9956 { "Rn Cap", "lustre.mdt_rec_rename.rn_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9957 { &hf_lustre_mdt_rec_rename_rn_fsuid,
9958 { "Rn Fsuid", "lustre.mdt_rec_rename.rn_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9959 { &hf_lustre_mdt_rec_rename_rn_fsuid_h,
9960 { "Rn Fsuid H", "lustre.mdt_rec_rename.rn_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9961 { &hf_lustre_mdt_rec_rename_rn_fsgid,
9962 { "Rn Fsgid", "lustre.mdt_rec_rename.rn_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9963 { &hf_lustre_mdt_rec_rename_rn_fsgid_h,
9964 { "Rn Fsgid H", "lustre.mdt_rec_rename.rn_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9965 { &hf_lustre_mdt_rec_rename_rn_suppgid1,
9966 { "Rn Suppgid1", "lustre.mdt_rec_rename.rn_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9967 { &hf_lustre_mdt_rec_rename_rn_suppgid1_h,
9968 { "Rn Suppgid1 H", "lustre.mdt_rec_rename.rn_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9969 { &hf_lustre_mdt_rec_rename_rn_suppgid2,
9970 { "Rn Suppgid2", "lustre.mdt_rec_rename.rn_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9971 { &hf_lustre_mdt_rec_rename_rn_suppgid2_h,
9972 { "Rn Suppgid2 H", "lustre.mdt_rec_rename.rn_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9973 { &hf_lustre_mdt_rec_rename_rn_fid1,
9974 { "Rn Fid1", "lustre.mdt_rec_rename.rn_fid1", FT_NONE,
9975 BASE_NONE, NULL, 0, "", HFILL } },
9976 { &hf_lustre_mdt_rec_rename_rn_fid2,
9977 { "Rn Fid2", "lustre.mdt_rec_rename.rn_fid2", FT_NONE,
9978 BASE_NONE, NULL, 0, "", HFILL } },
9979 { &hf_lustre_mdt_rec_rename_rn_time,
9980 { "Rn Time", "lustre.mdt_rec_rename.rn_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9981 { &hf_lustre_mdt_rec_rename_rn_padding_1,
9982 { "Rn Padding 1", "lustre.mdt_rec_rename.rn_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9983 { &hf_lustre_mdt_rec_rename_rn_padding_2,
9984 { "Rn Padding 2", "lustre.mdt_rec_rename.rn_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9985 { &hf_lustre_mdt_rec_rename_rn_padding_3,
9986 { "Rn Padding 3", "lustre.mdt_rec_rename.rn_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9987 { &hf_lustre_mdt_rec_rename_rn_padding_4,
9988 { "Rn Padding 4", "lustre.mdt_rec_rename.rn_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9989 { &hf_lustre_mdt_rec_rename_rn_bias,
9990 { "Rn Bias", "lustre.mdt_rec_rename.rn_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9991 { &hf_lustre_mdt_rec_rename_rn_mode,
9992 { "Rn Mode", "lustre.mdt_rec_rename.rn_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9993 { &hf_lustre_mdt_rec_rename_rn_padding_5,
9994 { "Rn Padding 5", "lustre.mdt_rec_rename.rn_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9995 { &hf_lustre_mdt_rec_rename_rn_padding_6,
9996 { "Rn Padding 6", "lustre.mdt_rec_rename.rn_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9997 { &hf_lustre_mdt_rec_rename_rn_padding_7,
9998 { "Rn Padding 7", "lustre.mdt_rec_rename.rn_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9999 { &hf_lustre_mdt_rec_rename_rn_padding_8,
10000 { "Rn Padding 8", "lustre.mdt_rec_rename.rn_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10002 { &hf_lustre_mdt_rec_setxattr,
10003 { "mdt rec setxattr", "lustre.mdt_rec_setxattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10004 { &hf_lustre_mdt_rec_setxattr_sx_opcode,
10005 { "Sx Opcode", "lustre.mdt_rec_setxattr.sx_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
10006 { &hf_lustre_mdt_rec_setxattr_sx_cap,
10007 { "Sx Cap", "lustre.mdt_rec_setxattr.sx_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10008 { &hf_lustre_mdt_rec_setxattr_sx_fsuid,
10009 { "Sx Fsuid", "lustre.mdt_rec_setxattr.sx_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10010 { &hf_lustre_mdt_rec_setxattr_sx_fsuid_h,
10011 { "Sx Fsuid H", "lustre.mdt_rec_setxattr.sx_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10012 { &hf_lustre_mdt_rec_setxattr_sx_fsgid,
10013 { "Sx Fsgid", "lustre.mdt_rec_setxattr.sx_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10014 { &hf_lustre_mdt_rec_setxattr_sx_fsgid_h,
10015 { "Sx Fsgid H", "lustre.mdt_rec_setxattr.sx_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10016 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1,
10017 { "Sx Suppgid1", "lustre.mdt_rec_setxattr.sx_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10018 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1_h,
10019 { "Sx Suppgid1 H", "lustre.mdt_rec_setxattr.sx_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10020 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2,
10021 { "Sx Suppgid2", "lustre.mdt_rec_setxattr.sx_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10022 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2_h,
10023 { "Sx Suppgid2 H", "lustre.mdt_rec_setxattr.sx_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10024 { &hf_lustre_mdt_rec_setxattr_sx_fid,
10025 { "Sx Fid", "lustre.mdt_rec_setxattr.sx_fid", FT_NONE,
10026 BASE_NONE, NULL, 0, "", HFILL } },
10027 { &hf_lustre_mdt_rec_setxattr_sx_padding_1,
10028 { "Sx Padding 1", "lustre.mdt_rec_setxattr.sx_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10029 { &hf_lustre_mdt_rec_setxattr_sx_padding_2,
10030 { "Sx Padding 2", "lustre.mdt_rec_setxattr.sx_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10031 { &hf_lustre_mdt_rec_setxattr_sx_padding_3,
10032 { "Sx Padding 3", "lustre.mdt_rec_setxattr.sx_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10033 { &hf_lustre_mdt_rec_setxattr_sx_valid,
10034 { "Sx Valid", "lustre.mdt_rec_setxattr.sx_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10035 { &hf_lustre_mdt_rec_setxattr_sx_time,
10036 { "Sx Time", "lustre.mdt_rec_setxattr.sx_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10037 { &hf_lustre_mdt_rec_setxattr_sx_padding_5,
10038 { "Sx Padding 5", "lustre.mdt_rec_setxattr.sx_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10039 { &hf_lustre_mdt_rec_setxattr_sx_padding_6,
10040 { "Sx Padding 6", "lustre.mdt_rec_setxattr.sx_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10041 { &hf_lustre_mdt_rec_setxattr_sx_padding_7,
10042 { "Sx Padding 7", "lustre.mdt_rec_setxattr.sx_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10043 { &hf_lustre_mdt_rec_setxattr_sx_size,
10044 { "Sx Size", "lustre.mdt_rec_setxattr.sx_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10045 { &hf_lustre_mdt_rec_setxattr_sx_flags,
10046 { "Sx Flags", "lustre.mdt_rec_setxattr.sx_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10047 { &hf_lustre_mdt_rec_setxattr_sx_padding_8,
10048 { "Sx Padding 8", "lustre.mdt_rec_setxattr.sx_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10049 { &hf_lustre_mdt_rec_setxattr_sx_padding_9,
10050 { "Sx Padding 9", "lustre.mdt_rec_setxattr.sx_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10051 { &hf_lustre_mdt_rec_setxattr_sx_padding_10,
10052 { "Sx Padding 10", "lustre.mdt_rec_setxattr.sx_padding_10", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10053 { &hf_lustre_mdt_rec_setxattr_sx_padding_11,
10054 { "Sx Padding 11", "lustre.mdt_rec_setxattr.sx_padding_11", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10056 { &hf_lustre_lustre_handle_cookie,
10057 { "Cookie", "lustre.lustre_handle.cookie", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10058 { &hf_lustre_ptlrpc_body_pb_last_committed,
10059 { "Pb Last Committed", "lustre.ptlrpc_body.pb_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10060 { &hf_lustre_ptlrpc_body_pb_version,
10061 { "Pb Version", "lustre.ptlrpc_body.pb_version", FT_UINT32, BASE_DEC, NULL, ~LUSTRE_VERSION_MASK, "", HFILL }},
10062 { &hf_lustre_lustre_msg_v1_lm_bufcount,
10063 { "Lm Bufcount", "lustre.lustre_msg_v1.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10064 { &hf_lustre_obd_ioobj_ioo_id,
10065 { "Ioo Id", "lustre.obd_ioobj.ioo_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10066 { &hf_lustre_ptlrpc_body_pb_slv,
10067 { "Pb Slv", "lustre.ptlrpc_body.pb_slv", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10069 { &hf_lustre_ptlrpc_body_pb_pre_version,
10070 { "Pb Pre-Version", "lustre.ptlrpc_body.pb_pre_version", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10071 { &hf_lustre_ptlrpc_body_pb_padding,
10072 { "Pb Padding", "lustre.ptlrpc_body.pb_padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10073 { &hf_lustre_ptlrpc_body_pb_jobid,
10074 { "Pb JobId", "lustre.ptlrpc_body.pb_jobid", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10076 { &hf_lustre_lustre_msg_v1_lm_handle,
10077 { "Lm Handle", "lustre.lustre_msg_v1.lm_handle", FT_NONE,
10078 BASE_NONE, NULL, 0, "", HFILL } },
10079 { &hf_lustre_ost_lvb_lvb_atime,
10080 { "Lvb Atime", "lustre.ost_lvb.lvb_atime",FT_ABSOLUTE_TIME,
10081 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10082 { &hf_lustre_ptlrpc_body_pb_timeout,
10083 { "Pb Timeout", "lustre.ptlrpc_body.pb_timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10084 { &hf_lustre_obd_statfs_os_bavail,
10085 { "Os Bavail", "lustre.obd_statfs.os_bavail", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10086 { &hf_lustre_obd_statfs_os_bsize,
10087 { "Os Bsize", "lustre.obd_statfs.os_bsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10088 { &hf_lustre_lustre_msg_v2_lm_repsize,
10089 { "Lm Repsize", "lustre.lustre_msg_v2.lm_repsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10090 { &hf_lustre_lov_mds_md_v1_lmm_stripe_size,
10091 { "Lmm Stripe Size", "lustre.lov_mds_md_v1.lmm_stripe_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10092 { &hf_lustre_lustre_msg_v1_lm_last_xid,
10093 { "Lm Last Xid", "lustre.lustre_msg_v1.lm_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10094 { &hf_lustre_ll_fid_f_type,
10095 { "F Type", "lustre.ll_fid.f_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10096 { &hf_lustre_lustre_msg_v2_lm_cksum,
10097 { "Lm Cksum", "lustre.lustre_msg_v2.lm_cksum", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10098 { &hf_lustre_lustre_msg_v2_lm_buflens,
10099 { "Lm Buflens", "lustre.lustre_msg_v2.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10100 { &hf_lustre_lustre_msg_v1_lm_status,
10101 { "Lm Status", "lustre.lustre_msg_v1.lm_status", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10102 { &hf_lustre_lustre_msg_v1_lm_type,
10103 { "Lm Type", "lustre.lustre_msg_v1.lm_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10104 { &hf_lustre_niobuf_remote_len,
10105 { "Len", "lustre.niobuf_remote.len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10106 { &hf_lustre_lov_mds_md_v1_lmm_magic,
10107 { "Lmm Magic", "lustre.lov_mds_md_v1.lmm_magic", FT_UINT32, BASE_HEX, VALS(lustre_lov_magic) , 0, "", HFILL }},
10108 { &hf_lustre_ptlrpc_body_pb_op_flags,
10109 { "Pb Op Flags", "lustre.ptlrpc_body.pb_op_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10110 { &hf_lustre_ost_lvb_lvb_ctime,
10111 { "Lvb Ctime", "lustre.ost_lvb.lvb_ctime",FT_ABSOLUTE_TIME,
10112 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10113 { &hf_lustre_ptlrpc_body_pb_type,
10114 { "Pb Type", "lustre.ptlrpc_body.pb_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10115 { &hf_lustre_obd_connect_data_ocd_nllg,
10116 { "Ocd Nllg", "lustre.obd_connect_data.ocd_nllg", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10117 { &hf_lustre_obd_connect_data_ocd_nllu,
10118 { "Ocd Nllu", "lustre.obd_connect_data.ocd_nllu", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10119 { &hf_lustre_ll_fid_generation,
10120 { "Generation", "lustre.ll_fid.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10121 { &hf_lustre_ost_lvb_lvb_mtime,
10122 { "Lvb Mtime", "lustre.ost_lvb.lvb_mtime",FT_ABSOLUTE_TIME,
10123 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10124 { &hf_lustre_obd_connect_data_ocd_ibits_known,
10125 { "Ocd Ibits Known", "lustre.obd_connect_data.ocd_ibits_known", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10126 { &hf_lustre_lustre_msg_v2_lm_padding_3,
10127 { "Lm Padding 3", "lustre.lustre_msg_v2.lm_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10128 { &hf_lustre_ptlrpc_body_pb_flags,
10129 { "Pb Flags", "lustre.ptlrpc_body.pb_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10130 { &hf_lustre_obd_statfs_os_spare4,
10131 { "Os Spare4", "lustre.obd_statfs.os_spare4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10132 { &hf_lustre_obd_connect_data_ocd_group,
10133 { "Ocd Group", "lustre.obd_connect_data.ocd_group", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10134 { &hf_lustre_lov_ost_data_v1_l_object_seq,
10135 { "L Object SEQ", "lustre.lov_ost_data_v1.l_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10136 { &hf_lustre_lov_mds_md_v1_lmm_object_seq,
10137 { "Lmm Object SEQ", "lustre.lov_mds_md_v1.lmm_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10138 { &hf_lustre_obd_connect_data_ocd_brw_size,
10139 { "Ocd Brw Size", "lustre.obd_connect_data.ocd_brw_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10140 { &hf_lustre_ptlrpc_body_pb_limit,
10141 { "Pb Limit", "lustre.ptlrpc_body.pb_limit", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10142 { &hf_lustre_obd_statfs_os_maxbytes,
10143 { "Os Maxbytes", "lustre.obd_statfs.os_maxbytes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10144 { &hf_lustre_obd_statfs_os_spare5,
10145 { "Os Spare5", "lustre.obd_statfs.os_spare5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10146 { &hf_lustre_lustre_msg_v2_lm_flags,
10147 { "Lm Flags", "lustre.lustre_msg_v2.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10148 { &hf_lustre_obd_statfs_os_ffree,
10149 { "Os Ffree", "lustre.obd_statfs.os_ffree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10150 { &hf_lustre_obd_statfs_os_files,
10151 { "Os Files", "lustre.obd_statfs.os_files", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10152 { &hf_lustre_lov_mds_md_v1_lmm_stripe_count,
10153 { "Lmm Stripe Count", "lustre.lov_mds_md_v1.lmm_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10154 { &hf_lustre_lustre_msg_v1_lm_flags,
10155 { "Lm Flags", "lustre.lustre_msg_v1.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10156 { &hf_lustre_lustre_msg_v1_lm_last_committed,
10157 { "Lm Last Committed", "lustre.lustre_msg_v1.lm_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10158 { &hf_lustre_obd_statfs_os_spare9,
10159 { "Os Spare9", "lustre.obd_statfs.os_spare9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10160 { &hf_lustre_obd_connect_data_ocd_index,
10161 { "Ocd Index", "lustre.obd_connect_data.ocd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10162 { &hf_lustre_lustre_msg_v1_lm_buflens,
10163 { "Lm Buflens", "lustre.lustre_msg_v1.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10164 { &hf_lustre_obd_statfs_os_spare1,
10165 { "Os Spare1", "lustre.obd_statfs.os_spare1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10166 { &hf_lustre_obd_statfs_os_spare8,
10167 { "Os Spare8", "lustre.obd_statfs.os_spare8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10168 { &hf_lustre_lustre_msg_v1_lm_conn_cnt,
10169 { "Lm Conn Cnt", "lustre.lustre_msg_v1.lm_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10170 { &hf_lustre_ptlrpc_body_pb_transno,
10171 { "Pb Transno", "lustre.ptlrpc_body.pb_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10172 { &hf_lustre_ptlrpc_body_pb_service_time,
10173 { "Pb Service Time", "lustre.ptlrpc_body.pb_service_time",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10174 { &hf_lustre_ptlrpc_body_pb_conn_cnt,
10175 { "Pb Conn Cnt", "lustre.ptlrpc_body.pb_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10176 { &hf_lustre_ptlrpc_body_pb_opc,
10177 { "Pb Opc", "lustre.ptlrpc_body.pb_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10178 { &hf_lustre_obd_connect_data_ocd_connect_flags,
10179 { "Ocd Connect Flags", "lustre.obd_connect_data.ocd_connect_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10180 { &hf_lustre_lov_ost_data_v1_l_object_id,
10181 { "L Object Id", "lustre.lov_ost_data_v1.l_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10182 { &hf_lustre_lov_ost_data_v1_l_ost_gen,
10183 { "L Ost Gen", "lustre.lov_ost_data_v1.l_ost_gen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10184 { &hf_lustre_obd_statfs_os_bfree,
10185 { "Os Bfree", "lustre.obd_statfs.os_bfree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10186 { &hf_lustre_obd_connect_data_ocd_version,
10187 { "Ocd Version", "lustre.obd_connect_data.ocd_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10188 { &hf_lustre_lov_mds_md_v1_lmm_objects,
10189 { "Lmm Objects", "lustre.lov_mds_md_v1.lmm_objects", FT_NONE,
10190 BASE_NONE, NULL, 0, "", HFILL } },
10191 { &hf_lustre_obd_statfs_os_namelen,
10192 { "Os Namelen", "lustre.obd_statfs.os_namelen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10193 { &hf_lustre_obd_statfs_os_blocks,
10194 { "Os Blocks", "lustre.obd_statfs.os_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10195 { &hf_lustre_lustre_msg_v2_lm_secflvr,
10196 { "Lm Secflvr", "lustre.lustre_msg_v2.lm_secflvr", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10197 { &hf_lustre_lustre_msg_v1_lm_transno,
10198 { "Lm Transno", "lustre.lustre_msg_v1.lm_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10199 { &hf_lustre_lov_mds_md_v1_lmm_pattern,
10200 { "Lmm Pattern", "lustre.lov_mds_md_v1.lmm_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10201 { &hf_lustre_lustre_msg_v1_lm_opc,
10202 { "Lm Opc", "lustre.lustre_msg_v1.lm_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10203 { &hf_lustre_obd_connect_data_ocd_grant,
10204 { "Ocd Grant", "lustre.obd_connect_data.ocd_grant", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10205 { &hf_lustre_obd_ioobj_ioo_bufcnt,
10206 { "Ioo Bufcnt", "lustre.obd_ioobj.ioo_bufcnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10207 { &hf_lustre_lustre_msg_v1_lm_version,
10208 { "Lm Version", "lustre.lustre_msg_v1.lm_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10209 { &hf_lustre_obd_statfs_os_spare7,
10210 { "Os Spare7", "lustre.obd_statfs.os_spare7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10211 { &hf_lustre_obd_statfs_os_fsid,
10212 { "Os Fsid", "lustre.obd_statfs.os_fsid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10213 { &hf_lustre_obd_connect_data_ocd_cksum_types,
10214 { "Ocd Cksum Types", "lustre.obd_connect_data.ocd_cksum_types", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10215 { &hf_lustre_ost_lvb_lvb_size,
10216 { "Lvb Size", "lustre.ost_lvb.lvb_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10217 { &hf_lustre_obd_statfs_os_type,
10218 { "Os Type", "lustre.obd_statfs.os_type", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10219 { &hf_lustre_obd_statfs_os_spare6,
10220 { "Os Spare6", "lustre.obd_statfs.os_spare6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10221 { &hf_lustre_obd_statfs_os_state,
10222 { "Os State", "lustre.obd_statfs.os_state", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10223 { &hf_lustre_obd_statfs_os_spare3,
10224 { "Os Spare3", "lustre.obd_statfs.os_spare3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10225 { &hf_lustre_lustre_msg_v2_lm_magic,
10226 { "Lm Magic", "lustre.lustre_msg_v2.lm_magic", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10227 { &hf_lustre_lov_mds_md_v1_lmm_object_id,
10228 { "Lmm Object Id", "lustre.lov_mds_md_v1.lmm_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10229 { &hf_lustre_ptlrpc_body_pb_last_seen,
10230 { "Pb Last Seen", "lustre.ptlrpc_body.pb_last_seen", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10231 { &hf_lustre_obd_ioobj_ioo_type, /* TODO : create the
10232 corresponding value_string */
10233 { "Ioo Type", "lustre.obd_ioobj.ioo_type", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10234 { &hf_lustre_ptlrpc_body_pb_last_xid,
10235 { "Pb Last Xid", "lustre.ptlrpc_body.pb_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10236 { &hf_lustre_ptlrpc_body_pb_status,
10237 { "Pb Status", "lustre.ptlrpc_body.pb_status", FT_INT32, BASE_DEC, NULL, 0, "", HFILL }},
10238 { &hf_lustre_niobuf_remote_flags,
10239 { "Flags", "lustre.niobuf_remote.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10240 { &hf_lustre_ll_fid_id,
10241 { "Id", "lustre.ll_fid.id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10242 { &hf_lustre_ost_lvb_lvb_blocks,
10243 { "Lvb Blocks", "lustre.ost_lvb.lvb_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10244 { &hf_lustre_lustre_msg_v2_lm_padding_2,
10245 { "Lm Padding 2", "lustre.lustre_msg_v2.lm_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10246 { &hf_lustre_obd_connect_data_padding1,
10247 { "Padding1", "lustre.obd_connect_data.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10248 { &hf_lustre_lov_ost_data_v1_l_ost_idx,
10249 { "L Ost Idx", "lustre.lov_ost_data_v1.l_ost_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10250 { &hf_lustre_obd_connect_data_padding2,
10251 { "Padding2", "lustre.obd_connect_data.padding2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10252 { &hf_lustre_obd_ioobj_ioo_seq,
10253 { "Ioo Gr", "lustre.obd_ioobj.ioo_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10254 { &hf_lustre_niobuf_remote_offset,
10255 { "Offset", "lustre.niobuf_remote.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10256 { &hf_lustre_obd_statfs_os_spare2,
10257 { "Os Spare2", "lustre.obd_statfs.os_spare2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10258 { &hf_lustre_lustre_msg_v2_lm_bufcount,
10259 { "Lm Bufcount", "lustre.lustre_msg_v2.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10260 { &hf_lustre_ptlrpc_body_pb_handle,
10261 { "Pb Handle", "lustre.ptlrpc_body.pb_handle", FT_NONE,
10262 BASE_NONE, NULL, 0, "", HFILL } },
10263 { &hf_lustre_obd_connect_data_ocd_transno,
10264 { "Ocd Transno", "lustre.obd_connect_data.ocd_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10265 { &hf_lustre_lustre_msg_v1_lm_magic,
10266 { "Lm Magic", "lustre.lustre_msg_v1.lm_magic", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10267 { &hf_lustre_ptlrpc_body_pb,
10268 { "ptl rpc", "lustre.ptlrpc_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10270 { &hf_lustre_obd_uuid,
10271 { "obd uid name", "lustre.obd_uid", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10272 { &hf_lustre_obd_connect_data ,
10273 { "obd connect data", "lustre.obd_connect_data", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10275 { &hf_lustre_ldlm_intent,
10276 { "ldlm intent", "lustre.ldlm_intent", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10278 { &hf_lustre_obd_ioobj,
10279 { "lustre obd ioobj", "lustre.obd_ioobj", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10280 { &hf_lustre_niobuf_remote,
10281 { "lustre niobuf remote", "lustre.niobuf_remote", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10282 { &hf_lustre_ost_key,
10283 { "lustre ost key", "lustre.ost_key", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10284 { &hf_lustre_ost_val,
10285 { "lustre ost val", "lustre.ost_val", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10286 { &hf_lustre_llogd_chunk,
10287 { "lustre llogd chunk", "lustre.llogd_chunk", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10288 { &hf_lustre_llogd_keyword,
10289 { "lustre llogd keyword", "lustre.llogd_keyword", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10290 { &hf_lustre_llogd_client,
10291 { "lustre llogd client", "lustre.llogd_client", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10292 { &hf_lustre_llogd_name,
10293 { "lustre llogd name", "lustre.llogd_name", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10294 { &hf_lustre_llogd_log_hdr,
10295 { "lustre llogd log hdr", "lustre.llogd_log_hdr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10296 { &hf_lustre_llog_logid_rec,
10297 { "lustre llog logid rec", "lustre.llog_logid_rec", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10299 { &hf_lustre_llogd_body,
10300 { "lustre llogd body", "lustre.llogd_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10302 { "lustre nio", "lustre.nio", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10303 { &hf_lustre_ost_body,
10304 { "ost body", "lustre.ost_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10305 { &hf_lustre_obd_statfs,
10306 { "obd statfs", "lustre.obd_statfs", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10307 { &hf_lustre_obd_quotactl,
10308 { "obd quotactl", "lustre.obd_quotacl", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10309 { &hf_lustre_quota_adjust_qunit,
10310 { "obd quota adjust qunit", "lustre.quota_adjust_qunit", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10311 { &hf_lustre_llog_unlink_rec_lur_tail,
10312 { "Lur Tail", "lustre.llog_unlink_rec.lur_tail", FT_NONE,
10313 BASE_NONE, NULL, 0, "", HFILL } },
10314 { &hf_lustre_llog_size_change_rec_lsc_io_epoch,
10315 { "Lsc Io Epoch", "lustre.llog_size_change_rec.lsc_io_epoch", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10316 { &hf_lustre_mgs_target_info_mti_flags,
10317 { "Mti Flags", "lustre.mgs_target_info.mti_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10318 { &hf_lustre_ldlm_reply_lock_policy_res1,
10319 { "Lock Policy Res1", "lustre.ldlm_reply.lock_policy_res1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10320 { &hf_lustre_llogd_body_lgd_len,
10321 { "Lgd Len", "lustre.llogd_body.lgd_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10322 { &hf_lustre_qunit_data_old_qd_id,
10323 { "Qd Id", "lustre.qunit_data_old.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10324 { &hf_lustre_llog_logid_rec_padding1,
10325 { "Padding1", "lustre.llog_logid_rec.padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10326 { &hf_lustre_quota_adjust_qunit_padding1,
10327 { "Padding1", "lustre.quota_adjust_qunit.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10328 { &hf_lustre_llog_size_change_rec_lsc_fid,
10329 { "Lsc Fid", "lustre.llog_size_change_rec.lsc_fid", FT_NONE,
10330 BASE_NONE, NULL, 0, "", HFILL } },
10331 { &hf_lustre_llog_rec_hdr_padding,
10332 { "Padding", "lustre.llog_rec_hdr.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10333 { &hf_lustre_obdo_o_nlink,
10334 { "O Nlink", "lustre.obdo.o_nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10335 { &hf_lustre_ldlm_extent_gid,
10336 { "Gid", "lustre.ldlm_extent.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10337 { &hf_lustre_obdo_o_uid,
10338 { "O Uid", "lustre.obdo.o_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10339 { &hf_lustre_mds_xattr_name,
10340 { "mds xattr name", "lustre.mds_xattr_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10341 { &hf_lustre_lov_mds_md_v1,
10342 { "lov mds md v1", "lustre.lov_mds_md_v1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10343 { &hf_lustre_llog_cookie,
10344 { "llog cookie", "lustre.llog_cookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10345 { &hf_lustre_mds_md_data,
10346 { "mds md data", "lustre.mds_md_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10347 { &hf_lustre_mds_reint_opcode,
10348 { "mds reint opcode", "lustre.mds_reint_opcode", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10349 { &hf_lustre_mds_xattr_eadata,
10350 { "mds xattr eadata", "lustre.mds_xattr_eadata", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10351 { &hf_lustre_reint_name,
10352 { "mds reint name", "lustre.mds_reint_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10353 { &hf_lustre_reint_old_name,
10354 { "mds reint old name", "lustre.mds_reint_old_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10355 { &hf_lustre_reint_new_name,
10356 { "mds reint new name", "lustre.mds_reint_new_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10359 { &hf_lustre_obdo_o_valid,
10360 { "O Valid", "lustre.obdo.o_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10361 { &hf_lustre_ldlm_reply_lock_flags,
10362 { "Lock Flags", "lustre.ldlm_reply.lock_flags", FT_UINT32,BASE_HEX, NULL, 0, "", HFILL }},
10364 {&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 } },
10365 {&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 } },
10366 {&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 } },
10367 {&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 } },
10368 {&hf_lustre_ldlm_fl_cbpending, {"LDLM_FL_CBPENDING", "lustre.ldlm_fl_cbpending", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CBPENDING, "", HFILL } },
10369 {&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 } },
10370 {&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 } },
10371 {&hf_lustre_ldlm_fl_cancel, {"LDLM_FL_CANCEL", "lustre.ldlm_fl_cancel", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CANCEL, "", HFILL } },
10372 {&hf_lustre_ldlm_fl_replay, {"LDLM_FL_REPLAY", "lustre.ldlm_fl_replay", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_REPLAY, "", HFILL } },
10373 {&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 } },
10374 {&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 } },
10375 {&hf_lustre_ldlm_fl_failed, {"LDLM_FL_FAILED", "lustre.ldlm_fl_failed", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_FAILED, "", HFILL } },
10376 {&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 } },
10377 {&hf_lustre_ldlm_fl_canceling, {"LDLM_FL_CANCELING", "lustre.ldlm_fl_canceling", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CANCELING, "", HFILL } },
10378 {&hf_lustre_ldlm_fl_local, {"LDLM_FL_LOCAL", "lustre.ldlm_fl_local", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_LOCAL, "", HFILL } },
10379 {&hf_lustre_ldlm_fl_warn, {"LDLM_FL_WARN", "lustre.ldlm_fl_warn", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_WARN, "", HFILL } },
10380 {&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 } },
10381 {&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 } },
10382 {&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 } },
10383 {&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 } },
10384 {&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 } },
10385 {&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 } },
10386 {&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 } },
10387 {&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 } },
10388 {&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 } },
10389 {&hf_lustre_ldlm_fl_cleaned, {"LDLM_FL_CLEANED", "lustre.ldlm_fl_cleaned", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), LDLM_FL_CLEANED, "", HFILL } },
10390 {&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 } },
10391 {&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 } },
10392 {&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 } },
10393 {&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 } },
10394 {&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 } },
10396 { &hf_lustre_obdo_o_misc,
10397 { "O Misc", "lustre.obdo.o_misc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10398 { &hf_lustre_ldlm_request_lock_handle,
10399 { "Lock Handle", "lustre.ldlm_request.lock_handle", FT_NONE,
10400 BASE_NONE, NULL, 0, "", HFILL } },
10401 { &hf_lustre_llog_logid_lgl_oid,
10402 { "Lgl Oid", "lustre.llog_logid.lgl_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10403 { &hf_lustre_ldlm_inodebits_bits,
10404 { "Bits", "lustre.ldlm_inodebits.bits", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10405 { &hf_lustre_llog_log_hdr_llh_count,
10406 { "Llh Count", "lustre.llog_log_hdr.llh_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10407 { &hf_lustre_llog_gen_rec_lgr_tail,
10408 { "Lgr Tail", "lustre.llog_gen_rec.lgr_tail", FT_NONE,
10409 BASE_NONE, NULL, 0, "", HFILL } },
10410 { &hf_lustre_llog_catid_lci_padding3,
10411 { "Lci Padding3", "lustre.llog_catid.lci_padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10412 { &hf_lustre_qunit_data_qd_qunit,
10413 { "Qd Qunit", "lustre.qunit_data.qd_qunit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10414 { &hf_lustre_llog_setattr_rec_padding,
10415 { "Padding", "lustre.llog_setattr_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10416 { &hf_lustre_llog_cookie_lgc_lgl,
10417 { "Lgc Lgl", "lustre.llog_cookie.lgc_lgl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10418 { &hf_lustre_obd_quotactl_qc_dqinfo,
10419 { "Qc Dqinfo", "lustre.obd_quotactl.qc_dqinfo", FT_NONE,
10420 BASE_NONE, NULL, 0, "", HFILL } },
10421 { &hf_lustre_llog_log_hdr_llh_bitmap,
10422 { "Llh Bitmap", "lustre.llog_log_hdr.llh_bitmap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10423 { &hf_lustre_obd_quotactl_qc_stat,
10424 { "Qc Stat", "lustre.obd_quotactl.qc_stat", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10425 { &hf_lustre_qunit_data_old2_qd_id,
10426 { "Qd Id", "lustre.qunit_data_old2.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10427 { &hf_lustre_llog_logid_rec_padding2,
10428 { "Padding2", "lustre.llog_logid_rec.padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10429 { &hf_lustre_llog_orphan_rec_lor_tail,
10430 { "Lor Tail", "lustre.llog_orphan_rec.lor_tail", FT_NONE,
10431 BASE_NONE, NULL, 0, "", HFILL } },
10432 { &hf_lustre_llog_logid_rec_padding5,
10433 { "Padding5", "lustre.llog_logid_rec.padding5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10434 /*-------------------------------------------------------------------------------------------------------------*/
10435 /*all this flags are uint64, but I don't find the way to use something like TFS() with a Uint64*/
10436 /*like TFS() with a Uint64 */
10437 { &hf_lustre_ldlm_intent_opc_open,
10438 { "open", "lustre.ldlm_intent.opc_open", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_OPEN, "", HFILL } },
10439 { &hf_lustre_ldlm_intent_opc_creat,
10440 { "creat", "lustre.ldlm_intent.opc_creat", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_CREAT , "", HFILL } },
10441 { &hf_lustre_ldlm_intent_opc_readdir,
10442 { "readdir", "lustre.ldlm_intent.opc_readdir", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_READDIR , "", HFILL } },
10443 { &hf_lustre_ldlm_intent_opc_getattr,
10444 { "getattr", "lustre.ldlm_intent.opc_getattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETATTR, "", HFILL } },
10445 { &hf_lustre_ldlm_intent_opc_lookup,
10446 { "lookup", "lustre.ldlm_intent.opc_lookup", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_LOOKUP , "", HFILL } },
10447 { &hf_lustre_ldlm_intent_opc_unlink,
10448 { "unlink", "lustre.ldlm_intent.opc_unlink", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_UNLINK , "", HFILL } },
10449 { &hf_lustre_ldlm_intent_opc_getxattr,
10450 { "getxattr", "lustre.ldlm_intent.opc_getxattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETXATTR , "", HFILL } },
10451 { &hf_lustre_ldlm_intent_opc_exec,
10452 { "exec", "lustre.ldlm_intent.opc_exec", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_EXEC , "", HFILL } },
10453 { &hf_lustre_ldlm_intent_opc_pin,
10454 { "pin", "lustre.ldlm_intent.opc_pin", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_PIN , "", HFILL } },
10455 /*-------------------------------------------------------------------*/
10456 { &hf_lustre_ldlm_intent_opc,
10457 { "intent opcode", "lustre.ldlm_intent.opc", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10458 { &hf_lustre_llog_rec_hdr_lrh_type,
10459 { "Lrh Type", "lustre.llog_rec_hdr.lrh_type", FT_UINT32, BASE_HEX, VALS(lustre_llog_op_type), 0, "", HFILL }},
10460 { &hf_lustre_llog_rec_hdr_lrh_len,
10461 { "Lrh Len", "lustre.llog_rec_hdr.lrh_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10462 { &hf_lustre_llog_setattr_rec_lsr_uid,
10463 { "Lsr Uid", "lustre.llog_setattr_rec.lsr_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10464 { &hf_lustre_lov_desc_ld_padding_1,
10465 { "Ld Padding 1", "lustre.lov_desc.ld_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10466 { &hf_lustre_obdo_o_padding_4,
10467 { "O Padding 4", "lustre.obdo.o_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10468 { &hf_lustre_mgs_target_info_padding,
10469 { "Padding", "lustre.mgs_target_info.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10470 { &hf_lustre_obd_quotactl_qc_dqblk,
10471 { "Qc Dqblk", "lustre.obd_quotactl.qc_dqblk", FT_NONE,
10472 BASE_NONE, NULL, 0, "", HFILL } },
10473 { &hf_lustre_llogd_conn_body_lgdc_gen,
10474 { "Lgdc Gen", "lustre.llogd_conn_body.lgdc_gen", FT_NONE,
10475 BASE_NONE, NULL, 0, "", HFILL } },
10476 { &hf_lustre_llog_log_hdr_llh_tail,
10477 { "Llh Tail", "lustre.llog_log_hdr.llh_tail", FT_NONE,
10478 BASE_NONE, NULL, 0, "", HFILL } },
10479 { &hf_lustre_obdo_o_size,
10480 { "O Size", "lustre.obdo.o_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10481 { &hf_lustre_ldlm_extent_start,
10482 { "Start", "lustre.ldlm_extent.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10483 { &hf_lustre_llog_size_change_rec_lsc_hdr,
10484 { "Lsc Hdr", "lustre.llog_size_change_rec.lsc_hdr", FT_NONE,
10485 BASE_NONE, NULL, 0, "", HFILL } },
10486 { &hf_lustre_llog_create_rec_lcr_tail,
10487 { "Lcr Tail", "lustre.llog_create_rec.lcr_tail", FT_NONE,
10488 BASE_NONE, NULL, 0, "", HFILL } },
10489 { &hf_lustre_llog_logid_lgl_oseq,
10490 { "Lgl SEQ", "lustre.llog_logid.lgl_oseq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10491 { &hf_lustre_llog_create_rec_lcr_hdr,
10492 { "Lcr Hdr", "lustre.llog_create_rec.lcr_hdr", FT_NONE,
10493 BASE_NONE, NULL, 0, "", HFILL } },
10494 { &hf_lustre_llog_cookie_lgc_padding,
10495 { "Lgc Padding", "lustre.llog_cookie.lgc_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10496 { &hf_lustre_qunit_data_old_qd_type,
10497 { "Qd Type", "lustre.qunit_data_old.qd_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10498 { &hf_lustre_ldlm_flock_blocking_export,
10499 { "Blocking Export", "lustre.ldlm_flock.blocking_export", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10500 { &hf_lustre_lov_desc_ld_pattern,
10501 { "Ld Pattern", "lustre.lov_desc.ld_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10502 { &hf_lustre_qunit_data_qd_id,
10503 { "Qd Id", "lustre.qunit_data.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10504 { &hf_lustre_mgs_target_info_mti_fsname,
10505 { "Mti Fsname", "lustre.mgs_target_info.mti_fsname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10506 { &hf_lustre_ldlm_request_lock_flags,
10507 { "Lock Flags", "lustre.ldlm_request.lock_flags", FT_UINT32, BASE_HEX, NULL, 0 , "", HFILL }},
10508 { &hf_lustre_obdo_o_mode,
10509 { "O Mode", "lustre.obdo.o_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10510 { &hf_lustre_mgs_target_info_mti_svname,
10511 { "Mti Svname", "lustre.mgs_target_info.mti_svname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10512 { &hf_lustre_llogd_body_lgd_logid,
10513 { "Lgd Logid", "lustre.llogd_body.lgd_logid", FT_NONE,
10514 BASE_NONE, NULL, 0, "", HFILL } },
10515 { &hf_lustre_llog_log_hdr_llh_size,
10516 { "Llh Size", "lustre.llog_log_hdr.llh_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10517 { &hf_lustre_llog_create_rec_padding,
10518 { "Padding", "lustre.llog_create_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10519 { &hf_lustre_obdo_o_handle,
10520 { "O Handle", "lustre.obdo.o_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10521 { &hf_lustre_obdo_o_atime,
10522 { "O Atime", "lustre.obdo.o_atime",FT_ABSOLUTE_TIME,
10523 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10524 { &hf_lustre_quota_adjust_qunit_qaq_id,
10525 { "Qaq Id", "lustre.quota_adjust_qunit.qaq_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10526 { &hf_lustre_ldlm_lock_desc_l_policy_data,
10527 { "L Policy Data", "lustre.ldlm_lock_desc.l_policy_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10528 { &hf_lustre_obd_quotactl_qc_cmd,
10529 { "Qc Cmd", "lustre.obd_quotactl.qc_cmd", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10530 { &hf_lustre_qunit_data_padding,
10531 { "Padding", "lustre.qunit_data.padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10532 { &hf_lustre_quota_adjust_qunit_qaq_flags,
10533 { "Qaq Flags", "lustre.quota_adjust_qunit.qaq_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10534 { &hf_lustre_ldlm_lock_desc_l_granted_mode,
10535 { "L Granted Mode", "lustre.ldlm_lock_desc.l_granted_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10536 { &hf_lustre_obdo_o_seq,
10537 { "O SEQ", "lustre.obdo.o_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10538 { &hf_lustre_obdo_o_gid,
10539 { "O Gid", "lustre.obdo.o_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10540 { &hf_lustre_llog_catid_lci_logid,
10541 { "Lci Logid", "lustre.llog_catid.lci_logid", FT_NONE,
10542 BASE_NONE, NULL, 0, "", HFILL } },
10543 { &hf_lustre_llog_rec_tail_lrt_index,
10544 { "Lrt Index", "lustre.llog_rec_tail.lrt_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10545 { &hf_lustre_lov_desc_ld_default_stripe_count,
10546 { "Ld Default Stripe Count", "lustre.lov_desc.ld_default_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10547 { &hf_lustre_ldlm_resource_desc_lr_padding,
10548 { "Lr Padding", "lustre.ldlm_resource_desc.lr_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10549 { &hf_lustre_cfg_marker_cm_vers,
10550 { "Cm Vers", "lustre.cfg_marker.cm_vers", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10551 { &hf_lustre_llog_unlink_rec_lur_hdr,
10552 { "Lur Hdr", "lustre.llog_unlink_rec.lur_hdr", FT_NONE,
10553 BASE_NONE, NULL, 0, "", HFILL } },
10554 { &hf_lustre_llogd_body_lgd_index,
10555 { "Lgd Index", "lustre.llogd_body.lgd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10556 { &hf_lustre_cfg_marker_cm_tgtname,
10557 { "Cm Tgtname", "lustre.cfg_marker.cm_tgtname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10558 { &hf_lustre_llog_setattr_rec_lsr_ogen,
10559 { "Lsr Ogen", "lustre.llog_setattr_rec.lsr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10560 { &hf_lustre_llog_logid_rec_lid_hdr,
10561 { "Lid Hdr", "lustre.llog_logid_rec.lid_hdr", FT_NONE,
10562 BASE_NONE, NULL, 0, "", HFILL } },
10563 { &hf_lustre_obdo_o_ioepoch,
10564 { "O IOEpoch", "lustre.obdo.o_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10565 { &hf_lustre_ost_body_oa,
10566 { "Oa", "lustre.ost_body.oa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10567 { &hf_lustre_llog_logid_rec_padding3,
10568 { "Padding3", "lustre.llog_logid_rec.padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10569 { &hf_lustre_llog_log_hdr_llh_flags,
10570 { "Llh Flags", "lustre.llog_log_hdr.llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10571 {&hf_lustre_llog_hdr_llh_flag_zap_when_empty,
10572 {"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 } },
10573 {&hf_lustre_llog_hdr_llh_flag_is_cat,
10574 {"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 } },
10575 {&hf_lustre_llog_hdr_llh_flag_is_play,
10576 {"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 } },
10578 { &hf_lustre_llog_setattr_rec_lsr_oid,
10579 { "Lsr Oid", "lustre.llog_setattr_rec.lsr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10580 { &hf_lustre_llog_size_change_rec_padding,
10581 { "Padding", "lustre.llog_size_change_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10582 { &hf_lustre_mgs_target_info_mti_config_ver,
10583 { "Mti Config Ver", "lustre.mgs_target_info.mti_config_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10584 { &hf_lustre_cfg_marker_cm_createtime,
10585 { "Cm Createtime", "lustre.cfg_marker.cm_createtime",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10586 { &hf_lustre_qunit_data_old_qd_count,
10587 { "Qd Count", "lustre.qunit_data_old.qd_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10588 { &hf_lustre_llog_catid_lci_padding1,
10589 { "Lci Padding1", "lustre.llog_catid.lci_padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10590 { &hf_lustre_lov_desc_ld_active_tgt_count,
10591 { "Ld Active Tgt Count", "lustre.lov_desc.ld_active_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10592 { &hf_lustre_obdo_o_lcookie,
10593 { "O Lcookie", "lustre.obdo.o_lcookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10594 { &hf_lustre_llog_gen_rec_lgr_gen,
10595 { "Lgr Gen", "lustre.llog_gen_rec.lgr_gen", FT_NONE,
10596 BASE_NONE, NULL, 0, "", HFILL } },
10597 { &hf_lustre_obdo_o_id,
10598 { "O Id", "lustre.obdo.o_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10599 { &hf_lustre_mgs_target_info_mti_uuid,
10600 { "Mti Uuid", "lustre.mgs_target_info.mti_uuid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10601 { &hf_lustre_llog_rec_hdr_lrh_index,
10602 { "Lrh Index", "lustre.llog_rec_hdr.lrh_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10603 { &hf_lustre_llog_setattr_rec_lsr_hdr,
10604 { "Lsr Hdr", "lustre.llog_setattr_rec.lsr_hdr", FT_NONE,
10605 BASE_NONE, NULL, 0, "", HFILL } },
10606 { &hf_lustre_mgs_target_info_mti_stripe_index,
10607 { "Mti Stripe Index", "lustre.mgs_target_info.mti_stripe_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10608 { &hf_lustre_llog_gen_conn_cnt,
10609 { "Conn Cnt", "lustre.llog_gen.conn_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10610 { &hf_lustre_obdo_o_padding_6,
10611 { "O Padding 6", "lustre.obdo.o_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10612 { &hf_lustre_llog_cookie_lgc_index,
10613 { "Lgc Index", "lustre.llog_cookie.lgc_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10614 { &hf_lustre_lov_desc_ld_uuid,
10615 { "Ld Uuid", "lustre.lov_desc.ld_uuid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10616 { &hf_lustre_llog_create_rec_lcr_oid,
10617 { "Lcr Oid", "lustre.llog_create_rec.lcr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10618 { &hf_lustre_ldlm_reply_lock_desc,
10619 { "Lock Desc", "lustre.ldlm_reply.lock_desc", FT_NONE,
10620 BASE_NONE, NULL, 0, "", HFILL } },
10621 { &hf_lustre_lov_desc_ld_padding_0,
10622 { "Ld Padding 0", "lustre.lov_desc.ld_padding_0", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10623 { &hf_lustre_llog_unlink_rec_lur_ogen,
10624 { "Lur Ogen", "lustre.llog_unlink_rec.lur_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10625 { &hf_lustre_llog_orphan_rec_lor_hdr,
10626 { "Lor Hdr", "lustre.llog_orphan_rec.lor_hdr", FT_NONE,
10627 BASE_NONE, NULL, 0, "", HFILL } },
10628 { &hf_lustre_cfg_marker_cm_flags,
10629 { "Cm Flags", "lustre.cfg_marker.cm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10630 { &hf_lustre_obdo_o_padding_3,
10631 { "O Padding 3", "lustre.obdo.o_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10632 { &hf_lustre_ldlm_request_lock_desc,
10633 { "Lock Desc", "lustre.ldlm_request.lock_desc", FT_NONE,
10634 BASE_NONE, NULL, 0, "", HFILL } },
10635 { &hf_lustre_llog_orphan_rec_padding,
10636 { "Padding", "lustre.llog_orphan_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10637 { &hf_lustre_obdo_o_flags,
10638 { "O Flags", "lustre.obdo.o_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10639 { &hf_lustre_mgs_target_info_mti_params,
10640 { "Mti Params", "lustre.mgs_target_info.mti_params", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10641 { &hf_lustre_llog_logid_lgl_ogen,
10642 { "Lgl Ogen", "lustre.llog_logid.lgl_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10643 { &hf_lustre_cfg_marker_cm_comment,
10644 { "Cm Comment", "lustre.cfg_marker.cm_comment", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10645 { &hf_lustre_llog_unlink_rec_lur_oid,
10646 { "Lur Oid", "lustre.llog_unlink_rec.lur_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10647 { &hf_lustre_qunit_data_qd_count,
10648 { "Qd Count", "lustre.qunit_data.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10649 { &hf_lustre_obdo_o_mtime,
10650 { "O Mtime", "lustre.obdo.o_mtime",FT_ABSOLUTE_TIME,
10651 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10652 { &hf_lustre_obdo_o_blksize,
10653 { "O Blksize", "lustre.obdo.o_blksize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10654 { &hf_lustre_ldlm_res_id_name,
10655 { "Name", "lustre.ldlm_res_id.name", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10656 { &hf_lustre_ldlm_reply_lock_handle,
10657 { "Lock Handle", "lustre.ldlm_reply.lock_handle", FT_NONE,
10658 BASE_NONE, NULL, 0, "", HFILL } },
10659 { &hf_lustre_llogd_body_lgd_saved_index,
10660 { "Lgd Saved Index", "lustre.llogd_body.lgd_saved_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10661 { &hf_lustre_qunit_data_old_qd_isblk,
10662 { "Qd Isblk", "lustre.qunit_data_old.qd_isblk", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10663 { &hf_lustre_obdo_o_blocks,
10664 { "O Blocks", "lustre.obdo.o_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10665 { &hf_lustre_lov_desc_ld_padding_2,
10666 { "Ld Padding 2", "lustre.lov_desc.ld_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10667 { &hf_lustre_llog_logid_rec_lid_tail,
10668 { "Lid Tail", "lustre.llog_logid_rec.lid_tail", FT_NONE,
10669 BASE_NONE, NULL, 0, "", HFILL } },
10670 { &hf_lustre_obdo_o_grant,
10671 { "O Grant", "lustre.obdo.o_grant", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10672 { &hf_lustre_obdo_o_uid_h,
10673 { "O Uid H", "lustre.obdo.o_uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10674 { &hf_lustre_obdo_o_gid_h,
10675 { "O Gid H", "lustre.obdo.o_gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10676 { &hf_lustre_quota_adjust_qunit_qaq_iunit_sz,
10677 { "Qaq Iunit Sz", "lustre.quota_adjust_qunit.qaq_iunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10678 { &hf_lustre_llog_unlink_rec_padding,
10679 { "Padding", "lustre.llog_unlink_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10680 { &hf_lustre_ldlm_lock_desc_l_req_mode,
10681 { "L Req Mode", "lustre.ldlm_lock_desc.l_req_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10682 { &hf_lustre_ldlm_extent_end,
10683 { "End", "lustre.ldlm_extent.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10684 { &hf_lustre_llog_gen_rec_lgr_hdr,
10685 { "Lgr Hdr", "lustre.llog_gen_rec.lgr_hdr", FT_NONE,
10686 BASE_NONE, NULL, 0, "", HFILL } },
10687 { &hf_lustre_llog_orphan_rec_lor_ogen,
10688 { "Lor Ogen", "lustre.llog_orphan_rec.lor_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10689 { &hf_lustre_llogd_body_lgd_llh_flags,
10690 { "Lgd Llh Flags", "lustre.llogd_body.lgd_llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10691 { &hf_lustre_llog_log_hdr_llh_cat_idx,
10692 { "Llh Cat Idx", "lustre.llog_log_hdr.llh_cat_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10693 { &hf_lustre_llog_log_hdr_llh_bitmap_offset,
10694 { "Llh Bitmap Offset", "lustre.llog_log_hdr.llh_bitmap_offset", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10695 { &hf_lustre_llog_orphan_rec_lor_oid,
10696 { "Lor Oid", "lustre.llog_orphan_rec.lor_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10697 { &hf_lustre_ldlm_reply_lock_padding,
10698 { "Lock Padding", "lustre.ldlm_reply.lock_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10699 { &hf_lustre_obd_quotactl_qc_id,
10700 { "Qc Id", "lustre.obd_quotactl.qc_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10701 { &hf_lustre_llog_logid_rec_padding4,
10702 { "Padding4", "lustre.llog_logid_rec.padding4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10703 { &hf_lustre_llog_setattr_rec_lsr_gid,
10704 { "Lsr Gid", "lustre.llog_setattr_rec.lsr_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10705 { &hf_lustre_obd_quotactl_qc_type,
10706 { "Qc Type", "lustre.obd_quotactl.qc_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10707 { &hf_lustre_cfg_marker_padding,
10708 { "Padding", "lustre.cfg_marker.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10709 { &hf_lustre_mgs_target_info_mti_nids,
10710 { "Mti Nids", "lustre.mgs_target_info.mti_nids", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10711 { &hf_lustre_obdo_o_stripe_idx,
10712 { "O Stripe Idx", "lustre.obdo.o_stripe_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10713 { &hf_lustre_llogd_conn_body_lgdc_logid,
10714 { "Lgdc Logid", "lustre.llogd_conn_body.lgdc_logid", FT_NONE,
10715 BASE_NONE, NULL, 0, "", HFILL } },
10716 { &hf_lustre_ldlm_flock_blocking_pid,
10717 { "Blocking Pid", "lustre.ldlm_flock.blocking_pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10718 { &hf_lustre_lov_desc_ld_tgt_count,
10719 { "Ld Tgt Count", "lustre.lov_desc.ld_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10720 { &hf_lustre_llogd_body_lgd_cur_offset,
10721 { "Lgd Cur Offset", "lustre.llogd_body.lgd_cur_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10722 { &hf_lustre_llog_create_rec_lcr_ogen,
10723 { "Lcr Ogen", "lustre.llog_create_rec.lcr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10724 { &hf_lustre_qunit_data_old2_qd_count,
10725 { "Qd Count", "lustre.qunit_data_old2.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10726 { &hf_lustre_opnum,
10727 { "Operation", "lustre.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }},
10728 { &hf_lustre_qunit_data_old2_qd_flags,
10729 { "Qd Flags", "lustre.qunit_data_old2.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10730 { &hf_lustre_ldlm_flock_start,
10731 { "Start", "lustre.ldlm_flock.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10732 { &hf_lustre_quota_adjust_qunit_qaq_bunit_sz,
10733 { "Qaq Bunit Sz", "lustre.quota_adjust_qunit.qaq_bunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10734 { &hf_lustre_ldlm_flock_pid,
10735 { "Pid", "lustre.ldlm_flock.pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10736 { &hf_lustre_lov_desc_ld_default_stripe_size,
10737 { "Ld Default Stripe Size", "lustre.lov_desc.ld_default_stripe_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10738 { &hf_lustre_llog_log_hdr_llh_tgtuuid,
10739 { "Llh Tgtuuid", "lustre.llog_log_hdr.llh_tgtuuid", FT_NONE,
10740 BASE_NONE, NULL, 0, "", HFILL } },
10741 { &hf_lustre_cfg_marker_cm_step,
10742 { "Cm Step", "lustre.cfg_marker.cm_step", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10743 { &hf_lustre_mgs_send_param_mgs_param,
10744 { "Mgs Param", "lustre.mgs_send_param.mgs_param", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10745 { &hf_lustre_llog_create_rec_lcr_fid,
10746 { "Lcr Fid", "lustre.llog_create_rec.lcr_fid", FT_NONE,
10747 BASE_NONE, NULL, 0, "", HFILL } },
10748 { &hf_lustre_lov_desc_ld_default_stripe_offset,
10749 { "Ld Default Stripe Offset", "lustre.lov_desc.ld_default_stripe_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10750 { &hf_lustre_ldlm_resource_desc_lr_name,
10751 { "Lr Name", "lustre.ldlm_resource_desc.lr_name", FT_NONE,
10752 BASE_NONE, NULL, 0, "", HFILL } },
10753 { &hf_lustre_llog_rec_tail_lrt_len,
10754 { "Lrt Len", "lustre.llog_rec_tail.lrt_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10755 { &hf_lustre_llog_log_hdr_llh_timestamp,
10756 { "Llh Timestamp", "lustre.llog_log_hdr.llh_timestamp", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10757 { &hf_lustre_llog_catid_lci_padding2,
10758 { "Lci Padding2", "lustre.llog_catid.lci_padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10759 { &hf_lustre_llogd_conn_body_lgdc_ctxt_idx,
10760 { "Lgdc Ctxt Idx", "lustre.llogd_conn_body.lgdc_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10761 { &hf_lustre_cfg_marker_cm_canceltime,
10762 { "Cm Canceltime", "lustre.cfg_marker.cm_canceltime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10763 { &hf_lustre_mgs_target_info_mti_lustre_ver,
10764 { "Mti Lustre Ver", "lustre.mgs_target_info.mti_lustre_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10765 { &hf_lustre_obdo_o_parent_ver,
10766 { "O Parent VER", "lustre.obdo.o_parent_ver", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10767 { &hf_lustre_qunit_data_qd_flags,
10768 { "Qd Flags", "lustre.qunit_data.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10769 { &hf_lustre_llog_logid_rec_lid_id,
10770 { "Lid Id", "lustre.llog_logid_rec.lid_id", FT_NONE,
10771 BASE_NONE, NULL, 0, "", HFILL } },
10772 { &hf_lustre_obdo_o_parent_oid,
10773 { "O Parent OID", "lustre.obdo.o_parent_oid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10774 { &hf_lustre_llog_gen_mnt_cnt,
10775 { "Mnt Cnt", "lustre.llog_gen.mnt_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10776 { &hf_lustre_llog_size_change_rec_lsc_tail,
10777 { "Lsc Tail", "lustre.llog_size_change_rec.lsc_tail", FT_NONE,
10778 BASE_NONE, NULL, 0, "", HFILL } },
10779 { &hf_lustre_obdo_o_padding_5,
10780 { "O Padding 5", "lustre.obdo.o_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10781 { &hf_lustre_ldlm_lock_desc_l_resource,
10782 { "L Resource", "lustre.ldlm_lock_desc.l_resource", FT_NONE,
10783 BASE_NONE, NULL, 0, "", HFILL } },
10784 { &hf_lustre_obdo_o_parent_seq,
10785 { "O Parent SEQ", "lustre.obdo.o_parent_seq", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL }},
10786 { &hf_lustre_ldlm_request_lock_count,
10787 { "Lock Count", "lustre.ldlm_request.lock_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, "", HFILL }},
10788 { &hf_lustre_ldlm_flock_end,
10789 { "End", "lustre.ldlm_flock.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10790 { &hf_lustre_mgs_target_info_mti_nid_count,
10791 { "Mti Nid Count", "lustre.mgs_target_info.mti_nid_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10792 /* -------------------------------------------------------------------- */
10793 { &hf_lustre_mgs_target_info,
10794 { "mgs target info", "lustre.mgs_target_info", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10795 { &hf_lustre_mgs_send_param,
10796 { "mgs send param", "lustre.mgs_send_param", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10797 /* -------------------------------------------------------------------- */
10798 { &hf_lustre_ost_lvb,
10799 { "ost lvb data", "lustre.ost_lvb", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10801 { &hf_lustre_obdo_o_ctime,
10802 { "O Ctime", "lustre.obdo.o_ctime",FT_ABSOLUTE_TIME,
10803 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10804 { &hf_lustre_ldlm_reply_lock_policy_res2,
10805 { "Lock Policy Res2", "lustre.ldlm_reply.lock_policy_res2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10806 { &hf_lustre_llogd_body_lgd_ctxt_idx,
10807 { "Lgd Ctxt Idx", "lustre.llogd_body.lgd_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10808 { &hf_lustre_lov_desc_ld_qos_maxage,
10809 { "Ld Qos Maxage", "lustre.lov_desc.ld_qos_maxage", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10810 { &hf_lustre_ldlm_resource_desc_lr_type,
10811 { "Lr Type", "lustre.ldlm_resource_desc.lr_type", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_type_t_vals), 0, "", HFILL }},
10812 { &hf_lustre_llog_setattr_rec_lsr_tail,
10813 { "Lsr Tail", "lustre.llog_setattr_rec.lsr_tail", FT_NONE,
10814 BASE_NONE, NULL, 0, "", HFILL } },
10815 { &hf_lustre_llog_cookie_lgc_subsys,
10816 { "Lgc Subsys", "lustre.llog_cookie.lgc_subsys", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10817 { &hf_lustre_llog_log_hdr_llh_hdr,
10818 { "Llh Hdr", "lustre.llog_log_hdr.llh_hdr", FT_NONE,
10819 BASE_NONE, NULL, 0, "", HFILL } },
10820 { &hf_lustre_llog_log_hdr_llh_reserved,
10821 { "Llh Reserved", "lustre.llog_log_hdr.llh_reserved", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10823 { &hf_lustre_extra_padding,
10824 { "extra padding", "lustre.msg_v2_extra_padding", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10825 { &hf_lustre_ldlm_reply,
10826 { "ldlm reply", "lustre.ldlm_reply", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10827 { &hf_lustre_ldlm_request,
10828 { "ldlm request", "lustre.ldlm_request", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10830 /* add for lustre_user.h */
10831 { &hf_lustre_obd_dqinfo_dqi_valid,
10832 { "Dqi Valid", "lustre.obd_dqinfo.dqi_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10833 { &hf_lustre_obd_dqblk_dqb_isoftlimit,
10834 { "Dqb Isoftlimit", "lustre.obd_dqblk.dqb_isoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10835 { &hf_lustre_obd_dqblk_dqb_bhardlimit,
10836 { "Dqb Bhardlimit", "lustre.obd_dqblk.dqb_bhardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10837 { &hf_lustre_obd_dqblk_dqb_curspace,
10838 { "Dqb Curspace", "lustre.obd_dqblk.dqb_curspace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10839 { &hf_lustre_obd_dqblk_dqb_itime,
10840 { "Dqb Itime", "lustre.obd_dqblk.dqb_itime", FT_ABSOLUTE_TIME,
10841 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10842 { &hf_lustre_obd_dqblk_dqb_valid,
10843 { "Dqb Valid", "lustre.obd_dqblk.dqb_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10844 { &hf_lustre_obd_dqinfo_dqi_igrace,
10845 { "Dqi Igrace", "lustre.obd_dqinfo.dqi_igrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10846 { &hf_lustre_obd_dqinfo_dqi_bgrace,
10847 { "Dqi Bgrace", "lustre.obd_dqinfo.dqi_bgrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10848 { &hf_lustre_obd_dqblk_padding,
10849 { "Padding", "lustre.obd_dqblk.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10850 { &hf_lustre_obd_dqblk_dqb_curinodes,
10851 { "Dqb Curinodes", "lustre.obd_dqblk.dqb_curinodes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10852 { &hf_lustre_obd_dqblk_dqb_bsoftlimit,
10853 { "Dqb Bsoftlimit", "lustre.obd_dqblk.dqb_bsoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10854 { &hf_lustre_obd_dqinfo_dqi_flags,
10855 { "Dqi Flags", "lustre.obd_dqinfo.dqi_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10856 { &hf_lustre_obd_dqblk_dqb_btime,
10857 { "Dqb Btime", "lustre.obd_dqblk.dqb_btime", FT_ABSOLUTE_TIME,
10858 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10859 { &hf_lustre_obd_dqblk_dqb_ihardlimit,
10860 { "Dqb Ihardlimit", "lustre.obd_dqblk.dqb_ihardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10863 { &hf_lustre_seq_opc,
10864 { "Seq OPC", "lustre.seq_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10865 { &hf_lustre_seq_range,
10866 { "Seq Range", "lustre.range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10867 { &hf_lustre_seq_range_start,
10868 { "Seq Range Start", "lustre.seq_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10869 { &hf_lustre_seq_range_end,
10870 { "Seq Range End", "lustre.seq_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10871 { &hf_lustre_seq_range_index,
10872 { "Seq Range Index", "lustre.seq_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10873 { &hf_lustre_seq_range_flags,
10874 { "Seq Range Flags", "lustre.seq_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10876 /* struct mdt_ioepoch */
10877 { &hf_lustre_mdt_ioepoch,
10878 { "MDT ioepoch", "lustre.mdt_ioepoch", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10879 { &hf_lustre_mdt_ioepoch_handle,
10880 { "Handle", "lustre.mdt_ioepoch.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10881 { &hf_lustre_mdt_ioepoch_ioepoch,
10882 { "ioepoch", "lustre.mdt_ioepoch.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10883 { &hf_lustre_mdt_ioepoch_flags,
10884 { "flags", "lustre.mdt_ioepoch.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10885 { &hf_lustre_mdt_ioepoch_padding,
10886 { "Padding", "lustre.mdt_ioepoch.padding", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10888 /* struct lustre_capa */
10890 { "Capability", "lustre.capa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10894 static gint *ett[] = {
10896 &ett_lustre_lustre_handle_cookie,
10897 &ett_lustre_lustre_msg_v1,
10898 &ett_lustre_lustre_handle_v1,
10899 &ett_lustre_lustre_msg_v2,
10900 &ett_lustre_ptlrpc_body,
10901 &ett_lustre_lustre_handle_v2,
10902 &ett_lustre_obd_connect_data,
10903 &ett_lustre_lov_mds_md_v1,
10904 &ett_lustre_lov_ost_data_v1,
10905 &ett_lustre_obd_statfs,
10906 &ett_lustre_obd_ioobj,
10907 &ett_lustre_niobuf_remote,
10908 &ett_lustre_ost_lvb,
10909 &ett_lustre_ll_fid,
10910 &ett_lustre_obd_quotactl,
10911 &ett_lustre_obd_dqinfo,
10912 &ett_lustre_obd_dqblk,
10913 &ett_lustre_quota_adjust_qunit,
10914 &ett_lustre_mdt_body,
10915 &ett_lustre_mdt_rec_setattr,
10916 &ett_lustre_mdt_rec_create,
10917 &ett_lustre_mdt_rec_link,
10918 &ett_lustre_mdt_rec_unlink,
10919 &ett_lustre_mdt_rec_rename,
10920 &ett_lustre_mdt_rec_setxattr,
10921 &ett_lustre_lov_desc,
10922 &ett_lustre_obd_uuid,
10923 &ett_lustre_ldlm_res_id,
10924 &ett_lustre_ldlm_extent,
10925 &ett_lustre_ldlm_inodebits,
10926 &ett_lustre_ldlm_flock,
10927 &ett_lustre_ldlm_intent_opc,
10928 &ett_lustre_ldlm_resource_desc,
10929 &ett_lustre_ldlm_lock_desc,
10930 &ett_lustre_ldlm_request,
10931 &ett_lustre_lustre_handle,
10932 &ett_lustre_ldlm_reply,
10933 &ett_lustre_mgs_send_param,
10934 &ett_lustre_mgs_target_info,
10935 &ett_lustre_cfg_marker,
10936 &ett_lustre_llog_catid,
10937 &ett_lustre_llog_logid,
10938 &ett_lustre_lov_mds_md,
10939 &ett_lustre_llog_rec_hdr,
10940 &ett_lustre_llog_rec_tail,
10941 &ett_lustre_llog_logid_rec,
10942 &ett_lustre_llog_create_rec,
10943 &ett_lustre_llog_orphan_rec,
10944 &ett_lustre_llog_unlink_rec,
10945 &ett_lustre_llog_setattr_rec,
10946 &ett_lustre_llog_size_change_rec,
10947 &ett_lustre_llog_gen,
10948 &ett_lustre_llog_gen_rec,
10949 &ett_lustre_llog_log_hdr,
10950 &ett_lustre_llog_cookie,
10951 &ett_lustre_llogd_body,
10952 &ett_lustre_llogd_conn_body,
10954 &ett_lustre_ost_body,
10955 &ett_lustre_qunit_data,
10956 &ett_lustre_qunit_data_old2,
10957 &ett_lustre_qunit_data_old,
10958 &ett_lustre_ldlm_lock_flags,
10959 &ett_lustre_llog_log_llh_flags,
10960 &ett_lustre_seq_range,
10961 &ett_lustre_mdt_ioepoch,
10965 proto_lustre = proto_register_protocol("Lustre", "lustre", "lustre");
10966 proto_register_field_array(proto_lustre, hf, array_length (hf));
10967 proto_register_subtree_array(ett, array_length(ett));
10971 void proto_reg_handoff_lustre(void)
10973 dissector_handle_t lustre_handle;
10974 lustre_handle=create_dissector_handle(dissect_lustre, proto_lustre);
10975 /* we use Lustre only if we get ptl_index = One of this code (we have removed the bulk code) */
10976 /* in LNET we test if the message is a put or not before adding an lnet.ptl_index value */
10977 dissector_add("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
10978 dissector_add("lnet.ptl_index", CONNMGR_REQUEST_PORTAL , lustre_handle);
10979 dissector_add("lnet.ptl_index", CONNMGR_REPLY_PORTAL , lustre_handle);
10980 dissector_add("lnet.ptl_index", OSC_REPLY_PORTAL , lustre_handle);
10981 dissector_add("lnet.ptl_index", OST_IO_PORTAL , lustre_handle);
10982 dissector_add("lnet.ptl_index", OST_CREATE_PORTAL , lustre_handle);
10983 dissector_add("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
10984 dissector_add("lnet.ptl_index", MDS_REQUEST_PORTAL , lustre_handle);
10985 dissector_add("lnet.ptl_index", LDLM_CB_REQUEST_PORTAL , lustre_handle);
10986 dissector_add("lnet.ptl_index", LDLM_CB_REPLY_PORTAL , lustre_handle);
10987 dissector_add("lnet.ptl_index", LDLM_CANCEL_REQUEST_PORTAL, lustre_handle);
10988 dissector_add("lnet.ptl_index", LDLM_CANCEL_REPLY_PORTAL , lustre_handle);
10989 dissector_add("lnet.ptl_index", MDS_SETATTR_PORTAL , lustre_handle);
10990 dissector_add("lnet.ptl_index", MDS_READPAGE_PORTAL , lustre_handle);
10991 dissector_add("lnet.ptl_index", MGC_REPLY_PORTAL , lustre_handle);
10992 dissector_add("lnet.ptl_index", MGS_REQUEST_PORTAL , lustre_handle);
10993 dissector_add("lnet.ptl_index", MGS_REPLY_PORTAL , lustre_handle);
10994 dissector_add("lnet.ptl_index", OST_REQUEST_PORTAL , lustre_handle);
10995 dissector_add("lnet.ptl_index", FLD_REQUEST_PORTAL, lustre_handle);
10996 dissector_add("lnet.ptl_index", SEQ_METADATA_PORTAL, lustre_handle);
10997 dissector_add("lnet.ptl_index", SEQ_DATA_PORTAL, lustre_handle);
10998 dissector_add("lnet.ptl_index", SEQ_CONTROLLER_PORTAL, lustre_handle);
10999 dissector_add("lnet.ptl_index", MGS_BULK_PORTAL, lustre_handle);