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, 2016, Intel Corporation.
37 #include <epan/packet.h>
39 #include <epan/dissectors/packet-windows-common.h>
40 #include "lustre_dlm_flags.h"
42 const true_false_string lnet_flags_set_truth = { "Set", "Unset" };
44 /* --------------------------------------------------------------------------------------- */
45 /* def and macro to know where we are the the lustre payload */
46 #define LUSTRE_MAGIC_OFFSET 8
47 #define LUSTRE_MSG_MAGIC_V1 0x0BD00BD0
48 #define LUSTRE_MSG_MAGIC_V2 0x0BD00BD3
50 #define LUSTRE_BUFCOUNT_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 0 : 60)
51 #define LUSTRE_BUFCOUNT ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) \
52 ? (tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF)) : ((tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF))) )
53 /* remark : BUFLENOFF don't have the same meaning if it's for v1 or v2
54 * v1 : LUSTRE_BUFLEN_OFF = offset buflen[0] - 4 bytes.
55 * v2 : LUSTRE_BUFLEN_OFF = offset buflen[0]
57 #define LUSTRE_BUFLEN_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 32 : 60)
59 /* LUSTRE_BUFFER_LEN(buffnum) */
60 #define LUSTRE_BUFFER_LEN(_n) (LUSTRE_BUFCOUNT <= (_n) ? 0 \
61 : tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+\
62 sizeof(guint32)*(_n)))
64 #define LUSTRE_REQ_REC_OFF 1 /* normal request record offset */
65 #define LUSTRE_REPLY_REC_OFF 1 /* normal reply record offset */
67 #define LUSTRE_DLM_INTENT_IT_OFF 2 /* intent lock it offset */
68 #define LUSTRE_DLM_INTENT_REC_OFF 3 /* intent lock record offset */
69 #define LUSTRE_DLM_LOCKREPLY_OFF 1 /* lockrep offset */
70 #define LUSTRE_DLM_REPLY_REC_OFF 2 /* reply record offset */
71 /* --------------------------------------------------------------------------------------- */
74 #define LUSTRE_PTLRPC_MSG_VERSION 0x00000003
75 #define LUSTRE_VERSION_MASK 0xffff0000
76 #define LUSTRE_OBD_VERSION 0x00010000
77 #define LUSTRE_MDS_VERSION 0x00020000
78 #define LUSTRE_OST_VERSION 0x00030000
79 #define LUSTRE_DLM_VERSION 0x00040000
80 #define LUSTRE_LOG_VERSION 0x00050000
81 #define LUSTRE_MGS_VERSION 0x00060000
85 #define LOV_MAGIC_V1 0x0BD10BD0
86 #define LOV_MAGIC LOV_MAGIC_V1
87 #define LOV_MAGIC_JOIN_V1 0x0BD20BD0
89 /* defined in lustre/include/lustre/lustre_idl.h */
91 CONNMGR_REQUEST_PORTAL = 1,
92 CONNMGR_REPLY_PORTAL = 2,
93 OSC_REQUEST_PORTAL = 3,
97 OST_CREATE_PORTAL = 7,
99 MDC_REQUEST_PORTAL = 9,
100 MDC_REPLY_PORTAL = 10,
101 MDC_BULK_PORTAL = 11,
102 MDS_REQUEST_PORTAL = 12,
103 MDS_REPLY_PORTAL = 13,
104 MDS_BULK_PORTAL = 14,
105 LDLM_CB_REQUEST_PORTAL = 15,
106 LDLM_CB_REPLY_PORTAL = 16,
107 LDLM_CANCEL_REQUEST_PORTAL = 17,
108 LDLM_CANCEL_REPLY_PORTAL = 18,
109 PTLBD_REQUEST_PORTAL = 19,
110 PTLBD_REPLY_PORTAL = 20,
111 PTLBD_BULK_PORTAL = 21,
112 MDS_SETATTR_PORTAL = 22,
113 MDS_READPAGE_PORTAL = 23,
115 MGC_REPLY_PORTAL = 25,
116 MGS_REQUEST_PORTAL = 26,
117 MGS_REPLY_PORTAL = 27,
118 OST_REQUEST_PORTAL = 28,
119 FLD_REQUEST_PORTAL = 29,
120 SEQ_METADATA_PORTAL = 30,
121 SEQ_DATA_PORTAL = 31,
122 SEQ_CONTROLLER_PORTAL = 32,
126 static const value_string portal_indices[] = {
127 { CONNMGR_REQUEST_PORTAL, "CONNMGR_REQUEST_PORTAL"},
128 { CONNMGR_REPLY_PORTAL , "CONNMGR_REPLY_PORTAL"},
129 { OSC_REQUEST_PORTAL , "OSC_REQUEST_PORTAL(obsolete)"},
130 { OSC_REPLY_PORTAL , "OSC_REPLY_PORTAL"},
131 { OSC_BULK_PORTAL , "OSC_BULK_PORTAL(obsolete)"},
132 { OST_IO_PORTAL , "OST_IO_PORTAL"},
133 { OST_CREATE_PORTAL , "OST_CREATE_PORTAL"},
134 { OST_BULK_PORTAL , "OST_BULK_PORTAL"},
135 { MDC_REQUEST_PORTAL , "MDC_REQUEST_PORTAL(obsolete)"},
136 { MDC_REPLY_PORTAL , "MDC_REPLY_PORTAL"},
137 { MDC_BULK_PORTAL , "MDC_BULK_PORTAL(obsolete)"},
138 { MDS_REQUEST_PORTAL , "MDS_REQUEST_PORTAL"},
139 { MDS_REPLY_PORTAL , "MDS_REPLY_PORTAL(obsolete)"},
140 { MDS_BULK_PORTAL , "MDS_BULK_PORTAL"},
141 { LDLM_CB_REQUEST_PORTAL , "LDLM_CB_REQUEST_PORTAL"},
142 { LDLM_CB_REPLY_PORTAL , "LDLM_CB_REPLY_PORTAL"},
143 { LDLM_CANCEL_REQUEST_PORTAL , "LDLM_CANCEL_REQUEST_PORTAL"},
144 { LDLM_CANCEL_REPLY_PORTAL , "LDLM_CANCEL_REPLY_PORTAL"},
145 { PTLBD_REQUEST_PORTAL , "PTLBD_REQUEST_PORTAL(obsolete)"},
146 { PTLBD_REPLY_PORTAL , "PTLBD_REPLY_PORTAL(obsolete)"},
147 { PTLBD_BULK_PORTAL , "PTLBD_BULK_PORTAL(obsolete)"},
148 { MDS_SETATTR_PORTAL , "MDS_SETATTR_PORTAL"},
149 { MDS_READPAGE_PORTAL , "MDS_READPAGE_PORTAL"},
150 { MDS_MDS_PORTAL, "MDS_MDS_PORTAL"},
151 { MGC_REPLY_PORTAL , "MGC_REPLY_PORTAL"},
152 { MGS_REQUEST_PORTAL , "MGS_REQUEST_PORTAL"},
153 { MGS_REPLY_PORTAL , "MGS_REPLY_PORTAL"},
154 { OST_REQUEST_PORTAL , "OST_REQUEST_PORTAL"},
155 { FLD_REQUEST_PORTAL , "FLD_REQUEST_PORTAL"},
156 { SEQ_METADATA_PORTAL, "SEQ_METADATA_PORTAL"},
157 { SEQ_DATA_PORTAL, "SEQ_DATA_PORTAL"},
158 { SEQ_CONTROLLER_PORTAL, "SEQ_CONTROLLER_PORTAL"},
159 { MGS_BULK_PORTAL, "MGS_BULK_PORTAL"}
163 OST_REPLY = 0, /* reply ? */
177 /* OST_SAN_READ = 14, deprecated */
178 /* OST_SAN_WRITE = 15, deprecated */
183 OST_QUOTA_ADJUST_QUNIT = 20,
195 #define OBD_FIRST_OPC OBD_PING
197 /* must be coherent with same declaration
198 * in lustre/include/lustre/lustre_idl.h
202 MDS_GETATTR_NAME = 34,
213 MDS_DONE_WRITING = 45,
222 MDS_HSM_STATE_GET = 54,
223 MDS_HSM_STATE_SET = 55,
225 MDS_HSM_PROGRESS = 57,
226 MDS_HSM_REQUEST = 58,
227 MDS_HSM_CT_REGISTER = 59,
228 MDS_HSM_CT_UNREGISTER = 60,
229 MDS_SWAP_LAYOUTS = 61,
233 #define IT_OPEN 0x0001
234 #define IT_CREAT 0x0002
235 #define IT_READDIR 0x0004
236 #define IT_GETATTR 0x0008
237 #define IT_LOOKUP 0x0010
238 #define IT_UNLINK 0x0020
239 #define IT_GETXATTR 0x0040
240 #define IT_EXEC 0x0080
241 #define IT_PIN 0x0100
245 #define MDS_FIRST_OPC MDS_GETATTR
246 #define LDLM_FIRST_OPC LDLM_ENQUEUE
265 LDLM_BL_CALLBACK = 104,
266 LDLM_CP_CALLBACK = 105,
267 LDLM_GL_CALLBACK = 106,
270 #define LDLM_FIRST_OPC LDLM_ENQUEUE
275 SEQ_FIRST_OPC = SEQ_QUERY
281 FLD_FIRST_OPC = FLD_QUERY
284 #define LDLM_ENQUEUE (101)
285 #define LDLM_CONVERT (102)
286 #define LDLM_CANCEL (103)
287 #define LDLM_BL_CALLBACK (104)
288 #define LDLM_CP_CALLBACK (105)
289 #define LDLM_GL_CALLBACK (106)
290 #define LCK_MINMODE (0)
297 #define LCK_GROUP (64)
298 #define LDLM_PLAIN (10)
299 #define LDLM_EXTENT (11)
300 #define LDLM_FLOCK (12)
301 #define LDLM_IBITS (13)
302 //#define MGS_CONNECT (250)
303 #define OBD_PING (400)
306 * Opcodes for mountconf (mgs and mgc)
311 MGS_EXCEPTION, /* node died, etc. */
312 MGS_TARGET_REG, /* whenever target starts up */
318 #define MGS_FIRST_OPC MGS_CONNECT
322 LLOG_ORIGIN_HANDLE_CREATE = 501,
323 LLOG_ORIGIN_HANDLE_NEXT_BLOCK = 502,
324 LLOG_ORIGIN_HANDLE_READ_HEADER = 503,
325 LLOG_ORIGIN_HANDLE_WRITE_REC = 504,
326 LLOG_ORIGIN_HANDLE_CLOSE = 505,
327 LLOG_ORIGIN_CONNECT = 506,
328 LLOG_CATINFO = 507, /* for lfs catinfo */
329 LLOG_ORIGIN_HANDLE_PREV_BLOCK = 508,
330 LLOG_ORIGIN_HANDLE_DESTROY = 509, /* for destroy llog object*/
334 #define LLOG_FIRST_OPC LLOG_ORIGIN_HANDLE_CREATE
335 /*flag for the LLOG*/
336 #define LLOG_OP_MAGIC 0x10600000
337 #define LLOG_OP_MASK 0xfff00000
340 LLOG_PAD_MAGIC = LLOG_OP_MAGIC | 0x00000,
341 OST_SZ_REC = LLOG_OP_MAGIC | 0x00f00,
342 OST_RAID1_REC = LLOG_OP_MAGIC | 0x01000,
343 MDS_UNLINK_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_UNLINK,
344 MDS_SETATTR_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_SETATTR,
345 OBD_CFG_REC = LLOG_OP_MAGIC | 0x20000,
346 PTL_CFG_REC = LLOG_OP_MAGIC | 0x30000, /* obsolete */
347 LLOG_GEN_REC = LLOG_OP_MAGIC | 0x40000,
348 LLOG_JOIN_REC = LLOG_OP_MAGIC | 0x50000, /* obsolete */
349 LLOG_HDR_MAGIC = LLOG_OP_MAGIC | 0x45539,
350 LLOG_LOGID_MAGIC = LLOG_OP_MAGIC | 0x4553b,
354 /*defined in lustre/include/lustre/lustre_idl.h*/
355 #define LLOG_F_ZAP_WHEN_EMPTY 0x1
356 #define LLOG_F_IS_CAT 0x2
357 #define LLOG_F_IS_PLAIN 0x4
359 #define PTL_RPC_MSG_REQUEST 4711
360 #define PTL_RPC_MSG_ERR 4712
361 #define PTL_RPC_MSG_REPLY 4713
364 /* Ett declarations */
365 static gint ett_lustre_llog_log_llh_flags = -1 ;
366 static gint ett_lustre = -1;
367 static gint ett_lustre_lustre_handle_cookie = -1;
368 static gint ett_lustre_lustre_msg_v1 = -1;
369 static gint ett_lustre_lustre_handle_v1 = -1;
370 static gint ett_lustre_lustre_msg_v2 = -1;
371 static gint ett_lustre_ptlrpc_body = -1;
372 static gint ett_lustre_lustre_handle_v2 = -1;
373 static gint ett_lustre_obd_connect_data = -1;
374 static gint ett_lustre_lov_mds_md_v1 = -1;
375 static gint ett_lustre_lov_ost_data_v1 = -1;
376 static gint ett_lustre_obd_statfs = -1;
377 static gint ett_lustre_obd_ioobj = -1;
378 static gint ett_lustre_niobuf_remote = -1;
379 static gint ett_lustre_ost_lvb = -1;
380 static gint ett_lustre_ll_fid = -1;
381 static gint ett_lustre_mdt_body = -1;
382 static gint ett_lustre_mdt_rec_setattr = -1;
383 static gint ett_lustre_mdt_rec_create = -1;
384 static gint ett_lustre_mdt_rec_link = -1;
385 static gint ett_lustre_mdt_rec_unlink = -1;
386 static gint ett_lustre_mdt_rec_rename = -1;
387 static gint ett_lustre_mdt_rec_setxattr = -1;
388 static gint ett_lustre_obd_quotactl = -1;
389 static gint ett_lustre_obd_dqinfo = -1;
390 static gint ett_lustre_obd_dqblk = -1;
391 static gint ett_lustre_quota_adjust_qunit = -1;
392 static gint ett_lustre_lov_desc = -1;
393 static gint ett_lustre_obd_uuid = -1;
394 static gint ett_lustre_ldlm_res_id = -1;
395 static gint ett_lustre_ldlm_extent = -1;
396 static gint ett_lustre_ldlm_inodebits = -1;
397 static gint ett_lustre_ldlm_flock = -1;
398 static gint ett_lustre_ldlm_intent_opc = -1;
399 static gint ett_lustre_ldlm_resource_desc = -1;
400 static gint ett_lustre_ldlm_lock_desc = -1;
401 static gint ett_lustre_ldlm_request = -1;
402 static gint ett_lustre_lustre_handle = -1;
403 static gint ett_lustre_ldlm_reply = -1;
404 static gint ett_lustre_mgs_send_param = -1;
405 static gint ett_lustre_mgs_target_info = -1;
406 static gint ett_lustre_mgs_config_body = -1;
407 static gint ett_lustre_mgs_config_res = -1;
408 static gint ett_lustre_cfg_marker = -1;
409 static gint ett_lustre_llog_catid = -1;
410 static gint ett_lustre_llog_rec_hdr = -1;
411 static gint ett_lustre_llog_logid_rec = -1;
412 static gint ett_lustre_llog_logid = -1;
413 static gint ett_lustre_llog_rec_tail = -1;
414 static gint ett_lustre_lov_mds_md = -1;
415 static gint ett_lustre_llog_unlink_rec = -1;
416 static gint ett_lustre_llog_setattr_rec = -1;
417 static gint ett_lustre_llog_size_change_rec = -1;
418 static gint ett_lustre_llog_gen_rec = -1;
419 static gint ett_lustre_llog_log_hdr = -1;
420 static gint ett_lustre_llog_cookie = -1;
421 static gint ett_lustre_llogd_body = -1;
422 static gint ett_lustre_llogd_conn_body = -1;
423 static gint ett_lustre_llog_gen = -1;
424 static gint ett_lustre_obdo = -1;
425 static gint ett_lustre_ost_body = -1;
426 static gint ett_lustre_qunit_data = -1;
427 static gint ett_lustre_qunit_data_old2 = -1;
428 static gint ett_lustre_qunit_data_old = -1;
429 static gint ett_lustre_ldlm_lock_flags = -1 ;
430 static gint ett_lustre_seq_range = -1;
431 static gint ett_lustre_fld_range = -1;
432 static gint ett_lustre_mdt_ioepoch = -1;
433 static gint ett_lustre_capa = -1;
434 static gint ett_lustre_acl = -1;
435 static gint ett_lustre_ladvise = -1;
437 /* -----------------------------------------------*/
438 /* Header field declarations */
439 static int hf_lustre_ptlrpc_body_pb = -1 ;
440 static int hf_lustre_ost_body = -1 ;
441 static int hf_lustre_obd_statfs = -1 ;
442 static int hf_lustre_obd_quotactl = -1 ;
443 static int hf_lustre_quota_adjust_qunit = -1 ;
444 static int hf_lustre_extra_padding = -1 ;
445 static int hf_lustre_ldlm_reply = -1 ;
446 static int hf_lustre_ldlm_request = -1 ;
447 static int hf_lustre_obd_uuid = -1 ;
448 static int hf_lustre_obd_connect_data = -1 ;
449 static int hf_lustre_ldlm_intent = -1;
450 static int hf_lustre_obd_ioobj = -1 ;
451 static int hf_lustre_niobuf_remote = -1 ;
452 static int hf_lustre_ost_key = -1 ;
453 static int hf_lustre_nio= -1 ;
454 static int hf_lustre_ost_val= -1;
455 static int hf_lustre_llogd_body = -1;
456 static int hf_lustre_llogd_log_hdr= -1;
457 static int hf_lustre_llog_logid_rec =-1 ;
458 static int hf_lustre_llogd_chunk= -1;
459 static int hf_lustre_llogd_keyword= -1;
460 static int hf_lustre_llogd_client= -1;
461 static int hf_lustre_llogd_name= -1;
463 static int hf_lustre_mds_xattr_name = -1;
464 static int hf_lustre_lov_mds_md_v1= -1;
465 static int hf_lustre_llog_cookie= -1;
466 static int hf_lustre_mds_md_data= -1;
467 static int hf_lustre_mds_reint_opcode= -1;
468 static int hf_lustre_mds_xattr_eadata = -1;
470 static int hf_lustre_reint_name= -1;
471 static int hf_lustre_reint_old_name= -1;
472 static int hf_lustre_reint_new_name= -1;
474 static int hf_lustre_mgs_target_info = -1 ;
475 static int hf_lustre_mgs_send_param = -1;
477 static int hf_lustre_mgs_config_body = -1;
478 static int hf_lustre_mgs_config_body_name = -1;
479 static int hf_lustre_mgs_config_body_offset = -1;
480 static int hf_lustre_mgs_config_body_type = -1;
481 static int hf_lustre_mgs_config_body_reserved = -1;
482 static int hf_lustre_mgs_config_body_bits = -1;
483 static int hf_lustre_mgs_config_body_units = -1;
485 static int hf_lustre_mgs_config_res = -1;
486 static int hf_lustre_mgs_config_res_offset = -1;
487 static int hf_lustre_mgs_config_res_size = -1;
489 static int hf_lustre_ost_lvb = -1 ;
491 #define hf_lustre_ldlm_ast_discard_data hf_lustre_ldlm_fl_ast_discard_data
493 static int hf_lustre_mdt_body = -1 ;
494 static int hf_lustre_mdt_body_fid1 = -1;
495 static int hf_lustre_mdt_body_fid2 = -1;
496 static int hf_lustre_mdt_body_handle = -1;
497 static int hf_lustre_mdt_body_valid = -1;
498 static int hf_lustre_mdt_body_size = -1;
499 static int hf_lustre_mdt_body_mtime = -1;
500 static int hf_lustre_mdt_body_atime = -1;
501 static int hf_lustre_mdt_body_ctime = -1;
502 static int hf_lustre_mdt_body_blocks = -1;
503 static int hf_lustre_mdt_body_ioepoch = -1;
504 static int hf_lustre_mdt_body_ino = -1;
505 static int hf_lustre_mdt_body_fsuid = -1;
506 static int hf_lustre_mdt_body_fsgid = -1;
507 static int hf_lustre_mdt_body_capability = -1;
508 static int hf_lustre_mdt_body_mode = -1;
509 static int hf_lustre_mdt_body_uid = -1;
510 static int hf_lustre_mdt_body_gid = -1;
511 static int hf_lustre_mdt_body_flags = -1;
512 static int hf_lustre_mdt_body_rdev = -1;
513 static int hf_lustre_mdt_body_nlink = -1;
514 static int hf_lustre_mdt_body_generation = -1;
515 static int hf_lustre_mdt_body_suppgid = -1;
516 static int hf_lustre_mdt_body_eadatasize = -1;
517 static int hf_lustre_mdt_body_aclsize = -1;
518 static int hf_lustre_mdt_body_max_mdsize = -1;
519 static int hf_lustre_mdt_body_max_cookiesize = -1;
520 static int hf_lustre_mdt_body_uid_h = -1;
521 static int hf_lustre_mdt_body_gid_h = -1;
522 static int hf_lustre_mdt_body_padding_5 = -1;
523 static int hf_lustre_mdt_body_padding_6 = -1;
524 static int hf_lustre_mdt_body_padding_7 = -1;
525 static int hf_lustre_mdt_body_padding_8 = -1;
526 static int hf_lustre_mdt_body_padding_9 = -1;
527 static int hf_lustre_mdt_body_padding_10 = -1;
529 static int hf_lustre_mdt_rec_setattr = -1 ;
530 static int hf_lustre_mdt_rec_setattr_sa_opcode = -1;
531 static int hf_lustre_mdt_rec_setattr_sa_cap = -1;
532 static int hf_lustre_mdt_rec_setattr_sa_fsuid = -1;
533 static int hf_lustre_mdt_rec_setattr_sa_fsuid_h = -1;
534 static int hf_lustre_mdt_rec_setattr_sa_fsgid = -1;
535 static int hf_lustre_mdt_rec_setattr_sa_fsgid_h = -1;
536 static int hf_lustre_mdt_rec_setattr_sa_suppgid = -1;
537 static int hf_lustre_mdt_rec_setattr_sa_suppgid_h = -1;
538 static int hf_lustre_mdt_rec_setattr_sa_padding_1 = -1;
539 static int hf_lustre_mdt_rec_setattr_sa_padding_1_h = -1;
540 static int hf_lustre_mdt_rec_setattr_sa_fid = -1;
541 static int hf_lustre_mdt_rec_setattr_sa_valid = -1;
542 static int hf_lustre_mdt_rec_setattr_sa_uid = -1;
543 static int hf_lustre_mdt_rec_setattr_sa_gid = -1;
544 static int hf_lustre_mdt_rec_setattr_sa_size = -1;
545 static int hf_lustre_mdt_rec_setattr_sa_blocks = -1;
546 static int hf_lustre_mdt_rec_setattr_sa_mtime = -1;
547 static int hf_lustre_mdt_rec_setattr_sa_atime = -1;
548 static int hf_lustre_mdt_rec_setattr_sa_ctime = -1;
549 static int hf_lustre_mdt_rec_setattr_sa_attr_flags = -1;
550 static int hf_lustre_mdt_rec_setattr_sa_mode = -1;
551 static int hf_lustre_mdt_rec_setattr_sa_padding_2 = -1;
552 static int hf_lustre_mdt_rec_setattr_sa_projid = -1;
553 static int hf_lustre_mdt_rec_setattr_sa_padding_4 = -1;
554 static int hf_lustre_mdt_rec_setattr_sa_padding_5 = -1;
556 static int hf_lustre_mdt_rec_create = -1 ;
557 static int hf_lustre_mdt_rec_create_cr_opcode = -1;
558 static int hf_lustre_mdt_rec_create_cr_cap = -1;
559 static int hf_lustre_mdt_rec_create_cr_fsuid = -1;
560 static int hf_lustre_mdt_rec_create_cr_fsuid_h = -1;
561 static int hf_lustre_mdt_rec_create_cr_fsgid = -1;
562 static int hf_lustre_mdt_rec_create_cr_fsgid_h = -1;
563 static int hf_lustre_mdt_rec_create_cr_suppgid1 = -1;
564 static int hf_lustre_mdt_rec_create_cr_suppgid1_h = -1;
565 static int hf_lustre_mdt_rec_create_cr_suppgid2 = -1;
566 static int hf_lustre_mdt_rec_create_cr_suppgid2_h = -1;
567 static int hf_lustre_mdt_rec_create_cr_fid1 = -1;
568 static int hf_lustre_mdt_rec_create_cr_fid2 = -1;
569 static int hf_lustre_mdt_rec_create_cr_old_handle = -1;
570 static int hf_lustre_mdt_rec_create_cr_time = -1;
571 static int hf_lustre_mdt_rec_create_cr_rdev = -1;
572 static int hf_lustre_mdt_rec_create_cr_ioepoch = -1;
573 static int hf_lustre_mdt_rec_create_cr_padding_1 = -1;
574 static int hf_lustre_mdt_rec_create_cr_mode = -1;
575 static int hf_lustre_mdt_rec_create_cr_bias = -1;
576 static int hf_lustre_mdt_rec_create_cr_flags_l = -1;
577 static int hf_lustre_mdt_rec_create_cr_flags_h = -1;
578 static int hf_lustre_mdt_rec_create_cr_umask = -1;
579 static int hf_lustre_mdt_rec_create_cr_padding_4 = -1;
581 static int hf_lustre_mdt_rec_link = -1 ;
582 static int hf_lustre_mdt_rec_link_lk_opcode = -1;
583 static int hf_lustre_mdt_rec_link_lk_cap = -1;
584 static int hf_lustre_mdt_rec_link_lk_fsuid = -1;
585 static int hf_lustre_mdt_rec_link_lk_fsuid_h = -1;
586 static int hf_lustre_mdt_rec_link_lk_fsgid = -1;
587 static int hf_lustre_mdt_rec_link_lk_fsgid_h = -1;
588 static int hf_lustre_mdt_rec_link_lk_suppgid1 = -1;
589 static int hf_lustre_mdt_rec_link_lk_suppgid1_h = -1;
590 static int hf_lustre_mdt_rec_link_lk_suppgid2 = -1;
591 static int hf_lustre_mdt_rec_link_lk_suppgid2_h = -1;
592 static int hf_lustre_mdt_rec_link_lk_fid1 = -1;
593 static int hf_lustre_mdt_rec_link_lk_fid2 = -1;
594 static int hf_lustre_mdt_rec_link_lk_time = -1;
595 static int hf_lustre_mdt_rec_link_lk_padding_1 = -1;
596 static int hf_lustre_mdt_rec_link_lk_padding_2 = -1;
597 static int hf_lustre_mdt_rec_link_lk_padding_3 = -1;
598 static int hf_lustre_mdt_rec_link_lk_padding_4 = -1;
599 static int hf_lustre_mdt_rec_link_lk_bias = -1;
600 static int hf_lustre_mdt_rec_link_lk_padding_5 = -1;
601 static int hf_lustre_mdt_rec_link_lk_padding_6 = -1;
602 static int hf_lustre_mdt_rec_link_lk_padding_7 = -1;
603 static int hf_lustre_mdt_rec_link_lk_padding_8 = -1;
604 static int hf_lustre_mdt_rec_link_lk_padding_9 = -1;
606 static int hf_lustre_mdt_rec_unlink = -1 ;
607 static int hf_lustre_mdt_rec_unlink_ul_opcode = -1;
608 static int hf_lustre_mdt_rec_unlink_ul_cap = -1;
609 static int hf_lustre_mdt_rec_unlink_ul_fsuid = -1;
610 static int hf_lustre_mdt_rec_unlink_ul_fsuid_h = -1;
611 static int hf_lustre_mdt_rec_unlink_ul_fsgid = -1;
612 static int hf_lustre_mdt_rec_unlink_ul_fsgid_h = -1;
613 static int hf_lustre_mdt_rec_unlink_ul_suppgid1 = -1;
614 static int hf_lustre_mdt_rec_unlink_ul_suppgid1_h = -1;
615 static int hf_lustre_mdt_rec_unlink_ul_suppgid2 = -1;
616 static int hf_lustre_mdt_rec_unlink_ul_suppgid2_h = -1;
617 static int hf_lustre_mdt_rec_unlink_ul_fid1 = -1;
618 static int hf_lustre_mdt_rec_unlink_ul_fid2 = -1;
619 static int hf_lustre_mdt_rec_unlink_ul_time = -1;
620 static int hf_lustre_mdt_rec_unlink_ul_padding_2 = -1;
621 static int hf_lustre_mdt_rec_unlink_ul_padding_3 = -1;
622 static int hf_lustre_mdt_rec_unlink_ul_padding_4 = -1;
623 static int hf_lustre_mdt_rec_unlink_ul_padding_5 = -1;
624 static int hf_lustre_mdt_rec_unlink_ul_bias = -1;
625 static int hf_lustre_mdt_rec_unlink_ul_mode = -1;
626 static int hf_lustre_mdt_rec_unlink_ul_padding_6 = -1;
627 static int hf_lustre_mdt_rec_unlink_ul_padding_7 = -1;
628 static int hf_lustre_mdt_rec_unlink_ul_padding_8 = -1;
629 static int hf_lustre_mdt_rec_unlink_ul_padding_9 = -1;
631 static int hf_lustre_mdt_rec_rename = -1 ;
632 static int hf_lustre_mdt_rec_rename_rn_opcode = -1;
633 static int hf_lustre_mdt_rec_rename_rn_cap = -1;
634 static int hf_lustre_mdt_rec_rename_rn_fsuid = -1;
635 static int hf_lustre_mdt_rec_rename_rn_fsuid_h = -1;
636 static int hf_lustre_mdt_rec_rename_rn_fsgid = -1;
637 static int hf_lustre_mdt_rec_rename_rn_fsgid_h = -1;
638 static int hf_lustre_mdt_rec_rename_rn_suppgid1 = -1;
639 static int hf_lustre_mdt_rec_rename_rn_suppgid1_h = -1;
640 static int hf_lustre_mdt_rec_rename_rn_suppgid2 = -1;
641 static int hf_lustre_mdt_rec_rename_rn_suppgid2_h = -1;
642 static int hf_lustre_mdt_rec_rename_rn_fid1 = -1;
643 static int hf_lustre_mdt_rec_rename_rn_fid2 = -1;
644 static int hf_lustre_mdt_rec_rename_rn_time = -1;
645 static int hf_lustre_mdt_rec_rename_rn_padding_1 = -1;
646 static int hf_lustre_mdt_rec_rename_rn_padding_2 = -1;
647 static int hf_lustre_mdt_rec_rename_rn_padding_3 = -1;
648 static int hf_lustre_mdt_rec_rename_rn_padding_4 = -1;
649 static int hf_lustre_mdt_rec_rename_rn_bias = -1;
650 static int hf_lustre_mdt_rec_rename_rn_mode = -1;
651 static int hf_lustre_mdt_rec_rename_rn_padding_5 = -1;
652 static int hf_lustre_mdt_rec_rename_rn_padding_6 = -1;
653 static int hf_lustre_mdt_rec_rename_rn_padding_7 = -1;
654 static int hf_lustre_mdt_rec_rename_rn_padding_8 = -1;
656 static int hf_lustre_mdt_rec_setxattr = -1 ;
657 static int hf_lustre_mdt_rec_setxattr_sx_opcode = -1;
658 static int hf_lustre_mdt_rec_setxattr_sx_cap = -1;
659 static int hf_lustre_mdt_rec_setxattr_sx_fsuid = -1;
660 static int hf_lustre_mdt_rec_setxattr_sx_fsuid_h = -1;
661 static int hf_lustre_mdt_rec_setxattr_sx_fsgid = -1;
662 static int hf_lustre_mdt_rec_setxattr_sx_fsgid_h = -1;
663 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1 = -1;
664 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1_h = -1;
665 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2 = -1;
666 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2_h = -1;
667 static int hf_lustre_mdt_rec_setxattr_sx_fid = -1;
668 static int hf_lustre_mdt_rec_setxattr_sx_padding_1 = -1;
669 static int hf_lustre_mdt_rec_setxattr_sx_padding_2 = -1;
670 static int hf_lustre_mdt_rec_setxattr_sx_padding_3 = -1;
671 static int hf_lustre_mdt_rec_setxattr_sx_valid = -1;
672 static int hf_lustre_mdt_rec_setxattr_sx_time = -1;
673 static int hf_lustre_mdt_rec_setxattr_sx_padding_5 = -1;
674 static int hf_lustre_mdt_rec_setxattr_sx_padding_6 = -1;
675 static int hf_lustre_mdt_rec_setxattr_sx_padding_7 = -1;
676 static int hf_lustre_mdt_rec_setxattr_sx_size = -1;
677 static int hf_lustre_mdt_rec_setxattr_sx_flags = -1;
678 static int hf_lustre_mdt_rec_setxattr_sx_padding_8 = -1;
679 static int hf_lustre_mdt_rec_setxattr_sx_padding_9 = -1;
680 static int hf_lustre_mdt_rec_setxattr_sx_padding_10 = -1;
681 static int hf_lustre_mdt_rec_setxattr_sx_padding_11 = -1;
683 static int hf_lustre_seq_opc = -1;
684 static int hf_lustre_seq_range = -1;
685 static int hf_lustre_seq_range_start = -1;
686 static int hf_lustre_seq_range_end = -1;
687 static int hf_lustre_seq_range_index = -1;
688 static int hf_lustre_seq_range_flags = -1;
690 static int hf_lustre_fld_opc = -1;
691 static int hf_lustre_fld_range = -1;
692 static int hf_lustre_fld_range_start = -1;
693 static int hf_lustre_fld_range_end = -1;
694 static int hf_lustre_fld_range_index = -1;
695 static int hf_lustre_fld_range_flags = -1;
697 static int hf_lustre_mdt_ioepoch = -1;
698 static int hf_lustre_mdt_ioepoch_handle = -1;
699 static int hf_lustre_mdt_ioepoch_ioepoch = -1;
700 static int hf_lustre_mdt_ioepoch_flags = -1;
701 static int hf_lustre_mdt_ioepoch_padding = -1;
703 static int hf_lustre_capa = -1;
704 static int hf_lustre_capa_fid = -1;
705 static int hf_lustre_capa_opc = -1;
706 static int hf_lustre_capa_uid = -1;
707 static int hf_lustre_capa_gid = -1;
708 static int hf_lustre_capa_flags = -1;
709 static int hf_lustre_capa_keyid = -1;
710 static int hf_lustre_capa_timeout = -1;
711 static int hf_lustre_capa_expiry = -1;
712 static int hf_lustre_capa_hmac = -1;
714 static int hf_lustre_acl = -1;
716 static int hf_lustre_lustre_handle_cookie = -1;
717 static int hf_lustre_ptlrpc_body_pb_last_committed = -1;
718 static int hf_lustre_ptlrpc_body_pb_version = -1;
719 static int hf_lustre_lustre_msg_v1_lm_bufcount = -1;
720 static int hf_lustre_obd_ioobj_ioo_id = -1;
721 static int hf_lustre_ptlrpc_body_pb_slv = -1;
722 static int hf_lustre_ptlrpc_body_pb_pre_version = -1;
723 static int hf_lustre_ptlrpc_body_pb_padding = -1;
724 static int hf_lustre_ptlrpc_body_pb_jobid = -1;
725 static int hf_lustre_lustre_msg_v1_lm_handle = -1;
726 static int hf_lustre_ost_lvb_lvb_atime = -1;
727 static int hf_lustre_ptlrpc_body_pb_timeout = -1;
728 static int hf_lustre_obd_statfs_os_bavail = -1;
729 static int hf_lustre_obd_statfs_os_bsize = -1;
730 static int hf_lustre_lustre_msg_v2_lm_repsize = -1;
731 static int hf_lustre_lov_mds_md_v1_lmm_stripe_size = -1;
732 static int hf_lustre_lustre_msg_v1_lm_last_xid = -1;
733 static int hf_lustre_ll_fid_f_type = -1;
734 static int hf_lustre_lustre_msg_v2_lm_cksum = -1;
735 static int hf_lustre_lustre_msg_v2_lm_buflens = -1;
736 static int hf_lustre_lustre_msg_v1_lm_status = -1;
737 static int hf_lustre_lustre_msg_v1_lm_type = -1;
738 static int hf_lustre_niobuf_remote_len = -1;
739 static int hf_lustre_lov_mds_md_v1_lmm_magic = -1;
740 static int hf_lustre_ptlrpc_body_pb_op_flags = -1;
741 static int hf_lustre_ost_lvb_lvb_ctime = -1;
742 static int hf_lustre_ptlrpc_body_pb_type = -1;
743 static int hf_lustre_obd_connect_data_ocd_nllg = -1;
744 static int hf_lustre_obd_connect_data_ocd_nllu = -1;
745 static int hf_lustre_ll_fid_generation = -1;
746 static int hf_lustre_ost_lvb_lvb_mtime = -1;
747 static int hf_lustre_obd_connect_data_ocd_ibits_known = -1;
748 static int hf_lustre_lustre_msg_v2_lm_padding_3 = -1;
749 static int hf_lustre_ptlrpc_body_pb_flags = -1;
750 static int hf_lustre_obd_statfs_os_spare4 = -1;
751 static int hf_lustre_obd_connect_data_ocd_group = -1;
752 static int hf_lustre_lov_ost_data_v1_l_object_seq = -1;
753 static int hf_lustre_lov_mds_md_v1_lmm_object_seq = -1;
754 static int hf_lustre_obd_connect_data_ocd_brw_size = -1;
755 static int hf_lustre_ptlrpc_body_pb_limit = -1;
756 static int hf_lustre_obd_statfs_os_maxbytes = -1;
757 static int hf_lustre_obd_statfs_os_spare5 = -1;
758 static int hf_lustre_lustre_msg_v2_lm_flags = -1;
759 static int hf_lustre_obd_statfs_os_ffree = -1;
760 static int hf_lustre_obd_statfs_os_files = -1;
761 static int hf_lustre_lov_mds_md_v1_lmm_stripe_count = -1;
762 static int hf_lustre_lustre_msg_v1_lm_flags = -1;
763 static int hf_lustre_lustre_msg_v1_lm_last_committed = -1;
764 static int hf_lustre_obd_statfs_os_spare9 = -1;
765 static int hf_lustre_obd_connect_data_ocd_index = -1;
766 static int hf_lustre_opnum = -1;
767 static int hf_lustre_lustre_msg_v1_lm_buflens = -1;
768 static int hf_lustre_obd_statfs_os_spare1 = -1;
769 static int hf_lustre_obd_statfs_os_spare8 = -1;
770 static int hf_lustre_lustre_msg_v1_lm_conn_cnt = -1;
771 static int hf_lustre_ptlrpc_body_pb_transno = -1;
772 static int hf_lustre_ptlrpc_body_pb_service_time = -1;
773 static int hf_lustre_ptlrpc_body_pb_conn_cnt = -1;
774 static int hf_lustre_ptlrpc_body_pb_opc = -1;
775 static int hf_lustre_obd_connect_data_ocd_connect_flags = -1;
776 static int hf_lustre_lov_ost_data_v1_l_object_id = -1;
777 static int hf_lustre_lov_ost_data_v1_l_ost_gen = -1;
778 static int hf_lustre_obd_statfs_os_bfree = -1;
779 static int hf_lustre_obd_connect_data_ocd_version = -1;
780 static int hf_lustre_lov_mds_md_v1_lmm_objects = -1;
781 static int hf_lustre_obd_statfs_os_namelen = -1;
782 static int hf_lustre_obd_statfs_os_blocks = -1;
783 static int hf_lustre_lustre_msg_v2_lm_secflvr = -1;
784 static int hf_lustre_lustre_msg_v1_lm_transno = -1;
785 static int hf_lustre_lov_mds_md_v1_lmm_pattern = -1;
786 static int hf_lustre_lustre_msg_v1_lm_opc = -1;
787 static int hf_lustre_obd_connect_data_ocd_grant = -1;
788 static int hf_lustre_obd_ioobj_ioo_bufcnt = -1;
789 static int hf_lustre_lustre_msg_v1_lm_version = -1;
790 static int hf_lustre_obd_statfs_os_spare7 = -1;
791 static int hf_lustre_obd_statfs_os_fsid = -1;
792 static int hf_lustre_obd_connect_data_ocd_cksum_types = -1;
793 static int hf_lustre_ost_lvb_lvb_size = -1;
794 static int hf_lustre_obd_statfs_os_type = -1;
795 static int hf_lustre_obd_statfs_os_spare6 = -1;
796 static int hf_lustre_obd_statfs_os_state = -1;
797 static int hf_lustre_obd_statfs_os_spare3 = -1;
798 static int hf_lustre_lustre_msg_v2_lm_magic = -1;
799 static int hf_lustre_lov_mds_md_v1_lmm_object_id = -1;
800 static int hf_lustre_ptlrpc_body_pb_last_seen = -1;
801 static int hf_lustre_obd_ioobj_ioo_max_brw = -1;
802 static int hf_lustre_ptlrpc_body_pb_last_xid = -1;
803 static int hf_lustre_ptlrpc_body_pb_status = -1;
804 static int hf_lustre_niobuf_remote_flags = -1;
805 static int hf_lustre_ll_fid_id = -1;
806 static int hf_lustre_ost_lvb_lvb_blocks = -1;
807 static int hf_lustre_lustre_msg_v2_lm_padding_2 = -1;
808 static int hf_lustre_obd_connect_data_padding1 = -1;
809 static int hf_lustre_lov_ost_data_v1_l_ost_idx = -1;
810 static int hf_lustre_obd_connect_data_padding2 = -1;
811 static int hf_lustre_obd_ioobj_ioo_seq = -1;
812 static int hf_lustre_niobuf_remote_offset=-1;
813 static int hf_lustre_obd_statfs_os_spare2 = -1;
814 static int hf_lustre_lustre_msg_v2_lm_bufcount = -1;
815 static int hf_lustre_ptlrpc_body_pb_handle = -1;
816 static int hf_lustre_obd_connect_data_ocd_transno = -1;
817 static int hf_lustre_lustre_msg_v1_lm_magic = -1;
818 static int hf_lustre_llog_unlink_rec_lur_tail = -1;
819 static int hf_lustre_llog_size_change_rec_lsc_io_epoch = -1;
820 static int hf_lustre_mgs_target_info_mti_flags = -1;
821 static int hf_lustre_ldlm_reply_lock_policy_res1 = -1;
822 static int hf_lustre_llogd_body_lgd_len = -1;
823 static int hf_lustre_qunit_data_old_qd_id = -1;
824 static int hf_lustre_llog_logid_rec_padding1 = -1;
825 static int hf_lustre_quota_adjust_qunit_padding1 = -1;
826 static int hf_lustre_llog_size_change_rec_lsc_fid = -1;
827 static int hf_lustre_llog_rec_hdr_padding = -1;
828 static int hf_lustre_obdo_o_nlink = -1;
829 static int hf_lustre_ldlm_extent_gid = -1;
830 static int hf_lustre_obdo_o_uid = -1;
831 static int hf_lustre_obdo_o_valid = -1;
832 static int hf_lustre_ldlm_reply_lock_flags = -1;
833 static int hf_lustre_obdo_o_misc = -1;
835 static int hf_lustre_ldlm_request_lock_handle = -1;
836 static int hf_lustre_llog_logid_lgl_oid = -1;
837 static int hf_lustre_ldlm_inodebits_bits = -1;
838 static int hf_lustre_llog_log_hdr_llh_count = -1;
839 static int hf_lustre_llog_gen_rec_lgr_tail = -1;
840 static int hf_lustre_llog_catid_lci_padding3 = -1;
841 static int hf_lustre_qunit_data_qd_qunit = -1;
842 static int hf_lustre_llog_setattr_rec_padding = -1;
843 static int hf_lustre_llog_cookie_lgc_lgl = -1;
844 static int hf_lustre_obd_quotactl_qc_dqinfo = -1;
845 static int hf_lustre_llog_log_hdr_llh_bitmap = -1;
846 static int hf_lustre_obd_quotactl_qc_stat = -1;
847 static int hf_lustre_qunit_data_old2_qd_id = -1;
848 static int hf_lustre_llog_logid_rec_padding2 = -1;
849 static int hf_lustre_llog_logid_rec_padding5 = -1;
850 static int hf_lustre_ldlm_intent_opc = -1;
851 static int hf_lustre_llog_rec_hdr_lrh_type = -1;
852 static int hf_lustre_llog_rec_hdr_lrh_len = -1;
853 static int hf_lustre_llog_setattr_rec_lsr_uid = -1;
854 static int hf_lustre_lov_desc_ld_padding_1 = -1;
855 static int hf_lustre_obdo_o_padding_4 = -1;
856 static int hf_lustre_mgs_target_info_padding = -1;
857 static int hf_lustre_obd_quotactl_qc_dqblk = -1;
858 static int hf_lustre_llogd_conn_body_lgdc_gen = -1;
859 static int hf_lustre_llog_log_hdr_llh_tail = -1;
860 static int hf_lustre_obdo_o_size = -1;
861 static int hf_lustre_ldlm_extent_start = -1;
862 static int hf_lustre_llog_size_change_rec_lsc_hdr = -1;
863 static int hf_lustre_llog_logid_lgl_oseq = -1;
864 static int hf_lustre_llog_cookie_lgc_padding = -1;
865 static int hf_lustre_qunit_data_old_qd_type = -1;
866 static int hf_lustre_ldlm_flock_blocking_export = -1;
867 static int hf_lustre_lov_desc_ld_pattern = -1;
868 static int hf_lustre_qunit_data_qd_id = -1;
869 static int hf_lustre_mgs_target_info_mti_fsname = -1;
870 static int hf_lustre_ldlm_request_lock_flags = -1;
871 static int hf_lustre_obdo_o_mode = -1;
872 static int hf_lustre_mgs_target_info_mti_svname = -1;
873 static int hf_lustre_llogd_body_lgd_logid = -1;
874 static int hf_lustre_llog_log_hdr_llh_size = -1;
875 static int hf_lustre_obdo_o_handle = -1;
876 static int hf_lustre_obdo_o_atime = -1;
877 static int hf_lustre_quota_adjust_qunit_qaq_id = -1;
878 static int hf_lustre_ldlm_lock_desc_l_policy_data = -1;
879 static int hf_lustre_obd_quotactl_qc_cmd = -1;
880 static int hf_lustre_qunit_data_padding = -1;
881 static int hf_lustre_quota_adjust_qunit_qaq_flags = -1;
882 static int hf_lustre_ldlm_lock_desc_l_granted_mode = -1;
883 static int hf_lustre_obdo_o_seq = -1;
884 static int hf_lustre_obdo_o_gid = -1;
885 static int hf_lustre_llog_catid_lci_logid = -1;
886 static int hf_lustre_llog_rec_tail_lrt_index = -1;
887 static int hf_lustre_lov_desc_ld_default_stripe_count = -1;
888 static int hf_lustre_ldlm_resource_desc_lr_padding = -1;
889 static int hf_lustre_cfg_marker_cm_vers = -1;
890 static int hf_lustre_llog_unlink_rec_lur_hdr = -1;
891 static int hf_lustre_llogd_body_lgd_index = -1;
892 static int hf_lustre_cfg_marker_cm_tgtname = -1;
893 static int hf_lustre_llog_setattr_rec_lsr_ogen = -1;
894 static int hf_lustre_llog_logid_rec_lid_hdr = -1;
895 static int hf_lustre_obdo_o_ioepoch = -1;
896 static int hf_lustre_ost_body_oa = -1;
897 static int hf_lustre_llog_logid_rec_padding3 = -1;
898 static int hf_lustre_llog_log_hdr_llh_flags = -1;
899 static int hf_lustre_llog_setattr_rec_lsr_oid = -1;
900 static int hf_lustre_llog_size_change_rec_padding = -1;
901 static int hf_lustre_mgs_target_info_mti_config_ver = -1;
902 static int hf_lustre_cfg_marker_cm_createtime = -1;
903 static int hf_lustre_qunit_data_old_qd_count = -1;
904 static int hf_lustre_llog_catid_lci_padding1 = -1;
905 static int hf_lustre_lov_desc_ld_active_tgt_count = -1;
906 static int hf_lustre_obdo_o_lcookie = -1;
907 static int hf_lustre_llog_gen_rec_lgr_gen = -1;
908 static int hf_lustre_obdo_o_id = -1;
909 static int hf_lustre_mgs_target_info_mti_uuid = -1;
910 static int hf_lustre_llog_rec_hdr_lrh_index = -1;
911 static int hf_lustre_llog_setattr_rec_lsr_hdr = -1;
912 static int hf_lustre_mgs_target_info_mti_stripe_index = -1;
913 static int hf_lustre_llog_gen_conn_cnt = -1;
914 static int hf_lustre_obdo_o_padding_6 = -1;
915 static int hf_lustre_llog_cookie_lgc_index = -1;
916 static int hf_lustre_lov_desc_ld_uuid = -1;
917 static int hf_lustre_ldlm_reply_lock_desc = -1;
918 static int hf_lustre_lov_desc_ld_padding_0 = -1;
919 static int hf_lustre_llog_unlink_rec_lur_ogen = -1;
920 static int hf_lustre_cfg_marker_cm_flags = -1;
921 static int hf_lustre_obdo_o_padding_3 = -1;
922 static int hf_lustre_ldlm_request_lock_desc = -1;
923 static int hf_lustre_obdo_o_flags = -1;
924 static int hf_lustre_mgs_target_info_mti_params = -1;
925 static int hf_lustre_llog_logid_lgl_ogen = -1;
926 static int hf_lustre_cfg_marker_cm_comment = -1;
927 static int hf_lustre_llog_unlink_rec_lur_oid = -1;
928 static int hf_lustre_qunit_data_qd_count = -1;
929 static int hf_lustre_obdo_o_mtime = -1;
930 static int hf_lustre_obdo_o_blksize = -1;
931 static int hf_lustre_ldlm_res_id_name = -1;
932 static int hf_lustre_ldlm_reply_lock_handle = -1;
933 static int hf_lustre_llogd_body_lgd_saved_index = -1;
934 static int hf_lustre_qunit_data_old_qd_isblk = -1;
935 static int hf_lustre_obdo_o_blocks = -1;
936 static int hf_lustre_lov_desc_ld_padding_2 = -1;
937 static int hf_lustre_llog_logid_rec_lid_tail = -1;
938 static int hf_lustre_obdo_o_grant = -1;
939 static int hf_lustre_obdo_o_uid_h = -1;
940 static int hf_lustre_obdo_o_gid_h = -1;
941 static int hf_lustre_quota_adjust_qunit_qaq_iunit_sz = -1;
942 static int hf_lustre_llog_unlink_rec_padding = -1;
943 static int hf_lustre_ldlm_lock_desc_l_req_mode = -1;
944 static int hf_lustre_ldlm_extent_end = -1;
945 static int hf_lustre_llog_gen_rec_lgr_hdr = -1;
946 static int hf_lustre_llogd_body_lgd_llh_flags = -1;
947 static int hf_lustre_llog_log_hdr_llh_cat_idx = -1;
948 static int hf_lustre_llog_log_hdr_llh_bitmap_offset=-1;
949 static int hf_lustre_ldlm_reply_lock_padding = -1;
950 static int hf_lustre_obd_quotactl_qc_id = -1;
951 static int hf_lustre_llog_logid_rec_padding4 = -1;
952 static int hf_lustre_llog_setattr_rec_lsr_gid = -1;
953 static int hf_lustre_obd_quotactl_qc_type = -1;
954 static int hf_lustre_cfg_marker_padding = -1;
955 static int hf_lustre_mgs_target_info_mti_nids = -1;
956 static int hf_lustre_obdo_o_stripe_idx = -1;
957 static int hf_lustre_llogd_conn_body_lgdc_logid = -1;
958 static int hf_lustre_ldlm_flock_blocking_pid = -1;
959 static int hf_lustre_lov_desc_ld_tgt_count = -1;
960 static int hf_lustre_llogd_body_lgd_cur_offset=-1;
961 static int hf_lustre_qunit_data_old2_qd_count = -1;
962 static int hf_lustre_qunit_data_old2_qd_flags = -1;
963 static int hf_lustre_ldlm_flock_start = -1;
964 static int hf_lustre_quota_adjust_qunit_qaq_bunit_sz = -1;
965 static int hf_lustre_ldlm_flock_pid = -1;
966 static int hf_lustre_lov_desc_ld_default_stripe_size = -1;
967 static int hf_lustre_llog_log_hdr_llh_tgtuuid = -1;
968 static int hf_lustre_cfg_marker_cm_step = -1;
969 static int hf_lustre_mgs_send_param_mgs_param = -1;
970 static int hf_lustre_lov_desc_ld_default_stripe_offset=-1;
971 static int hf_lustre_ldlm_resource_desc_lr_name = -1;
972 static int hf_lustre_llog_rec_tail_lrt_len = -1;
973 static int hf_lustre_llog_log_hdr_llh_timestamp = -1;
974 static int hf_lustre_llog_catid_lci_padding2 = -1;
975 static int hf_lustre_llogd_conn_body_lgdc_ctxt_idx = -1;
976 static int hf_lustre_cfg_marker_cm_canceltime = -1;
977 static int hf_lustre_mgs_target_info_mti_lustre_ver = -1;
978 static int hf_lustre_obdo_o_parent_ver = -1;
979 static int hf_lustre_qunit_data_qd_flags = -1;
980 static int hf_lustre_llog_logid_rec_lid_id = -1;
981 static int hf_lustre_obdo_o_parent_oid = -1;
982 static int hf_lustre_llog_gen_mnt_cnt = -1;
983 static int hf_lustre_llog_size_change_rec_lsc_tail = -1;
984 static int hf_lustre_obdo_o_padding_5 = -1;
985 static int hf_lustre_ldlm_lock_desc_l_resource = -1;
986 static int hf_lustre_obdo_o_parent_seq = -1;
987 static int hf_lustre_ldlm_request_lock_count = -1;
988 static int hf_lustre_ldlm_flock_end = -1;
989 static int hf_lustre_mgs_target_info_mti_nid_count = -1;
990 static int hf_lustre_obdo_o_ctime = -1;
991 static int hf_lustre_ldlm_reply_lock_policy_res2 = -1;
992 static int hf_lustre_llogd_body_lgd_ctxt_idx = -1;
993 static int hf_lustre_lov_desc_ld_qos_maxage = -1;
994 static int hf_lustre_ldlm_resource_desc_lr_type = -1;
995 static int hf_lustre_llog_setattr_rec_lsr_tail = -1;
996 static int hf_lustre_llog_cookie_lgc_subsys = -1;
997 static int hf_lustre_llog_log_hdr_llh_hdr = -1;
998 static int hf_lustre_llog_log_hdr_llh_reserved = -1;
1000 /* Header field declarations for field from lustre_user.h*/
1001 static int hf_lustre_obd_dqinfo_dqi_valid = -1;
1002 static int hf_lustre_obd_dqblk_dqb_isoftlimit = -1;
1003 static int hf_lustre_obd_dqblk_dqb_bhardlimit = -1;
1004 static int hf_lustre_obd_dqblk_dqb_curspace = -1;
1005 static int hf_lustre_obd_dqblk_dqb_itime = -1;
1006 static int hf_lustre_obd_dqblk_dqb_valid = -1;
1007 static int hf_lustre_obd_dqinfo_dqi_igrace = -1;
1008 static int hf_lustre_obd_dqinfo_dqi_bgrace = -1;
1009 static int hf_lustre_obd_dqblk_padding = -1;
1010 static int hf_lustre_obd_dqblk_dqb_curinodes = -1;
1011 static int hf_lustre_obd_dqblk_dqb_bsoftlimit = -1;
1012 static int hf_lustre_obd_dqinfo_dqi_flags = -1;
1013 static int hf_lustre_obd_dqblk_dqb_btime = -1;
1014 static int hf_lustre_obd_dqblk_dqb_ihardlimit = -1;
1015 static int hf_lustre_ldlm_intent_opc_open = -1 ;
1016 static int hf_lustre_ldlm_intent_opc_creat = -1;
1017 static int hf_lustre_ldlm_intent_opc_readdir = -1;
1018 static int hf_lustre_ldlm_intent_opc_getattr = -1;
1019 static int hf_lustre_ldlm_intent_opc_lookup = -1;
1020 static int hf_lustre_ldlm_intent_opc_unlink = -1;
1021 static int hf_lustre_ldlm_intent_opc_getxattr = -1;
1022 static int hf_lustre_ldlm_intent_opc_exec = -1;
1023 static int hf_lustre_ldlm_intent_opc_pin = -1;
1024 static int hf_lustre_llog_hdr_llh_flag_zap_when_empty = -1;
1025 static int hf_lustre_llog_hdr_llh_flag_is_cat = -1;
1026 static int hf_lustre_llog_hdr_llh_flag_is_play = -1;
1027 static int hf_lustre_lu_ladvise = -1;
1028 static int hf_lustre_lu_ladvise_lla_start = -1;
1029 static int hf_lustre_lu_ladvise_lla_end = -1;
1030 static int hf_lustre_lu_ladvise_lla_advice = -1;
1031 static int hf_lustre_lu_ladvise_lla_padding = -1;
1032 /* --------------------------------------------------------------------*/
1035 /* proto declaration */
1036 static gint proto_lustre = -1;
1038 typedef int (dissect_func)(
1039 tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree,
1042 static dissect_func dissect_uint64, dissect_uint32, dissect_uint16, dissect_uint8;
1045 #include "lustre_dlm_flags_wshark.c"
1048 static int ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_) ;
1049 static int add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_) ;
1052 /* ======================================================================== */
1053 /*the value_string*/
1054 const value_string lustre_ldlm_opcode[] = {
1055 { IT_OPEN , "IT_OPEN "},
1056 { IT_CREAT , "IT_CREAT "},
1057 { IT_READDIR , "IT_READDIR "},
1058 { IT_GETATTR , "IT_GETATTR "},
1059 { IT_LOOKUP , "IT_LOOKUP "},
1060 { IT_UNLINK , "IT_UNLINK "},
1061 { IT_GETXATTR, "IT_GETXATTR"},
1062 { IT_EXEC , "IT_EXEC "},
1063 { IT_PIN , "IT_PIN "},
1067 const value_string lustre_lov_magic[] = {
1068 { LOV_MAGIC_V1, "LOV_MAGIC_V1" },
1072 const value_string lustre_llog_op_type[] = {
1073 {LLOG_PAD_MAGIC ,"LLOG_PAD_MAGIC "},
1074 {OST_SZ_REC ,"OST_SZ_REC "},
1075 {OST_RAID1_REC ,"OST_RAID1_REC "},
1076 {MDS_UNLINK_REC ,"MDS_UNLINK_REC "},
1077 {MDS_SETATTR_REC ,"MDS_SETATTR_REC "},
1078 {OBD_CFG_REC ,"OBD_CFG_REC "},
1079 {PTL_CFG_REC ,"PTL_CFG_REC "},
1080 {LLOG_GEN_REC ,"LLOG_GEN_REC "},
1081 {LLOG_JOIN_REC ,"LLOG_JOIN_REC "},
1082 {LLOG_HDR_MAGIC ,"LLOG_HDR_MAGIC "},
1083 {LLOG_LOGID_MAGIC ,"LLOG_LOGID_MAGIC"},
1087 const value_string lustre_llog_hdr_llh_flags[]= {
1088 {LLOG_F_ZAP_WHEN_EMPTY , "LLOhdr_llh_G_F_ZAP_WHEN_EMPTY"},
1089 {LLOG_F_IS_CAT , "LLOhdr_llh_G_F_IS_CAT"},
1090 {LLOG_F_IS_PLAIN , "LLOG_F_IS_PLAIN"},
1094 const value_string lustre_mds_flags_vals[] = {
1095 {0x00000008, "LUSTRE_SYNC_FL "}, /* Synchronous updates */
1096 {0x00000010, "LUSTRE_IMMUTABLE_FL "}, /* Immutable file */
1097 {0x00000020, "LUSTRE_APPEND_FL "}, /* writes to file may only append */
1098 {0x00000040, "LUSTRE_NODUMP_FL "}, /* do not dump file */
1099 {0x00000080, "LUSTRE_NOATIME_FL "}, /* do not update atime */
1100 {0x00001000, "LUSTRE_INDEX_FL "}, /* hash-indexed directory */
1101 {0x00010000, "LUSTRE_DIRSYNC_FL "}, /* dirsync behaviour (dir only) */
1102 {0x00020000, "LUSTRE_TOPDIR_FL "}, /* Top of directory hierarchies */
1103 {0x00100000, "LUSTRE_DIRECTIO_FL "}, /* Use direct i/o */
1104 {0x10000000, "LUSTRE_INLINE_DATA_FL "}, /* Inode has inline data. */
1108 const value_string lustre_mgs_config_body_types[] = {
1116 const value_string lustre_LMTypes[] = {
1117 { PTL_RPC_MSG_REQUEST, "request"},
1118 { PTL_RPC_MSG_ERR , "error"},
1119 { PTL_RPC_MSG_REPLY , "reply"},
1123 const value_string lustre_mds_reint_t_vals[] = {
1124 { REINT_SETATTR, "REINT_SETATTR" },
1125 { REINT_CREATE, "REINT_CREATE" },
1126 { REINT_LINK, "REINT_LINK" },
1127 { REINT_UNLINK, "REINT_UNLINK" },
1128 { REINT_RENAME, "REINT_RENAME" },
1129 { REINT_OPEN, "REINT_OPEN" },
1130 { REINT_SETXATTR, "REINT_SETXATTR" },
1131 { REINT_RMENTRY, "REINT_RMENTRY" },
1132 { REINT_MIGRATE, "REINT_MIGRATE" },
1135 const value_string lustre_op_codes[] = {
1138 {1 , "OST_GETATTR"},
1139 {2 , "OST_SETATTR"},
1143 {6 , "OST_DESTROY"},
1144 {7 , "OST_GET_INFO"},
1145 {8 , "OST_CONNECT"},
1146 {9 , "OST_DISCONNECT"},
1150 {13 , "OST_STATFS"},
1151 {14 , "OST_SAN_READ(deprecated)"},
1152 {15 , "OST_SAN_WRITE(deprecated)"},
1154 {17 , "OST_SET_INFO"},
1155 {18 , "OST_QUOTACHECK"},
1156 {19 , "OST_QUOTACTL"},
1157 {20 , "OST_QUOTA_ADJUST_QUNIT"},
1158 {21 , "OST_LADVISE"},
1159 {22 , "OST_LAST_OPC"},
1161 {33 , "MDS_GETATTR"},
1162 {34 , "MDS_GETATTR_NAME"},
1165 {37 , "MDS_READPAGE"},
1166 {38 , "MDS_CONNECT"},
1167 {39 , "MDS_DISCONNECT"},
1168 {40 , "MDS_GET_ROOT"},
1169 {41 , "MDS_STATFS"},
1173 {45 , "MDS_DONE_WRITING"},
1174 {46 , "MDS_SET_INFO"},
1175 {47 , "MDS_QUOTACHECK"},
1176 {48 , "MDS_QUOTACTL"},
1177 {49 , "MDS_GETXATTR"},
1178 {50 , "MDS_SETXATTR"},
1179 {51 , "MDS_WRITEPAGE"},
1180 {52 , "MDS_IS_SUBDIR"},
1181 {53 , "MDS_GET_INFO"},
1182 {54 , "MDS_HSM_STATE_GET"},
1183 {55 , "MDS_HSM_STATE_SET"},
1184 {56 , "MDS_HSM_ACTION"},
1185 {57 , "MDS_HSM_PROGRESS"},
1186 {58 , "MDS_HSM_REQUEST"},
1187 {59 , "MDS_HSM_CT_REGISTER"},
1188 {60 , "MDS_HSM_CT_UNREGISTER"},
1189 {61 , "MDS_SWAP_LAYOUTS"},
1190 {62 , "MDS_LAST_OPC"},
1192 {101 , "LDLM_ENQUEUE"},
1193 {102 , "LDLM_CONVERT"},
1194 {103 , "LDLM_CANCEL"},
1195 {104 , "LDLM_BL_CALLBACK"},
1196 {105 , "LDLM_CP_CALLBACK"},
1197 {106 , "LDLM_GL_CALLBACK"},
1198 {107 , "LDLM_LAST_OPC"},
1200 {250 , "MGS_CONNECT"},
1201 {251 , "MGS_DISCONNECT"},
1202 {252 , "MGS_EXCEPTION"},
1203 {253 , "MGS_TARGET_REG"},
1204 {254 , "MGS_TARGET_DEL"},
1205 {255 , "MGS_SET_INFO"},
1206 {256 , "MGS_CONFIG_READ"},
1207 {257 , "MGS_LAST_OPC"},
1210 {401 , "OBD_LOG_CANCEL"},
1211 {402 , "OBD_QC_CALLBACK"},
1212 {403 , "OBD_LAST_OPC"},
1214 { 501, "LLOG_ORIGIN_HANDLE_CREATE"},
1215 { 502, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK"},
1216 { 503, "LLOG_ORIGIN_HANDLE_READ_HEADER"},
1217 { 504, "LLOG_ORIGIN_HANDLE_WRITE_REC"},
1218 { 505, "LLOG_ORIGIN_HANDLE_CLOSE"},
1219 { 506, "LLOG_ORIGIN_CONNECT"},
1220 { 507, "LLOG_CATINFO"},
1221 { 508, "LLOG_ORIGIN_HANDLE_PREV_BLOCK"},
1222 { 509, "LLOG_ORIGIN_HANDLE_DESTROY"},
1223 /* SEQ RPC opcodes */
1224 { 700, "SEQ_QUERY"},
1225 { 701, "SEQ_LAST_OPC"},
1226 /* FLD RPC opcodes */
1227 { 900, "FLD_QUERY"},
1228 { 901, "FLD_LAST_OPC"},
1231 /*const value_string lustre_ldlm_mode_vals[] = {*/
1232 /* { LCK_MINMODE, "MINMODE" },*/
1233 /* { LCK_EX, "EX" },*/
1234 /* { LCK_PW, "PW" },*/
1235 /* { LCK_PR, "PR" },*/
1236 /* { LCK_CW, "CW" },*/
1237 /* { LCK_CR, "CR" },*/
1238 /* { LCK_NL, "NL" },*/
1239 /* { LCK_GROUP, "GROUP" },*/
1243 /* detailled version the information came from : http://wiki.lustre.org/images/e/e5/LustreInternals_Architecture.pdf */
1244 const value_string lustre_ldlm_mode_vals[] = {
1245 { LCK_MINMODE, "MINMODE" },
1246 { LCK_EX, "Exclusive" },
1247 { LCK_PW, "Protected Write" },
1248 { LCK_PR, "Protected Read" },
1249 { LCK_CW, "Concurrent Write" },
1250 { LCK_CR, "Concurrent Read" },
1252 { LCK_GROUP, "GROUP" },
1256 const value_string lustre_ldlm_type_vals[] = {
1257 { LDLM_PLAIN, "LDLM_PLAIN" },
1258 { LDLM_EXTENT,"LDLM_EXTENT" },
1259 { LDLM_FLOCK, "LDLM_FLOCK" },
1260 { LDLM_IBITS, "LDLM_IBITS" },
1265 const value_string lustre_llog_cmd_t_vals[] = {
1266 { LLOG_ORIGIN_HANDLE_CREATE, "LLOG_ORIGIN_HANDLE_CREATE" },
1267 { LLOG_ORIGIN_HANDLE_NEXT_BLOCK, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK" },
1268 { LLOG_ORIGIN_HANDLE_READ_HEADER, "LLOG_ORIGIN_HANDLE_READ_HEADER" },
1269 { LLOG_ORIGIN_HANDLE_WRITE_REC, "LLOG_ORIGIN_HANDLE_WRITE_REC" },
1270 { LLOG_ORIGIN_HANDLE_CLOSE, "LLOG_ORIGIN_HANDLE_CLOSE" },
1271 { LLOG_ORIGIN_CONNECT, "LLOG_ORIGIN_CONNECT" },
1272 { LLOG_CATINFO, "LLOG_CATINFO" },
1273 { LLOG_ORIGIN_HANDLE_PREV_BLOCK, "LLOG_ORIGIN_HANDLE_PREV_BLOCK" },
1274 { LLOG_ORIGIN_HANDLE_DESTROY, "LLOG_ORIGIN_HANDLE_DESTROY" },
1278 #ifndef ENABLE_STATIC
1279 const gchar version[] = VERSION;
1281 /* Start the functions we need for the plugin stuff */
1284 plugin_register(void)
1286 extern void proto_register_dcerpc_lustre(void);
1288 proto_register_dcerpc_lustre();
1292 plugin_reg_handoff(void)
1294 extern void proto_reg_handoff_lustre(void);
1296 proto_reg_handoff_lustre();
1301 /* ------------------------------------------------------------------- */
1302 /* display functions */
1303 /* ------------------------------------------------------------------- */
1304 /* display str in left corner and in COL */
1305 /* @gint col : the col where we add the information */
1306 static void display_info_str(proto_item *pi, column_info *cinfo, gint col,
1310 proto_item_append_text(pi, str);
1313 if (check_col(cinfo, col))
1314 col_append_str(cinfo, col, str);
1318 * Need to be (re)written
1320 static void display_info_fstr(proto_item *pi, column_info *cinfo, gint col, const char* format, const gchar * str){
1323 //va_start(ap, format);
1324 proto_item_append_text(pi, format, str);
1329 if (check_col(cinfo, col)){
1331 // va_start(ap, format);
1332 col_append_fstr(cinfo, col, format, str);
1339 /* ------------------------------ basic dissect functions ------------------------ */
1342 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1344 proto_tree_add_item(tree, hfindex, tvb, offset, 8, TRUE);
1350 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1352 proto_tree_add_item(tree, hfindex, tvb, offset, 4, TRUE);
1358 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1360 proto_tree_add_item(tree, hfindex, tvb, offset, 2, 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, 1, TRUE);
1371 /* ------------------------------------------------------------------------- */
1373 /* dissect raw data */
1375 lustre_dissect_element_data(tvbuff_t *tvb _U_, int offset _U_,
1376 packet_info *pinfo _U_, proto_tree *parent_tree _U_,
1377 int hf_index _U_, guint32 buf_num)
1379 proto_item *item = NULL;
1384 old_offset = offset;
1386 data_len = LUSTRE_BUFFER_LEN(buf_num);
1390 proto_tree_add_item(parent_tree, hf_index, tvb, offset, data_len, TRUE);
1393 proto_item_set_len(item, offset-old_offset);
1394 offset = add_extra_padding(tvb, offset, pinfo, parent_tree);
1400 lustre_dissect_struct_hmac(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1401 proto_tree *parent_tree _U_, int hf_index _U_, int max_length)
1405 proto_item *item = NULL;
1407 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 0, TRUE);
1408 for (i=0; i < max_length; ++i) {
1409 val = tvb_get_guint8(tvb, offset+i);
1410 proto_item_append_text(item, (i) ? "%02x" : ": %#02x", val);
1413 offset += max_length;
1414 proto_item_set_len(item, max_length);
1418 /* ------------------------------------------------------------------------ */
1422 /* IDL: struct lustre_handle { */
1423 /* IDL: uint64 cookie; */
1427 lustre_dissect_element_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1429 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_handle_cookie);
1435 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_)
1437 proto_item *item = NULL;
1438 proto_tree *tree = NULL;
1444 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1445 tree = proto_item_add_subtree(item, ett_lustre_lustre_handle_cookie);
1448 offset=lustre_dissect_element_handle_cookie(tvb, offset, pinfo, tree);
1451 proto_item_set_len(item, offset-old_offset);
1456 /* IDL: struct obd_connect_data { */
1457 /* IDL: uint64 ocd_connect_flags; */
1458 /* IDL: uint32 ocd_version; */
1459 /* IDL: uint32 ocd_grant; */
1460 /* IDL: uint32 ocd_index; */
1461 /* IDL: uint32 ocd_brw_size; */
1462 /* IDL: uint64 ocd_ibits_known; */
1463 /* IDL: uint32 ocd_nllu; */
1464 /* IDL: uint32 ocd_nllg; */
1465 /* IDL: uint64 ocd_transno; */
1466 /* IDL: uint32 ocd_group; */
1467 /* IDL: uint32 ocd_cksum_types; */
1468 /* IDL: uint64 padding1; */
1469 /* IDL: uint64 padding2; */
1473 lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1475 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_connect_flags);
1481 lustre_dissect_element_obd_connect_data_ocd_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1483 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_version);
1489 lustre_dissect_element_obd_connect_data_ocd_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1491 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_grant);
1497 lustre_dissect_element_obd_connect_data_ocd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1499 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_index);
1505 lustre_dissect_element_obd_connect_data_ocd_brw_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1507 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_brw_size);
1513 lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1515 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_ibits_known);
1521 lustre_dissect_element_obd_connect_data_ocd_nllu(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1523 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllu);
1529 lustre_dissect_element_obd_connect_data_ocd_nllg(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1531 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllg);
1537 lustre_dissect_element_obd_connect_data_ocd_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1539 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_transno);
1545 lustre_dissect_element_obd_connect_data_ocd_group(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1547 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_group);
1553 lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1555 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_cksum_types);
1561 lustre_dissect_element_obd_connect_data_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1563 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding1);
1569 lustre_dissect_element_obd_connect_data_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1571 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding2);
1577 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_)
1579 proto_item *item = NULL;
1580 proto_tree *tree = NULL;
1588 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1589 tree = proto_item_add_subtree(item, ett_lustre_obd_connect_data);
1592 offset=lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvb, offset, pinfo, tree);
1594 offset=lustre_dissect_element_obd_connect_data_ocd_version(tvb, offset, pinfo, tree);
1596 offset=lustre_dissect_element_obd_connect_data_ocd_grant(tvb, offset, pinfo, tree);
1598 offset=lustre_dissect_element_obd_connect_data_ocd_index(tvb, offset, pinfo, tree);
1600 offset=lustre_dissect_element_obd_connect_data_ocd_brw_size(tvb, offset, pinfo, tree);
1602 offset=lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvb, offset, pinfo, tree);
1604 offset=lustre_dissect_element_obd_connect_data_ocd_nllu(tvb, offset, pinfo, tree);
1606 offset=lustre_dissect_element_obd_connect_data_ocd_nllg(tvb, offset, pinfo, tree);
1608 offset=lustre_dissect_element_obd_connect_data_ocd_transno(tvb, offset, pinfo, tree);
1610 offset=lustre_dissect_element_obd_connect_data_ocd_group(tvb, offset, pinfo, tree);
1612 offset=lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvb, offset, pinfo, tree);
1614 offset=lustre_dissect_element_obd_connect_data_padding1(tvb, offset, pinfo, tree);
1616 offset=lustre_dissect_element_obd_connect_data_padding2(tvb, offset, pinfo, tree);
1619 proto_item_set_len(item, offset-old_offset);
1625 /* IDL: struct lov_ost_data_v1 { */
1626 /* IDL: uint64 l_object_id; */
1627 /* IDL: uint64 l_object_seq; */
1628 /* IDL: uint32 l_ost_gen; */
1629 /* IDL: uint32 l_ost_idx; */
1633 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_)
1635 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_id);
1641 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_)
1643 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_seq);
1649 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_)
1651 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_gen);
1657 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_)
1659 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_idx);
1665 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_)
1667 proto_item *item = NULL;
1668 proto_tree *tree = NULL;
1676 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1677 tree = proto_item_add_subtree(item, ett_lustre_lov_ost_data_v1);
1680 offset=lustre_dissect_element_lov_ost_data_v1_l_object_id(tvb, offset, pinfo, tree);
1682 offset=lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvb, offset, pinfo, tree);
1684 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvb, offset, pinfo, tree);
1686 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvb, offset, pinfo, tree);
1689 proto_item_set_len(item, offset-old_offset);
1694 /* IDL: struct lov_mds_md_v1 { */
1695 /* IDL: uint32 lmm_magic; */
1696 /* IDL: uint32 lmm_pattern; */
1697 /* IDL: uint64 lmm_object_id; */
1698 /* IDL: uint64 lmm_object_seq; */
1699 /* IDL: uint32 lmm_stripe_size; */
1700 /* IDL: uint32 lmm_stripe_count; */
1701 /* IDL: struct lov_ost_data_v1 { */
1702 /* IDL: } lmm_objects[0]; <-- en fait on en a lmm_stripe_count */
1706 lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1708 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_magic);
1714 lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1716 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_pattern);
1722 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_)
1724 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_id);
1730 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_)
1732 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_seq);
1738 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_)
1740 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_size);
1746 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_)
1748 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_count);
1754 lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1756 offset=lustre_dissect_struct_lov_ost_data_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1_lmm_objects);
1761 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)
1764 /*g_print("num = %d", num);*/
1765 for (i = 0; i < num; i++){
1766 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvb, offset, pinfo, tree);
1775 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_)
1777 proto_item *item = NULL;
1778 proto_tree *tree = NULL;
1781 guint32 stripe_count ;
1787 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1788 tree = proto_item_add_subtree(item, ett_lustre_lov_mds_md_v1);
1791 offset=lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvb, offset, pinfo, tree);
1793 offset=lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvb, offset, pinfo, tree);
1795 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvb, offset, pinfo, tree);
1797 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvb, offset, pinfo, tree);
1799 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvb, offset, pinfo, tree);
1801 stripe_count = tvb_get_letohl(tvb,offset);
1802 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvb, offset, pinfo, tree);
1804 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvb, offset, pinfo, tree, stripe_count);
1807 proto_item_set_len(item, offset-old_offset);
1813 lustre_dissect_struct_lov_mds_md(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1814 proto_tree *parent_tree _U_,
1815 int hf_index _U_, int buff_num _U_)
1819 if(LUSTRE_BUFFER_LEN(buff_num) == 0)
1822 magic=tvb_get_letohl(tvb, offset); /* TODO : replace this with a macro */
1825 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,parent_tree,
1829 offset=lustre_dissect_element_data(tvb, offset, pinfo, parent_tree,
1830 hf_lustre_extra_padding, buff_num);
1839 /* IDL: struct obd_statfs { */
1840 /* IDL: uint64 os_type; */
1841 /* IDL: uint64 os_blocks; */
1842 /* IDL: uint64 os_bfree; */
1843 /* IDL: uint64 os_bavail; */
1844 /* IDL: uint64 os_files; */
1845 /* IDL: uint64 os_ffree; */
1846 /* IDL: uint8 os_fsid[40]; */
1847 /* IDL: uint32 os_bsize; */
1848 /* IDL: uint32 os_namelen; */
1849 /* IDL: uint64 os_maxbytes; */
1850 /* IDL: uint32 os_state; */
1851 /* IDL: uint32 os_spare1; */
1852 /* IDL: uint32 os_spare2; */
1853 /* IDL: uint32 os_spare3; */
1854 /* IDL: uint32 os_spare4; */
1855 /* IDL: uint32 os_spare5; */
1856 /* IDL: uint32 os_spare6; */
1857 /* IDL: uint32 os_spare7; */
1858 /* IDL: uint32 os_spare8; */
1859 /* IDL: uint32 os_spare9; */
1863 lustre_dissect_element_obd_statfs_os_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1865 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_type);
1871 lustre_dissect_element_obd_statfs_os_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1873 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_blocks);
1879 lustre_dissect_element_obd_statfs_os_bfree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1881 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bfree);
1887 lustre_dissect_element_obd_statfs_os_bavail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1889 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bavail);
1895 lustre_dissect_element_obd_statfs_os_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1897 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_files);
1903 lustre_dissect_element_obd_statfs_os_ffree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1905 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_ffree);
1911 lustre_dissect_element_obd_statfs_os_fsid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1913 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_fsid);
1919 lustre_dissect_element_obd_statfs_os_fsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1922 for (i = 0; i < 40; i++)
1923 offset=lustre_dissect_element_obd_statfs_os_fsid_(tvb, offset, pinfo, tree);
1931 lustre_dissect_element_obd_statfs_os_bsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1933 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bsize);
1939 lustre_dissect_element_obd_statfs_os_namelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1941 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_namelen);
1947 lustre_dissect_element_obd_statfs_os_maxbytes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1949 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_maxbytes);
1955 lustre_dissect_element_obd_statfs_os_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1957 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_state);
1963 lustre_dissect_element_obd_statfs_os_spare1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1965 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare1);
1971 lustre_dissect_element_obd_statfs_os_spare2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1973 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare2);
1979 lustre_dissect_element_obd_statfs_os_spare3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1981 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare3);
1987 lustre_dissect_element_obd_statfs_os_spare4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1989 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare4);
1995 lustre_dissect_element_obd_statfs_os_spare5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1997 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare5);
2003 lustre_dissect_element_obd_statfs_os_spare6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2005 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare6);
2011 lustre_dissect_element_obd_statfs_os_spare7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2013 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare7);
2019 lustre_dissect_element_obd_statfs_os_spare8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2021 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare8);
2027 lustre_dissect_element_obd_statfs_os_spare9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2029 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare9);
2035 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_)
2037 proto_item *item = NULL;
2038 proto_tree *tree = NULL;
2046 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2047 tree = proto_item_add_subtree(item, ett_lustre_obd_statfs);
2050 offset=lustre_dissect_element_obd_statfs_os_type(tvb, offset, pinfo, tree);
2052 offset=lustre_dissect_element_obd_statfs_os_blocks(tvb, offset, pinfo, tree);
2054 offset=lustre_dissect_element_obd_statfs_os_bfree(tvb, offset, pinfo, tree);
2056 offset=lustre_dissect_element_obd_statfs_os_bavail(tvb, offset, pinfo, tree);
2058 offset=lustre_dissect_element_obd_statfs_os_files(tvb, offset, pinfo, tree);
2060 offset=lustre_dissect_element_obd_statfs_os_ffree(tvb, offset, pinfo, tree);
2062 offset=lustre_dissect_element_obd_statfs_os_fsid(tvb, offset, pinfo, tree);
2064 offset=lustre_dissect_element_obd_statfs_os_bsize(tvb, offset, pinfo, tree);
2066 offset=lustre_dissect_element_obd_statfs_os_namelen(tvb, offset, pinfo, tree);
2068 offset=lustre_dissect_element_obd_statfs_os_maxbytes(tvb, offset, pinfo, tree);
2070 offset=lustre_dissect_element_obd_statfs_os_state(tvb, offset, pinfo, tree);
2072 offset=lustre_dissect_element_obd_statfs_os_spare1(tvb, offset, pinfo, tree);
2074 offset=lustre_dissect_element_obd_statfs_os_spare2(tvb, offset, pinfo, tree);
2076 offset=lustre_dissect_element_obd_statfs_os_spare3(tvb, offset, pinfo, tree);
2078 offset=lustre_dissect_element_obd_statfs_os_spare4(tvb, offset, pinfo, tree);
2080 offset=lustre_dissect_element_obd_statfs_os_spare5(tvb, offset, pinfo, tree);
2082 offset=lustre_dissect_element_obd_statfs_os_spare6(tvb, offset, pinfo, tree);
2084 offset=lustre_dissect_element_obd_statfs_os_spare7(tvb, offset, pinfo, tree);
2086 offset=lustre_dissect_element_obd_statfs_os_spare8(tvb, offset, pinfo, tree);
2088 offset=lustre_dissect_element_obd_statfs_os_spare9(tvb, offset, pinfo, tree);
2091 proto_item_set_len(item, offset-old_offset);
2096 /* IDL: struct obd_ioobj { */
2097 /* IDL: uint64 ioo_id; */
2098 /* IDL: uint64 ioo_seq; */
2099 /* IDL: uint32 ioo_max_brw; */
2100 /* IDL: uint32 ioo_bufcnt; */
2104 lustre_dissect_element_obd_ioobj_ioo_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2106 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_id);
2112 lustre_dissect_element_obd_ioobj_ioo_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2114 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_seq);
2120 lustre_dissect_element_obd_ioobj_ioo_max_brw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2122 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_max_brw);
2128 lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2130 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_bufcnt);
2136 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_)
2138 proto_item *item = NULL;
2139 proto_tree *tree = NULL;
2147 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2148 tree = proto_item_add_subtree(item, ett_lustre_obd_ioobj);
2151 offset=lustre_dissect_element_obd_ioobj_ioo_id(tvb, offset, pinfo, tree);
2153 offset=lustre_dissect_element_obd_ioobj_ioo_seq(tvb, offset, pinfo, tree);
2155 offset=lustre_dissect_element_obd_ioobj_ioo_max_brw(tvb, offset, pinfo, tree);
2157 offset=lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvb, offset, pinfo, tree);
2160 proto_item_set_len(item, offset-old_offset);
2165 /* IDL: struct niobuf_remote { */
2166 /* IDL: uint64 offset; */
2167 /* IDL: uint32 len; */
2168 /* IDL: uint32 flags; */
2172 lustre_dissect_element_niobuf_remote_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2174 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_offset);
2180 lustre_dissect_element_niobuf_remote_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2182 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_len);
2188 lustre_dissect_element_niobuf_remote_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2190 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_flags);
2196 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_)
2198 proto_item *item = NULL;
2199 proto_tree *tree = NULL;
2207 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2208 tree = proto_item_add_subtree(item, ett_lustre_niobuf_remote);
2211 offset=lustre_dissect_element_niobuf_remote_offset(tvb, offset, pinfo, tree);
2213 offset=lustre_dissect_element_niobuf_remote_len(tvb, offset, pinfo, tree);
2215 offset=lustre_dissect_element_niobuf_remote_flags(tvb, offset, pinfo, tree);
2218 proto_item_set_len(item, offset-old_offset);
2223 /* IDL: struct ost_lvb { */
2224 /* IDL: uint64 lvb_size; */
2225 /* IDL: uint64 lvb_mtime; */
2226 /* IDL: uint64 lvb_atime; */
2227 /* IDL: uint64 lvb_ctime; */
2228 /* IDL: uint64 lvb_blocks; */
2232 lustre_dissect_element_ost_lvb_lvb_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2234 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_size);
2240 lustre_dissect_element_ost_lvb_lvb_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2244 ns.secs = tvb_get_letohl(tvb,offset);
2246 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_mtime, tvb, offset, 8, &ns );
2252 lustre_dissect_element_ost_lvb_lvb_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2256 ns.secs = tvb_get_letohl(tvb,offset);
2258 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_atime, tvb, offset, 8, &ns );
2265 lustre_dissect_element_ost_lvb_lvb_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2269 ns.secs = tvb_get_letohl(tvb,offset);
2271 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_ctime, tvb, offset, 8, &ns );
2278 lustre_dissect_element_ost_lvb_lvb_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2280 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_blocks);
2286 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_)
2288 proto_item *item = NULL;
2289 proto_tree *tree = NULL;
2297 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2298 tree = proto_item_add_subtree(item, ett_lustre_ost_lvb);
2301 offset=lustre_dissect_element_ost_lvb_lvb_size(tvb, offset, pinfo, tree);
2303 offset=lustre_dissect_element_ost_lvb_lvb_mtime(tvb, offset, pinfo, tree);
2305 offset=lustre_dissect_element_ost_lvb_lvb_atime(tvb, offset, pinfo, tree);
2307 offset=lustre_dissect_element_ost_lvb_lvb_ctime(tvb, offset, pinfo, tree);
2309 offset=lustre_dissect_element_ost_lvb_lvb_blocks(tvb, offset, pinfo, tree);
2312 proto_item_set_len(item, offset-old_offset);
2318 /* IDL: struct ll_fid { */
2319 /* IDL: uint64 id; */
2320 /* IDL: uint32 generation; */
2321 /* IDL: uint32 f_type; */
2325 lustre_dissect_element_ll_fid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2327 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ll_fid_id);
2333 lustre_dissect_element_ll_fid_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2335 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_generation);
2341 lustre_dissect_element_ll_fid_f_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2343 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_f_type);
2349 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_)
2351 proto_item *item = NULL;
2352 proto_tree *tree = NULL;
2358 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2359 tree = proto_item_add_subtree(item, ett_lustre_ll_fid);
2362 offset=lustre_dissect_element_ll_fid_id(tvb, offset, pinfo, tree);
2364 offset=lustre_dissect_element_ll_fid_generation(tvb, offset, pinfo, tree);
2366 offset=lustre_dissect_element_ll_fid_f_type(tvb, offset, pinfo, tree);
2369 proto_item_set_len(item, offset-old_offset);
2374 /* IDL: struct obd_dqinfo { */
2375 /* IDL: uint64 dqi_bgrace; */
2376 /* IDL: uint64 dqi_igrace; */
2377 /* IDL: uint32 dqi_flags; */
2378 /* IDL: uint32 dqi_valid; */
2382 lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2384 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_bgrace);
2390 lustre_dissect_element_obd_dqinfo_dqi_igrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2392 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_igrace);
2398 lustre_dissect_element_obd_dqinfo_dqi_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2400 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_flags);
2406 lustre_dissect_element_obd_dqinfo_dqi_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2408 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_valid);
2414 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_)
2416 proto_item *item = NULL;
2417 proto_tree *tree = NULL;
2422 old_offset = offset;
2425 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2426 tree = proto_item_add_subtree(item, ett_lustre_obd_dqinfo);
2429 offset = lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvb, offset, pinfo, tree);
2431 offset = lustre_dissect_element_obd_dqinfo_dqi_igrace(tvb, offset, pinfo, tree);
2433 offset = lustre_dissect_element_obd_dqinfo_dqi_flags(tvb, offset, pinfo, tree);
2435 offset = lustre_dissect_element_obd_dqinfo_dqi_valid(tvb, offset, pinfo, tree);
2438 proto_item_set_len(item, offset-old_offset);
2443 /* IDL: struct obd_dqblk { */
2444 /* IDL: uint64 dqb_bhardlimit; */
2445 /* IDL: uint64 dqb_bsoftlimit; */
2446 /* IDL: uint64 dqb_curspace; */
2447 /* IDL: uint64 dqb_ihardlimit; */
2448 /* IDL: uint64 dqb_isoftlimit; */
2449 /* IDL: uint64 dqb_curinodes; */
2450 /* IDL: uint64 dqb_btime; */
2451 /* IDL: uint64 dqb_itime; */
2452 /* IDL: uint32 dqb_valid; */
2453 /* IDL: uint32 padding; */
2457 lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2459 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bhardlimit);
2465 lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2467 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bsoftlimit);
2473 lustre_dissect_element_obd_dqblk_dqb_curspace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2475 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curspace);
2481 lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2483 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_ihardlimit);
2489 lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2491 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_isoftlimit);
2497 lustre_dissect_element_obd_dqblk_dqb_curinodes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2499 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curinodes);
2505 lustre_dissect_element_obd_dqblk_dqb_btime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2510 ns.secs = tvb_get_letohl(tvb,offset);
2512 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_btime, tvb, offset, 8, &ns );
2518 lustre_dissect_element_obd_dqblk_dqb_itime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2522 ns.secs = tvb_get_letohl(tvb,offset);
2524 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_itime, tvb, offset, 8, &ns );
2531 lustre_dissect_element_obd_dqblk_dqb_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2533 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_valid);
2539 lustre_dissect_element_obd_dqblk_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2541 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_padding);
2547 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_)
2549 proto_item *item = NULL;
2550 proto_tree *tree = NULL;
2555 old_offset = offset;
2558 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2559 tree = proto_item_add_subtree(item, ett_lustre_obd_dqblk);
2562 offset = lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvb, offset, pinfo, tree);
2564 offset = lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvb, offset, pinfo, tree);
2566 offset = lustre_dissect_element_obd_dqblk_dqb_curspace(tvb, offset, pinfo, tree);
2568 offset = lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvb, offset, pinfo, tree);
2570 offset = lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvb, offset, pinfo, tree);
2572 offset = lustre_dissect_element_obd_dqblk_dqb_curinodes(tvb, offset, pinfo, tree);
2574 offset = lustre_dissect_element_obd_dqblk_dqb_btime(tvb, offset, pinfo, tree);
2576 offset = lustre_dissect_element_obd_dqblk_dqb_itime(tvb, offset, pinfo, tree);
2578 offset = lustre_dissect_element_obd_dqblk_dqb_valid(tvb, offset, pinfo, tree);
2580 offset = lustre_dissect_element_obd_dqblk_padding(tvb, offset, pinfo, tree);
2583 proto_item_set_len(item, offset-old_offset);
2589 /* IDL: struct obd_quotactl { */
2590 /* IDL: uint32 qc_cmd; */
2591 /* IDL: uint32 qc_type; */
2592 /* IDL: uint32 qc_id; */
2593 /* IDL: uint32 qc_stat; */
2594 /* IDL: struct obd_dqinfo { */
2595 /* IDL: } qc_dqinfo; */
2596 /* IDL: struct obd_dqblk { */
2597 /* IDL: } qc_dqblk; */
2601 lustre_dissect_element_obd_quotactl_qc_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2603 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_cmd);
2609 lustre_dissect_element_obd_quotactl_qc_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2611 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_type);
2617 lustre_dissect_element_obd_quotactl_qc_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2619 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_id);
2625 lustre_dissect_element_obd_quotactl_qc_stat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2627 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_stat);
2635 lustre_dissect_element_obd_quotactl_qc_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2637 offset=lustre_dissect_struct_obd_dqblk(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqblk);
2642 lustre_dissect_element_obd_quotactl_qc_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2644 offset=lustre_dissect_struct_obd_dqinfo(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqinfo);
2649 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_)
2651 proto_item *item = NULL;
2652 proto_tree *tree = NULL;
2658 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2659 tree = proto_item_add_subtree(item, ett_lustre_obd_quotactl);
2662 offset=lustre_dissect_element_obd_quotactl_qc_cmd(tvb, offset, pinfo, tree);
2664 offset=lustre_dissect_element_obd_quotactl_qc_type(tvb, offset, pinfo, tree);
2666 offset=lustre_dissect_element_obd_quotactl_qc_id(tvb, offset, pinfo, tree);
2668 offset=lustre_dissect_element_obd_quotactl_qc_stat(tvb, offset, pinfo, tree);
2670 offset=lustre_dissect_element_obd_quotactl_qc_dqinfo(tvb, offset, pinfo, tree);
2672 offset=lustre_dissect_element_obd_quotactl_qc_dqblk(tvb, offset, pinfo, tree);
2675 proto_item_set_len(item, offset-old_offset);
2681 /* IDL: struct quota_adjust_qunit { */
2682 /* IDL: uint32 qaq_flags; */
2683 /* IDL: uint32 qaq_id; */
2684 /* IDL: uint64 qaq_bunit_sz; */
2685 /* IDL: uint64 qaq_iunit_sz; */
2686 /* IDL: uint64 padding1; */
2690 lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2692 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_flags);
2698 lustre_dissect_element_quota_adjust_qunit_qaq_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2700 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_id);
2706 lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2708 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_bunit_sz);
2714 lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2716 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_iunit_sz);
2722 lustre_dissect_element_quota_adjust_qunit_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2724 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_padding1);
2730 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_)
2732 proto_item *item = NULL;
2733 proto_tree *tree = NULL;
2741 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2742 tree = proto_item_add_subtree(item, ett_lustre_quota_adjust_qunit);
2745 offset=lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvb, offset, pinfo, tree);
2747 offset=lustre_dissect_element_quota_adjust_qunit_qaq_id(tvb, offset, pinfo, tree);
2749 offset=lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvb, offset, pinfo, tree);
2751 offset=lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvb, offset, pinfo, tree);
2753 offset=lustre_dissect_element_quota_adjust_qunit_padding1(tvb, offset, pinfo, tree);
2756 proto_item_set_len(item, offset-old_offset);
2761 /* IDL: struct mdt_body { */
2762 /* IDL: struct lu_fid { */
2764 /* IDL: struct lu_fid { */
2766 /* IDL: struct lustre_handle { */
2767 /* IDL: } handle; */
2768 /* IDL: uint64 valid; */
2769 /* IDL: uint64 size; */
2770 /* IDL: uint64 mtime; */
2771 /* IDL: uint64 atime; */
2772 /* IDL: uint64 ctime; */
2773 /* IDL: uint64 blocks; */
2774 /* IDL: uint64 ioepoch; */
2775 /* IDL: uint64 ino; */
2776 /* IDL: uint32 fsuid; */
2777 /* IDL: uint32 fsgid; */
2778 /* IDL: uint32 capability; */
2779 /* IDL: uint32 mode; */
2780 /* IDL: uint32 uid; */
2781 /* IDL: uint32 gid; */
2782 /* IDL: uint32 flags; */
2783 /* IDL: uint32 rdev; */
2784 /* IDL: uint32 nlink; */
2785 /* IDL: uint32 generation; */
2786 /* IDL: uint32 suppgid; */
2787 /* IDL: uint32 eadatasize; */
2788 /* IDL: uint32 aclsize; */
2789 /* IDL: uint32 max_mdsize; */
2790 /* IDL: uint32 max_cookiesize; */
2791 /* IDL: uint32 uid_h; */
2792 /* IDL: uint32 gid_h; */
2793 /* IDL: uint32 padding_5; */
2794 /* IDL: uint64 padding_6; */
2795 /* IDL: uint64 padding_7; */
2796 /* IDL: uint64 padding_8; */
2797 /* IDL: uint64 padding_9; */
2798 /* IDL: uint64 padding_10; */
2802 lustre_dissect_element_mdt_body_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2804 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid1);
2809 lustre_dissect_element_mdt_body_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2811 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid2);
2816 lustre_dissect_element_mdt_body_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2818 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
2824 lustre_dissect_element_mdt_body_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2826 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_valid);
2832 lustre_dissect_element_mdt_body_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2834 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_size);
2840 lustre_dissect_element_mdt_body_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2844 ns.secs = tvb_get_letohl(tvb,offset);
2846 proto_tree_add_time(tree, hf_lustre_mdt_body_mtime, tvb, offset, 8, &ns );
2852 lustre_dissect_element_mdt_body_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2856 ns.secs = tvb_get_letohl(tvb,offset);
2858 proto_tree_add_time(tree, hf_lustre_mdt_body_atime, tvb, offset, 8, &ns );
2865 lustre_dissect_element_mdt_body_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2869 ns.secs = tvb_get_letohl(tvb,offset);
2871 proto_tree_add_time(tree, hf_lustre_mdt_body_ctime, tvb, offset, 8, &ns );
2877 lustre_dissect_element_mdt_body_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2879 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_blocks);
2885 lustre_dissect_element_mdt_body_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2887 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ioepoch);
2893 lustre_dissect_element_mdt_body_ino(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2895 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ino);
2901 lustre_dissect_element_mdt_body_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2903 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsuid);
2909 lustre_dissect_element_mdt_body_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2911 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsgid);
2917 lustre_dissect_element_mdt_body_capability(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2919 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_capability);
2925 lustre_dissect_element_mdt_body_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2927 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_mode);
2933 lustre_dissect_element_mdt_body_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2935 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid);
2941 lustre_dissect_element_mdt_body_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2943 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid);
2949 lustre_dissect_element_mdt_body_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2951 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_flags);
2957 lustre_dissect_element_mdt_body_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2959 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_rdev);
2965 lustre_dissect_element_mdt_body_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2967 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_nlink);
2973 lustre_dissect_element_mdt_body_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2975 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_generation);
2981 lustre_dissect_element_mdt_body_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2983 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_suppgid);
2989 lustre_dissect_element_mdt_body_eadatasize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2991 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_eadatasize);
2997 lustre_dissect_element_mdt_body_aclsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2999 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_aclsize);
3005 lustre_dissect_element_mdt_body_max_mdsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3007 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_mdsize);
3013 lustre_dissect_element_mdt_body_max_cookiesize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3015 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_cookiesize);
3021 lustre_dissect_element_mdt_body_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3023 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid_h);
3029 lustre_dissect_element_mdt_body_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3031 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid_h);
3037 lustre_dissect_element_mdt_body_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3039 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_5);
3045 lustre_dissect_element_mdt_body_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3047 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_6);
3053 lustre_dissect_element_mdt_body_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3055 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_7);
3061 lustre_dissect_element_mdt_body_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3063 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_8);
3069 lustre_dissect_element_mdt_body_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3071 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_9);
3077 lustre_dissect_element_mdt_body_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3079 offset= dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_10);
3085 lustre_dissect_struct_mdt_body(tvbuff_t *tvb _U_, int offset _U_,
3086 packet_info *pinfo _U_,
3087 proto_tree *parent_tree _U_,
3090 proto_item *item = NULL;
3091 proto_tree *tree = NULL;
3098 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3099 tree = proto_item_add_subtree(item, ett_lustre_mdt_body);
3102 offset=lustre_dissect_element_mdt_body_fid1(tvb, offset, pinfo, tree);
3104 offset=lustre_dissect_element_mdt_body_fid2(tvb, offset, pinfo, tree);
3106 offset=lustre_dissect_element_mdt_body_handle(tvb, offset, pinfo, tree);
3108 offset=lustre_dissect_element_mdt_body_valid(tvb, offset, pinfo, tree);
3110 offset=lustre_dissect_element_mdt_body_size(tvb, offset, pinfo, tree);
3112 offset=lustre_dissect_element_mdt_body_mtime(tvb, offset, pinfo, tree);
3114 offset=lustre_dissect_element_mdt_body_atime(tvb, offset, pinfo, tree);
3116 offset=lustre_dissect_element_mdt_body_ctime(tvb, offset, pinfo, tree);
3118 offset=lustre_dissect_element_mdt_body_blocks(tvb, offset, pinfo, tree);
3120 offset=lustre_dissect_element_mdt_body_ioepoch(tvb, offset, pinfo, tree);
3122 offset=lustre_dissect_element_mdt_body_ino(tvb, offset, pinfo, tree);
3124 offset=lustre_dissect_element_mdt_body_fsuid(tvb, offset, pinfo, tree);
3126 offset=lustre_dissect_element_mdt_body_fsgid(tvb, offset, pinfo, tree);
3128 offset=lustre_dissect_element_mdt_body_capability(tvb, offset, pinfo, tree);
3130 offset=lustre_dissect_element_mdt_body_mode(tvb, offset, pinfo, tree);
3132 offset=lustre_dissect_element_mdt_body_uid(tvb, offset, pinfo, tree);
3134 offset=lustre_dissect_element_mdt_body_gid(tvb, offset, pinfo, tree);
3136 offset=lustre_dissect_element_mdt_body_flags(tvb, offset, pinfo, tree);
3138 offset=lustre_dissect_element_mdt_body_rdev(tvb, offset, pinfo, tree);
3140 offset=lustre_dissect_element_mdt_body_nlink(tvb, offset, pinfo, tree);
3142 offset=lustre_dissect_element_mdt_body_generation(tvb, offset, pinfo, tree);
3144 offset=lustre_dissect_element_mdt_body_suppgid(tvb, offset, pinfo, tree);
3146 offset=lustre_dissect_element_mdt_body_eadatasize(tvb, offset, pinfo, tree);
3148 offset=lustre_dissect_element_mdt_body_aclsize(tvb, offset, pinfo, tree);
3150 offset=lustre_dissect_element_mdt_body_max_mdsize(tvb, offset, pinfo, tree);
3152 offset=lustre_dissect_element_mdt_body_max_cookiesize(tvb, offset, pinfo, tree);
3154 offset=lustre_dissect_element_mdt_body_uid_h(tvb, offset, pinfo, tree);
3156 offset=lustre_dissect_element_mdt_body_gid_h(tvb, offset, pinfo, tree);
3158 offset=lustre_dissect_element_mdt_body_padding_5(tvb, offset, pinfo, tree);
3160 offset=lustre_dissect_element_mdt_body_padding_6(tvb, offset, pinfo, tree);
3162 offset=lustre_dissect_element_mdt_body_padding_7(tvb, offset, pinfo, tree);
3164 offset=lustre_dissect_element_mdt_body_padding_8(tvb, offset, pinfo, tree);
3166 offset=lustre_dissect_element_mdt_body_padding_9(tvb, offset, pinfo, tree);
3168 offset=lustre_dissect_element_mdt_body_padding_10(tvb, offset, pinfo, tree);
3171 proto_item_set_len(item, offset-old_offset);
3176 /* I don't find where this struct appear on wire.. need to search mdc_setattr_pack() */
3177 /* IDL: struct mdt_rec_setattr { */
3178 /* IDL: uint32 sa_opcode; */
3179 /* IDL: uint32 sa_cap; */
3180 /* IDL: uint32 sa_fsuid; */
3181 /* IDL: uint32 sa_fsuid_h; */
3182 /* IDL: uint32 sa_fsgid; */
3183 /* IDL: uint32 sa_fsgid_h; */
3184 /* IDL: uint32 sa_suppgid; */
3185 /* IDL: uint32 sa_suppgid_h; */
3186 /* IDL: uint32 sa_padding_1; */
3187 /* IDL: uint32 sa_padding_1_h; */
3188 /* IDL: struct lu_fid { */
3189 /* IDL: } sa_fid; */
3190 /* IDL: uint64 sa_valid; */
3191 /* IDL: uint32 sa_uid; */
3192 /* IDL: uint32 sa_gid; */
3193 /* IDL: uint64 sa_size; */
3194 /* IDL: uint64 sa_blocks; */
3195 /* IDL: uint64 sa_mtime; */
3196 /* IDL: uint64 sa_atime; */
3197 /* IDL: uint64 sa_ctime; */
3198 /* IDL: uint32 sa_attr_flags; */
3199 /* IDL: uint32 sa_mode; */
3200 /* IDL: uint32 sa_padding_2; */
3201 /* IDL: uint32 sa_projid; */
3202 /* IDL: uint32 sa_padding_4; */
3203 /* IDL: uint32 sa_padding_5; */
3207 lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3209 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_opcode);
3215 lustre_dissect_element_mdt_rec_setattr_sa_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3217 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_cap);
3223 lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3225 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid);
3231 lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3233 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid_h);
3239 lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3241 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid);
3247 lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3249 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid_h);
3255 lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3257 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid);
3263 lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3265 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid_h);
3271 lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3273 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1);
3279 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_)
3281 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1_h);
3287 lustre_dissect_element_mdt_rec_setattr_sa_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3289 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setattr_sa_fid);
3295 lustre_dissect_element_mdt_rec_setattr_sa_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3297 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_valid);
3303 lustre_dissect_element_mdt_rec_setattr_sa_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3305 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_uid);
3311 lustre_dissect_element_mdt_rec_setattr_sa_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3313 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_gid);
3319 lustre_dissect_element_mdt_rec_setattr_sa_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3321 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_size);
3327 lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3329 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_blocks);
3335 lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3340 ns.secs = tvb_get_letohl(tvb,offset);
3342 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_mtime, tvb, offset, 8, &ns );
3348 lustre_dissect_element_mdt_rec_setattr_sa_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3352 ns.secs = tvb_get_letohl(tvb,offset);
3354 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_atime, tvb, offset, 8, &ns );
3360 lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3364 ns.secs = tvb_get_letohl(tvb,offset);
3366 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_ctime, tvb, offset, 8, &ns );
3372 lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3374 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_attr_flags);
3380 lustre_dissect_element_mdt_rec_setattr_sa_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3382 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_mode);
3388 lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3390 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_2);
3396 lustre_dissect_element_mdt_rec_setattr_sa_projid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3398 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_projid);
3404 lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3406 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_4);
3412 lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3414 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_5);
3420 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_)
3422 proto_item *item = NULL;
3423 proto_tree *tree = NULL;
3432 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3433 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setattr);
3435 sa_opcode=tvb_get_letohl(tvb,offset);
3436 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sa_opcode, lustre_mds_reint_t_vals, "Unknown sa_opc"));
3438 offset=lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvb, offset, pinfo, tree);
3440 offset=lustre_dissect_element_mdt_rec_setattr_sa_cap(tvb, offset, pinfo, tree);
3442 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvb, offset, pinfo, tree);
3444 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvb, offset, pinfo, tree);
3446 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvb, offset, pinfo, tree);
3448 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvb, offset, pinfo, tree);
3450 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvb, offset, pinfo, tree);
3452 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvb, offset, pinfo, tree);
3454 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvb, offset, pinfo, tree);
3456 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvb, offset, pinfo, tree);
3458 offset=lustre_dissect_element_mdt_rec_setattr_sa_fid(tvb, offset, pinfo, tree);
3460 offset=lustre_dissect_element_mdt_rec_setattr_sa_valid(tvb, offset, pinfo, tree);
3462 offset=lustre_dissect_element_mdt_rec_setattr_sa_uid(tvb, offset, pinfo, tree);
3464 offset=lustre_dissect_element_mdt_rec_setattr_sa_gid(tvb, offset, pinfo, tree);
3466 offset=lustre_dissect_element_mdt_rec_setattr_sa_size(tvb, offset, pinfo, tree);
3468 offset=lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvb, offset, pinfo, tree);
3470 offset=lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvb, offset, pinfo, tree);
3472 offset=lustre_dissect_element_mdt_rec_setattr_sa_atime(tvb, offset, pinfo, tree);
3474 offset=lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvb, offset, pinfo, tree);
3476 offset=lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvb, offset, pinfo, tree);
3478 offset=lustre_dissect_element_mdt_rec_setattr_sa_mode(tvb, offset, pinfo, tree);
3480 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvb, offset, pinfo, tree);
3482 offset=lustre_dissect_element_mdt_rec_setattr_sa_projid(tvb, offset, pinfo, tree);
3484 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvb, offset, pinfo, tree);
3486 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvb, offset, pinfo, tree);
3489 proto_item_set_len(item, offset-old_offset);
3494 /* IDL: struct mdt_rec_create { */
3495 /* IDL: uint32 cr_opcode; */
3496 /* IDL: uint32 cr_cap; */
3497 /* IDL: uint32 cr_fsuid; */
3498 /* IDL: uint32 cr_fsuid_h; */
3499 /* IDL: uint32 cr_fsgid; */
3500 /* IDL: uint32 cr_fsgid_h; */
3501 /* IDL: uint32 cr_suppgid1; */
3502 /* IDL: uint32 cr_suppgid1_h; */
3503 /* IDL: uint32 cr_suppgid2; */
3504 /* IDL: uint32 cr_suppgid2_h; */
3505 /* IDL: struct lu_fid { */
3506 /* IDL: } cr_fid1; */
3507 /* IDL: struct lu_fid { */
3508 /* IDL: } cr_fid2; */
3509 /* IDL: struct lustre_handle { */
3510 /* IDL: } cr_old_handle; */
3511 /* IDL: uint64 cr_time; */
3512 /* IDL: uint64 cr_rdev; */
3513 /* IDL: uint64 cr_ioepoch; */
3514 /* IDL: uint64 cr_padding_1; */
3515 /* IDL: uint32 cr_mode; */
3516 /* IDL: uint32 cr_bias; */
3517 /* IDL: uint32 cr_flags_l; */
3518 /* IDL: uint32 cr_flags_h; */
3519 /* IDL: uint32 cr_umask; */
3520 /* IDL: uint32 cr_padding_4; */
3524 lustre_dissect_element_mdt_rec_create_cr_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3526 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_opcode);
3532 lustre_dissect_element_mdt_rec_create_cr_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3534 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_cap);
3540 lustre_dissect_element_mdt_rec_create_cr_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3542 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid);
3548 lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3550 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid_h);
3556 lustre_dissect_element_mdt_rec_create_cr_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3558 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid);
3564 lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3566 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid_h);
3572 lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3574 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1);
3580 lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3582 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1_h);
3588 lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3590 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2);
3596 lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3598 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2_h);
3604 lustre_dissect_element_mdt_rec_create_cr_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3606 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid1);
3611 lustre_dissect_element_mdt_rec_create_cr_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3613 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid2);
3618 lustre_dissect_element_mdt_rec_create_cr_old_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3620 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_old_handle);
3625 lustre_dissect_element_mdt_rec_create_cr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3629 ns.secs = tvb_get_letohl(tvb,offset);
3631 proto_tree_add_time(tree, hf_lustre_mdt_rec_create_cr_time, tvb, offset, 8, &ns );
3638 lustre_dissect_element_mdt_rec_create_cr_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3640 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_rdev);
3646 lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3648 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_ioepoch);
3654 lustre_dissect_element_mdt_rec_create_cr_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3656 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_1);
3662 lustre_dissect_element_mdt_rec_create_cr_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3664 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_mode);
3670 lustre_dissect_element_mdt_rec_create_cr_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3672 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_bias);
3678 lustre_dissect_element_mdt_rec_create_cr_flags_l(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3680 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_l);
3686 lustre_dissect_element_mdt_rec_create_cr_flags_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3688 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_h);
3694 lustre_dissect_element_mdt_rec_create_cr_umask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3696 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_umask);
3702 lustre_dissect_element_mdt_rec_create_cr_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3704 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_4);
3710 lustre_dissect_struct_mdt_rec_create(tvbuff_t *tvb _U_, int offset _U_,
3711 packet_info *pinfo _U_,
3712 proto_tree *parent_tree _U_,
3715 proto_item *item = NULL;
3716 proto_tree *tree = NULL;
3723 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3724 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_create);
3726 cr_opcode=tvb_get_letohl(tvb,offset);
3727 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(cr_opcode, lustre_mds_reint_t_vals, "Unknown cr_opc"));
3729 offset=lustre_dissect_element_mdt_rec_create_cr_opcode(tvb, offset, pinfo, tree);
3731 offset=lustre_dissect_element_mdt_rec_create_cr_cap(tvb, offset, pinfo, tree);
3733 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid(tvb, offset, pinfo, tree);
3735 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvb, offset, pinfo, tree);
3737 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid(tvb, offset, pinfo, tree);
3739 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvb, offset, pinfo, tree);
3741 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvb, offset, pinfo, tree);
3743 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvb, offset, pinfo, tree);
3745 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvb, offset, pinfo, tree);
3747 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvb, offset, pinfo, tree);
3749 offset=lustre_dissect_element_mdt_rec_create_cr_fid1(tvb, offset, pinfo, tree);
3751 offset=lustre_dissect_element_mdt_rec_create_cr_fid2(tvb, offset, pinfo, tree);
3753 offset=lustre_dissect_element_mdt_rec_create_cr_old_handle(tvb, offset, pinfo, tree);
3755 offset=lustre_dissect_element_mdt_rec_create_cr_time(tvb, offset, pinfo, tree);
3757 offset=lustre_dissect_element_mdt_rec_create_cr_rdev(tvb, offset, pinfo, tree);
3759 offset=lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvb, offset, pinfo, tree);
3761 offset=lustre_dissect_element_mdt_rec_create_cr_padding_1(tvb, offset, pinfo, tree);
3763 offset=lustre_dissect_element_mdt_rec_create_cr_mode(tvb, offset, pinfo, tree);
3765 offset=lustre_dissect_element_mdt_rec_create_cr_bias(tvb, offset, pinfo, tree);
3767 offset=lustre_dissect_element_mdt_rec_create_cr_flags_l(tvb, offset, pinfo, tree);
3769 offset=lustre_dissect_element_mdt_rec_create_cr_flags_h(tvb, offset, pinfo, tree);
3771 offset=lustre_dissect_element_mdt_rec_create_cr_umask(tvb, offset, pinfo, tree);
3773 offset=lustre_dissect_element_mdt_rec_create_cr_padding_4(tvb, offset, pinfo, tree);
3775 proto_item_set_len(item, offset-old_offset);
3780 /* TODO : find where this structure appear ! */
3781 /* IDL: struct mdt_rec_link { */
3782 /* IDL: uint32 lk_opcode; */
3783 /* IDL: uint32 lk_cap; */
3784 /* IDL: uint32 lk_fsuid; */
3785 /* IDL: uint32 lk_fsuid_h; */
3786 /* IDL: uint32 lk_fsgid; */
3787 /* IDL: uint32 lk_fsgid_h; */
3788 /* IDL: uint32 lk_suppgid1; */
3789 /* IDL: uint32 lk_suppgid1_h; */
3790 /* IDL: uint32 lk_suppgid2; */
3791 /* IDL: uint32 lk_suppgid2_h; */
3792 /* IDL: struct lu_fid { */
3793 /* IDL: } lk_fid1; */
3794 /* IDL: struct lu_fid { */
3795 /* IDL: } lk_fid2; */
3796 /* IDL: uint64 lk_time; */
3797 /* IDL: uint64 lk_padding_1; */
3798 /* IDL: uint64 lk_padding_2; */
3799 /* IDL: uint64 lk_padding_3; */
3800 /* IDL: uint64 lk_padding_4; */
3801 /* IDL: uint32 lk_bias; */
3802 /* IDL: uint32 lk_padding_5; */
3803 /* IDL: uint32 lk_padding_6; */
3804 /* IDL: uint32 lk_padding_7; */
3805 /* IDL: uint32 lk_padding_8; */
3806 /* IDL: uint32 lk_padding_9; */
3810 lustre_dissect_element_mdt_rec_link_lk_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3812 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_opcode);
3818 lustre_dissect_element_mdt_rec_link_lk_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3820 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_cap);
3826 lustre_dissect_element_mdt_rec_link_lk_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3828 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid);
3834 lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3836 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid_h);
3842 lustre_dissect_element_mdt_rec_link_lk_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3844 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid);
3850 lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3852 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid_h);
3858 lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3860 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1);
3866 lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3868 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1_h);
3874 lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3876 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2);
3882 lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3884 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2_h);
3890 lustre_dissect_element_mdt_rec_link_lk_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3892 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid1);
3897 lustre_dissect_element_mdt_rec_link_lk_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3899 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid2);
3904 lustre_dissect_element_mdt_rec_link_lk_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3908 ns.secs = tvb_get_letohl(tvb,offset);
3910 proto_tree_add_time(tree, hf_lustre_mdt_rec_link_lk_time, tvb, offset, 8, &ns );
3916 lustre_dissect_element_mdt_rec_link_lk_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3918 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_1);
3924 lustre_dissect_element_mdt_rec_link_lk_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3926 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_2);
3932 lustre_dissect_element_mdt_rec_link_lk_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3934 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_3);
3940 lustre_dissect_element_mdt_rec_link_lk_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3942 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_4);
3948 lustre_dissect_element_mdt_rec_link_lk_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3950 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_bias);
3956 lustre_dissect_element_mdt_rec_link_lk_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3958 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_5);
3964 lustre_dissect_element_mdt_rec_link_lk_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3966 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_6);
3972 lustre_dissect_element_mdt_rec_link_lk_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3974 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_7);
3980 lustre_dissect_element_mdt_rec_link_lk_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3982 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_8);
3988 lustre_dissect_element_mdt_rec_link_lk_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3990 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_9);
3996 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_)
3998 proto_item *item = NULL;
3999 proto_tree *tree = NULL;
4008 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4009 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_link);
4011 lk_opcode=tvb_get_letohl(tvb,offset);
4012 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lk_opcode, lustre_mds_reint_t_vals, "Unknown lk_opc"));
4014 offset=lustre_dissect_element_mdt_rec_link_lk_opcode(tvb, offset, pinfo, tree);
4016 offset=lustre_dissect_element_mdt_rec_link_lk_cap(tvb, offset, pinfo, tree);
4018 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid(tvb, offset, pinfo, tree);
4020 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvb, offset, pinfo, tree);
4022 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid(tvb, offset, pinfo, tree);
4024 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvb, offset, pinfo, tree);
4026 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvb, offset, pinfo, tree);
4028 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvb, offset, pinfo, tree);
4030 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvb, offset, pinfo, tree);
4032 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvb, offset, pinfo, tree);
4034 offset=lustre_dissect_element_mdt_rec_link_lk_fid1(tvb, offset, pinfo, tree);
4036 offset=lustre_dissect_element_mdt_rec_link_lk_fid2(tvb, offset, pinfo, tree);
4038 offset=lustre_dissect_element_mdt_rec_link_lk_time(tvb, offset, pinfo, tree);
4040 offset=lustre_dissect_element_mdt_rec_link_lk_padding_1(tvb, offset, pinfo, tree);
4042 offset=lustre_dissect_element_mdt_rec_link_lk_padding_2(tvb, offset, pinfo, tree);
4044 offset=lustre_dissect_element_mdt_rec_link_lk_padding_3(tvb, offset, pinfo, tree);
4046 offset=lustre_dissect_element_mdt_rec_link_lk_padding_4(tvb, offset, pinfo, tree);
4048 offset=lustre_dissect_element_mdt_rec_link_lk_bias(tvb, offset, pinfo, tree);
4050 offset=lustre_dissect_element_mdt_rec_link_lk_padding_5(tvb, offset, pinfo, tree);
4052 offset=lustre_dissect_element_mdt_rec_link_lk_padding_6(tvb, offset, pinfo, tree);
4054 offset=lustre_dissect_element_mdt_rec_link_lk_padding_7(tvb, offset, pinfo, tree);
4056 offset=lustre_dissect_element_mdt_rec_link_lk_padding_8(tvb, offset, pinfo, tree);
4058 offset=lustre_dissect_element_mdt_rec_link_lk_padding_9(tvb, offset, pinfo, tree);
4061 proto_item_set_len(item, offset-old_offset);
4066 /* IDL: struct mdt_rec_unlink { */
4067 /* IDL: uint32 ul_opcode; */
4068 /* IDL: uint32 ul_cap; */
4069 /* IDL: uint32 ul_fsuid; */
4070 /* IDL: uint32 ul_fsuid_h; */
4071 /* IDL: uint32 ul_fsgid; */
4072 /* IDL: uint32 ul_fsgid_h; */
4073 /* IDL: uint32 ul_suppgid1; */
4074 /* IDL: uint32 ul_suppgid1_h; */
4075 /* IDL: uint32 ul_suppgid2; */
4076 /* IDL: uint32 ul_suppgid2_h; */
4077 /* IDL: struct lu_fid { */
4078 /* IDL: } ul_fid1; */
4079 /* IDL: struct lu_fid { */
4080 /* IDL: } ul_fid2; */
4081 /* IDL: uint64 ul_time; */
4082 /* IDL: uint64 ul_padding_2; */
4083 /* IDL: uint64 ul_padding_3; */
4084 /* IDL: uint64 ul_padding_4; */
4085 /* IDL: uint64 ul_padding_5; */
4086 /* IDL: uint32 ul_bias; */
4087 /* IDL: uint32 ul_mode; */
4088 /* IDL: uint32 ul_padding_6; */
4089 /* IDL: uint32 ul_padding_7; */
4090 /* IDL: uint32 ul_padding_8; */
4091 /* IDL: uint32 ul_padding_9; */
4095 lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4097 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_opcode);
4103 lustre_dissect_element_mdt_rec_unlink_ul_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4105 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_cap);
4111 lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4113 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid);
4119 lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4121 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid_h);
4127 lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4129 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid);
4135 lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4137 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid_h);
4143 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4145 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1);
4151 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4153 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1_h);
4159 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4161 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2);
4167 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4169 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2_h);
4175 lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4177 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid1);
4182 lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4184 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid2);
4189 lustre_dissect_element_mdt_rec_unlink_ul_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4193 ns.secs = tvb_get_letohl(tvb,offset);
4195 proto_tree_add_time(tree,hf_lustre_mdt_rec_unlink_ul_time , tvb, offset, 8, &ns );
4201 lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4203 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_2);
4209 lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4211 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_3);
4217 lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4219 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_4);
4225 lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4227 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_5);
4233 lustre_dissect_element_mdt_rec_unlink_ul_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4235 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_bias);
4241 lustre_dissect_element_mdt_rec_unlink_ul_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4243 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_mode);
4249 lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4251 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_6);
4257 lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4259 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_7);
4265 lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4267 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_8);
4273 lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4275 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_9);
4281 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_)
4283 proto_item *item = NULL;
4284 proto_tree *tree = NULL;
4293 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4294 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_unlink);
4297 ul_opcode=tvb_get_letohl(tvb,offset);
4298 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(ul_opcode, lustre_mds_reint_t_vals, "Unknown ul_opc"));
4300 offset=lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvb, offset, pinfo, tree);
4302 offset=lustre_dissect_element_mdt_rec_unlink_ul_cap(tvb, offset, pinfo, tree);
4304 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvb, offset, pinfo, tree);
4306 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvb, offset, pinfo, tree);
4308 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvb, offset, pinfo, tree);
4310 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvb, offset, pinfo, tree);
4312 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvb, offset, pinfo, tree);
4314 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvb, offset, pinfo, tree);
4316 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvb, offset, pinfo, tree);
4318 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvb, offset, pinfo, tree);
4320 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvb, offset, pinfo, tree);
4322 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvb, offset, pinfo, tree);
4324 offset=lustre_dissect_element_mdt_rec_unlink_ul_time(tvb, offset, pinfo, tree);
4326 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvb, offset, pinfo, tree);
4328 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvb, offset, pinfo, tree);
4330 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvb, offset, pinfo, tree);
4332 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvb, offset, pinfo, tree);
4334 offset=lustre_dissect_element_mdt_rec_unlink_ul_bias(tvb, offset, pinfo, tree);
4336 offset=lustre_dissect_element_mdt_rec_unlink_ul_mode(tvb, offset, pinfo, tree);
4338 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvb, offset, pinfo, tree);
4340 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvb, offset, pinfo, tree);
4342 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvb, offset, pinfo, tree);
4344 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvb, offset, pinfo, tree);
4347 proto_item_set_len(item, offset-old_offset);
4352 /* IDL: struct mdt_rec_rename { */
4353 /* IDL: uint32 rn_opcode; */
4354 /* IDL: uint32 rn_fsuid; */
4355 /* IDL: uint32 rn_fsgid; */
4356 /* IDL: uint32 rn_cap; */
4357 /* IDL: uint32 rn_suppgid1; */
4358 /* IDL: uint32 rn_suppgid2; */
4359 /* IDL: struct ll_fid { */
4360 /* IDL: } rn_fid1; */
4361 /* IDL: struct ll_fid { */
4362 /* IDL: } rn_fid2; */
4363 /* IDL: uint64 rn_time; */
4364 /* IDL: uint32 rn_padding_1; */
4365 /* IDL: uint32 rn_padding_2; */
4366 /* IDL: uint32 rn_padding_3; */
4367 /* IDL: uint32 rn_padding_4; */
4371 lustre_dissect_element_mdt_rec_rename_rn_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4373 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_opcode);
4379 lustre_dissect_element_mdt_rec_rename_rn_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4381 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_cap);
4387 lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4389 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid);
4395 lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4397 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid_h);
4403 lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4405 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid);
4411 lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4413 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid_h);
4419 lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4421 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1);
4427 lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4429 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1_h);
4435 lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4437 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2);
4443 lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4445 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2_h);
4451 lustre_dissect_element_mdt_rec_rename_rn_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4453 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid1);
4458 lustre_dissect_element_mdt_rec_rename_rn_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4460 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid2);
4465 lustre_dissect_element_mdt_rec_rename_rn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4469 ns.secs = tvb_get_letohl(tvb,offset);
4471 proto_tree_add_time(tree, hf_lustre_mdt_rec_rename_rn_time, tvb, offset, 8, &ns );
4477 lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4479 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_1);
4485 lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4487 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_2);
4493 lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4495 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_3);
4501 lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4503 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_4);
4509 lustre_dissect_element_mdt_rec_rename_rn_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4511 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_bias);
4517 lustre_dissect_element_mdt_rec_rename_rn_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4519 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_mode);
4525 lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4527 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_5);
4533 lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4535 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_6);
4541 lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4543 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_7);
4549 lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4551 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_8);
4557 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_)
4559 proto_item *item = NULL;
4560 proto_tree *tree = NULL;
4569 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4570 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_rename);
4573 rn_opcode=tvb_get_letohl(tvb,offset);
4574 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(rn_opcode, lustre_mds_reint_t_vals, "Unknown rn_opc"));
4576 offset=lustre_dissect_element_mdt_rec_rename_rn_opcode(tvb, offset, pinfo, tree);
4578 offset=lustre_dissect_element_mdt_rec_rename_rn_cap(tvb, offset, pinfo, tree);
4580 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvb, offset, pinfo, tree);
4582 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvb, offset, pinfo, tree);
4584 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvb, offset, pinfo, tree);
4586 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvb, offset, pinfo, tree);
4588 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvb, offset, pinfo, tree);
4590 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvb, offset, pinfo, tree);
4592 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvb, offset, pinfo, tree);
4594 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvb, offset, pinfo, tree);
4596 offset=lustre_dissect_element_mdt_rec_rename_rn_fid1(tvb, offset, pinfo, tree);
4598 offset=lustre_dissect_element_mdt_rec_rename_rn_fid2(tvb, offset, pinfo, tree);
4600 offset=lustre_dissect_element_mdt_rec_rename_rn_time(tvb, offset, pinfo, tree);
4602 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvb, offset, pinfo, tree);
4604 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvb, offset, pinfo, tree);
4606 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvb, offset, pinfo, tree);
4608 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvb, offset, pinfo, tree);
4610 offset=lustre_dissect_element_mdt_rec_rename_rn_bias(tvb, offset, pinfo, tree);
4612 offset=lustre_dissect_element_mdt_rec_rename_rn_mode(tvb, offset, pinfo, tree);
4614 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvb, offset, pinfo, tree);
4616 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvb, offset, pinfo, tree);
4618 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvb, offset, pinfo, tree);
4620 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvb, offset, pinfo, tree);
4623 proto_item_set_len(item, offset-old_offset);
4628 /* I don't find where this struct appear on wire.. need to search mdc_setxattr_pack() */
4629 /* IDL: struct mdt_rec_setxattr { */
4630 /* IDL: uint32 sx_opcode; */
4631 /* IDL: uint32 sx_cap; */
4632 /* IDL: uint32 sx_fsuid; */
4633 /* IDL: uint32 sx_fsuid_h; */
4634 /* IDL: uint32 sx_fsgid; */
4635 /* IDL: uint32 sx_fsgid_h; */
4636 /* IDL: uint32 sx_suppgid1; */
4637 /* IDL: uint32 sx_suppgid1_h; */
4638 /* IDL: uint32 sx_suppgid2; */
4639 /* IDL: uint32 sx_suppgid2_h; */
4640 /* IDL: struct lu_fid { */
4641 /* IDL: } sx_fid; */
4642 /* IDL: uint64 sx_padding_1; */
4643 /* IDL: uint32 sx_padding_2; */
4644 /* IDL: uint32 sx_padding_3; */
4645 /* IDL: uint64 sx_valid; */
4646 /* IDL: uint64 sx_time; */
4647 /* IDL: uint64 sx_padding_5; */
4648 /* IDL: uint64 sx_padding_6; */
4649 /* IDL: uint64 sx_padding_7; */
4650 /* IDL: uint32 sx_size; */
4651 /* IDL: uint32 sx_flags; */
4652 /* IDL: uint32 sx_padding_8; */
4653 /* IDL: uint32 sx_padding_9; */
4654 /* IDL: uint32 sx_padding_10; */
4655 /* IDL: uint32 sx_padding_11; */
4659 lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4661 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_opcode);
4667 lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4669 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_cap);
4675 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4677 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid);
4683 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4685 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid_h);
4691 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4693 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid);
4699 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4701 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid_h);
4707 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4709 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1);
4715 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4717 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1_h);
4723 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4725 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2);
4731 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4733 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2_h);
4739 lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4741 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setxattr_sx_fid);
4747 lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4749 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_1);
4755 lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4757 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_2);
4763 lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4765 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_3);
4771 lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4773 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_valid);
4779 lustre_dissect_element_mdt_rec_setxattr_sx_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4784 ns.secs = tvb_get_letohl(tvb,offset);
4786 proto_tree_add_time(tree, hf_lustre_mdt_rec_setxattr_sx_time, tvb, offset, 8, &ns );
4792 lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4794 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_5);
4800 lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4802 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_6);
4808 lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4810 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_7);
4816 lustre_dissect_element_mdt_rec_setxattr_sx_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4818 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_size);
4824 lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4826 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_flags);
4832 lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4834 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_8);
4840 lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4842 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_9);
4848 lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4850 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_10);
4856 lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4858 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_11);
4864 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_)
4866 proto_item *item = NULL;
4867 proto_tree *tree = NULL;
4876 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4877 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setxattr);
4879 sx_opcode=tvb_get_letohl(tvb,offset);
4880 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sx_opcode, lustre_mds_reint_t_vals, "Unknown sx_opc"));
4882 offset=lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvb, offset, pinfo, tree);
4884 offset=lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvb, offset, pinfo, tree);
4886 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvb, offset, pinfo, tree);
4888 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvb, offset, pinfo, tree);
4890 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvb, offset, pinfo, tree);
4892 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvb, offset, pinfo, tree);
4894 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvb, offset, pinfo, tree);
4896 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvb, offset, pinfo, tree);
4898 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvb, offset, pinfo, tree);
4900 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvb, offset, pinfo, tree);
4902 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvb, offset, pinfo, tree);
4904 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvb, offset, pinfo, tree);
4906 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvb, offset, pinfo, tree);
4908 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvb, offset, pinfo, tree);
4910 offset=lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvb, offset, pinfo, tree);
4912 offset=lustre_dissect_element_mdt_rec_setxattr_sx_time(tvb, offset, pinfo, tree);
4914 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvb, offset, pinfo, tree);
4916 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvb, offset, pinfo, tree);
4918 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvb, offset, pinfo, tree);
4920 offset=lustre_dissect_element_mdt_rec_setxattr_sx_size(tvb, offset, pinfo, tree);
4922 offset=lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvb, offset, pinfo, tree);
4924 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvb, offset, pinfo, tree);
4926 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvb, offset, pinfo, tree);
4928 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvb, offset, pinfo, tree);
4930 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvb, offset, pinfo, tree);
4933 proto_item_set_len(item, offset-old_offset);
4939 /* TODO : find where this structure appear */
4941 /* IDL: struct lov_desc { */
4942 /* IDL: uint32 ld_tgt_count; */
4943 /* IDL: uint32 ld_active_tgt_count; */
4944 /* IDL: uint32 ld_default_stripe_count; */
4945 /* IDL: uint32 ld_pattern; */
4946 /* IDL: uint64 ld_default_stripe_size; */
4947 /* IDL: uint64 ld_default_stripe_offset; */
4948 /* IDL: uint32 ld_padding_0; */
4949 /* IDL: uint32 ld_qos_maxage; */
4950 /* IDL: uint32 ld_padding_1; */
4951 /* IDL: uint32 ld_padding_2; */
4952 /* IDL: struct obd_uuid { */
4953 /* IDL: } ld_uuid; */
4957 lustre_dissect_element_lov_desc_ld_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4959 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_tgt_count);
4965 lustre_dissect_element_lov_desc_ld_active_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4967 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_active_tgt_count);
4973 lustre_dissect_element_lov_desc_ld_default_stripe_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4975 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_count);
4981 lustre_dissect_element_lov_desc_ld_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4983 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_pattern);
4989 lustre_dissect_element_lov_desc_ld_default_stripe_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4991 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_size);
4997 lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4999 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_offset);
5005 lustre_dissect_element_lov_desc_ld_padding_0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5007 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_0);
5013 lustre_dissect_element_lov_desc_ld_qos_maxage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5015 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_qos_maxage);
5021 lustre_dissect_element_lov_desc_ld_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5023 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_1);
5029 lustre_dissect_element_lov_desc_ld_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5031 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_2);
5037 lustre_dissect_element_lov_desc_ld_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5039 //offset=lustre_dissect_struct_HASH(0x85bade8)(tvb,offset,pinfo,tree,hf_lustre_lov_desc_ld_uuid);
5044 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_)
5046 proto_item *item = NULL;
5047 proto_tree *tree = NULL;
5055 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5056 tree = proto_item_add_subtree(item, ett_lustre_lov_desc);
5059 offset=lustre_dissect_element_lov_desc_ld_tgt_count(tvb, offset, pinfo, tree);
5061 offset=lustre_dissect_element_lov_desc_ld_active_tgt_count(tvb, offset, pinfo, tree);
5063 offset=lustre_dissect_element_lov_desc_ld_default_stripe_count(tvb, offset, pinfo, tree);
5065 offset=lustre_dissect_element_lov_desc_ld_pattern(tvb, offset, pinfo, tree);
5067 offset=lustre_dissect_element_lov_desc_ld_default_stripe_size(tvb, offset, pinfo, tree);
5069 offset=lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvb, offset, pinfo, tree);
5071 offset=lustre_dissect_element_lov_desc_ld_padding_0(tvb, offset, pinfo, tree);
5073 offset=lustre_dissect_element_lov_desc_ld_qos_maxage(tvb, offset, pinfo, tree);
5075 offset=lustre_dissect_element_lov_desc_ld_padding_1(tvb, offset, pinfo, tree);
5077 offset=lustre_dissect_element_lov_desc_ld_padding_2(tvb, offset, pinfo, tree);
5079 offset=lustre_dissect_element_lov_desc_ld_uuid(tvb, offset, pinfo, tree);
5082 proto_item_set_len(item, offset-old_offset);
5087 /* IDL: struct obd_uuid { */
5088 /* char uuid[40]; */
5092 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_)
5094 /* the lenght of the string is 40 bytes max, with \0 inside */
5095 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 40, TRUE);
5103 /* IDL: struct ldlm_res_id { */
5104 /* IDL: uint64 name[4]; */
5108 lustre_dissect_element_ldlm_res_id_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5110 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_res_id_name);
5116 lustre_dissect_element_ldlm_res_id_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5119 for (i = 0; i < 4; i++)
5120 offset=lustre_dissect_element_ldlm_res_id_name_(tvb, offset, pinfo, tree);
5128 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_)
5130 proto_item *item = NULL;
5131 proto_tree *tree = NULL;
5139 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5140 tree = proto_item_add_subtree(item, ett_lustre_ldlm_res_id);
5143 offset=lustre_dissect_element_ldlm_res_id_name(tvb, offset, pinfo, tree);
5146 proto_item_set_len(item, offset-old_offset);
5153 /* IDL: LCK_MINMODE=0, */
5154 /* IDL: LCK_EX=1, */
5155 /* IDL: LCK_PW=2, */
5156 /* IDL: LCK_PR=4, */
5157 /* IDL: LCK_CW=8, */
5158 /* IDL: LCK_CR=16, */
5159 /* IDL: LCK_NL=32, */
5160 /* IDL: LCK_GROUP=64, */
5161 /* IDL: LCK_MAXMODE, */
5165 lustre_dissect_enum_ldlm_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
5167 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_index);
5173 /* IDL: LDLM_PLAIN=10, */
5174 /* IDL: LDLM_EXTENT=11, */
5175 /* IDL: LDLM_FLOCK=12, */
5176 /* IDL: LDLM_IBITS=13, */
5177 /* IDL: LDLM_MAX_TYPE, */
5181 lustre_dissect_enum_ldlm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
5183 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type );
5187 /* IDL: struct ldlm_extent { */
5188 /* IDL: uint64 start; */
5189 /* IDL: uint64 end; */
5190 /* IDL: uint64 gid; */
5194 lustre_dissect_element_ldlm_extent_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5196 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_start);
5202 lustre_dissect_element_ldlm_extent_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5204 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_end);
5210 lustre_dissect_element_ldlm_extent_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5212 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_gid);
5218 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_)
5220 proto_item *item = NULL;
5221 proto_tree *tree = NULL;
5229 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5230 tree = proto_item_add_subtree(item, ett_lustre_ldlm_extent);
5233 offset=lustre_dissect_element_ldlm_extent_start(tvb, offset, pinfo, tree);
5235 offset=lustre_dissect_element_ldlm_extent_end(tvb, offset, pinfo, tree);
5237 offset=lustre_dissect_element_ldlm_extent_gid(tvb, offset, pinfo, tree);
5240 proto_item_set_len(item, offset-old_offset);
5245 /* IDL: struct ldlm_inodebits { */
5246 /* IDL: uint64 bits; */
5250 lustre_dissect_element_ldlm_inodebits_bits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5252 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_inodebits_bits);
5258 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_)
5260 proto_item *item = NULL;
5261 proto_tree *tree = NULL;
5269 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5270 tree = proto_item_add_subtree(item, ett_lustre_ldlm_inodebits);
5273 offset=lustre_dissect_element_ldlm_inodebits_bits(tvb, offset, pinfo, tree);
5276 proto_item_set_len(item, offset-old_offset);
5281 /* IDL: struct ldlm_flock { */
5282 /* IDL: uint64 start; */
5283 /* IDL: uint64 end; */
5284 /* IDL: uint64 blocking_export; */
5285 /* IDL: uint32 blocking_pid; */
5286 /* IDL: uint32 pid; */
5290 lustre_dissect_element_ldlm_flock_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5292 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_start);
5298 lustre_dissect_element_ldlm_flock_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5300 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_end);
5306 lustre_dissect_element_ldlm_flock_blocking_export(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5308 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_export);
5314 lustre_dissect_element_ldlm_flock_blocking_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5316 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_pid);
5322 lustre_dissect_element_ldlm_flock_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5324 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_pid);
5330 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_)
5332 proto_item *item = NULL;
5333 proto_tree *tree = NULL;
5341 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5342 tree = proto_item_add_subtree(item, ett_lustre_ldlm_flock);
5345 offset=lustre_dissect_element_ldlm_flock_start(tvb, offset, pinfo, tree);
5347 offset=lustre_dissect_element_ldlm_flock_end(tvb, offset, pinfo, tree);
5349 offset=lustre_dissect_element_ldlm_flock_blocking_export(tvb, offset, pinfo, tree);
5351 offset=lustre_dissect_element_ldlm_flock_blocking_pid(tvb, offset, pinfo, tree);
5353 offset=lustre_dissect_element_ldlm_flock_pid(tvb, offset, pinfo, tree);
5356 proto_item_set_len(item, offset-old_offset);
5361 /* IDL: struct ldlm_intent { */
5362 /* IDL: uint64 opc; */
5366 lustre_dissect_element_ldlm_intent_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5369 /* this opcode is like a flag*/
5370 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_open );
5371 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_creat );
5372 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_readdir );
5373 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getattr );
5374 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_lookup );
5375 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_unlink );
5376 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getxattr);
5377 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_exec );
5378 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_pin );
5379 opcode = tvb_get_letohl(tvb,offset);
5381 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, "[ intent :");
5382 if(opcode & IT_OPEN ){
5383 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " open");
5384 proto_item_append_text(tree, " open" );
5386 if(opcode & IT_CREAT ){
5387 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " create");
5388 proto_item_append_text(tree, " create" );
5390 if(opcode & IT_READDIR ){
5391 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " readdir");
5392 proto_item_append_text(tree, " readdir" );
5394 if(opcode & IT_GETATTR ){
5395 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getattr");
5396 proto_item_append_text(tree, " getattr" );
5398 if(opcode & IT_LOOKUP ){
5399 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " lookup");
5400 proto_item_append_text(tree, " lookup" );
5402 if(opcode & IT_UNLINK ){
5403 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " unlink");
5404 proto_item_append_text(tree, " unlink" );
5406 if(opcode & IT_GETXATTR){
5407 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getxattr");
5408 proto_item_append_text(tree, " getxattr" );
5410 if(opcode & IT_EXEC ){
5411 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " exec");
5412 proto_item_append_text(tree, " exec" );
5414 if(opcode & IT_PIN ){
5415 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " pin");
5416 proto_item_append_text(tree, " pin" );
5419 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " ]");
5425 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_)
5428 proto_item * opcode_item = NULL;
5429 proto_tree * opcode_tree = NULL;
5431 intent_opc = tvb_get_letoh64(tvb,offset);
5433 opcode_item = proto_tree_add_item(parent_tree, hf_lustre_ldlm_intent_opc, tvb, offset, 8, TRUE);
5434 opcode_tree = proto_item_add_subtree(opcode_item, ett_lustre_ldlm_intent_opc);
5437 offset=lustre_dissect_element_ldlm_intent_opc(tvb, offset, pinfo, opcode_tree);
5439 offset=ldlm_opcode_process(tvb, offset, pinfo, parent_tree, intent_opc);
5444 /* IDL: struct ldlm_resource_desc { */
5445 /* IDL: enum ldlm_type lr_type; */
5446 /* IDL: uint32 lr_padding; */
5447 /* IDL: struct ldlm_res_id { */
5448 /* IDL: } lr_name; */
5452 lustre_dissect_element_ldlm_resource_desc_lr_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5454 /* offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);*/
5455 offset=lustre_dissect_enum_ldlm_type(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);
5460 lustre_dissect_element_ldlm_resource_desc_lr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5462 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_padding);
5468 lustre_dissect_element_ldlm_resource_desc_lr_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5470 offset=lustre_dissect_struct_ldlm_res_id(tvb,offset,pinfo,tree,hf_lustre_ldlm_resource_desc_lr_name);
5475 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_)
5477 proto_item *item = NULL;
5478 proto_tree *tree = NULL;
5486 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5487 tree = proto_item_add_subtree(item, ett_lustre_ldlm_resource_desc);
5490 offset=lustre_dissect_element_ldlm_resource_desc_lr_type(tvb, offset, pinfo, tree);
5492 offset=lustre_dissect_element_ldlm_resource_desc_lr_padding(tvb, offset, pinfo, tree);
5494 offset=lustre_dissect_element_ldlm_resource_desc_lr_name(tvb, offset, pinfo, tree);
5497 proto_item_set_len(item, offset-old_offset);
5503 /* IDL: struct ldlm_lock_desc { */
5504 /* IDL: struct ldlm_resource_desc { */
5505 /* IDL: } l_resource; */
5506 /* IDL: enum ldlm_mode l_req_mode; */
5507 /* IDL: enum ldlm_mode l_granted_mode; */
5508 /* IDL: union ldlm_policy_data l_policy_data; */
5512 lustre_dissect_element_ldlm_lock_desc_l_resource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5514 offset=lustre_dissect_struct_ldlm_resource_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_resource);
5519 lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5521 offset=lustre_dissect_enum_ldlm_mode(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_req_mode);
5527 lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5529 offset=lustre_dissect_enum_ldlm_mode(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_granted_mode);
5535 lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5538 guint32 lr_type; /* type of the lock */
5540 lr_type = tvb_get_letohl(tvb,offset - 48 ); /* TODO : find another way that using -48 */
5542 /* this section must be check with lustre code, possible mistake here */
5546 offset=lustre_dissect_struct_ldlm_flock(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5549 offset= lustre_dissect_struct_ldlm_extent(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5550 /* add an extra padding 8 bytes */
5551 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5554 offset=lustre_dissect_struct_ldlm_inodebits(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5555 /* add an extra padding 24 bytes */
5556 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5557 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5558 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5561 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5562 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5563 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5564 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5571 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_)
5573 proto_item *item = NULL;
5574 proto_tree *tree = NULL;
5577 guint32 lock_req_mode;
5583 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5584 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_desc);
5587 offset=lustre_dissect_element_ldlm_lock_desc_l_resource(tvb, offset, pinfo, tree);
5589 lock_req_mode = tvb_get_letohl(tvb,offset);
5591 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lock_req_mode, lustre_ldlm_mode_vals, "Unknown lock"));
5593 offset=lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvb, offset, pinfo, tree);
5595 offset=lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvb, offset, pinfo, tree);
5597 offset=lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvb, offset, pinfo, tree);
5600 proto_item_set_len(item, offset-old_offset);
5606 /* IDL: struct ldlm_request { */
5607 /* IDL: uint32 lock_flags; */
5608 /* IDL: uint32 lock_count; */
5609 /* IDL: struct ldlm_lock_desc { */
5610 /* IDL: } lock_desc; */
5611 /* IDL: struct lustre_handle { */
5612 /* IDL: } lock_handle[2]; */
5618 lustre_dissect_element_ldlm_request_lock_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5620 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_request_lock_count);
5626 lustre_dissect_element_ldlm_request_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5628 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_desc);
5635 lustre_dissect_element_ldlm_request_lock_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5637 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5638 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5640 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_handle);
5645 lustre_dissect_element_ldlm_request_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int num_locks _U_)
5650 for (i = 0; i < num_locks; i++)
5651 offset=lustre_dissect_element_ldlm_request_lock_handle_(tvb, offset, pinfo, tree);
5657 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_)
5659 proto_item *item = NULL;
5660 proto_tree *tree = NULL;
5662 /* guint32 lock_flag; */
5663 /* guint32 ldlm_type; */
5664 guint32 num_locks = 2;
5669 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5670 tree = proto_item_add_subtree(item, ett_lustre_ldlm_request);
5673 /* lock_flag = tvb_get_letohl(tvb,offset); */
5674 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree,
5675 hf_lustre_ldlm_request_lock_flags);
5677 num_locks = tvb_get_letohl(tvb,offset);
5678 offset=lustre_dissect_element_ldlm_request_lock_count(tvb, offset, pinfo, tree);
5680 /* ldlm_type = (EXTENT, PLAIN, ou IBITS) */
5681 /* ldlm_type = tvb_get_letohl(tvb,offset); */
5682 offset=lustre_dissect_element_ldlm_request_lock_desc(tvb, offset, pinfo, tree);
5683 offset=lustre_dissect_element_ldlm_request_lock_handle(tvb, offset, pinfo, tree, num_locks);
5685 proto_item_set_len(item, offset-old_offset);
5691 lustre_dissect_element_ldlm_reply_lock_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5693 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_padding);
5699 lustre_dissect_element_ldlm_reply_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5701 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_desc);
5706 lustre_dissect_element_ldlm_reply_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5708 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5709 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5711 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_handle);
5716 lustre_dissect_element_ldlm_reply_lock_policy_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5718 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res1);
5724 lustre_dissect_element_ldlm_reply_lock_policy_res2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5726 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res2);
5732 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_ )
5734 proto_item *item = NULL;
5735 proto_tree *tree = NULL;
5737 /* guint32 lock_flag; */
5742 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5743 tree = proto_item_add_subtree(item, ett_lustre_ldlm_reply);
5746 /* lock_flag = tvb_get_letohl(tvb,offset); */
5747 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_flags);
5749 offset=lustre_dissect_element_ldlm_reply_lock_padding(tvb, offset, pinfo, tree);
5751 if (ldlm_type != NULL)
5752 *ldlm_type = tvb_get_letohl(tvb,offset);
5753 offset=lustre_dissect_element_ldlm_reply_lock_desc(tvb, offset, pinfo, tree);
5755 offset=lustre_dissect_element_ldlm_reply_lock_handle(tvb, offset, pinfo, tree);
5757 offset=lustre_dissect_element_ldlm_reply_lock_policy_res1(tvb, offset, pinfo, tree);
5759 offset=lustre_dissect_element_ldlm_reply_lock_policy_res2(tvb, offset, pinfo, tree);
5761 proto_item_set_len(item, offset-old_offset);
5769 /* IDL: struct mgs_send_param { */
5770 /* IDL: uint8 mgs_param[1024]; */
5776 lustre_dissect_element_mgs_send_param_mgs_param_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5778 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_send_param_mgs_param);
5784 lustre_dissect_element_mgs_send_param_mgs_param(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5787 for (i = 0; i < 1024; i++)
5788 offset=lustre_dissect_element_mgs_send_param_mgs_param_(tvb, offset, pinfo, tree);
5794 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_)
5796 proto_item *item = NULL;
5797 proto_tree *tree = NULL;
5804 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5805 tree = proto_item_add_subtree(item, ett_lustre_mgs_send_param);
5808 offset=lustre_dissect_element_mgs_send_param_mgs_param(tvb, offset, pinfo, tree);
5811 proto_item_set_len(item, offset-old_offset);
5816 /* IDL: struct mgs_config_body {
5817 * IDL: char mcb_name[64];
5818 * IDL: __u64 mcb_offset;
5819 * IDL: __u16 mcb_type;
5820 * IDL: __u8 mcb_reserved;
5821 * IDL: __u8 mcb_bits;
5822 * IDL: __u32 mcb_units;
5826 lustre_dissect_element_mgs_config_body_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5828 int string_len = 64;
5829 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
5830 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " name : %s",
5831 (const gchar *) tvb_get_string(tvb,offset,string_len) );
5838 lustre_dissect_struct_mgs_config_body(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5840 proto_item *item = NULL;
5841 proto_tree *tree = NULL;
5848 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5849 tree = proto_item_add_subtree(item, ett_lustre_mgs_config_body);
5852 offset=lustre_dissect_element_mgs_config_body_name(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_name);
5854 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_offset);
5855 offset=dissect_uint16(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_type);
5856 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_reserved);
5857 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_bits);
5858 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_units);
5860 proto_item_set_len(item, offset-old_offset);
5865 /* IDL: struct mgs_config_res {
5866 * IDL: __u64 mcr_offset;
5867 * IDL: __u64 mcr_size;
5871 lustre_dissect_struct_mgs_config_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
5873 proto_item *item = NULL;
5874 proto_tree *tree = NULL;
5880 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5881 tree = proto_item_add_subtree(item, ett_lustre_mgs_config_res);
5884 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_res_offset);
5885 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_res_size);
5887 proto_item_set_len(item, offset-old_offset);
5893 /* IDL: struct mgs_target_info { */
5894 /* IDL: uint32 mti_lustre_ver; */
5895 /* IDL: uint32 mti_stripe_index; */
5896 /* IDL: uint32 mti_config_ver; */
5897 /* IDL: uint32 mti_flags; */
5898 /* IDL: uint32 mti_nid_count; */
5899 /* IDL: uint32 padding; */
5900 /* IDL: uint8 mti_fsname[64]; */
5901 /* IDL: uint8 mti_svname[64]; */
5902 /* IDL: uint8 mti_uuid[40]; */
5903 /* IDL: uint64 mti_nids[32]; */
5904 /* IDL: uint8 mti_params[4096]; */
5908 lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5910 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_lustre_ver);
5916 lustre_dissect_element_mgs_target_info_mti_stripe_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5918 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_stripe_index);
5924 lustre_dissect_element_mgs_target_info_mti_config_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5926 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_config_ver);
5932 lustre_dissect_element_mgs_target_info_mti_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5934 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_flags);
5940 lustre_dissect_element_mgs_target_info_mti_nid_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5942 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nid_count);
5948 lustre_dissect_element_mgs_target_info_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5950 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_padding);
5956 lustre_dissect_element_mgs_target_info_mti_fsname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5958 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_fsname);
5964 lustre_dissect_element_mgs_target_info_mti_fsname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5967 for (i = 0; i < 64; i++)
5968 offset=lustre_dissect_element_mgs_target_info_mti_fsname_(tvb, offset, pinfo, tree);
5978 lustre_dissect_element_mgs_target_info_mti_svname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5980 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_svname);
5986 lustre_dissect_element_mgs_target_info_mti_svname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5989 for (i = 0; i < 64; i++)
5990 offset=lustre_dissect_element_mgs_target_info_mti_svname_(tvb, offset, pinfo, tree);
5996 lustre_dissect_element_mgs_target_info_mti_uuid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5998 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_uuid);
6004 lustre_dissect_element_mgs_target_info_mti_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6007 for (i = 0; i < 40; i++)
6008 offset=lustre_dissect_element_mgs_target_info_mti_uuid_(tvb, offset, pinfo, tree);
6018 lustre_dissect_element_mgs_target_info_mti_nids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6020 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nids);
6026 lustre_dissect_element_mgs_target_info_mti_nids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6029 for (i = 0; i < 32; i++)
6030 offset=lustre_dissect_element_mgs_target_info_mti_nids_(tvb, offset, pinfo, tree);
6038 lustre_dissect_element_mgs_target_info_mti_params_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6040 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_params);
6046 lustre_dissect_element_mgs_target_info_mti_params(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6049 for (i = 0; i < 4096; i++)
6050 offset=lustre_dissect_element_mgs_target_info_mti_params_(tvb, offset, pinfo, tree);
6056 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_)
6058 proto_item *item = NULL;
6059 proto_tree *tree = NULL;
6067 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6068 tree = proto_item_add_subtree(item, ett_lustre_mgs_target_info);
6071 offset=lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvb, offset, pinfo, tree);
6073 offset=lustre_dissect_element_mgs_target_info_mti_stripe_index(tvb, offset, pinfo, tree);
6075 offset=lustre_dissect_element_mgs_target_info_mti_config_ver(tvb, offset, pinfo, tree);
6077 offset=lustre_dissect_element_mgs_target_info_mti_flags(tvb, offset, pinfo, tree);
6079 offset=lustre_dissect_element_mgs_target_info_mti_nid_count(tvb, offset, pinfo, tree);
6081 offset=lustre_dissect_element_mgs_target_info_padding(tvb, offset, pinfo, tree);
6083 offset=lustre_dissect_element_mgs_target_info_mti_fsname(tvb, offset, pinfo, tree);
6085 offset=lustre_dissect_element_mgs_target_info_mti_svname(tvb, offset, pinfo, tree);
6087 offset=lustre_dissect_element_mgs_target_info_mti_uuid(tvb, offset, pinfo, tree);
6089 offset=lustre_dissect_element_mgs_target_info_mti_nids(tvb, offset, pinfo, tree);
6091 offset=lustre_dissect_element_mgs_target_info_mti_params(tvb, offset, pinfo, tree);
6094 proto_item_set_len(item, offset-old_offset);
6099 /* IDL: struct cfg_marker { */
6100 /* IDL: uint32 cm_step; */
6101 /* IDL: uint32 cm_flags; */
6102 /* IDL: uint32 cm_vers; */
6103 /* IDL: uint32 padding; */
6104 /* IDL: time_t cm_createtime; */
6105 /* IDL: time_t cm_canceltime; */
6106 /* IDL: uint8 cm_tgtname[64]; */
6107 /* IDL: uint8 cm_comment[64]; */
6111 lustre_dissect_element_cfg_marker_cm_step(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6113 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_step);
6119 lustre_dissect_element_cfg_marker_cm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6121 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_flags);
6127 lustre_dissect_element_cfg_marker_cm_vers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6129 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_vers);
6135 lustre_dissect_element_cfg_marker_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6137 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_padding);
6143 lustre_dissect_element_cfg_marker_cm_createtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6145 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_createtime );
6146 /*g_print("function lustre_dissect_element_cfg_marker_cm_createtime don't work\n");*/
6151 lustre_dissect_element_cfg_marker_cm_canceltime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6153 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_canceltime);
6155 /*g_print("element_cfg_marker_cm_canceltime\n");*/
6162 lustre_dissect_element_cfg_marker_cm_tgtname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6164 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_tgtname);
6170 lustre_dissect_element_cfg_marker_cm_tgtname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6173 for (i = 0; i < 64; i++)
6174 offset=lustre_dissect_element_cfg_marker_cm_tgtname_(tvb, offset, pinfo, tree);
6182 lustre_dissect_element_cfg_marker_cm_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6184 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_comment);
6190 lustre_dissect_element_cfg_marker_cm_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6193 for (i = 0; i < 64; i++)
6194 offset=lustre_dissect_element_cfg_marker_cm_comment_(tvb, offset, pinfo, tree);
6200 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_)
6202 proto_item *item = NULL;
6203 proto_tree *tree = NULL;
6211 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6212 tree = proto_item_add_subtree(item, ett_lustre_cfg_marker);
6215 offset=lustre_dissect_element_cfg_marker_cm_step(tvb, offset, pinfo, tree);
6217 offset=lustre_dissect_element_cfg_marker_cm_flags(tvb, offset, pinfo, tree);
6219 offset=lustre_dissect_element_cfg_marker_cm_vers(tvb, offset, pinfo, tree);
6221 offset=lustre_dissect_element_cfg_marker_padding(tvb, offset, pinfo, tree);
6223 offset=lustre_dissect_element_cfg_marker_cm_createtime(tvb, offset, pinfo, tree);
6225 offset=lustre_dissect_element_cfg_marker_cm_canceltime(tvb, offset, pinfo, tree);
6227 offset=lustre_dissect_element_cfg_marker_cm_tgtname(tvb, offset, pinfo, tree);
6229 offset=lustre_dissect_element_cfg_marker_cm_comment(tvb, offset, pinfo, tree);
6232 proto_item_set_len(item, offset-old_offset);
6239 /* IDL: struct llog_logid { */
6240 /* IDL: uint64 lgl_oid; */
6241 /* IDL: uint64 lgl_oseq; */
6242 /* IDL: uint32 lgl_ogen; */
6246 lustre_dissect_element_llog_logid_lgl_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6248 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oid);
6254 lustre_dissect_element_llog_logid_lgl_oseq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6256 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oseq);
6262 lustre_dissect_element_llog_logid_lgl_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6264 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_ogen);
6270 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_)
6272 proto_item *item = NULL;
6273 proto_tree *tree = NULL;
6281 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6282 tree = proto_item_add_subtree(item, ett_lustre_llog_logid);
6285 offset=lustre_dissect_element_llog_logid_lgl_oid(tvb, offset, pinfo, tree);
6287 offset=lustre_dissect_element_llog_logid_lgl_oseq(tvb, offset, pinfo, tree);
6289 offset=lustre_dissect_element_llog_logid_lgl_ogen(tvb, offset, pinfo, tree);
6292 proto_item_set_len(item, offset-old_offset);
6297 /* I don't know when this structure is used on network */
6298 /* IDL: struct llog_catid { */
6299 /* IDL: struct llog_logid { */
6300 /* IDL: } lci_logid; */
6301 /* IDL: uint32 lci_padding1; */
6302 /* IDL: uint32 lci_padding2; */
6303 /* IDL: uint32 lci_padding3; */
6307 lustre_dissect_element_llog_catid_lci_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6309 //offset=lustre_dissect_struct_HASH(0x85cc76c)(tvb,offset,pinfo,tree,hf_lustre_llog_catid_lci_logid);
6311 /*g_print("llog_catid_lci_logid bug\n");*/
6316 lustre_dissect_element_llog_catid_lci_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6318 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding1);
6324 lustre_dissect_element_llog_catid_lci_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6326 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding2);
6332 lustre_dissect_element_llog_catid_lci_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6334 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding3);
6340 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_)
6342 proto_item *item = NULL;
6343 proto_tree *tree = NULL;
6351 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6352 tree = proto_item_add_subtree(item, ett_lustre_llog_catid);
6355 offset=lustre_dissect_element_llog_catid_lci_logid(tvb, offset, pinfo, tree);
6357 offset=lustre_dissect_element_llog_catid_lci_padding1(tvb, offset, pinfo, tree);
6359 offset=lustre_dissect_element_llog_catid_lci_padding2(tvb, offset, pinfo, tree);
6361 offset=lustre_dissect_element_llog_catid_lci_padding3(tvb, offset, pinfo, tree);
6364 proto_item_set_len(item, offset-old_offset);
6369 /* IDL: struct llog_rec_hdr { */
6370 /* IDL: uint32 lrh_len; */
6371 /* IDL: uint32 lrh_index; */
6372 /* IDL: uint32 lrh_type; */
6373 /* IDL: uint32 padding; */
6377 lustre_dissect_element_llog_rec_hdr_lrh_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6379 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_len);
6385 lustre_dissect_element_llog_rec_hdr_lrh_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6387 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_index);
6393 lustre_dissect_element_llog_rec_hdr_lrh_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6395 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_type);
6401 lustre_dissect_element_llog_rec_hdr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6403 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_padding);
6409 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_)
6411 proto_item *item = NULL;
6412 proto_tree *tree = NULL;
6420 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6421 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_hdr);
6424 offset=lustre_dissect_element_llog_rec_hdr_lrh_len(tvb, offset, pinfo, tree);
6426 offset=lustre_dissect_element_llog_rec_hdr_lrh_index(tvb, offset, pinfo, tree);
6428 offset=lustre_dissect_element_llog_rec_hdr_lrh_type(tvb, offset, pinfo, tree);
6430 offset=lustre_dissect_element_llog_rec_hdr_padding(tvb, offset, pinfo, tree);
6433 proto_item_set_len(item, offset-old_offset);
6438 /* IDL: struct llog_rec_tail { */
6439 /* IDL: uint32 lrt_len; */
6440 /* IDL: uint32 lrt_index; */
6444 lustre_dissect_element_llog_rec_tail_lrt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6446 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_len);
6452 lustre_dissect_element_llog_rec_tail_lrt_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6454 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_index);
6460 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_)
6462 proto_item *item = NULL;
6463 proto_tree *tree = NULL;
6471 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6472 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_tail);
6475 offset=lustre_dissect_element_llog_rec_tail_lrt_len(tvb, offset, pinfo, tree);
6477 offset=lustre_dissect_element_llog_rec_tail_lrt_index(tvb, offset, pinfo, tree);
6480 proto_item_set_len(item, offset-old_offset);
6485 /* IDL: struct llog_logid_rec { */
6486 /* IDL: struct llog_rec_hdr { */
6487 /* IDL: } lid_hdr; */
6488 /* IDL: struct llog_logid { */
6489 /* IDL: } lid_id; */
6490 /* IDL: uint32 padding1; */
6491 /* IDL: uint32 padding2; */
6492 /* IDL: uint32 padding3; */
6493 /* IDL: uint32 padding4; */
6494 /* IDL: uint32 padding5; */
6495 /* IDL: struct llog_rec_tail { */
6496 /* IDL: } lid_tail; */
6500 lustre_dissect_element_llog_logid_rec_lid_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6502 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_hdr);
6507 lustre_dissect_element_llog_logid_rec_lid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6509 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_id);
6514 lustre_dissect_element_llog_logid_rec_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6516 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding1);
6522 lustre_dissect_element_llog_logid_rec_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6524 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding2);
6530 lustre_dissect_element_llog_logid_rec_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6532 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding3);
6538 lustre_dissect_element_llog_logid_rec_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6540 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding4);
6546 lustre_dissect_element_llog_logid_rec_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6548 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding5);
6554 lustre_dissect_element_llog_logid_rec_lid_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6556 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_tail);
6561 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_)
6563 proto_item *item = NULL;
6564 proto_tree *tree = NULL;
6572 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6573 tree = proto_item_add_subtree(item, ett_lustre_llog_logid_rec);
6576 offset=lustre_dissect_element_llog_logid_rec_lid_hdr(tvb, offset, pinfo, tree);
6578 offset=lustre_dissect_element_llog_logid_rec_lid_id(tvb, offset, pinfo, tree);
6580 offset=lustre_dissect_element_llog_logid_rec_padding1(tvb, offset, pinfo, tree);
6582 offset=lustre_dissect_element_llog_logid_rec_padding2(tvb, offset, pinfo, tree);
6584 offset=lustre_dissect_element_llog_logid_rec_padding3(tvb, offset, pinfo, tree);
6586 offset=lustre_dissect_element_llog_logid_rec_padding4(tvb, offset, pinfo, tree);
6588 offset=lustre_dissect_element_llog_logid_rec_padding5(tvb, offset, pinfo, tree);
6590 offset=lustre_dissect_element_llog_logid_rec_lid_tail(tvb, offset, pinfo, tree);
6593 proto_item_set_len(item, offset-old_offset);
6601 /* IDL: struct llog_unlink_rec { */
6602 /* IDL: struct llog_rec_hdr { */
6603 /* IDL: } lur_hdr; */
6604 /* IDL: uint64 lur_oid; */
6605 /* IDL: uint32 lur_ogen; */
6606 /* IDL: uint32 padding; */
6607 /* IDL: struct llog_rec_tail { */
6608 /* IDL: } lur_tail; */
6612 lustre_dissect_element_llog_unlink_rec_lur_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6614 //offset=lustre_dissect_struct_HASH(0x85d8730)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_hdr);
6619 lustre_dissect_element_llog_unlink_rec_lur_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6621 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_oid);
6627 lustre_dissect_element_llog_unlink_rec_lur_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6629 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_ogen);
6635 lustre_dissect_element_llog_unlink_rec_padding(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_unlink_rec_padding);
6643 lustre_dissect_element_llog_unlink_rec_lur_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6645 //offset=lustre_dissect_struct_HASH(0x85d9664)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_tail);
6650 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_)
6652 proto_item *item = NULL;
6653 proto_tree *tree = NULL;
6661 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6662 tree = proto_item_add_subtree(item, ett_lustre_llog_unlink_rec);
6665 offset=lustre_dissect_element_llog_unlink_rec_lur_hdr(tvb, offset, pinfo, tree);
6667 offset=lustre_dissect_element_llog_unlink_rec_lur_oid(tvb, offset, pinfo, tree);
6669 offset=lustre_dissect_element_llog_unlink_rec_lur_ogen(tvb, offset, pinfo, tree);
6671 offset=lustre_dissect_element_llog_unlink_rec_padding(tvb, offset, pinfo, tree);
6673 offset=lustre_dissect_element_llog_unlink_rec_lur_tail(tvb, offset, pinfo, tree);
6676 proto_item_set_len(item, offset-old_offset);
6683 /* IDL: struct llog_setattr_rec { */
6684 /* IDL: struct llog_rec_hdr { */
6685 /* IDL: } lsr_hdr; */
6686 /* IDL: uint64 lsr_oid; */
6687 /* IDL: uint32 lsr_ogen; */
6688 /* IDL: uint32 lsr_uid; */
6689 /* IDL: uint32 lsr_gid; */
6690 /* IDL: uint32 padding; */
6691 /* IDL: struct llog_rec_tail { */
6692 /* IDL: } lsr_tail; */
6696 lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6698 //offset=lustre_dissect_struct_HASH(0x85da2f0)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_hdr);
6703 lustre_dissect_element_llog_setattr_rec_lsr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6705 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_oid);
6711 lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6713 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_ogen);
6719 lustre_dissect_element_llog_setattr_rec_lsr_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6721 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_uid);
6727 lustre_dissect_element_llog_setattr_rec_lsr_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6729 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_gid);
6735 lustre_dissect_element_llog_setattr_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6737 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_padding);
6743 lustre_dissect_element_llog_setattr_rec_lsr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6745 //offset=lustre_dissect_struct_HASH(0x85db3d4)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_tail);
6750 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_)
6752 proto_item *item = NULL;
6753 proto_tree *tree = NULL;
6761 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6762 tree = proto_item_add_subtree(item, ett_lustre_llog_setattr_rec);
6765 offset=lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvb, offset, pinfo, tree);
6767 offset=lustre_dissect_element_llog_setattr_rec_lsr_oid(tvb, offset, pinfo, tree);
6769 offset=lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvb, offset, pinfo, tree);
6771 offset=lustre_dissect_element_llog_setattr_rec_lsr_uid(tvb, offset, pinfo, tree);
6773 offset=lustre_dissect_element_llog_setattr_rec_lsr_gid(tvb, offset, pinfo, tree);
6775 offset=lustre_dissect_element_llog_setattr_rec_padding(tvb, offset, pinfo, tree);
6777 offset=lustre_dissect_element_llog_setattr_rec_lsr_tail(tvb, offset, pinfo, tree);
6780 proto_item_set_len(item, offset-old_offset);
6788 /* IDL: struct llog_size_change_rec { */
6789 /* IDL: struct llog_rec_hdr { */
6790 /* IDL: } lsc_hdr; */
6791 /* IDL: struct ll_fid { */
6792 /* IDL: } lsc_fid; */
6793 /* IDL: uint32 lsc_io_epoch; */
6794 /* IDL: uint32 padding; */
6795 /* IDL: struct llog_rec_tail { */
6796 /* IDL: } lsc_tail; */
6800 lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6802 //offset=lustre_dissect_struct_HASH(0x85dc458)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_hdr);
6807 lustre_dissect_element_llog_size_change_rec_lsc_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6809 //offset=lustre_dissect_struct_HASH(0x85dc5a8)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_fid);
6814 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_)
6816 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_lsc_io_epoch);
6822 lustre_dissect_element_llog_size_change_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6824 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_padding);
6830 lustre_dissect_element_llog_size_change_rec_lsc_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6832 //offset=lustre_dissect_struct_HASH(0x85dd384)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_tail);
6833 // TODO: to be corrected !
6838 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_)
6840 proto_item *item = NULL;
6841 proto_tree *tree = NULL;
6849 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6850 tree = proto_item_add_subtree(item, ett_lustre_llog_size_change_rec);
6853 offset=lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvb, offset, pinfo, tree);
6855 offset=lustre_dissect_element_llog_size_change_rec_lsc_fid(tvb, offset, pinfo, tree);
6857 offset=lustre_dissect_element_llog_size_change_rec_lsc_io_epoch(tvb, offset, pinfo, tree);
6859 offset=lustre_dissect_element_llog_size_change_rec_padding(tvb, offset, pinfo, tree);
6861 offset=lustre_dissect_element_llog_size_change_rec_lsc_tail(tvb, offset, pinfo, tree);
6864 proto_item_set_len(item, offset-old_offset);
6872 /* IDL: struct llog_gen { */
6873 /* IDL: uint64 mnt_cnt; */
6874 /* IDL: uint64 conn_cnt; */
6878 lustre_dissect_element_llog_gen_mnt_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6880 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_mnt_cnt);
6886 lustre_dissect_element_llog_gen_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6888 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_conn_cnt);
6894 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_)
6896 proto_item *item = NULL;
6897 proto_tree *tree = NULL;
6905 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6906 tree = proto_item_add_subtree(item, ett_lustre_llog_gen);
6909 offset=lustre_dissect_element_llog_gen_mnt_cnt(tvb, offset, pinfo, tree);
6911 offset=lustre_dissect_element_llog_gen_conn_cnt(tvb, offset, pinfo, tree);
6914 proto_item_set_len(item, offset-old_offset);
6919 /* IDL: struct llog_gen_rec { */
6920 /* IDL: struct llog_rec_hdr { */
6921 /* IDL: } lgr_hdr; */
6922 /* IDL: struct llog_gen { */
6923 /* IDL: } lgr_gen; */
6924 /* IDL: struct llog_rec_tail { */
6925 /* IDL: } lgr_tail; */
6929 lustre_dissect_element_llog_gen_rec_lgr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6931 //offset=lustre_dissect_struct_HASH(0x85de2e4)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_hdr);
6932 // TODO: to be corrected !
6937 lustre_dissect_element_llog_gen_rec_lgr_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6939 //offset=lustre_dissect_struct_HASH(0x85de434)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_gen);
6940 // TODO: to be corrected !
6945 lustre_dissect_element_llog_gen_rec_lgr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6947 //offset=lustre_dissect_struct_HASH(0x85df3f8)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_tail);
6948 // TODO: to be corrected !
6953 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_)
6955 proto_item *item = NULL;
6956 proto_tree *tree = NULL;
6964 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6965 tree = proto_item_add_subtree(item, ett_lustre_llog_gen_rec);
6968 offset=lustre_dissect_element_llog_gen_rec_lgr_hdr(tvb, offset, pinfo, tree);
6970 offset=lustre_dissect_element_llog_gen_rec_lgr_gen(tvb, offset, pinfo, tree);
6972 offset=lustre_dissect_element_llog_gen_rec_lgr_tail(tvb, offset, pinfo, tree);
6975 proto_item_set_len(item, offset-old_offset);
6983 /* IDL: struct llog_log_hdr { */
6984 /* IDL: struct llog_rec_hdr { */
6985 /* IDL: } llh_hdr; */
6986 /* IDL: uint64 llh_timestamp; */
6987 /* IDL: uint32 llh_count; */
6988 /* IDL: uint32 llh_bitmap_offset; */
6989 /* IDL: uint32 llh_size; */
6990 /* IDL: uint32 llh_flags; */
6991 /* IDL: uint32 llh_cat_idx; */
6992 /* IDL: struct obd_uuid { */
6993 /* IDL: } llh_tgtuuid; */
6994 /* IDL: uint32 llh_reserved[1]; */
6995 /* IDL: uint32 llh_bitmap[2024]; */
6996 /* IDL: struct llog_rec_tail { */
6997 /* IDL: } llh_tail; */
7001 lustre_dissect_element_llog_log_hdr_llh_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7003 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_hdr);
7008 lustre_dissect_element_llog_log_hdr_llh_timestamp(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7011 ns.secs = tvb_get_letohl(tvb,offset);
7013 proto_tree_add_time(tree, hf_lustre_llog_log_hdr_llh_timestamp, tvb, offset, 8, &ns );
7019 lustre_dissect_element_llog_log_hdr_llh_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7021 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_count);
7027 lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7029 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap_offset);
7035 lustre_dissect_element_llog_log_hdr_llh_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7037 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_size);
7045 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_)
7047 proto_item *item = NULL;
7048 proto_tree *tree = NULL;
7051 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
7052 tree = proto_item_add_subtree(item, ett_lustre_llog_log_llh_flags);
7054 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_zap_when_empty);
7055 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_cat);
7056 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_play);
7063 lustre_dissect_element_llog_log_hdr_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7065 // offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7066 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7071 lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7073 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_cat_idx);
7079 lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7081 offset=lustre_dissect_struct_obd_uuid(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tgtuuid);
7086 lustre_dissect_element_llog_log_hdr_llh_reserved_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7088 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_reserved);
7094 lustre_dissect_element_llog_log_hdr_llh_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7097 for (i = 0; i < 1; i++)
7098 offset=lustre_dissect_element_llog_log_hdr_llh_reserved_(tvb, offset, pinfo, tree);
7104 lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7106 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap);
7113 lustre_dissect_element_llog_log_hdr_llh_bitmap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7116 for (i = 0; i < 2024; i++)
7117 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvb, offset, pinfo, tree);
7125 lustre_dissect_element_llog_log_hdr_llh_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7127 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tail);
7132 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_)
7134 proto_item *item = NULL;
7135 proto_tree *tree = NULL;
7143 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7144 tree = proto_item_add_subtree(item, ett_lustre_llog_log_hdr);
7147 offset=lustre_dissect_element_llog_log_hdr_llh_hdr(tvb, offset, pinfo, tree);
7149 offset=lustre_dissect_element_llog_log_hdr_llh_timestamp(tvb, offset, pinfo, tree);
7151 offset=lustre_dissect_element_llog_log_hdr_llh_count(tvb, offset, pinfo, tree);
7153 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvb, offset, pinfo, tree);
7155 offset=lustre_dissect_element_llog_log_hdr_llh_size(tvb, offset, pinfo, tree);
7157 offset=lustre_dissect_element_llog_log_hdr_llh_flags(tvb, offset, pinfo, tree);
7159 offset=lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvb, offset, pinfo, tree);
7161 offset=lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvb, offset, pinfo, tree);
7163 offset=lustre_dissect_element_llog_log_hdr_llh_reserved(tvb, offset, pinfo, tree);
7165 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap(tvb, offset, pinfo, tree);
7167 offset=lustre_dissect_element_llog_log_hdr_llh_tail(tvb, offset, pinfo, tree);
7170 proto_item_set_len(item, offset-old_offset);
7178 /* IDL: struct llog_cookie { */
7179 /* IDL: struct llog_logid { */
7180 /* IDL: } lgc_lgl; */
7181 /* IDL: uint32 lgc_subsys; */
7182 /* IDL: uint32 lgc_index; */
7183 /* IDL: uint32 lgc_padding; */
7187 lustre_dissect_element_llog_cookie_lgc_lgl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7189 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_cookie_lgc_lgl);
7194 lustre_dissect_element_llog_cookie_lgc_subsys(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_cookie_lgc_subsys);
7202 lustre_dissect_element_llog_cookie_lgc_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7204 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_index);
7210 lustre_dissect_element_llog_cookie_lgc_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7212 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_padding);
7218 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_)
7220 proto_item *item = NULL;
7221 proto_tree *tree = NULL;
7229 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7230 tree = proto_item_add_subtree(item, ett_lustre_llog_cookie);
7233 offset=lustre_dissect_element_llog_cookie_lgc_lgl(tvb, offset, pinfo, tree);
7235 offset=lustre_dissect_element_llog_cookie_lgc_subsys(tvb, offset, pinfo, tree);
7237 offset=lustre_dissect_element_llog_cookie_lgc_index(tvb, offset, pinfo, tree);
7239 offset=lustre_dissect_element_llog_cookie_lgc_padding(tvb, offset, pinfo, tree);
7242 proto_item_set_len(item, offset-old_offset);
7249 /* IDL: struct llogd_body { */
7250 /* IDL: struct llog_logid { */
7251 /* IDL: } lgd_logid; */
7252 /* IDL: uint32 lgd_ctxt_idx; */
7253 /* IDL: uint32 lgd_llh_flags; */
7254 /* IDL: uint32 lgd_index; */
7255 /* IDL: uint32 lgd_saved_index; */
7256 /* IDL: uint32 lgd_len; */
7257 /* IDL: uint64 lgd_cur_offset; */
7261 lustre_dissect_element_llogd_body_lgd_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7263 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llogd_body_lgd_logid);
7268 lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7270 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_ctxt_idx);
7276 lustre_dissect_element_llogd_body_lgd_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7278 //offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7280 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7286 lustre_dissect_element_llogd_body_lgd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7288 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_index);
7294 lustre_dissect_element_llogd_body_lgd_saved_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7296 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_saved_index);
7302 lustre_dissect_element_llogd_body_lgd_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7304 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_len);
7310 lustre_dissect_element_llogd_body_lgd_cur_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7312 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_cur_offset);
7318 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_)
7320 proto_item *item = NULL;
7321 proto_tree *tree = NULL;
7329 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7330 tree = proto_item_add_subtree(item, ett_lustre_llogd_body);
7333 offset=lustre_dissect_element_llogd_body_lgd_logid(tvb, offset, pinfo, tree);
7335 offset=lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvb, offset, pinfo, tree);
7337 offset=lustre_dissect_element_llogd_body_lgd_llh_flags(tvb, offset, pinfo, tree);
7339 offset=lustre_dissect_element_llogd_body_lgd_index(tvb, offset, pinfo, tree);
7341 offset=lustre_dissect_element_llogd_body_lgd_saved_index(tvb, offset, pinfo, tree);
7343 offset=lustre_dissect_element_llogd_body_lgd_len(tvb, offset, pinfo, tree);
7345 offset=lustre_dissect_element_llogd_body_lgd_cur_offset(tvb, offset, pinfo, tree);
7348 proto_item_set_len(item, offset-old_offset);
7354 /* TODO : find when this Structure appear on the wire */
7355 /* IDL: struct llogd_conn_body { */
7356 /* IDL: struct llog_gen { */
7357 /* IDL: } lgdc_gen; */
7358 /* IDL: struct llog_logid { */
7359 /* IDL: } lgdc_logid; */
7360 /* IDL: uint32 lgdc_ctxt_idx; */
7364 lustre_dissect_element_llogd_conn_body_lgdc_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7366 //offset=lustre_dissect_struct_HASH(0x85e6038)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_gen);
7371 lustre_dissect_element_llogd_conn_body_lgdc_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7373 //offset=lustre_dissect_struct_HASH(0x85e6188)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_logid);
7378 lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7380 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_conn_body_lgdc_ctxt_idx);
7386 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_)
7388 proto_item *item = NULL;
7389 proto_tree *tree = NULL;
7397 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7398 tree = proto_item_add_subtree(item, ett_lustre_llogd_conn_body);
7401 offset=lustre_dissect_element_llogd_conn_body_lgdc_gen(tvb, offset, pinfo, tree);
7403 offset=lustre_dissect_element_llogd_conn_body_lgdc_logid(tvb, offset, pinfo, tree);
7405 offset=lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvb, offset, pinfo, tree);
7408 proto_item_set_len(item, offset-old_offset);
7413 /* IDL: struct obdo { */
7414 /* IDL: uint64 o_valid; */
7415 /* IDL: uint64 o_id; */
7416 /* IDL: uint64 o_seq; */
7417 /* IDL: uint64 o_parent_seq; */
7418 /* IDL: uint64 o_size; */
7419 /* IDL: uint64 o_mtime; */
7420 /* IDL: uint64 o_atime; */
7421 /* IDL: uint64 o_ctime; */
7422 /* IDL: uint64 o_blocks; */
7423 /* IDL: uint64 o_grant; */
7424 /* IDL: uint32 o_blksize; */
7425 /* IDL: uint32 o_mode; */
7426 /* IDL: uint32 o_uid; */
7427 /* IDL: uint32 o_gid; */
7428 /* IDL: uint32 o_flags; */
7429 /* IDL: uint32 o_nlink; */
7430 /* IDL: uint32 o_parent_oid; */
7431 /* IDL: uint32 o_misc; */
7432 /* IDL: uint64 o_ioepoch; */
7433 /* IDL: uint32 o_stripe_idx; */
7434 /* IDL: uint32 o_parent_ver; */
7435 /* IDL: struct lustre_handle { */
7436 /* IDL: } o_handle; */
7437 /* IDL: struct llog_cookie { */
7438 /* IDL: } o_lcookie; */
7439 /* IDL: uint32 o_uid_h; */
7440 /* IDL: uint32 o_gid_h; */
7441 /* IDL: uint64 o_padding_3; */
7442 /* IDL: uint64 o_padding_4; */
7443 /* IDL: uint64 o_padding_5; */
7444 /* IDL: uint64 o_padding_6; */
7448 lustre_dissect_element_obdo_o_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7450 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_valid);
7456 lustre_dissect_element_obdo_o_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7458 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_id);
7464 lustre_dissect_element_obdo_o_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7466 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_seq);
7472 lustre_dissect_element_obdo_o_parent_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7474 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_seq);
7480 lustre_dissect_element_obdo_o_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7482 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_size);
7488 lustre_dissect_element_obdo_o_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7492 ns.secs = tvb_get_letohl(tvb,offset);
7494 proto_tree_add_time(tree, hf_lustre_obdo_o_mtime, tvb, offset, 8, &ns );
7500 lustre_dissect_element_obdo_o_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7504 ns.secs = tvb_get_letohl(tvb,offset);
7506 proto_tree_add_time(tree, hf_lustre_obdo_o_atime, tvb, offset, 8, &ns );
7513 lustre_dissect_element_obdo_o_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7517 ns.secs = tvb_get_letohl(tvb,offset);
7519 proto_tree_add_time(tree, hf_lustre_obdo_o_ctime, tvb, offset, 8, &ns );
7525 lustre_dissect_element_obdo_o_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7527 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blocks);
7533 lustre_dissect_element_obdo_o_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7535 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_grant);
7541 lustre_dissect_element_obdo_o_blksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7543 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blksize);
7549 lustre_dissect_element_obdo_o_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7551 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_mode);
7557 lustre_dissect_element_obdo_o_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7559 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid);
7565 lustre_dissect_element_obdo_o_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7567 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid);
7573 lustre_dissect_element_obdo_o_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7575 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_flags);
7576 /* TODO rajouter ça , faire une fonction générique qui s'occupe de tous les flags d'un tableau. */
7578 /*0x00000001 : "OBD_FL_INLINEDATA",*/
7579 /*0x00000002 : "OBD_FL_OBDMDEXISTS",*/
7580 /*0x00000004 : "OBD_FL_DELORPHAN",*/
7581 /*0x00000008 : "OBD_FL_NORPC",*/
7582 /*0x00000010 : "OBD_FL_IDONLY",*/
7583 /*0x00000020 : "OBD_FL_RECREATE_OBJS",*/
7584 /*0x00000040 : "OBD_FL_DEBUG_CHECK",*/
7585 /*0x00000100 : "OBD_FL_NO_USRQUOTA",*/
7586 /*0x00000200 : "OBD_FL_NO_GRPQUOTA",*/
7587 /*0x00000400 : "OBD_FL_CREATE_CROW",*/
7588 /*0x00000800 : "OBD_FL_SRVLOCK",*/
7594 lustre_dissect_element_obdo_o_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7596 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_nlink);
7602 lustre_dissect_element_obdo_o_parent_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7604 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_oid);
7610 lustre_dissect_element_obdo_o_misc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7612 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_misc);
7618 lustre_dissect_element_obdo_o_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7620 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_ioepoch);
7626 lustre_dissect_element_obdo_o_stripe_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7628 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_stripe_idx);
7634 lustre_dissect_element_obdo_o_parent_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7636 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_ver);
7642 lustre_dissect_element_obdo_o_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7644 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_handle);
7649 lustre_dissect_element_obdo_o_lcookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7651 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_lcookie);
7656 lustre_dissect_element_obdo_o_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7658 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid_h);
7664 lustre_dissect_element_obdo_o_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7666 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid_h);
7672 lustre_dissect_element_obdo_o_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7674 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_3);
7680 lustre_dissect_element_obdo_o_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7682 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_4);
7688 lustre_dissect_element_obdo_o_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7690 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_5);
7696 lustre_dissect_element_obdo_o_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7698 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_6);
7704 lustre_dissect_struct_obdo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7706 proto_item *item = NULL;
7707 proto_tree *tree = NULL;
7714 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7715 tree = proto_item_add_subtree(item, ett_lustre_obdo);
7718 offset=lustre_dissect_element_obdo_o_valid(tvb, offset, pinfo, tree);
7720 offset=lustre_dissect_element_obdo_o_id(tvb, offset, pinfo, tree);
7722 offset=lustre_dissect_element_obdo_o_seq(tvb, offset, pinfo, tree);
7724 offset=lustre_dissect_element_obdo_o_parent_seq(tvb, offset, pinfo, tree);
7726 offset=lustre_dissect_element_obdo_o_size(tvb, offset, pinfo, tree);
7728 offset=lustre_dissect_element_obdo_o_mtime(tvb, offset, pinfo, tree);
7730 offset=lustre_dissect_element_obdo_o_atime(tvb, offset, pinfo, tree);
7732 offset=lustre_dissect_element_obdo_o_ctime(tvb, offset, pinfo, tree);
7734 offset=lustre_dissect_element_obdo_o_blocks(tvb, offset, pinfo, tree);
7736 offset=lustre_dissect_element_obdo_o_grant(tvb, offset, pinfo, tree);
7738 offset=lustre_dissect_element_obdo_o_blksize(tvb, offset, pinfo, tree);
7740 offset=lustre_dissect_element_obdo_o_mode(tvb, offset, pinfo, tree);
7742 offset=lustre_dissect_element_obdo_o_uid(tvb, offset, pinfo, tree);
7744 offset=lustre_dissect_element_obdo_o_gid(tvb, offset, pinfo, tree);
7746 offset=lustre_dissect_element_obdo_o_flags(tvb, offset, pinfo, tree);
7748 offset=lustre_dissect_element_obdo_o_nlink(tvb, offset, pinfo, tree);
7750 offset=lustre_dissect_element_obdo_o_parent_oid(tvb, offset, pinfo, tree);
7752 offset=lustre_dissect_element_obdo_o_misc(tvb, offset, pinfo, tree);
7754 offset=lustre_dissect_element_obdo_o_ioepoch(tvb, offset, pinfo, tree);
7756 offset=lustre_dissect_element_obdo_o_stripe_idx(tvb, offset, pinfo, tree);
7758 offset=lustre_dissect_element_obdo_o_parent_ver(tvb, offset, pinfo, tree);
7760 offset=lustre_dissect_element_obdo_o_handle(tvb, offset, pinfo, tree);
7762 offset=lustre_dissect_element_obdo_o_lcookie(tvb, offset, pinfo, tree);
7764 offset=lustre_dissect_element_obdo_o_uid_h(tvb, offset, pinfo, tree);
7766 offset=lustre_dissect_element_obdo_o_gid_h(tvb, offset, pinfo, tree);
7768 offset=lustre_dissect_element_obdo_o_padding_3(tvb, offset, pinfo, tree);
7770 offset=lustre_dissect_element_obdo_o_padding_4(tvb, offset, pinfo, tree);
7772 offset=lustre_dissect_element_obdo_o_padding_5(tvb, offset, pinfo, tree);
7774 offset=lustre_dissect_element_obdo_o_padding_6(tvb, offset, pinfo, tree);
7777 proto_item_set_len(item, offset-old_offset);
7784 /* IDL: struct ost_body { */
7785 /* IDL: struct obdo { */
7790 lustre_dissect_element_ost_body_oa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7792 offset=lustre_dissect_struct_obdo(tvb,offset,pinfo,tree,hf_lustre_ost_body_oa);
7797 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_)
7799 proto_item *item = NULL;
7800 proto_tree *tree = NULL;
7806 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7807 tree = proto_item_add_subtree(item, ett_lustre_ost_body);
7810 offset=lustre_dissect_element_ost_body_oa(tvb, offset, pinfo, tree);
7812 proto_item_set_len(item, offset-old_offset);
7818 /* TODO : find when this Structure appear on the wire */
7819 /* IDL: struct qunit_data { */
7820 /* IDL: uint32 qd_id; */
7821 /* IDL: uint32 qd_flags; */
7822 /* IDL: uint64 qd_count; */
7823 /* IDL: uint64 qd_qunit; */
7824 /* IDL: uint64 padding; */
7828 lustre_dissect_element_qunit_data_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7830 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_id);
7836 lustre_dissect_element_qunit_data_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7838 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_flags);
7844 lustre_dissect_element_qunit_data_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7846 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_count);
7852 lustre_dissect_element_qunit_data_qd_qunit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7854 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_qunit);
7860 lustre_dissect_element_qunit_data_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7862 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_padding);
7868 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_)
7870 proto_item *item = NULL;
7871 proto_tree *tree = NULL;
7879 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7880 tree = proto_item_add_subtree(item, ett_lustre_qunit_data);
7883 offset=lustre_dissect_element_qunit_data_qd_id(tvb, offset, pinfo, tree);
7885 offset=lustre_dissect_element_qunit_data_qd_flags(tvb, offset, pinfo, tree);
7887 offset=lustre_dissect_element_qunit_data_qd_count(tvb, offset, pinfo, tree);
7889 offset=lustre_dissect_element_qunit_data_qd_qunit(tvb, offset, pinfo, tree);
7891 offset=lustre_dissect_element_qunit_data_padding(tvb, offset, pinfo, tree);
7894 proto_item_set_len(item, offset-old_offset);
7899 /* TODO : find when this Structure appear on the wire */
7900 /* IDL: struct qunit_data_old2 { */
7901 /* IDL: uint32 qd_id; */
7902 /* IDL: uint32 qd_flags; */
7903 /* IDL: uint64 qd_count; */
7907 lustre_dissect_element_qunit_data_old2_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7909 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_id);
7915 lustre_dissect_element_qunit_data_old2_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7917 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_flags);
7923 lustre_dissect_element_qunit_data_old2_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7925 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_count);
7931 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_)
7933 proto_item *item = NULL;
7934 proto_tree *tree = NULL;
7942 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7943 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old2);
7946 offset=lustre_dissect_element_qunit_data_old2_qd_id(tvb, offset, pinfo, tree);
7948 offset=lustre_dissect_element_qunit_data_old2_qd_flags(tvb, offset, pinfo, tree);
7950 offset=lustre_dissect_element_qunit_data_old2_qd_count(tvb, offset, pinfo, tree);
7953 proto_item_set_len(item, offset-old_offset);
7958 /* TODO : find when this Structure appear on the wire */
7959 /* IDL: struct qunit_data_old { */
7960 /* IDL: uint32 qd_id; */
7961 /* IDL: uint32 qd_type; */
7962 /* IDL: uint32 qd_count; */
7963 /* IDL: uint32 qd_isblk; */
7967 lustre_dissect_element_qunit_data_old_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7969 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_id);
7975 lustre_dissect_element_qunit_data_old_qd_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7977 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_type);
7983 lustre_dissect_element_qunit_data_old_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7985 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_count);
7991 lustre_dissect_element_qunit_data_old_qd_isblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7993 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_isblk);
7999 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_)
8001 proto_item *item = NULL;
8002 proto_tree *tree = NULL;
8010 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8011 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old);
8014 offset=lustre_dissect_element_qunit_data_old_qd_id(tvb, offset, pinfo, tree);
8016 offset=lustre_dissect_element_qunit_data_old_qd_type(tvb, offset, pinfo, tree);
8018 offset=lustre_dissect_element_qunit_data_old_qd_count(tvb, offset, pinfo, tree);
8020 offset=lustre_dissect_element_qunit_data_old_qd_isblk(tvb, offset, pinfo, tree);
8023 proto_item_set_len(item, offset-old_offset);
8029 lustre_dissect_struct_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_ )
8031 offset=dissect_uint32(tvb, offset, pinfo, parent_tree, hf_index);
8032 /* Pad out to 8 bytes */
8033 offset=add_extra_padding(tvb,offset,pinfo,parent_tree);
8039 lustre_dissect_struct_seq_range(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8041 proto_item *item = NULL;
8042 proto_tree *tree = NULL;
8048 item = proto_tree_add_item(parent_tree, hf_lustre_seq_range, tvb, offset, -1, TRUE);
8049 tree = proto_item_add_subtree(item, ett_lustre_seq_range);
8052 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_start);
8053 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_end);
8054 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_index);
8055 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_flags);
8058 proto_item_set_len(item, offset-old_offset);
8064 lustre_dissect_struct_fld_range(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8066 proto_item *item = NULL;
8067 proto_tree *tree = NULL;
8073 item = proto_tree_add_item(parent_tree, hf_lustre_fld_range, tvb, offset, -1, TRUE);
8074 tree = proto_item_add_subtree(item, ett_lustre_fld_range);
8077 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_fld_range_start);
8078 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_fld_range_end);
8079 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_fld_range_index);
8080 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_fld_range_flags);
8083 proto_item_set_len(item, offset-old_offset);
8089 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_)
8091 proto_item *item = NULL;
8092 proto_tree *tree = NULL;
8098 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8099 tree = proto_item_add_subtree(item, ett_lustre_mdt_ioepoch);
8102 offset=lustre_dissect_struct_handle_cookie(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_handle);
8103 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_ioepoch);
8104 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_flags);
8105 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_padding);
8108 proto_item_set_len(item, offset-old_offset);
8112 /* IDL: struct lustre_capa {
8113 * IDL: struct lu_fid lc_fid;
8114 * IDL: __u64 lc_opc;
8115 * IDL: __u64 lc_uid;
8116 * IDL: __u64 lc_gid;
8117 * IDL: __u32 lc_flags;
8118 * IDL: __u32 lc_keyid;
8119 * IDL: __u32 lc_timeout;
8120 * IDL: __u32 lc_expiry;
8121 * IDL: __u8 lc_hmac[64];
8122 * IDL: } __attribute__((packed));
8125 /** lustre_capa::lc_opc */
8127 /* CAPA_OPC_BODY_WRITE = 1<<0, **< write object data */
8128 /* CAPA_OPC_BODY_READ = 1<<1, **< read object data */
8129 /* CAPA_OPC_INDEX_LOOKUP = 1<<2, **< lookup object fid */
8130 /* CAPA_OPC_INDEX_INSERT = 1<<3, **< insert object fid */
8131 /* CAPA_OPC_INDEX_DELETE = 1<<4, **< delete object fid */
8132 /* CAPA_OPC_OSS_WRITE = 1<<5, **< write oss object data */
8133 /* CAPA_OPC_OSS_READ = 1<<6, **< read oss object data */
8134 /* CAPA_OPC_OSS_TRUNC = 1<<7, **< truncate oss object */
8135 /* CAPA_OPC_OSS_DESTROY = 1<<8, **< destroy oss object */
8136 /* CAPA_OPC_META_WRITE = 1<<9, **< write object meta data */
8137 /* CAPA_OPC_META_READ = 1<<10, **< read object meta data */
8141 lustre_dissect_element_capa_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8143 /* TODO - pick apart bits */
8144 offset = dissect_uint64(tvb, offset, pinfo, parent_tree, hf_lustre_capa_opc);
8149 lustre_dissect_element_capa_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8151 /* TODO - pick apart flags */
8152 offset=dissect_uint32(tvb,offset,pinfo,parent_tree,hf_lustre_capa_flags);
8157 lustre_dissect_struct_capa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8158 proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8160 proto_item *item = NULL;
8161 proto_tree *tree = NULL;
8167 data_len = LUSTRE_BUFFER_LEN(buf_num);
8172 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8173 tree = proto_item_add_subtree(item, ett_lustre_capa);
8176 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_capa_fid);
8178 offset=lustre_dissect_element_capa_opc(tvb,offset,pinfo,tree);
8180 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_uid);
8182 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_gid);
8184 offset=lustre_dissect_element_capa_flags(tvb,offset,pinfo,tree);
8186 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_keyid);
8188 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_timeout);
8190 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_expiry);
8192 offset=lustre_dissect_struct_hmac(tvb,offset,pinfo,tree, hf_lustre_capa_hmac, 64);
8195 proto_item_set_len(item, offset-old_offset);
8201 lustre_dissect_struct_acl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8203 proto_item *item = NULL;
8204 proto_tree *tree = NULL;
8210 data_len = LUSTRE_BUFFER_LEN(buf_num);
8215 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8216 tree = proto_item_add_subtree(item, ett_lustre_acl);
8219 proto_tree_add_item(tree, hf_index, tvb, offset, data_len, TRUE);
8223 offset=add_extra_padding(tvb,offset,pinfo,tree);
8226 proto_item_set_len(item, offset-old_offset);
8232 /* ------------------------------------------------------------------------- */
8234 * the length of the string is the current buflen
8235 * @tvb the packet buff
8236 * @offset the current offset
8239 * @hf_index : the corresponding header field
8240 * @buf_num : the corresponding bufnumber of the string (we use it to
8241 * determine the string length), must respect : 0<bufnum<=bufmax_in_paquet
8244 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)
8246 proto_item *item = NULL;
8252 /* if (parent_tree) {
8253 * item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8254 * tree = proto_item_add_subtree(item, ett_lustre);
8258 string_len = LUSTRE_BUFFER_LEN(buf_num);
8262 /* g_print("buf_num:%d (max:%d) BUFLEN_OFF:%#x strlen:%d\n",
8263 buf_num, LUSTRE_BUFCOUNT,
8264 LUSTRE_BUFLEN_OFF, string_len);*/
8266 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
8268 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " filename : %s",
8269 (const gchar *) tvb_get_string(tvb,offset,string_len) );
8272 proto_item_set_len(item, offset-old_offset);
8273 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* after a string we must be aligned to 8 bytes. */
8278 /* ------------------------------------------------------------------------- */
8281 /* Process REINT opcode requests */
8282 static int reint_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8286 opcode = tvb_get_letohl(tvb,offset);
8290 /* 2.x+ [rec_setattr][capa1][mdt_epoch][eadata][cookie_data][ldlm_request] */
8291 /* old? [rec_setattr][ldlm_request] */
8292 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree,
8293 hf_lustre_mdt_rec_setattr);
8294 if (LUSTRE_BUFCOUNT > 2) {
8295 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8296 hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8297 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+2) > 0)
8298 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree,
8299 hf_lustre_mdt_ioepoch);
8300 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8301 hf_lustre_mds_xattr_eadata,
8302 LUSTRE_REQ_REC_OFF+3);
8303 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8304 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8306 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8307 hf_lustre_ldlm_request);
8310 /* [rec_create][filename][tgt.. Ã 0 pour l'instant][ldlm_request] */
8311 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8312 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8313 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8314 /* REINT_CREATE_SLAVE / SYM */
8315 if (LUSTRE_BUFCOUNT > 4) {
8316 /* for CREATE_SYM this is actually name of target - encoded in mdt_rec_create.cr_mode */
8317 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+3);
8318 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8319 hf_lustre_ldlm_request);
8323 /*[mdt_rec_link][filename][ldlm_req] */
8324 offset=lustre_dissect_struct_mdt_rec_link(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link);
8325 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8326 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8327 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+3);
8328 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8329 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8332 /* reint_unlink_client: [mdt_rec_unlink][capa1][filename][ldlm_req] */
8333 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink);
8334 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8335 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+2) == 112) {
8336 /* TODO : ugly .. but for now we have to do this */
8337 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8340 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8341 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8344 case REINT_RENAME: /*mds_rename_unpack : [mdt_rec_rename][filename source][filename target_name][ldlm_request] */
8345 offset=lustre_dissect_struct_mdt_rec_rename(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename);
8346 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8347 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8348 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+3);
8349 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_new_name, LUSTRE_REQ_REC_OFF+4);
8350 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+5) > 0)
8351 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8353 case REINT_OPEN: /* [rec_create][filename][eadata] */
8354 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8355 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8356 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2);
8358 case REINT_SETXATTR:
8359 /* 2.x+ [rec_setxattr][capa1][name][eadata] */
8360 /* old? [rec_setxattr][ldlm_request] */
8361 offset=lustre_dissect_struct_mdt_rec_setxattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr);
8362 if (LUSTRE_BUFCOUNT > 2) {
8363 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8364 hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8365 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+2);
8366 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata,
8367 LUSTRE_REQ_REC_OFF+3);
8368 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8369 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8370 } else if (LUSTRE_BUFCOUNT == 2)
8371 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8372 hf_lustre_ldlm_request);
8383 /* dissect a connect message */
8385 lustre_dissect_generic_connect(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8387 /*TODO : add a cuuid and target uid */
8388 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8389 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8390 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
8391 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8396 lustre_dissect_struct_lu_ladvise(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8397 proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8399 proto_item *item = NULL;
8400 proto_tree *tree = NULL;
8406 data_len = LUSTRE_BUFFER_LEN(buf_num);
8411 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8412 tree = proto_item_add_subtree(item, ett_lustre_ladvise);
8415 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_start);
8417 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_end);
8419 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_advice);
8421 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_padding);
8424 proto_item_set_len(item, offset-old_offset);
8429 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)
8434 case OST_REPLY: /* obsolete so nothing */
8437 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8438 if (pb_type == PTL_RPC_MSG_REQUEST)
8439 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8442 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8443 if (pb_type == PTL_RPC_MSG_REQUEST)
8444 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8446 case OST_READ: /* [OST_BODY][obd_ioobj][niobuf_remote] for request, [OST_BODY] for reply */
8447 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8448 if(pb_type==PTL_RPC_MSG_REQUEST){
8449 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8450 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_niobuf_remote);
8454 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree,
8455 hf_lustre_ost_body);
8456 if(pb_type==PTL_RPC_MSG_REQUEST) {
8457 for (i = 0; i < (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+1))/24; i++)
8458 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8459 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_obd_ioobj);
8461 if(pb_type==PTL_RPC_MSG_REPLY) { /* niocount *[uint32], but niocount is in request message, so
8462 we use the bufcount */
8463 for (i = 0; i < LUSTRE_BUFCOUNT-2; i++) /* -2 because we have already dissect 2 buffers : ptl + ost */
8464 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_nio);
8465 offset=add_extra_padding(tvb, offset, pinfo, tree);
8469 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8470 if (pb_type == PTL_RPC_MSG_REQUEST)
8471 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8474 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8475 if(pb_type==PTL_RPC_MSG_REQUEST) {/* [ost_body][ldlm_req][capa] */
8476 if ( LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF +1) != 0)
8477 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request);
8478 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+2);
8482 if(pb_type==PTL_RPC_MSG_REQUEST) /* [key] */
8483 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF);
8484 if (pb_type==PTL_RPC_MSG_REPLY)
8485 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF); /* val */
8488 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8489 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8490 if (pb_type==PTL_RPC_MSG_REPLY)
8491 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8493 case OST_DISCONNECT: /* [nothing] */
8495 case OST_PUNCH: /* [ost_body] */
8496 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8497 if (pb_type == PTL_RPC_MSG_REQUEST)
8498 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8500 case OST_OPEN: /* [nothing] in the code maybee obsolete */
8502 case OST_CLOSE: /* [nothing] in the code maybee obsolete */
8504 case OST_STATFS: /* [obd_statfs] */
8505 if (pb_type==PTL_RPC_MSG_REPLY)
8506 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8509 /*[ost_body] in both case */
8510 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8511 if (pb_type == PTL_RPC_MSG_REQUEST)
8512 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8515 if(pb_type==PTL_RPC_MSG_REQUEST)
8517 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF); /* key */
8518 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8520 /* if Key = "evict_by_nid" --> need to be process.. TODO */
8522 case OST_QUOTACHECK:
8523 if(pb_type==PTL_RPC_MSG_REQUEST)
8524 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8525 /* nothing in reply */
8528 /*[obd_quotactl in both case]*/
8529 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8530 case OST_QUOTA_ADJUST_QUNIT:
8531 /* [quota_adjust_qunit] in both case ? */
8532 offset=lustre_dissect_struct_quota_adjust_qunit(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit) ;
8534 /*[ost_body] in both case */
8535 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8536 if (pb_type == PTL_RPC_MSG_REQUEST) {
8537 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8538 offset=lustre_dissect_struct_lu_ladvise(tvb, offset, pinfo, tree, hf_lustre_lu_ladvise, LUSTRE_REQ_REC_OFF+2);
8546 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)
8549 case MDS_DISCONNECT:
8553 /*request: [mds body]*/
8554 /*reply: [mds body][capa] */
8555 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8556 if (pb_type == PTL_RPC_MSG_REPLY)
8557 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+1);
8560 if(pb_type==PTL_RPC_MSG_REQUEST)
8562 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8563 /*if(reply) : [nothing]*/
8566 /*request: [mds body][capa][xattr name]*/
8567 /*reply: [mds body][eadata] - ommited on error */
8568 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8569 if(pb_type==PTL_RPC_MSG_REQUEST) {
8570 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+1);
8571 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+2);
8573 if (pb_type == PTL_RPC_MSG_REPLY)
8574 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+1);
8577 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
8578 if (pb_type == PTL_RPC_MSG_REPLY) { /* [mdt_md][acl][capa1][capa2] */
8579 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8580 hf_lustre_mds_md_data,
8581 LUSTRE_REPLY_REC_OFF+1);
8582 offset=lustre_dissect_struct_acl(tvb, offset, pinfo, tree,
8583 hf_lustre_acl, LUSTRE_REPLY_REC_OFF+3);
8584 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8586 LUSTRE_REPLY_REC_OFF+4);
8587 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8589 LUSTRE_REPLY_REC_OFF+5);
8592 case MDS_GETATTR_NAME:
8593 if(pb_type==PTL_RPC_MSG_REQUEST)
8595 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8596 /*[nothing in reply]*/
8598 case MDS_DONE_WRITING:
8600 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8602 case MDS_PIN: /* repbody.. */
8604 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8608 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8612 if(pb_type==PTL_RPC_MSG_REQUEST)
8613 { /* [mdt_ioepoch][rec_reint][capa1] */
8614 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch);
8616 if(LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+1) > 0)
8617 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8619 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8621 if(pb_type==PTL_RPC_MSG_REPLY)
8622 { /* [mdt_body][md][cookie][capa1][capa2] */
8623 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8624 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_md_data, LUSTRE_REPLY_REC_OFF+1);
8625 if(LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF+2) > 0)
8626 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8627 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+3);
8628 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+4);
8633 if(pb_type==PTL_RPC_MSG_REPLY)
8635 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8636 /*in request : [nothing]*/
8640 /* [mdt_body] but with some different interpration, need to modify the hf : TODO */
8641 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8645 /* the structure depend on the intent_opcode */
8646 if(pb_type==PTL_RPC_MSG_REQUEST)
8647 offset=reint_opcode_process(tvb, offset, pinfo, tree);
8649 if(pb_type==PTL_RPC_MSG_REPLY) {
8650 /* [mdt_body][mdt_md][??][capa1][capa2] */
8651 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8653 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1, LUSTRE_REPLY_REC_OFF+1);
8655 if(LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF+2) > 0)
8656 /* open : ...[ACL]...
8657 * unlink, rename : ...[log_cookies]... */
8658 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8659 hf_lustre_mds_xattr_eadata,
8660 LUSTRE_REPLY_REC_OFF+2);
8662 lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+3);
8663 lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+4);
8667 if(pb_type==PTL_RPC_MSG_REQUEST){
8669 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8670 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8671 //offset=add_extra_padding(tvb,offset,pinfo,tree);
8673 /*nothing en reply*/
8675 case MDS_QUOTACHECK:
8676 /* [obd_quotactl] */
8677 if(pb_type==PTL_RPC_MSG_REQUEST)
8678 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8681 /* [obd_quotactl] in both case*/
8682 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8685 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8686 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8687 if (pb_type==PTL_RPC_MSG_REPLY || pb_type == PTL_RPC_MSG_ERR) /*[obd_connect_data]*/
8688 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8700 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)
8704 /* [ldlm_request] if we have one more buffer it's
8705 * [intent_opcode] and the opcode give us the corresponding
8706 * intent structure [intent] */
8707 if (pb_type==PTL_RPC_MSG_REQUEST) {
8708 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8709 hf_lustre_ldlm_request);
8710 if (LUSTRE_BUFCOUNT>=3)
8711 offset=lustre_dissect_struct_ldlm_intent(tvb, offset, pinfo, tree,
8712 hf_lustre_ldlm_intent);
8714 if (pb_type==PTL_RPC_MSG_REPLY) {
8717 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree,
8718 hf_lustre_ldlm_reply,
8720 /* check if we're done processing */
8721 if (LUSTRE_BUFCOUNT <= 2)
8724 if (LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF) == 40)
8725 /* TODO :this code need to be check and test, the
8726 * lustre corresponding code isn't explicit, so not
8727 * sure to have this buffer, but in example it works
8730 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree,
8733 else if (ldlm_type == LDLM_EXTENT) {
8734 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1,
8735 LUSTRE_DLM_REPLY_REC_OFF);
8739 if (LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8740 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree,
8741 hf_lustre_mdt_body);
8742 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1,
8743 LUSTRE_DLM_INTENT_REC_OFF);
8745 /* ldlm_intent_server : ACL */
8746 offset=lustre_dissect_struct_acl(tvb, offset, pinfo, tree,
8747 hf_lustre_acl, LUSTRE_DLM_INTENT_REC_OFF+1);
8749 /* ldlm_intent_open_server : [capa1][capa2] */
8750 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8751 hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+2);
8752 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8753 hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+3);
8758 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8759 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8760 if(pb_type==PTL_RPC_MSG_REPLY) /*[ldlm_reply]*/
8761 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply, NULL) ;
8765 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8766 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8769 case LDLM_BL_CALLBACK:
8770 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8771 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8774 case LDLM_CP_CALLBACK:
8775 if(pb_type==PTL_RPC_MSG_REQUEST){
8776 /*[ldlm_request] if the third buffer exist we have [lvb data] so it's [ost_lvb] : TODO :
8778 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8779 if(LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8780 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8782 /*reply : [nothing] */
8785 case LDLM_GL_CALLBACK:
8786 if(pb_type==PTL_RPC_MSG_REQUEST) { /*[ldlm_request] [lvb (for gl_desc)]*/
8787 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8788 if(LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8789 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8791 if(pb_type==PTL_RPC_MSG_REPLY) /* [ost_lvb] */
8792 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree, hf_lustre_ost_lvb);
8802 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)
8806 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8807 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8808 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8809 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8811 case MGS_DISCONNECT :
8814 case MGS_EXCEPTION : /* node died, etc. */
8817 case MGS_TARGET_REG:
8818 /*[mgs_target_info], mgs_handler.c mgs_handle_target_reg() called whenever a target startup*/
8819 offset=lustre_dissect_struct_mgs_target_info(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info);
8821 case MGS_TARGET_DEL:
8825 /*[mgs_send_param], mgs_set_info_rpc()*/
8826 offset=lustre_dissect_struct_mgs_send_param(tvb,offset,pinfo,tree,hf_lustre_mgs_send_param);
8828 case MGS_CONFIG_READ:
8829 if (pb_type==PTL_RPC_MSG_REQUEST) /* [config_body] */
8830 offset=lustre_dissect_struct_mgs_config_body(tvb,offset,pinfo,tree,hf_lustre_mgs_config_body);
8831 if (pb_type==PTL_RPC_MSG_REPLY) /* [config_res] */
8832 offset=lustre_dissect_struct_mgs_config_res(tvb,offset,pinfo,tree,hf_lustre_mgs_config_res);
8841 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)
8847 case OBD_LOG_CANCEL:
8850 case OBD_QC_CALLBACK:
8851 if(pb_type==PTL_RPC_MSG_REQUEST)
8852 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8853 /*if (request) : [nothing]*/
8862 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)
8865 case LLOG_ORIGIN_HANDLE_CREATE : /* in handler.c */
8866 /*[llogd_body] (reply and request)*/
8867 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8868 if(pb_type==PTL_RPC_MSG_REQUEST) /* [filename] */
8869 if (LUSTRE_BUFCOUNT>2)
8870 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_name,
8871 LUSTRE_REQ_REC_OFF+1);
8873 case LLOG_ORIGIN_HANDLE_NEXT_BLOCK :/* in handler.c */
8874 /* [llogd_body][eadata]
8875 * the size of second buf is LLOG_CHKUNK_SIZE, so it's maybee only bulk data */
8876 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8877 if(pb_type==PTL_RPC_MSG_REPLY)
8878 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8879 LUSTRE_REPLY_REC_OFF+1);
8881 case LLOG_ORIGIN_HANDLE_READ_HEADER:/* in handler.c */
8882 if(pb_type==PTL_RPC_MSG_REQUEST){
8883 /* [llogd_body][llog_log_hdr] */
8884 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8885 if(LUSTRE_BUFCOUNT>2)
8886 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8887 hf_lustre_llogd_log_hdr);
8889 if(pb_type==PTL_RPC_MSG_REPLY) /* [llog_log_hdr] */
8890 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8891 hf_lustre_llogd_log_hdr);
8893 case LLOG_ORIGIN_HANDLE_WRITE_REC : /* I think this is obsolete */
8896 case LLOG_ORIGIN_HANDLE_CLOSE :/* handler.c */
8899 case LLOG_ORIGIN_CONNECT : /* ost_handler.c */
8901 case LLOG_CATINFO : /*in handler.c */
8902 if(pb_type==PTL_RPC_MSG_REQUEST){
8903 /* [keyword][if keyword=config [char*] else [nothing]] */
8904 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_keyword,
8905 LUSTRE_REQ_REC_OFF);
8906 if (strcmp((const char *)tvb_get_string(tvb, LUSTRE_REQ_REC_OFF,
8908 LUSTRE_BUFLEN_OFF + 4 *
8909 LUSTRE_REQ_REC_OFF)),
8911 /* if(keyword == "config") */
8912 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_client,
8913 LUSTRE_REQ_REC_OFF+1);
8915 if(pb_type==PTL_RPC_MSG_REPLY)
8916 /*[buf] sizeof = llog_chunk_size*/
8917 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8918 LUSTRE_REPLY_REC_OFF + 1 );
8919 /* TODO TODO : check if it's note a catid */
8921 case LLOG_ORIGIN_HANDLE_PREV_BLOCK : /* in handler.c */
8922 /* [llogd_body] in both case */
8923 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8924 if(pb_type==PTL_RPC_MSG_REPLY)
8925 /*[buf] size of llog_chunk_size*/
8926 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8927 LUSTRE_REPLY_REC_OFF + 1 );
8929 case LLOG_ORIGIN_HANDLE_DESTROY : /* in handler.c */
8930 /*[llogd_body] in both case*/
8931 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8941 lustre_seq_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8942 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8946 if (pb_type == PTL_RPC_MSG_REQUEST)
8947 offset=lustre_dissect_struct_seq(tvb, offset, pinfo, tree, hf_lustre_seq_opc);
8948 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree);
8952 g_print("error: SEQ Opcode: %d unknown\n", opc);
8953 if (check_col(pinfo->cinfo, COL_INFO))
8954 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8962 lustre_fld_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8963 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8967 if (pb_type == PTL_RPC_MSG_REQUEST)
8968 offset=lustre_dissect_struct_seq(tvb, offset, pinfo, tree, hf_lustre_fld_opc);
8969 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree);
8973 g_print("error: FLD Opcode: %d unknown\n", opc);
8974 if (check_col(pinfo->cinfo, COL_INFO))
8975 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8983 /* process lustre opcode :
8984 check if opcode is in range_opcode, and call the corresponding opcode process function */
8986 lustre_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8988 /* No more buffers to process */
8989 if (LUSTRE_BUFCOUNT == 1)
8992 if (opc <= OST_LAST_OPC) /* OST opcodes */
8993 offset=lustre_ost_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8995 if ( (opc >= MDS_FIRST_OPC) && (opc < MDS_LAST_OPC )) /* MDS opcodes */
8996 offset=lustre_mds_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8998 if ( (opc >= LDLM_FIRST_OPC) && (opc < LDLM_LAST_OPC) ) /*LDLM Opcodes*/
8999 offset=lustre_ldlm_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9001 if( (opc>= MGS_FIRST_OPC) && (opc <= MGS_LAST_OPC)) /* MGS Opcodes */
9002 offset=lustre_mgs_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9004 if( (opc>= OBD_FIRST_OPC) && (opc<=OBD_LAST_OPC)) /* ODB Opcodes */
9005 offset=lustre_odb_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9007 if( (opc>=LLOG_FIRST_OPC) && (opc<=LLOG_LAST_OPC)) /* LLOG Opcodes */
9008 offset=lustre_llog_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9010 if( (opc >= SEQ_FIRST_OPC) && (opc <= SEQ_LAST_OPC) ) /* SEQ Opcodes */
9011 offset=lustre_seq_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9013 if( (opc >= FLD_FIRST_OPC) && (opc <= FLD_LAST_OPC) ) /* FLD Opcodes */
9014 offset=lustre_fld_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9019 /* ----------------------------------------------- */
9020 /* add an extra padding to be aligned to 8bytes */
9022 add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
9024 guint32 padding_len;
9026 padding_len = (8- offset%8)%8;
9028 proto_tree_add_item(tree, hf_lustre_extra_padding , tvb, offset, padding_len, TRUE);
9029 offset+=padding_len;
9033 /* ----------------------------------------------- */
9036 ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
9037 proto_tree * tree _U_, guint64 intent_opc _U_)
9039 /* all corresponding code is in mdc_locks.c in function mdc_enqueue() */
9040 /* if 0x0003 we have CREAT + OPEN
9042 if (intent_opc & IT_OPEN) {
9043 /* mdc_intent_open_pack(), d'où [opcode][mdc_rec_create][capa1][capa2][name][eada] */
9044 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree,
9045 hf_lustre_mdt_rec_create);
9046 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
9047 hf_lustre_reint_name,
9048 LUSTRE_DLM_INTENT_REC_OFF+3);
9049 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
9050 hf_lustre_mds_xattr_eadata,
9051 LUSTRE_DLM_INTENT_REC_OFF+4);
9054 if (intent_opc & IT_UNLINK){
9055 /* mdc_intent_unlink_pack(), d'où [opcode][mdt_rec_unlink][capa][name] */
9056 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree,
9057 hf_lustre_mdt_rec_unlink);
9058 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9059 LUSTRE_DLM_INTENT_REC_OFF+1);
9060 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
9061 hf_lustre_reint_name,
9062 LUSTRE_DLM_INTENT_REC_OFF+2);
9064 if (intent_opc & IT_GETATTR){
9065 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
9066 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
9067 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9068 LUSTRE_DLM_INTENT_REC_OFF+1);
9069 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
9070 LUSTRE_DLM_INTENT_REC_OFF+2);
9073 if (intent_opc & IT_LOOKUP){
9074 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
9075 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
9076 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9077 LUSTRE_DLM_INTENT_REC_OFF+1);
9078 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
9079 LUSTRE_DLM_INTENT_REC_OFF+2);
9086 /* ----------------------------------------------- */
9087 /* function to test if the packet is entirely dissected add BUG in PROTOCOL COL when it's not*/
9089 sanity_check(tvbuff_t *tvb, packet_info *pinfo, guint32 val_offset _U_)
9091 guint32 somme_buflen = 0 ;
9094 /* magic_number = tvb_get_letohl(tvb, 8); */
9096 for (i=0;i<LUSTRE_BUFCOUNT;i++)
9097 somme_buflen += tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF +
9098 4 * i ) + (8- tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4 * i)%8)%8; /* we add the
9106 if(val_offset!=somme_buflen){
9107 /*g_print("somme_buflen=%d, val_offset = %d \n",somme_buflen,val_offset);*/
9108 if (check_col(pinfo->cinfo, COL_INFO)) {
9109 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9116 /* IDL: struct lustre_msg_v1 { */
9117 /* IDL: struct lustre_handle { */
9118 /* IDL: } lm_handle; */
9119 /* IDL: uint32 lm_magic; */
9120 /* IDL: uint32 lm_type; */
9121 /* IDL: uint32 lm_version; */
9122 /* IDL: uint32 lm_opc; */
9123 /* IDL: uint64 lm_last_xid; */
9124 /* IDL: uint64 lm_last_committed; */
9125 /* IDL: uint64 lm_transno; */
9126 /* IDL: uint32 lm_status; */
9127 /* IDL: uint32 lm_flags; */
9128 /* IDL: uint32 lm_conn_cnt; */
9129 /* IDL: uint32 lm_bufcount; */
9130 /* IDL: uint32 lm_buflens[0]; */
9135 lustre_dissect_element_msg_v1_lm_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9137 /*TODO : replace with a v1 handle*/
9138 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_lustre_msg_v1_lm_handle);
9143 lustre_dissect_element_msg_v1_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9145 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_magic);
9151 lustre_dissect_element_msg_v1_lm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9153 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_type);
9159 lustre_dissect_element_msg_v1_lm_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9161 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_version);
9167 lustre_dissect_element_msg_v1_lm_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9169 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_opc);
9175 lustre_dissect_element_msg_v1_lm_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9177 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_xid);
9183 lustre_dissect_element_msg_v1_lm_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9185 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_committed);
9191 lustre_dissect_element_msg_v1_lm_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9193 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_transno);
9199 lustre_dissect_element_msg_v1_lm_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9201 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_status);
9207 lustre_dissect_element_msg_v1_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9209 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_flags);
9215 lustre_dissect_element_msg_v1_lm_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9217 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_conn_cnt);
9223 lustre_dissect_element_msg_v1_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9225 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_bufcount);
9231 lustre_dissect_element_msg_v1_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9233 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_buflens);
9239 lustre_dissect_element_msg_v1_lm_buflens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9242 gboolean extra_padding ;
9245 bufcount=tvb_get_letohl(tvb, offset-4); /* TODO : replace with a macro */
9247 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9252 for (i=0;i<bufcount;i++) {
9253 offset=lustre_dissect_element_msg_v1_lm_buflens_(tvb, offset, pinfo, tree);
9257 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9266 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_)
9268 proto_item *item = NULL;
9269 proto_tree *tree = NULL;
9271 guint32 opc ; /* opcode */
9272 guint32 pb_type; /* type : {request, reply, error} */
9278 // if (parent_tree) {
9279 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9280 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v1);
9283 offset=lustre_dissect_element_msg_v1_lm_handle(tvb, offset, pinfo, tree);
9285 offset=lustre_dissect_element_msg_v1_lm_magic(tvb, offset, pinfo, tree);
9287 pb_type = tvb_get_letohl(tvb, offset);
9288 offset=lustre_dissect_element_msg_v1_lm_type(tvb, offset, pinfo, tree);
9290 offset=lustre_dissect_element_msg_v1_lm_version(tvb, offset, pinfo, tree);
9291 opc = tvb_get_letohl(tvb, offset);
9292 offset=lustre_dissect_element_msg_v1_lm_opc(tvb, offset, pinfo, tree);
9294 offset=lustre_dissect_element_msg_v1_lm_last_xid(tvb, offset, pinfo, tree);
9296 offset=lustre_dissect_element_msg_v1_lm_last_committed(tvb, offset, pinfo, tree);
9298 offset=lustre_dissect_element_msg_v1_lm_transno(tvb, offset, pinfo, tree);
9300 offset=lustre_dissect_element_msg_v1_lm_status(tvb, offset, pinfo, tree);
9302 offset=lustre_dissect_element_msg_v1_lm_flags(tvb, offset, pinfo, tree);
9304 offset=lustre_dissect_element_msg_v1_lm_conn_cnt(tvb, offset, pinfo, tree);
9306 offset=lustre_dissect_element_msg_v1_lm_bufcount(tvb, offset, pinfo, tree);
9308 offset=lustre_dissect_element_msg_v1_lm_buflens(tvb, offset, pinfo, tree);
9311 proto_item_set_len(item, offset-old_offset);
9313 /* display some nice infos */
9314 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9315 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9317 offset=lustre_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9322 /* IDL: struct ptlrpc_body { */
9323 /* IDL: struct lustre_handle { */
9324 /* IDL: } pb_handle; */
9325 /* IDL: uint32 pb_type; */
9326 /* IDL: uint32 pb_version; */
9327 /* IDL: uint32 pb_opc; */
9328 /* IDL: uint32 pb_status; */
9329 /* IDL: uint64 pb_last_xid; */
9330 /* IDL: uint64 pb_last_seen; */
9331 /* IDL: uint64 pb_last_committed; */
9332 /* IDL: uint64 pb_transno; */
9333 /* IDL: uint32 pb_flags; */
9334 /* IDL: uint32 pb_op_flags; */
9335 /* IDL: uint32 pb_conn_cnt; */
9336 /* IDL: uint32 pb_timeout; */
9337 /* IDL: uint32 pb_service_time; */
9338 /* IDL: uint32 pb_limit; */
9339 /* IDL: uint64 pb_slv; */
9343 lustre_dissect_element_ptlrpc_body_pb_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9345 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ptlrpc_body_pb_handle);
9351 lustre_dissect_element_ptlrpc_body_pb_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9353 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_type);
9359 lustre_dissect_element_ptlrpc_body_pb_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9361 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_version);
9367 lustre_dissect_element_ptlrpc_body_pb_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9369 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_opc);
9375 lustre_dissect_element_ptlrpc_body_pb_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9377 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_status);
9383 lustre_dissect_element_ptlrpc_body_pb_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9385 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_xid);
9391 lustre_dissect_element_ptlrpc_body_pb_last_seen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9393 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_seen);
9399 lustre_dissect_element_ptlrpc_body_pb_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9401 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_committed);
9407 lustre_dissect_element_ptlrpc_body_pb_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9409 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_transno);
9415 lustre_dissect_element_ptlrpc_body_pb_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9417 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_flags);
9423 lustre_dissect_element_ptlrpc_body_pb_op_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9425 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_op_flags);
9431 lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9433 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_conn_cnt);
9439 lustre_dissect_element_ptlrpc_body_pb_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9441 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_timeout);
9447 lustre_dissect_element_ptlrpc_body_pb_service_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9449 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_service_time);
9455 lustre_dissect_element_ptlrpc_body_pb_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9457 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_limit);
9463 lustre_dissect_element_ptlrpc_body_pb_slv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9465 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_slv);
9471 lustre_dissect_element_ptlrpc_body_pb_pre_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9473 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_pre_version);
9479 lustre_dissect_element_ptlrpc_body_pb_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9481 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_padding);
9487 lustre_dissect_element_ptlrpc_body_pb_jobid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
9490 /* the lenght of the string is 32 bytes max, with \0 inside */
9491 proto_tree_add_item(parent_tree, hf_lustre_ptlrpc_body_pb_jobid, tvb, offset, 32, TRUE);
9499 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_ )
9501 proto_item *item = NULL;
9502 proto_tree *tree = NULL;
9504 guint32 opc, pb_type, pb_version;
9509 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9510 tree = proto_item_add_subtree(item, ett_lustre_ptlrpc_body);
9513 offset=lustre_dissect_element_ptlrpc_body_pb_handle(tvb, offset, pinfo, tree);
9515 pb_type = tvb_get_letohl(tvb, offset);
9516 //g_print("msg_v2_lm_type_offset = %d \n" , offset) ;
9518 offset=lustre_dissect_element_ptlrpc_body_pb_type(tvb, offset, pinfo, tree);
9520 pb_version = tvb_get_letohl(tvb, offset) & ~LUSTRE_VERSION_MASK;
9521 //g_print("msg_v2_version_offset %d : version == %d \n", offset, pb_version);
9522 offset=lustre_dissect_element_ptlrpc_body_pb_version(tvb, offset, pinfo, tree);
9524 // g_print("msg_v2_opcode_offset %d \n", offset);
9525 opc = tvb_get_letohl(tvb, offset);
9526 offset=lustre_dissect_element_ptlrpc_body_pb_opc(tvb, offset, pinfo, tree);
9528 offset=lustre_dissect_element_ptlrpc_body_pb_status(tvb, offset, pinfo, tree);
9530 offset=lustre_dissect_element_ptlrpc_body_pb_last_xid(tvb, offset, pinfo, tree);
9532 offset=lustre_dissect_element_ptlrpc_body_pb_last_seen(tvb, offset, pinfo, tree);
9534 offset=lustre_dissect_element_ptlrpc_body_pb_last_committed(tvb, offset, pinfo, tree);
9536 offset=lustre_dissect_element_ptlrpc_body_pb_transno(tvb, offset, pinfo, tree);
9538 offset=lustre_dissect_element_ptlrpc_body_pb_flags(tvb, offset, pinfo, tree);
9540 offset=lustre_dissect_element_ptlrpc_body_pb_op_flags(tvb, offset, pinfo, tree);
9542 offset=lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvb, offset, pinfo, tree);
9544 offset=lustre_dissect_element_ptlrpc_body_pb_timeout(tvb, offset, pinfo, tree);
9546 offset=lustre_dissect_element_ptlrpc_body_pb_service_time(tvb, offset, pinfo, tree);
9548 offset=lustre_dissect_element_ptlrpc_body_pb_limit(tvb, offset, pinfo, tree);
9550 offset=lustre_dissect_element_ptlrpc_body_pb_slv(tvb, offset, pinfo, tree);
9552 /* pb_pre_versions */
9553 for(i = 0; i < 4; ++i) {
9554 offset=lustre_dissect_element_ptlrpc_body_pb_pre_version(tvb, offset, pinfo, tree);
9557 for(i = 0; i < 4; ++i) {
9558 offset=lustre_dissect_element_ptlrpc_body_pb_padding(tvb, offset, pinfo, tree);
9561 if (pb_version == LUSTRE_PTLRPC_MSG_VERSION && offset-old_offset < buf_len) {
9562 offset=lustre_dissect_element_ptlrpc_body_pb_jobid(tvb, offset, pinfo, tree);
9565 if (offset-old_offset != buf_len) {
9566 g_print("ptlbody offset-old:%d buf_len:%d\n",
9567 offset-old_offset, buf_len);
9568 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9571 proto_item_set_len(item, offset-old_offset);
9573 /* display some nice infos */
9574 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9575 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9577 /* on utilise parent_tree pour bien distinguer les différents buffers (relatifs à bufcount + buflen), il s'agit d'un choix de présentation */
9578 offset=lustre_opcode_process(tvb, offset, pinfo, parent_tree, opc, pb_type);
9580 sanity_check(tvb,pinfo,offset-old_offset);
9586 /* IDL: struct lustre_msg_v2 { */
9587 /* IDL: uint32 lm_bufcount; */
9588 /* IDL: uint32 lm_secflvr; */
9589 /* IDL: uint32 lm_magic; */
9590 /* IDL: uint32 lm_repsize; */
9591 /* IDL: uint32 lm_cksum; */
9592 /* IDL: uint32 lm_flags; */
9593 /* IDL: uint32 lm_padding_2; */
9594 /* IDL: uint32 lm_padding_3; */
9595 /* IDL: uint32 lm_buflens[0]; */
9599 lustre_dissect_element_msg_v2_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9601 proto_tree_add_item(tree, hf_lustre_lustre_msg_v2_lm_bufcount, tvb, offset, 4, TRUE);
9607 lustre_dissect_element_msg_v2_lm_secflvr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9609 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_secflvr);
9615 lustre_dissect_element_msg_v2_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9617 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_magic);
9623 lustre_dissect_element_msg_v2_lm_repsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9625 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_repsize);
9631 lustre_dissect_element_msg_v2_lm_cksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9633 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_cksum);
9639 lustre_dissect_element_msg_v2_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9641 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_flags);
9647 lustre_dissect_element_msg_v2_lm_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9649 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_2);
9655 lustre_dissect_element_msg_v2_lm_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9657 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_3);
9665 lustre_dissect_element_msg_v2_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9667 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_buflens);
9673 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_)
9675 proto_item *item = NULL;
9676 proto_tree *tree = NULL;
9680 guint32 buf_len_offset;
9681 guint32 current_buf_len ;
9682 gboolean extra_padding ;
9686 /* to get a light display */
9688 // if (parent_tree) {
9689 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9690 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v2);
9693 bufcount = tvb_get_letohl(tvb,offset);
9694 offset=lustre_dissect_element_msg_v2_lm_bufcount(tvb, offset, pinfo, tree);
9696 offset=lustre_dissect_element_msg_v2_lm_secflvr(tvb, offset, pinfo, tree);
9698 offset=lustre_dissect_element_msg_v2_lm_magic(tvb, offset, pinfo, tree);
9700 offset=lustre_dissect_element_msg_v2_lm_repsize(tvb, offset, pinfo, tree);
9702 offset=lustre_dissect_element_msg_v2_lm_cksum(tvb, offset, pinfo, tree);
9704 offset=lustre_dissect_element_msg_v2_lm_flags(tvb, offset, pinfo, tree);
9706 offset=lustre_dissect_element_msg_v2_lm_padding_2(tvb, offset, pinfo, tree);
9708 offset=lustre_dissect_element_msg_v2_lm_padding_3(tvb, offset, pinfo, tree);
9712 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9717 buf_len_offset=offset ;
9718 for (i=0;i<bufcount;i++) {
9719 offset=lustre_dissect_element_msg_v2_lm_buflens_(tvb, offset, pinfo, tree);
9724 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9727 current_buf_len = tvb_get_letohl(tvb, buf_len_offset);
9728 offset=lustre_dissect_struct_ptlrpc_body(tvb,offset, pinfo, tree, hf_lustre_ptlrpc_body_pb, current_buf_len);
9730 proto_item_set_len(item, offset-old_offset);
9737 dissect_lustre(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
9739 if (check_col(pinfo->cinfo, COL_PROTOCOL))
9740 col_set_str(pinfo->cinfo, COL_PROTOCOL, "Lustre");
9743 if (check_col(pinfo->cinfo, COL_INFO))
9744 col_set_str(pinfo->cinfo, COL_INFO, "");
9745 /* guint32 magic_number ; */
9746 /* magic_number = tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET); */
9747 /* switch (magic_number)*/
9749 /* case LUSTRE_MSG_MAGIC_V1:*/
9750 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V1 ");*/
9752 /* case LUSTRE_MSG_MAGIC_V2:*/
9753 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V2 ");*/
9761 guint32 magic_number ;
9763 proto_item *ti = NULL ;
9764 proto_tree * lustre_tree = NULL ;
9766 ti = proto_tree_add_item(tree,proto_lustre,tvb,0,-1,FALSE);
9767 lustre_tree = proto_item_add_subtree(ti,ett_lustre);
9769 magic_number = tvb_get_letohl(tvb, 8);
9771 switch (magic_number){
9772 case LUSTRE_MSG_MAGIC_V1:
9773 /* put some nice info*/
9774 proto_item_append_text(lustre_tree, " V1 ");
9775 offset=lustre_dissect_struct_msg_v1(tvb, offset, pinfo, lustre_tree, proto_lustre ) ;
9777 case LUSTRE_MSG_MAGIC_V2:
9778 /* put some nice info*/
9779 proto_item_append_text(lustre_tree, " V2 ");
9780 offset=lustre_dissect_struct_msg_v2(tvb, offset, pinfo, lustre_tree, proto_lustre ) ;
9788 void proto_register_dcerpc_lustre(void)
9790 static hf_register_info hf[] = {
9791 { &hf_lustre_mdt_body,
9792 { "mdt body", "lustre.mdt_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9793 { &hf_lustre_mdt_body_fid1,
9794 { "Fid1", "lustre.mdt_body.fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9795 { &hf_lustre_mdt_body_fid2,
9796 { "Fid2", "lustre.mdt_body.fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9797 { &hf_lustre_mdt_body_handle,
9798 { "Handle", "lustre.mdt_body.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9799 { &hf_lustre_mdt_body_valid,
9800 { "Valid", "lustre.mdt_body.valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9801 { &hf_lustre_mdt_body_size,
9802 { "Size", "lustre.mdt_body.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9803 { &hf_lustre_mdt_body_mtime,
9804 { "Mtime", "lustre.mdt_body.mtime",FT_ABSOLUTE_TIME,
9805 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9806 { &hf_lustre_mdt_body_atime,
9807 { "Atime", "lustre.mdt_body.atime",FT_ABSOLUTE_TIME,
9808 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9809 { &hf_lustre_mdt_body_ctime,
9810 { "Ctime", "lustre.mdt_body.ctime",FT_ABSOLUTE_TIME,
9811 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9812 { &hf_lustre_mdt_body_blocks,
9813 { "Blocks", "lustre.mdt_body.blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9814 { &hf_lustre_mdt_body_ioepoch,
9815 { "Ioepoch", "lustre.mdt_body.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9816 { &hf_lustre_mdt_body_ino,
9817 { "Ino", "lustre.mdt_body.ino", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9818 { &hf_lustre_mdt_body_fsuid,
9819 { "Fsuid", "lustre.mdt_body.fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9820 { &hf_lustre_mdt_body_fsgid,
9821 { "Fsgid", "lustre.mdt_body.fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9822 { &hf_lustre_mdt_body_capability,
9823 { "Capability", "lustre.mdt_body.capability", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9824 { &hf_lustre_mdt_body_mode,
9825 { "Mode", "lustre.mdt_body.mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9826 { &hf_lustre_mdt_body_uid,
9827 { "Uid", "lustre.mdt_body.uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9828 { &hf_lustre_mdt_body_gid,
9829 { "Gid", "lustre.mdt_body.gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9830 { &hf_lustre_mdt_body_flags,
9831 { "Flags", "lustre.mdt_body.flags", FT_UINT32, BASE_HEX, VALS(lustre_mds_flags_vals) , 0, "", HFILL }},
9832 { &hf_lustre_mdt_body_rdev,
9833 { "Rdev", "lustre.mdt_body.rdev", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9834 { &hf_lustre_mdt_body_nlink,
9835 { "Nlink", "lustre.mdt_body.nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9836 { &hf_lustre_mdt_body_generation,
9837 { "Generation", "lustre.mdt_body.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9838 { &hf_lustre_mdt_body_suppgid,
9839 { "Suppgid", "lustre.mdt_body.suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9840 { &hf_lustre_mdt_body_eadatasize,
9841 { "Eadatasize", "lustre.mdt_body.eadatasize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9842 { &hf_lustre_mdt_body_aclsize,
9843 { "Aclsize", "lustre.mdt_body.aclsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9844 { &hf_lustre_mdt_body_max_mdsize,
9845 { "Max Mdsize", "lustre.mdt_body.max_mdsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9846 { &hf_lustre_mdt_body_max_cookiesize,
9847 { "Max Cookiesize", "lustre.mdt_body.max_cookiesize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9848 { &hf_lustre_mdt_body_uid_h,
9849 { "Uid H", "lustre.mdt_body.uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9850 { &hf_lustre_mdt_body_gid_h,
9851 { "Gid H", "lustre.mdt_body.gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9852 { &hf_lustre_mdt_body_padding_5,
9853 { "Padding 5", "lustre.mdt_body.padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9854 { &hf_lustre_mdt_body_padding_6,
9855 { "Padding 6", "lustre.mdt_body.padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9856 { &hf_lustre_mdt_body_padding_7,
9857 { "Padding 7", "lustre.mdt_body.padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9858 { &hf_lustre_mdt_body_padding_8,
9859 { "Padding 8", "lustre.mdt_body.padding_8", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9860 { &hf_lustre_mdt_body_padding_9,
9861 { "Padding 9", "lustre.mdt_body.padding_9", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9862 { &hf_lustre_mdt_body_padding_10,
9863 { "Padding 10", "lustre.mdt_body.padding_10", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9865 { &hf_lustre_mdt_rec_setattr,
9866 { "mdt rec setattr", "lustre.mdt_rec_setattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9867 { &hf_lustre_mdt_rec_setattr_sa_opcode,
9868 { "Sa Opcode", "lustre.mdt_rec_setattr.sa_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9869 { &hf_lustre_mdt_rec_setattr_sa_cap,
9870 { "Sa Cap", "lustre.mdt_rec_setattr.sa_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9871 { &hf_lustre_mdt_rec_setattr_sa_fsuid,
9872 { "Sa Fsuid", "lustre.mdt_rec_setattr.sa_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9873 { &hf_lustre_mdt_rec_setattr_sa_fsuid_h,
9874 { "Sa Fsuid H", "lustre.mdt_rec_setattr.sa_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9875 { &hf_lustre_mdt_rec_setattr_sa_fsgid,
9876 { "Sa Fsgid", "lustre.mdt_rec_setattr.sa_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9877 { &hf_lustre_mdt_rec_setattr_sa_fsgid_h,
9878 { "Sa Fsgid H", "lustre.mdt_rec_setattr.sa_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9879 { &hf_lustre_mdt_rec_setattr_sa_suppgid,
9880 { "Sa Suppgid", "lustre.mdt_rec_setattr.sa_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9881 { &hf_lustre_mdt_rec_setattr_sa_suppgid_h,
9882 { "Sa Suppgid H", "lustre.mdt_rec_setattr.sa_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9883 { &hf_lustre_mdt_rec_setattr_sa_padding_1,
9884 { "Sa Padding 1", "lustre.mdt_rec_setattr.sa_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9885 { &hf_lustre_mdt_rec_setattr_sa_padding_1_h,
9886 { "Sa Padding 1 H", "lustre.mdt_rec_setattr.sa_padding_1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9887 { &hf_lustre_mdt_rec_setattr_sa_fid,
9888 { "Sa Fid", "lustre.mdt_rec_setattr.sa_fid", FT_NONE,
9889 BASE_NONE, NULL, 0, "", HFILL } },
9890 { &hf_lustre_mdt_rec_setattr_sa_valid,
9891 { "Sa Valid", "lustre.mdt_rec_setattr.sa_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9892 { &hf_lustre_mdt_rec_setattr_sa_uid,
9893 { "Sa Uid", "lustre.mdt_rec_setattr.sa_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9894 { &hf_lustre_mdt_rec_setattr_sa_gid,
9895 { "Sa Gid", "lustre.mdt_rec_setattr.sa_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9896 { &hf_lustre_mdt_rec_setattr_sa_size,
9897 { "Sa Size", "lustre.mdt_rec_setattr.sa_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9898 { &hf_lustre_mdt_rec_setattr_sa_blocks,
9899 { "Sa Blocks", "lustre.mdt_rec_setattr.sa_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9900 { &hf_lustre_mdt_rec_setattr_sa_mtime,
9901 { "Sa Mtime", "lustre.mdt_rec_setattr.sa_mtime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9902 { &hf_lustre_mdt_rec_setattr_sa_atime,
9903 { "Sa Atime", "lustre.mdt_rec_setattr.sa_atime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9904 { &hf_lustre_mdt_rec_setattr_sa_ctime,
9905 { "Sa Ctime", "lustre.mdt_rec_setattr.sa_ctime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9906 { &hf_lustre_mdt_rec_setattr_sa_attr_flags,
9907 { "Sa Attr Flags", "lustre.mdt_rec_setattr.sa_attr_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9908 { &hf_lustre_mdt_rec_setattr_sa_mode,
9909 { "Sa Mode", "lustre.mdt_rec_setattr.sa_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9910 { &hf_lustre_mdt_rec_setattr_sa_padding_2,
9911 { "Sa Padding 2", "lustre.mdt_rec_setattr.sa_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9912 { &hf_lustre_mdt_rec_setattr_sa_projid,
9913 { "Sa Projid", "lustre.mdt_rec_setattr.sa_projid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9914 { &hf_lustre_mdt_rec_setattr_sa_padding_4,
9915 { "Sa Padding 4", "lustre.mdt_rec_setattr.sa_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9916 { &hf_lustre_mdt_rec_setattr_sa_padding_5,
9917 { "Sa Padding 5", "lustre.mdt_rec_setattr.sa_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9919 { &hf_lustre_mdt_rec_create,
9920 { "mdt rec create", "lustre.mdt_rec_create", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9921 { &hf_lustre_mdt_rec_create_cr_opcode,
9922 { "Cr Opcode", "lustre.mdt_rec_create.cr_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9923 { &hf_lustre_mdt_rec_create_cr_cap,
9924 { "Cr Cap", "lustre.mdt_rec_create.cr_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9925 { &hf_lustre_mdt_rec_create_cr_fsuid,
9926 { "Cr Fsuid", "lustre.mdt_rec_create.cr_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9927 { &hf_lustre_mdt_rec_create_cr_fsuid_h,
9928 { "Cr Fsuid H", "lustre.mdt_rec_create.cr_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9929 { &hf_lustre_mdt_rec_create_cr_fsgid,
9930 { "Cr Fsgid", "lustre.mdt_rec_create.cr_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9931 { &hf_lustre_mdt_rec_create_cr_fsgid_h,
9932 { "Cr Fsgid H", "lustre.mdt_rec_create.cr_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9933 { &hf_lustre_mdt_rec_create_cr_suppgid1,
9934 { "Cr Suppgid1", "lustre.mdt_rec_create.cr_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9935 { &hf_lustre_mdt_rec_create_cr_suppgid1_h,
9936 { "Cr Suppgid1 H", "lustre.mdt_rec_create.cr_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9937 { &hf_lustre_mdt_rec_create_cr_suppgid2,
9938 { "Cr Suppgid2", "lustre.mdt_rec_create.cr_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9939 { &hf_lustre_mdt_rec_create_cr_suppgid2_h,
9940 { "Cr Suppgid2 H", "lustre.mdt_rec_create.cr_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9941 { &hf_lustre_mdt_rec_create_cr_fid1,
9942 { "Cr Fid1", "lustre.mdt_rec_create.cr_fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9943 { &hf_lustre_mdt_rec_create_cr_fid2,
9944 { "Cr Fid2", "lustre.mdt_rec_create.cr_fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9945 { &hf_lustre_mdt_rec_create_cr_old_handle,
9946 { "Cr Old Handle", "lustre.mdt_rec_create.cr_old_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9947 { &hf_lustre_mdt_rec_create_cr_time,
9948 { "Cr Time", "lustre.mdt_rec_create.cr_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9949 { &hf_lustre_mdt_rec_create_cr_rdev,
9950 { "Cr Rdev", "lustre.mdt_rec_create.cr_rdev", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9951 { &hf_lustre_mdt_rec_create_cr_ioepoch,
9952 { "Cr Ioepoch", "lustre.mdt_rec_create.cr_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9953 { &hf_lustre_mdt_rec_create_cr_padding_1,
9954 { "Cr Padding 1", "lustre.mdt_rec_create.cr_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9955 { &hf_lustre_mdt_rec_create_cr_mode,
9956 { "Cr Mode", "lustre.mdt_rec_create.cr_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9957 { &hf_lustre_mdt_rec_create_cr_bias,
9958 { "Cr Bias", "lustre.mdt_rec_create.cr_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9959 { &hf_lustre_mdt_rec_create_cr_flags_l,
9960 { "Cr Flags L", "lustre.mdt_rec_create.cr_flags_l", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9961 { &hf_lustre_mdt_rec_create_cr_flags_h,
9962 { "Cr Flags H", "lustre.mdt_rec_create.cr_flags_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9963 { &hf_lustre_mdt_rec_create_cr_umask,
9964 { "Cr Umask", "lustre.mdt_rec_create.cr_umask", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9965 { &hf_lustre_mdt_rec_create_cr_padding_4,
9966 { "Cr Padding 4", "lustre.mdt_rec_create.cr_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9968 { &hf_lustre_mdt_rec_link,
9969 { "mdt rec link", "lustre.mdt_rec_link", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9970 { &hf_lustre_mdt_rec_link_lk_opcode,
9971 { "Lk Opcode", "lustre.mdt_rec_link.lk_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9972 { &hf_lustre_mdt_rec_link_lk_cap,
9973 { "Lk Cap", "lustre.mdt_rec_link.lk_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9974 { &hf_lustre_mdt_rec_link_lk_fsuid,
9975 { "Lk Fsuid", "lustre.mdt_rec_link.lk_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9976 { &hf_lustre_mdt_rec_link_lk_fsuid_h,
9977 { "Lk Fsuid H", "lustre.mdt_rec_link.lk_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9978 { &hf_lustre_mdt_rec_link_lk_fsgid,
9979 { "Lk Fsgid", "lustre.mdt_rec_link.lk_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9980 { &hf_lustre_mdt_rec_link_lk_fsgid_h,
9981 { "Lk Fsgid H", "lustre.mdt_rec_link.lk_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9982 { &hf_lustre_mdt_rec_link_lk_suppgid1,
9983 { "Lk Suppgid1", "lustre.mdt_rec_link.lk_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9984 { &hf_lustre_mdt_rec_link_lk_suppgid1_h,
9985 { "Lk Suppgid1 H", "lustre.mdt_rec_link.lk_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9986 { &hf_lustre_mdt_rec_link_lk_suppgid2,
9987 { "Lk Suppgid2", "lustre.mdt_rec_link.lk_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9988 { &hf_lustre_mdt_rec_link_lk_suppgid2_h,
9989 { "Lk Suppgid2 H", "lustre.mdt_rec_link.lk_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9990 { &hf_lustre_mdt_rec_link_lk_fid1,
9991 { "Lk Fid1", "lustre.mdt_rec_link.lk_fid1", FT_NONE,
9992 BASE_NONE, NULL, 0, "", HFILL } },
9993 { &hf_lustre_mdt_rec_link_lk_fid2,
9994 { "Lk Fid2", "lustre.mdt_rec_link.lk_fid2", FT_NONE,
9995 BASE_NONE, NULL, 0, "", HFILL } },
9996 { &hf_lustre_mdt_rec_link_lk_time,
9997 { "Lk Time", "lustre.mdt_rec_link.lk_time",FT_ABSOLUTE_TIME,
9998 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9999 { &hf_lustre_mdt_rec_link_lk_padding_1,
10000 { "Lk Padding 1", "lustre.mdt_rec_link.lk_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10001 { &hf_lustre_mdt_rec_link_lk_padding_2,
10002 { "Lk Padding 2", "lustre.mdt_rec_link.lk_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10003 { &hf_lustre_mdt_rec_link_lk_padding_3,
10004 { "Lk Padding 3", "lustre.mdt_rec_link.lk_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10005 { &hf_lustre_mdt_rec_link_lk_padding_4,
10006 { "Lk Padding 4", "lustre.mdt_rec_link.lk_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10007 { &hf_lustre_mdt_rec_link_lk_bias,
10008 { "Lk Bias", "lustre.mdt_rec_link.lk_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10009 { &hf_lustre_mdt_rec_link_lk_padding_5,
10010 { "Lk Padding 5", "lustre.mdt_rec_link.lk_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10011 { &hf_lustre_mdt_rec_link_lk_padding_6,
10012 { "Lk Padding 6", "lustre.mdt_rec_link.lk_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10013 { &hf_lustre_mdt_rec_link_lk_padding_7,
10014 { "Lk Padding 7", "lustre.mdt_rec_link.lk_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10015 { &hf_lustre_mdt_rec_link_lk_padding_8,
10016 { "Lk Padding 8", "lustre.mdt_rec_link.lk_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10017 { &hf_lustre_mdt_rec_link_lk_padding_9,
10018 { "Lk Padding 9", "lustre.mdt_rec_link.lk_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10020 { &hf_lustre_mdt_rec_unlink,
10021 { "mdt rec unlink", "lustre.mdt_rec_unlink", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10022 { &hf_lustre_mdt_rec_unlink_ul_opcode,
10023 { "Ul Opcode", "lustre.mdt_rec_unlink.ul_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
10024 { &hf_lustre_mdt_rec_unlink_ul_cap,
10025 { "Ul Cap", "lustre.mdt_rec_unlink.ul_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10026 { &hf_lustre_mdt_rec_unlink_ul_fsuid,
10027 { "Ul Fsuid", "lustre.mdt_rec_unlink.ul_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10028 { &hf_lustre_mdt_rec_unlink_ul_fsuid_h,
10029 { "Ul Fsuid H", "lustre.mdt_rec_unlink.ul_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10030 { &hf_lustre_mdt_rec_unlink_ul_fsgid,
10031 { "Ul Fsgid", "lustre.mdt_rec_unlink.ul_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10032 { &hf_lustre_mdt_rec_unlink_ul_fsgid_h,
10033 { "Ul Fsgid H", "lustre.mdt_rec_unlink.ul_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10034 { &hf_lustre_mdt_rec_unlink_ul_suppgid1,
10035 { "Ul Suppgid1", "lustre.mdt_rec_unlink.ul_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10036 { &hf_lustre_mdt_rec_unlink_ul_suppgid1_h,
10037 { "Ul Suppgid1 H", "lustre.mdt_rec_unlink.ul_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10038 { &hf_lustre_mdt_rec_unlink_ul_suppgid2,
10039 { "Ul Suppgid2", "lustre.mdt_rec_unlink.ul_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10040 { &hf_lustre_mdt_rec_unlink_ul_suppgid2_h,
10041 { "Ul Suppgid2 H", "lustre.mdt_rec_unlink.ul_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10042 { &hf_lustre_mdt_rec_unlink_ul_fid1,
10043 { "Ul Fid1", "lustre.mdt_rec_unlink.ul_fid1", FT_NONE,
10044 BASE_NONE, NULL, 0, "", HFILL } },
10045 { &hf_lustre_mdt_rec_unlink_ul_fid2,
10046 { "Ul Fid2", "lustre.mdt_rec_unlink.ul_fid2", FT_NONE,
10047 BASE_NONE, NULL, 0, "", HFILL } },
10048 { &hf_lustre_mdt_rec_unlink_ul_time,
10049 { "Ul Time", "lustre.mdt_rec_unlink.ul_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10050 { &hf_lustre_mdt_rec_unlink_ul_padding_2,
10051 { "Ul Padding 2", "lustre.mdt_rec_unlink.ul_padding_2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10052 { &hf_lustre_mdt_rec_unlink_ul_padding_3,
10053 { "Ul Padding 3", "lustre.mdt_rec_unlink.ul_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10054 { &hf_lustre_mdt_rec_unlink_ul_padding_4,
10055 { "Ul Padding 4", "lustre.mdt_rec_unlink.ul_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10056 { &hf_lustre_mdt_rec_unlink_ul_padding_5,
10057 { "Ul Padding 5", "lustre.mdt_rec_unlink.ul_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10058 { &hf_lustre_mdt_rec_unlink_ul_bias,
10059 { "Ul Bias", "lustre.mdt_rec_unlink.ul_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10060 { &hf_lustre_mdt_rec_unlink_ul_mode,
10061 { "Ul Mode", "lustre.mdt_rec_unlink.ul_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10062 { &hf_lustre_mdt_rec_unlink_ul_padding_6,
10063 { "Ul Padding 6", "lustre.mdt_rec_unlink.ul_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10064 { &hf_lustre_mdt_rec_unlink_ul_padding_7,
10065 { "Ul Padding 7", "lustre.mdt_rec_unlink.ul_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10066 { &hf_lustre_mdt_rec_unlink_ul_padding_8,
10067 { "Ul Padding 8", "lustre.mdt_rec_unlink.ul_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10068 { &hf_lustre_mdt_rec_unlink_ul_padding_9,
10069 { "Ul Padding 9", "lustre.mdt_rec_unlink.ul_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10071 { &hf_lustre_mdt_rec_rename,
10072 { "mdt rec rename", "lustre.mdt_rec_rename", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10073 { &hf_lustre_mdt_rec_rename_rn_opcode,
10074 { "Rn Opcode", "lustre.mdt_rec_rename.rn_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
10075 { &hf_lustre_mdt_rec_rename_rn_cap,
10076 { "Rn Cap", "lustre.mdt_rec_rename.rn_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10077 { &hf_lustre_mdt_rec_rename_rn_fsuid,
10078 { "Rn Fsuid", "lustre.mdt_rec_rename.rn_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10079 { &hf_lustre_mdt_rec_rename_rn_fsuid_h,
10080 { "Rn Fsuid H", "lustre.mdt_rec_rename.rn_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10081 { &hf_lustre_mdt_rec_rename_rn_fsgid,
10082 { "Rn Fsgid", "lustre.mdt_rec_rename.rn_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10083 { &hf_lustre_mdt_rec_rename_rn_fsgid_h,
10084 { "Rn Fsgid H", "lustre.mdt_rec_rename.rn_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10085 { &hf_lustre_mdt_rec_rename_rn_suppgid1,
10086 { "Rn Suppgid1", "lustre.mdt_rec_rename.rn_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10087 { &hf_lustre_mdt_rec_rename_rn_suppgid1_h,
10088 { "Rn Suppgid1 H", "lustre.mdt_rec_rename.rn_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10089 { &hf_lustre_mdt_rec_rename_rn_suppgid2,
10090 { "Rn Suppgid2", "lustre.mdt_rec_rename.rn_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10091 { &hf_lustre_mdt_rec_rename_rn_suppgid2_h,
10092 { "Rn Suppgid2 H", "lustre.mdt_rec_rename.rn_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10093 { &hf_lustre_mdt_rec_rename_rn_fid1,
10094 { "Rn Fid1", "lustre.mdt_rec_rename.rn_fid1", FT_NONE,
10095 BASE_NONE, NULL, 0, "", HFILL } },
10096 { &hf_lustre_mdt_rec_rename_rn_fid2,
10097 { "Rn Fid2", "lustre.mdt_rec_rename.rn_fid2", FT_NONE,
10098 BASE_NONE, NULL, 0, "", HFILL } },
10099 { &hf_lustre_mdt_rec_rename_rn_time,
10100 { "Rn Time", "lustre.mdt_rec_rename.rn_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10101 { &hf_lustre_mdt_rec_rename_rn_padding_1,
10102 { "Rn Padding 1", "lustre.mdt_rec_rename.rn_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10103 { &hf_lustre_mdt_rec_rename_rn_padding_2,
10104 { "Rn Padding 2", "lustre.mdt_rec_rename.rn_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10105 { &hf_lustre_mdt_rec_rename_rn_padding_3,
10106 { "Rn Padding 3", "lustre.mdt_rec_rename.rn_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10107 { &hf_lustre_mdt_rec_rename_rn_padding_4,
10108 { "Rn Padding 4", "lustre.mdt_rec_rename.rn_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10109 { &hf_lustre_mdt_rec_rename_rn_bias,
10110 { "Rn Bias", "lustre.mdt_rec_rename.rn_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10111 { &hf_lustre_mdt_rec_rename_rn_mode,
10112 { "Rn Mode", "lustre.mdt_rec_rename.rn_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10113 { &hf_lustre_mdt_rec_rename_rn_padding_5,
10114 { "Rn Padding 5", "lustre.mdt_rec_rename.rn_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10115 { &hf_lustre_mdt_rec_rename_rn_padding_6,
10116 { "Rn Padding 6", "lustre.mdt_rec_rename.rn_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10117 { &hf_lustre_mdt_rec_rename_rn_padding_7,
10118 { "Rn Padding 7", "lustre.mdt_rec_rename.rn_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10119 { &hf_lustre_mdt_rec_rename_rn_padding_8,
10120 { "Rn Padding 8", "lustre.mdt_rec_rename.rn_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10122 { &hf_lustre_mdt_rec_setxattr,
10123 { "mdt rec setxattr", "lustre.mdt_rec_setxattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10124 { &hf_lustre_mdt_rec_setxattr_sx_opcode,
10125 { "Sx Opcode", "lustre.mdt_rec_setxattr.sx_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
10126 { &hf_lustre_mdt_rec_setxattr_sx_cap,
10127 { "Sx Cap", "lustre.mdt_rec_setxattr.sx_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10128 { &hf_lustre_mdt_rec_setxattr_sx_fsuid,
10129 { "Sx Fsuid", "lustre.mdt_rec_setxattr.sx_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10130 { &hf_lustre_mdt_rec_setxattr_sx_fsuid_h,
10131 { "Sx Fsuid H", "lustre.mdt_rec_setxattr.sx_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10132 { &hf_lustre_mdt_rec_setxattr_sx_fsgid,
10133 { "Sx Fsgid", "lustre.mdt_rec_setxattr.sx_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10134 { &hf_lustre_mdt_rec_setxattr_sx_fsgid_h,
10135 { "Sx Fsgid H", "lustre.mdt_rec_setxattr.sx_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10136 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1,
10137 { "Sx Suppgid1", "lustre.mdt_rec_setxattr.sx_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10138 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1_h,
10139 { "Sx Suppgid1 H", "lustre.mdt_rec_setxattr.sx_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10140 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2,
10141 { "Sx Suppgid2", "lustre.mdt_rec_setxattr.sx_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10142 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2_h,
10143 { "Sx Suppgid2 H", "lustre.mdt_rec_setxattr.sx_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10144 { &hf_lustre_mdt_rec_setxattr_sx_fid,
10145 { "Sx Fid", "lustre.mdt_rec_setxattr.sx_fid", FT_NONE,
10146 BASE_NONE, NULL, 0, "", HFILL } },
10147 { &hf_lustre_mdt_rec_setxattr_sx_padding_1,
10148 { "Sx Padding 1", "lustre.mdt_rec_setxattr.sx_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10149 { &hf_lustre_mdt_rec_setxattr_sx_padding_2,
10150 { "Sx Padding 2", "lustre.mdt_rec_setxattr.sx_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10151 { &hf_lustre_mdt_rec_setxattr_sx_padding_3,
10152 { "Sx Padding 3", "lustre.mdt_rec_setxattr.sx_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10153 { &hf_lustre_mdt_rec_setxattr_sx_valid,
10154 { "Sx Valid", "lustre.mdt_rec_setxattr.sx_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10155 { &hf_lustre_mdt_rec_setxattr_sx_time,
10156 { "Sx Time", "lustre.mdt_rec_setxattr.sx_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10157 { &hf_lustre_mdt_rec_setxattr_sx_padding_5,
10158 { "Sx Padding 5", "lustre.mdt_rec_setxattr.sx_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10159 { &hf_lustre_mdt_rec_setxattr_sx_padding_6,
10160 { "Sx Padding 6", "lustre.mdt_rec_setxattr.sx_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10161 { &hf_lustre_mdt_rec_setxattr_sx_padding_7,
10162 { "Sx Padding 7", "lustre.mdt_rec_setxattr.sx_padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10163 { &hf_lustre_mdt_rec_setxattr_sx_size,
10164 { "Sx Size", "lustre.mdt_rec_setxattr.sx_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10165 { &hf_lustre_mdt_rec_setxattr_sx_flags,
10166 { "Sx Flags", "lustre.mdt_rec_setxattr.sx_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10167 { &hf_lustre_mdt_rec_setxattr_sx_padding_8,
10168 { "Sx Padding 8", "lustre.mdt_rec_setxattr.sx_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10169 { &hf_lustre_mdt_rec_setxattr_sx_padding_9,
10170 { "Sx Padding 9", "lustre.mdt_rec_setxattr.sx_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10171 { &hf_lustre_mdt_rec_setxattr_sx_padding_10,
10172 { "Sx Padding 10", "lustre.mdt_rec_setxattr.sx_padding_10", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10173 { &hf_lustre_mdt_rec_setxattr_sx_padding_11,
10174 { "Sx Padding 11", "lustre.mdt_rec_setxattr.sx_padding_11", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10176 { &hf_lustre_lustre_handle_cookie,
10177 { "Cookie", "lustre.lustre_handle.cookie", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10178 { &hf_lustre_ptlrpc_body_pb_last_committed,
10179 { "Pb Last Committed", "lustre.ptlrpc_body.pb_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10180 { &hf_lustre_ptlrpc_body_pb_version,
10181 { "Pb Version", "lustre.ptlrpc_body.pb_version", FT_UINT32, BASE_DEC, NULL, ~LUSTRE_VERSION_MASK, "", HFILL }},
10182 { &hf_lustre_lustre_msg_v1_lm_bufcount,
10183 { "Lm Bufcount", "lustre.lustre_msg_v1.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10184 { &hf_lustre_obd_ioobj_ioo_id,
10185 { "Ioo Id", "lustre.obd_ioobj.ioo_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10186 { &hf_lustre_ptlrpc_body_pb_slv,
10187 { "Pb Slv", "lustre.ptlrpc_body.pb_slv", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10189 { &hf_lustre_ptlrpc_body_pb_pre_version,
10190 { "Pb Pre-Version", "lustre.ptlrpc_body.pb_pre_version", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10191 { &hf_lustre_ptlrpc_body_pb_padding,
10192 { "Pb Padding", "lustre.ptlrpc_body.pb_padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10193 { &hf_lustre_ptlrpc_body_pb_jobid,
10194 { "Pb JobId", "lustre.ptlrpc_body.pb_jobid", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10196 { &hf_lustre_lustre_msg_v1_lm_handle,
10197 { "Lm Handle", "lustre.lustre_msg_v1.lm_handle", FT_NONE,
10198 BASE_NONE, NULL, 0, "", HFILL } },
10199 { &hf_lustre_ost_lvb_lvb_atime,
10200 { "Lvb Atime", "lustre.ost_lvb.lvb_atime",FT_ABSOLUTE_TIME,
10201 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10202 { &hf_lustre_ptlrpc_body_pb_timeout,
10203 { "Pb Timeout", "lustre.ptlrpc_body.pb_timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10204 { &hf_lustre_obd_statfs_os_bavail,
10205 { "Os Bavail", "lustre.obd_statfs.os_bavail", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10206 { &hf_lustre_obd_statfs_os_bsize,
10207 { "Os Bsize", "lustre.obd_statfs.os_bsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10208 { &hf_lustre_lustre_msg_v2_lm_repsize,
10209 { "Lm Repsize", "lustre.lustre_msg_v2.lm_repsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10210 { &hf_lustre_lov_mds_md_v1_lmm_stripe_size,
10211 { "Lmm Stripe Size", "lustre.lov_mds_md_v1.lmm_stripe_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10212 { &hf_lustre_lustre_msg_v1_lm_last_xid,
10213 { "Lm Last Xid", "lustre.lustre_msg_v1.lm_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10214 { &hf_lustre_ll_fid_f_type,
10215 { "F Type", "lustre.ll_fid.f_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10216 { &hf_lustre_lustre_msg_v2_lm_cksum,
10217 { "Lm Cksum", "lustre.lustre_msg_v2.lm_cksum", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10218 { &hf_lustre_lustre_msg_v2_lm_buflens,
10219 { "Lm Buflens", "lustre.lustre_msg_v2.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10220 { &hf_lustre_lustre_msg_v1_lm_status,
10221 { "Lm Status", "lustre.lustre_msg_v1.lm_status", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10222 { &hf_lustre_lustre_msg_v1_lm_type,
10223 { "Lm Type", "lustre.lustre_msg_v1.lm_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10224 { &hf_lustre_niobuf_remote_len,
10225 { "Len", "lustre.niobuf_remote.len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10226 { &hf_lustre_lov_mds_md_v1_lmm_magic,
10227 { "Lmm Magic", "lustre.lov_mds_md_v1.lmm_magic", FT_UINT32, BASE_HEX, VALS(lustre_lov_magic) , 0, "", HFILL }},
10228 { &hf_lustre_ptlrpc_body_pb_op_flags,
10229 { "Pb Op Flags", "lustre.ptlrpc_body.pb_op_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10230 { &hf_lustre_ost_lvb_lvb_ctime,
10231 { "Lvb Ctime", "lustre.ost_lvb.lvb_ctime",FT_ABSOLUTE_TIME,
10232 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10233 { &hf_lustre_ptlrpc_body_pb_type,
10234 { "Pb Type", "lustre.ptlrpc_body.pb_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10235 { &hf_lustre_obd_connect_data_ocd_nllg,
10236 { "Ocd Nllg", "lustre.obd_connect_data.ocd_nllg", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10237 { &hf_lustre_obd_connect_data_ocd_nllu,
10238 { "Ocd Nllu", "lustre.obd_connect_data.ocd_nllu", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10239 { &hf_lustre_ll_fid_generation,
10240 { "Generation", "lustre.ll_fid.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10241 { &hf_lustre_ost_lvb_lvb_mtime,
10242 { "Lvb Mtime", "lustre.ost_lvb.lvb_mtime",FT_ABSOLUTE_TIME,
10243 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10244 { &hf_lustre_obd_connect_data_ocd_ibits_known,
10245 { "Ocd Ibits Known", "lustre.obd_connect_data.ocd_ibits_known", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10246 { &hf_lustre_lustre_msg_v2_lm_padding_3,
10247 { "Lm Padding 3", "lustre.lustre_msg_v2.lm_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10248 { &hf_lustre_ptlrpc_body_pb_flags,
10249 { "Pb Flags", "lustre.ptlrpc_body.pb_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10250 { &hf_lustre_obd_statfs_os_spare4,
10251 { "Os Spare4", "lustre.obd_statfs.os_spare4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10252 { &hf_lustre_obd_connect_data_ocd_group,
10253 { "Ocd Group", "lustre.obd_connect_data.ocd_group", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10254 { &hf_lustre_lov_ost_data_v1_l_object_seq,
10255 { "L Object SEQ", "lustre.lov_ost_data_v1.l_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10256 { &hf_lustre_lov_mds_md_v1_lmm_object_seq,
10257 { "Lmm Object SEQ", "lustre.lov_mds_md_v1.lmm_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10258 { &hf_lustre_obd_connect_data_ocd_brw_size,
10259 { "Ocd Brw Size", "lustre.obd_connect_data.ocd_brw_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10260 { &hf_lustre_ptlrpc_body_pb_limit,
10261 { "Pb Limit", "lustre.ptlrpc_body.pb_limit", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10262 { &hf_lustre_obd_statfs_os_maxbytes,
10263 { "Os Maxbytes", "lustre.obd_statfs.os_maxbytes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10264 { &hf_lustre_obd_statfs_os_spare5,
10265 { "Os Spare5", "lustre.obd_statfs.os_spare5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10266 { &hf_lustre_lustre_msg_v2_lm_flags,
10267 { "Lm Flags", "lustre.lustre_msg_v2.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10268 { &hf_lustre_obd_statfs_os_ffree,
10269 { "Os Ffree", "lustre.obd_statfs.os_ffree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10270 { &hf_lustre_obd_statfs_os_files,
10271 { "Os Files", "lustre.obd_statfs.os_files", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10272 { &hf_lustre_lov_mds_md_v1_lmm_stripe_count,
10273 { "Lmm Stripe Count", "lustre.lov_mds_md_v1.lmm_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10274 { &hf_lustre_lustre_msg_v1_lm_flags,
10275 { "Lm Flags", "lustre.lustre_msg_v1.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10276 { &hf_lustre_lustre_msg_v1_lm_last_committed,
10277 { "Lm Last Committed", "lustre.lustre_msg_v1.lm_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10278 { &hf_lustre_obd_statfs_os_spare9,
10279 { "Os Spare9", "lustre.obd_statfs.os_spare9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10280 { &hf_lustre_obd_connect_data_ocd_index,
10281 { "Ocd Index", "lustre.obd_connect_data.ocd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10282 { &hf_lustre_lustre_msg_v1_lm_buflens,
10283 { "Lm Buflens", "lustre.lustre_msg_v1.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10284 { &hf_lustre_obd_statfs_os_spare1,
10285 { "Os Spare1", "lustre.obd_statfs.os_spare1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10286 { &hf_lustre_obd_statfs_os_spare8,
10287 { "Os Spare8", "lustre.obd_statfs.os_spare8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10288 { &hf_lustre_lustre_msg_v1_lm_conn_cnt,
10289 { "Lm Conn Cnt", "lustre.lustre_msg_v1.lm_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10290 { &hf_lustre_ptlrpc_body_pb_transno,
10291 { "Pb Transno", "lustre.ptlrpc_body.pb_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10292 { &hf_lustre_ptlrpc_body_pb_service_time,
10293 { "Pb Service Time", "lustre.ptlrpc_body.pb_service_time",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10294 { &hf_lustre_ptlrpc_body_pb_conn_cnt,
10295 { "Pb Conn Cnt", "lustre.ptlrpc_body.pb_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10296 { &hf_lustre_ptlrpc_body_pb_opc,
10297 { "Pb Opc", "lustre.ptlrpc_body.pb_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10298 { &hf_lustre_obd_connect_data_ocd_connect_flags,
10299 { "Ocd Connect Flags", "lustre.obd_connect_data.ocd_connect_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10300 { &hf_lustre_lov_ost_data_v1_l_object_id,
10301 { "L Object Id", "lustre.lov_ost_data_v1.l_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10302 { &hf_lustre_lov_ost_data_v1_l_ost_gen,
10303 { "L Ost Gen", "lustre.lov_ost_data_v1.l_ost_gen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10304 { &hf_lustre_obd_statfs_os_bfree,
10305 { "Os Bfree", "lustre.obd_statfs.os_bfree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10306 { &hf_lustre_obd_connect_data_ocd_version,
10307 { "Ocd Version", "lustre.obd_connect_data.ocd_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10308 { &hf_lustre_lov_mds_md_v1_lmm_objects,
10309 { "Lmm Objects", "lustre.lov_mds_md_v1.lmm_objects", FT_NONE,
10310 BASE_NONE, NULL, 0, "", HFILL } },
10311 { &hf_lustre_obd_statfs_os_namelen,
10312 { "Os Namelen", "lustre.obd_statfs.os_namelen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10313 { &hf_lustre_obd_statfs_os_blocks,
10314 { "Os Blocks", "lustre.obd_statfs.os_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10315 { &hf_lustre_lustre_msg_v2_lm_secflvr,
10316 { "Lm Secflvr", "lustre.lustre_msg_v2.lm_secflvr", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10317 { &hf_lustre_lustre_msg_v1_lm_transno,
10318 { "Lm Transno", "lustre.lustre_msg_v1.lm_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10319 { &hf_lustre_lov_mds_md_v1_lmm_pattern,
10320 { "Lmm Pattern", "lustre.lov_mds_md_v1.lmm_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10321 { &hf_lustre_lustre_msg_v1_lm_opc,
10322 { "Lm Opc", "lustre.lustre_msg_v1.lm_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10323 { &hf_lustre_obd_connect_data_ocd_grant,
10324 { "Ocd Grant", "lustre.obd_connect_data.ocd_grant", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10325 { &hf_lustre_obd_ioobj_ioo_bufcnt,
10326 { "Ioo Bufcnt", "lustre.obd_ioobj.ioo_bufcnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10327 { &hf_lustre_lustre_msg_v1_lm_version,
10328 { "Lm Version", "lustre.lustre_msg_v1.lm_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10329 { &hf_lustre_obd_statfs_os_spare7,
10330 { "Os Spare7", "lustre.obd_statfs.os_spare7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10331 { &hf_lustre_obd_statfs_os_fsid,
10332 { "Os Fsid", "lustre.obd_statfs.os_fsid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10333 { &hf_lustre_obd_connect_data_ocd_cksum_types,
10334 { "Ocd Cksum Types", "lustre.obd_connect_data.ocd_cksum_types", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10335 { &hf_lustre_ost_lvb_lvb_size,
10336 { "Lvb Size", "lustre.ost_lvb.lvb_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10337 { &hf_lustre_obd_statfs_os_type,
10338 { "Os Type", "lustre.obd_statfs.os_type", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10339 { &hf_lustre_obd_statfs_os_spare6,
10340 { "Os Spare6", "lustre.obd_statfs.os_spare6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10341 { &hf_lustre_obd_statfs_os_state,
10342 { "Os State", "lustre.obd_statfs.os_state", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10343 { &hf_lustre_obd_statfs_os_spare3,
10344 { "Os Spare3", "lustre.obd_statfs.os_spare3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10345 { &hf_lustre_lustre_msg_v2_lm_magic,
10346 { "Lm Magic", "lustre.lustre_msg_v2.lm_magic", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10347 { &hf_lustre_lov_mds_md_v1_lmm_object_id,
10348 { "Lmm Object Id", "lustre.lov_mds_md_v1.lmm_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10349 { &hf_lustre_ptlrpc_body_pb_last_seen,
10350 { "Pb Last Seen", "lustre.ptlrpc_body.pb_last_seen", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10351 { &hf_lustre_obd_ioobj_ioo_max_brw, /* TODO : create the
10352 corresponding value_string */
10353 { "Ioo Max BRW Size", "lustre.obd_ioobj.ioo_max_brw", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10354 { &hf_lustre_ptlrpc_body_pb_last_xid,
10355 { "Pb Last Xid", "lustre.ptlrpc_body.pb_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10356 { &hf_lustre_ptlrpc_body_pb_status,
10357 { "Pb Status", "lustre.ptlrpc_body.pb_status", FT_INT32, BASE_DEC, NULL, 0, "", HFILL }},
10358 { &hf_lustre_niobuf_remote_flags,
10359 { "Flags", "lustre.niobuf_remote.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10360 { &hf_lustre_ll_fid_id,
10361 { "Id", "lustre.ll_fid.id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10362 { &hf_lustre_ost_lvb_lvb_blocks,
10363 { "Lvb Blocks", "lustre.ost_lvb.lvb_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10364 { &hf_lustre_lustre_msg_v2_lm_padding_2,
10365 { "Lm Padding 2", "lustre.lustre_msg_v2.lm_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10366 { &hf_lustre_obd_connect_data_padding1,
10367 { "Padding1", "lustre.obd_connect_data.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10368 { &hf_lustre_lov_ost_data_v1_l_ost_idx,
10369 { "L Ost Idx", "lustre.lov_ost_data_v1.l_ost_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10370 { &hf_lustre_obd_connect_data_padding2,
10371 { "Padding2", "lustre.obd_connect_data.padding2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10372 { &hf_lustre_obd_ioobj_ioo_seq,
10373 { "Ioo Gr", "lustre.obd_ioobj.ioo_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10374 { &hf_lustre_niobuf_remote_offset,
10375 { "Offset", "lustre.niobuf_remote.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10376 { &hf_lustre_obd_statfs_os_spare2,
10377 { "Os Spare2", "lustre.obd_statfs.os_spare2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10378 { &hf_lustre_lustre_msg_v2_lm_bufcount,
10379 { "Lm Bufcount", "lustre.lustre_msg_v2.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10380 { &hf_lustre_ptlrpc_body_pb_handle,
10381 { "Pb Handle", "lustre.ptlrpc_body.pb_handle", FT_NONE,
10382 BASE_NONE, NULL, 0, "", HFILL } },
10383 { &hf_lustre_obd_connect_data_ocd_transno,
10384 { "Ocd Transno", "lustre.obd_connect_data.ocd_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10385 { &hf_lustre_lustre_msg_v1_lm_magic,
10386 { "Lm Magic", "lustre.lustre_msg_v1.lm_magic", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10387 { &hf_lustre_ptlrpc_body_pb,
10388 { "ptl rpc", "lustre.ptlrpc_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10390 { &hf_lustre_obd_uuid,
10391 { "obd uid name", "lustre.obd_uid", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10392 { &hf_lustre_obd_connect_data ,
10393 { "obd connect data", "lustre.obd_connect_data", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10395 { &hf_lustre_ldlm_intent,
10396 { "ldlm intent", "lustre.ldlm_intent", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10398 { &hf_lustre_obd_ioobj,
10399 { "lustre obd ioobj", "lustre.obd_ioobj", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10400 { &hf_lustre_niobuf_remote,
10401 { "lustre niobuf remote", "lustre.niobuf_remote", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10402 { &hf_lustre_ost_key,
10403 { "lustre ost key", "lustre.ost_key", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10404 { &hf_lustre_ost_val,
10405 { "lustre ost val", "lustre.ost_val", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10406 { &hf_lustre_llogd_chunk,
10407 { "lustre llogd chunk", "lustre.llogd_chunk", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10408 { &hf_lustre_llogd_keyword,
10409 { "lustre llogd keyword", "lustre.llogd_keyword", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10410 { &hf_lustre_llogd_client,
10411 { "lustre llogd client", "lustre.llogd_client", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10412 { &hf_lustre_llogd_name,
10413 { "lustre llogd name", "lustre.llogd_name", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10414 { &hf_lustre_llogd_log_hdr,
10415 { "lustre llogd log hdr", "lustre.llogd_log_hdr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10416 { &hf_lustre_llog_logid_rec,
10417 { "lustre llog logid rec", "lustre.llog_logid_rec", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10419 { &hf_lustre_llogd_body,
10420 { "lustre llogd body", "lustre.llogd_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10422 { "lustre nio", "lustre.nio", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10423 { &hf_lustre_ost_body,
10424 { "ost body", "lustre.ost_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10425 { &hf_lustre_obd_statfs,
10426 { "obd statfs", "lustre.obd_statfs", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10427 { &hf_lustre_obd_quotactl,
10428 { "obd quotactl", "lustre.obd_quotacl", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10429 { &hf_lustre_quota_adjust_qunit,
10430 { "obd quota adjust qunit", "lustre.quota_adjust_qunit", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10431 { &hf_lustre_llog_unlink_rec_lur_tail,
10432 { "Lur Tail", "lustre.llog_unlink_rec.lur_tail", FT_NONE,
10433 BASE_NONE, NULL, 0, "", HFILL } },
10434 { &hf_lustre_llog_size_change_rec_lsc_io_epoch,
10435 { "Lsc Io Epoch", "lustre.llog_size_change_rec.lsc_io_epoch", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10436 { &hf_lustre_mgs_target_info_mti_flags,
10437 { "Mti Flags", "lustre.mgs_target_info.mti_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10438 { &hf_lustre_ldlm_reply_lock_policy_res1,
10439 { "Lock Policy Res1", "lustre.ldlm_reply.lock_policy_res1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10440 { &hf_lustre_llogd_body_lgd_len,
10441 { "Lgd Len", "lustre.llogd_body.lgd_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10442 { &hf_lustre_qunit_data_old_qd_id,
10443 { "Qd Id", "lustre.qunit_data_old.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10444 { &hf_lustre_llog_logid_rec_padding1,
10445 { "Padding1", "lustre.llog_logid_rec.padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10446 { &hf_lustre_quota_adjust_qunit_padding1,
10447 { "Padding1", "lustre.quota_adjust_qunit.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10448 { &hf_lustre_llog_size_change_rec_lsc_fid,
10449 { "Lsc Fid", "lustre.llog_size_change_rec.lsc_fid", FT_NONE,
10450 BASE_NONE, NULL, 0, "", HFILL } },
10451 { &hf_lustre_llog_rec_hdr_padding,
10452 { "Padding", "lustre.llog_rec_hdr.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10453 { &hf_lustre_obdo_o_nlink,
10454 { "O Nlink", "lustre.obdo.o_nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10455 { &hf_lustre_ldlm_extent_gid,
10456 { "Gid", "lustre.ldlm_extent.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10457 { &hf_lustre_obdo_o_uid,
10458 { "O Uid", "lustre.obdo.o_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10459 { &hf_lustre_mds_xattr_name,
10460 { "mds xattr name", "lustre.mds_xattr_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10461 { &hf_lustre_lov_mds_md_v1,
10462 { "lov mds md v1", "lustre.lov_mds_md_v1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10463 { &hf_lustre_llog_cookie,
10464 { "llog cookie", "lustre.llog_cookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10465 { &hf_lustre_mds_md_data,
10466 { "mds md data", "lustre.mds_md_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10467 { &hf_lustre_mds_reint_opcode,
10468 { "mds reint opcode", "lustre.mds_reint_opcode", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10469 { &hf_lustre_mds_xattr_eadata,
10470 { "mds xattr eadata", "lustre.mds_xattr_eadata", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10471 { &hf_lustre_reint_name,
10472 { "mds reint name", "lustre.mds_reint_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10473 { &hf_lustre_reint_old_name,
10474 { "mds reint old name", "lustre.mds_reint_old_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10475 { &hf_lustre_reint_new_name,
10476 { "mds reint new name", "lustre.mds_reint_new_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10479 { &hf_lustre_obdo_o_valid,
10480 { "O Valid", "lustre.obdo.o_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10481 { &hf_lustre_ldlm_reply_lock_flags,
10482 { "Lock Flags", "lustre.ldlm_reply.lock_flags", FT_UINT32,BASE_HEX, NULL, 0, "", HFILL }},
10484 #define WSHARK_INIT_DATA
10485 #include "lustre_dlm_flags_wshark.c"
10486 #undef WSHARK_INIT_DATA
10488 { &hf_lustre_obdo_o_misc,
10489 { "O Misc", "lustre.obdo.o_misc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10490 { &hf_lustre_ldlm_request_lock_handle,
10491 { "Lock Handle", "lustre.ldlm_request.lock_handle", FT_NONE,
10492 BASE_NONE, NULL, 0, "", HFILL } },
10493 { &hf_lustre_llog_logid_lgl_oid,
10494 { "Lgl Oid", "lustre.llog_logid.lgl_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10495 { &hf_lustre_ldlm_inodebits_bits,
10496 { "Bits", "lustre.ldlm_inodebits.bits", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10497 { &hf_lustre_llog_log_hdr_llh_count,
10498 { "Llh Count", "lustre.llog_log_hdr.llh_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10499 { &hf_lustre_llog_gen_rec_lgr_tail,
10500 { "Lgr Tail", "lustre.llog_gen_rec.lgr_tail", FT_NONE,
10501 BASE_NONE, NULL, 0, "", HFILL } },
10502 { &hf_lustre_llog_catid_lci_padding3,
10503 { "Lci Padding3", "lustre.llog_catid.lci_padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10504 { &hf_lustre_qunit_data_qd_qunit,
10505 { "Qd Qunit", "lustre.qunit_data.qd_qunit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10506 { &hf_lustre_llog_setattr_rec_padding,
10507 { "Padding", "lustre.llog_setattr_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10508 { &hf_lustre_llog_cookie_lgc_lgl,
10509 { "Lgc Lgl", "lustre.llog_cookie.lgc_lgl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10510 { &hf_lustre_obd_quotactl_qc_dqinfo,
10511 { "Qc Dqinfo", "lustre.obd_quotactl.qc_dqinfo", FT_NONE,
10512 BASE_NONE, NULL, 0, "", HFILL } },
10513 { &hf_lustre_llog_log_hdr_llh_bitmap,
10514 { "Llh Bitmap", "lustre.llog_log_hdr.llh_bitmap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10515 { &hf_lustre_obd_quotactl_qc_stat,
10516 { "Qc Stat", "lustre.obd_quotactl.qc_stat", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10517 { &hf_lustre_qunit_data_old2_qd_id,
10518 { "Qd Id", "lustre.qunit_data_old2.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10519 { &hf_lustre_llog_logid_rec_padding2,
10520 { "Padding2", "lustre.llog_logid_rec.padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10521 { &hf_lustre_llog_logid_rec_padding5,
10522 { "Padding5", "lustre.llog_logid_rec.padding5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10523 /*-------------------------------------------------------------------------------------------------------------*/
10524 /*all this flags are uint64, but I don't find the way to use something like TFS() with a Uint64*/
10525 /*like TFS() with a Uint64 */
10526 { &hf_lustre_ldlm_intent_opc_open,
10527 { "open", "lustre.ldlm_intent.opc_open", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_OPEN, "", HFILL } },
10528 { &hf_lustre_ldlm_intent_opc_creat,
10529 { "creat", "lustre.ldlm_intent.opc_creat", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_CREAT , "", HFILL } },
10530 { &hf_lustre_ldlm_intent_opc_readdir,
10531 { "readdir", "lustre.ldlm_intent.opc_readdir", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_READDIR , "", HFILL } },
10532 { &hf_lustre_ldlm_intent_opc_getattr,
10533 { "getattr", "lustre.ldlm_intent.opc_getattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETATTR, "", HFILL } },
10534 { &hf_lustre_ldlm_intent_opc_lookup,
10535 { "lookup", "lustre.ldlm_intent.opc_lookup", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_LOOKUP , "", HFILL } },
10536 { &hf_lustre_ldlm_intent_opc_unlink,
10537 { "unlink", "lustre.ldlm_intent.opc_unlink", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_UNLINK , "", HFILL } },
10538 { &hf_lustre_ldlm_intent_opc_getxattr,
10539 { "getxattr", "lustre.ldlm_intent.opc_getxattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETXATTR , "", HFILL } },
10540 { &hf_lustre_ldlm_intent_opc_exec,
10541 { "exec", "lustre.ldlm_intent.opc_exec", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_EXEC , "", HFILL } },
10542 { &hf_lustre_ldlm_intent_opc_pin,
10543 { "pin", "lustre.ldlm_intent.opc_pin", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_PIN , "", HFILL } },
10544 /*-------------------------------------------------------------------*/
10545 { &hf_lustre_ldlm_intent_opc,
10546 { "intent opcode", "lustre.ldlm_intent.opc", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10547 { &hf_lustre_llog_rec_hdr_lrh_type,
10548 { "Lrh Type", "lustre.llog_rec_hdr.lrh_type", FT_UINT32, BASE_HEX, VALS(lustre_llog_op_type), 0, "", HFILL }},
10549 { &hf_lustre_llog_rec_hdr_lrh_len,
10550 { "Lrh Len", "lustre.llog_rec_hdr.lrh_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10551 { &hf_lustre_llog_setattr_rec_lsr_uid,
10552 { "Lsr Uid", "lustre.llog_setattr_rec.lsr_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10553 { &hf_lustre_lov_desc_ld_padding_1,
10554 { "Ld Padding 1", "lustre.lov_desc.ld_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10555 { &hf_lustre_obdo_o_padding_4,
10556 { "O Padding 4", "lustre.obdo.o_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10557 { &hf_lustre_mgs_target_info_padding,
10558 { "Padding", "lustre.mgs_target_info.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10559 { &hf_lustre_obd_quotactl_qc_dqblk,
10560 { "Qc Dqblk", "lustre.obd_quotactl.qc_dqblk", FT_NONE,
10561 BASE_NONE, NULL, 0, "", HFILL } },
10562 { &hf_lustre_llogd_conn_body_lgdc_gen,
10563 { "Lgdc Gen", "lustre.llogd_conn_body.lgdc_gen", FT_NONE,
10564 BASE_NONE, NULL, 0, "", HFILL } },
10565 { &hf_lustre_llog_log_hdr_llh_tail,
10566 { "Llh Tail", "lustre.llog_log_hdr.llh_tail", FT_NONE,
10567 BASE_NONE, NULL, 0, "", HFILL } },
10568 { &hf_lustre_obdo_o_size,
10569 { "O Size", "lustre.obdo.o_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10570 { &hf_lustre_ldlm_extent_start,
10571 { "Start", "lustre.ldlm_extent.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10572 { &hf_lustre_llog_size_change_rec_lsc_hdr,
10573 { "Lsc Hdr", "lustre.llog_size_change_rec.lsc_hdr", FT_NONE,
10574 BASE_NONE, NULL, 0, "", HFILL } },
10575 { &hf_lustre_llog_logid_lgl_oseq,
10576 { "Lgl SEQ", "lustre.llog_logid.lgl_oseq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10577 { &hf_lustre_llog_cookie_lgc_padding,
10578 { "Lgc Padding", "lustre.llog_cookie.lgc_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10579 { &hf_lustre_qunit_data_old_qd_type,
10580 { "Qd Type", "lustre.qunit_data_old.qd_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10581 { &hf_lustre_ldlm_flock_blocking_export,
10582 { "Blocking Export", "lustre.ldlm_flock.blocking_export", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10583 { &hf_lustre_lov_desc_ld_pattern,
10584 { "Ld Pattern", "lustre.lov_desc.ld_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10585 { &hf_lustre_qunit_data_qd_id,
10586 { "Qd Id", "lustre.qunit_data.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10587 { &hf_lustre_mgs_target_info_mti_fsname,
10588 { "Mti Fsname", "lustre.mgs_target_info.mti_fsname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10589 { &hf_lustre_ldlm_request_lock_flags,
10590 { "Lock Flags", "lustre.ldlm_request.lock_flags", FT_UINT32, BASE_HEX, NULL, 0 , "", HFILL }},
10591 { &hf_lustre_obdo_o_mode,
10592 { "O Mode", "lustre.obdo.o_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10593 { &hf_lustre_mgs_target_info_mti_svname,
10594 { "Mti Svname", "lustre.mgs_target_info.mti_svname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10595 { &hf_lustre_llogd_body_lgd_logid,
10596 { "Lgd Logid", "lustre.llogd_body.lgd_logid", FT_NONE,
10597 BASE_NONE, NULL, 0, "", HFILL } },
10598 { &hf_lustre_llog_log_hdr_llh_size,
10599 { "Llh Size", "lustre.llog_log_hdr.llh_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10600 { &hf_lustre_obdo_o_handle,
10601 { "O Handle", "lustre.obdo.o_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10602 { &hf_lustre_obdo_o_atime,
10603 { "O Atime", "lustre.obdo.o_atime",FT_ABSOLUTE_TIME,
10604 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10605 { &hf_lustre_quota_adjust_qunit_qaq_id,
10606 { "Qaq Id", "lustre.quota_adjust_qunit.qaq_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10607 { &hf_lustre_ldlm_lock_desc_l_policy_data,
10608 { "L Policy Data", "lustre.ldlm_lock_desc.l_policy_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10609 { &hf_lustre_obd_quotactl_qc_cmd,
10610 { "Qc Cmd", "lustre.obd_quotactl.qc_cmd", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10611 { &hf_lustre_qunit_data_padding,
10612 { "Padding", "lustre.qunit_data.padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10613 { &hf_lustre_quota_adjust_qunit_qaq_flags,
10614 { "Qaq Flags", "lustre.quota_adjust_qunit.qaq_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10615 { &hf_lustre_ldlm_lock_desc_l_granted_mode,
10616 { "L Granted Mode", "lustre.ldlm_lock_desc.l_granted_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_vals), 0, "", HFILL }},
10617 { &hf_lustre_obdo_o_seq,
10618 { "O SEQ", "lustre.obdo.o_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10619 { &hf_lustre_obdo_o_gid,
10620 { "O Gid", "lustre.obdo.o_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10621 { &hf_lustre_llog_catid_lci_logid,
10622 { "Lci Logid", "lustre.llog_catid.lci_logid", FT_NONE,
10623 BASE_NONE, NULL, 0, "", HFILL } },
10624 { &hf_lustre_llog_rec_tail_lrt_index,
10625 { "Lrt Index", "lustre.llog_rec_tail.lrt_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10626 { &hf_lustre_lov_desc_ld_default_stripe_count,
10627 { "Ld Default Stripe Count", "lustre.lov_desc.ld_default_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10628 { &hf_lustre_ldlm_resource_desc_lr_padding,
10629 { "Lr Padding", "lustre.ldlm_resource_desc.lr_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10630 { &hf_lustre_cfg_marker_cm_vers,
10631 { "Cm Vers", "lustre.cfg_marker.cm_vers", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10632 { &hf_lustre_llog_unlink_rec_lur_hdr,
10633 { "Lur Hdr", "lustre.llog_unlink_rec.lur_hdr", FT_NONE,
10634 BASE_NONE, NULL, 0, "", HFILL } },
10635 { &hf_lustre_llogd_body_lgd_index,
10636 { "Lgd Index", "lustre.llogd_body.lgd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10637 { &hf_lustre_cfg_marker_cm_tgtname,
10638 { "Cm Tgtname", "lustre.cfg_marker.cm_tgtname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10639 { &hf_lustre_llog_setattr_rec_lsr_ogen,
10640 { "Lsr Ogen", "lustre.llog_setattr_rec.lsr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10641 { &hf_lustre_llog_logid_rec_lid_hdr,
10642 { "Lid Hdr", "lustre.llog_logid_rec.lid_hdr", FT_NONE,
10643 BASE_NONE, NULL, 0, "", HFILL } },
10644 { &hf_lustre_obdo_o_ioepoch,
10645 { "O IOEpoch", "lustre.obdo.o_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10646 { &hf_lustre_ost_body_oa,
10647 { "Oa", "lustre.ost_body.oa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10648 { &hf_lustre_llog_logid_rec_padding3,
10649 { "Padding3", "lustre.llog_logid_rec.padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10650 { &hf_lustre_llog_log_hdr_llh_flags,
10651 { "Llh Flags", "lustre.llog_log_hdr.llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10652 {&hf_lustre_llog_hdr_llh_flag_zap_when_empty,
10653 {"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 } },
10654 {&hf_lustre_llog_hdr_llh_flag_is_cat,
10655 {"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 } },
10656 {&hf_lustre_llog_hdr_llh_flag_is_play,
10657 {"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 } },
10659 { &hf_lustre_llog_setattr_rec_lsr_oid,
10660 { "Lsr Oid", "lustre.llog_setattr_rec.lsr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10661 { &hf_lustre_llog_size_change_rec_padding,
10662 { "Padding", "lustre.llog_size_change_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10663 { &hf_lustre_mgs_target_info_mti_config_ver,
10664 { "Mti Config Ver", "lustre.mgs_target_info.mti_config_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10665 { &hf_lustre_cfg_marker_cm_createtime,
10666 { "Cm Createtime", "lustre.cfg_marker.cm_createtime",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10667 { &hf_lustre_qunit_data_old_qd_count,
10668 { "Qd Count", "lustre.qunit_data_old.qd_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10669 { &hf_lustre_llog_catid_lci_padding1,
10670 { "Lci Padding1", "lustre.llog_catid.lci_padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10671 { &hf_lustre_lov_desc_ld_active_tgt_count,
10672 { "Ld Active Tgt Count", "lustre.lov_desc.ld_active_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10673 { &hf_lustre_obdo_o_lcookie,
10674 { "O Lcookie", "lustre.obdo.o_lcookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10675 { &hf_lustre_llog_gen_rec_lgr_gen,
10676 { "Lgr Gen", "lustre.llog_gen_rec.lgr_gen", FT_NONE,
10677 BASE_NONE, NULL, 0, "", HFILL } },
10678 { &hf_lustre_obdo_o_id,
10679 { "O Id", "lustre.obdo.o_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10680 { &hf_lustre_mgs_target_info_mti_uuid,
10681 { "Mti Uuid", "lustre.mgs_target_info.mti_uuid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10682 { &hf_lustre_llog_rec_hdr_lrh_index,
10683 { "Lrh Index", "lustre.llog_rec_hdr.lrh_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10684 { &hf_lustre_llog_setattr_rec_lsr_hdr,
10685 { "Lsr Hdr", "lustre.llog_setattr_rec.lsr_hdr", FT_NONE,
10686 BASE_NONE, NULL, 0, "", HFILL } },
10687 { &hf_lustre_mgs_target_info_mti_stripe_index,
10688 { "Mti Stripe Index", "lustre.mgs_target_info.mti_stripe_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10689 { &hf_lustre_llog_gen_conn_cnt,
10690 { "Conn Cnt", "lustre.llog_gen.conn_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10691 { &hf_lustre_obdo_o_padding_6,
10692 { "O Padding 6", "lustre.obdo.o_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10693 { &hf_lustre_llog_cookie_lgc_index,
10694 { "Lgc Index", "lustre.llog_cookie.lgc_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10695 { &hf_lustre_lov_desc_ld_uuid,
10696 { "Ld Uuid", "lustre.lov_desc.ld_uuid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10697 { &hf_lustre_ldlm_reply_lock_desc,
10698 { "Lock Desc", "lustre.ldlm_reply.lock_desc", FT_NONE,
10699 BASE_NONE, NULL, 0, "", HFILL } },
10700 { &hf_lustre_lov_desc_ld_padding_0,
10701 { "Ld Padding 0", "lustre.lov_desc.ld_padding_0", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10702 { &hf_lustre_llog_unlink_rec_lur_ogen,
10703 { "Lur Ogen", "lustre.llog_unlink_rec.lur_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10704 { &hf_lustre_cfg_marker_cm_flags,
10705 { "Cm Flags", "lustre.cfg_marker.cm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10706 { &hf_lustre_obdo_o_padding_3,
10707 { "O Padding 3", "lustre.obdo.o_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10708 { &hf_lustre_ldlm_request_lock_desc,
10709 { "Lock Desc", "lustre.ldlm_request.lock_desc", FT_NONE,
10710 BASE_NONE, NULL, 0, "", HFILL } },
10711 { &hf_lustre_obdo_o_flags,
10712 { "O Flags", "lustre.obdo.o_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10713 { &hf_lustre_mgs_target_info_mti_params,
10714 { "Mti Params", "lustre.mgs_target_info.mti_params", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10715 { &hf_lustre_llog_logid_lgl_ogen,
10716 { "Lgl Ogen", "lustre.llog_logid.lgl_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10717 { &hf_lustre_cfg_marker_cm_comment,
10718 { "Cm Comment", "lustre.cfg_marker.cm_comment", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10719 { &hf_lustre_llog_unlink_rec_lur_oid,
10720 { "Lur Oid", "lustre.llog_unlink_rec.lur_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10721 { &hf_lustre_qunit_data_qd_count,
10722 { "Qd Count", "lustre.qunit_data.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10723 { &hf_lustre_obdo_o_mtime,
10724 { "O Mtime", "lustre.obdo.o_mtime",FT_ABSOLUTE_TIME,
10725 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10726 { &hf_lustre_obdo_o_blksize,
10727 { "O Blksize", "lustre.obdo.o_blksize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10728 { &hf_lustre_ldlm_res_id_name,
10729 { "Name", "lustre.ldlm_res_id.name", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10730 { &hf_lustre_ldlm_reply_lock_handle,
10731 { "Lock Handle", "lustre.ldlm_reply.lock_handle", FT_NONE,
10732 BASE_NONE, NULL, 0, "", HFILL } },
10733 { &hf_lustre_llogd_body_lgd_saved_index,
10734 { "Lgd Saved Index", "lustre.llogd_body.lgd_saved_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10735 { &hf_lustre_qunit_data_old_qd_isblk,
10736 { "Qd Isblk", "lustre.qunit_data_old.qd_isblk", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10737 { &hf_lustre_obdo_o_blocks,
10738 { "O Blocks", "lustre.obdo.o_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10739 { &hf_lustre_lov_desc_ld_padding_2,
10740 { "Ld Padding 2", "lustre.lov_desc.ld_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10741 { &hf_lustre_llog_logid_rec_lid_tail,
10742 { "Lid Tail", "lustre.llog_logid_rec.lid_tail", FT_NONE,
10743 BASE_NONE, NULL, 0, "", HFILL } },
10744 { &hf_lustre_obdo_o_grant,
10745 { "O Grant", "lustre.obdo.o_grant", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10746 { &hf_lustre_obdo_o_uid_h,
10747 { "O Uid H", "lustre.obdo.o_uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10748 { &hf_lustre_obdo_o_gid_h,
10749 { "O Gid H", "lustre.obdo.o_gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10750 { &hf_lustre_quota_adjust_qunit_qaq_iunit_sz,
10751 { "Qaq Iunit Sz", "lustre.quota_adjust_qunit.qaq_iunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10752 { &hf_lustre_llog_unlink_rec_padding,
10753 { "Padding", "lustre.llog_unlink_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10754 { &hf_lustre_ldlm_lock_desc_l_req_mode,
10755 { "L Req Mode", "lustre.ldlm_lock_desc.l_req_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_vals), 0, "", HFILL }},
10756 { &hf_lustre_ldlm_extent_end,
10757 { "End", "lustre.ldlm_extent.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10758 { &hf_lustre_llog_gen_rec_lgr_hdr,
10759 { "Lgr Hdr", "lustre.llog_gen_rec.lgr_hdr", FT_NONE,
10760 BASE_NONE, NULL, 0, "", HFILL } },
10761 { &hf_lustre_llogd_body_lgd_llh_flags,
10762 { "Lgd Llh Flags", "lustre.llogd_body.lgd_llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10763 { &hf_lustre_llog_log_hdr_llh_cat_idx,
10764 { "Llh Cat Idx", "lustre.llog_log_hdr.llh_cat_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10765 { &hf_lustre_llog_log_hdr_llh_bitmap_offset,
10766 { "Llh Bitmap Offset", "lustre.llog_log_hdr.llh_bitmap_offset", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10767 { &hf_lustre_ldlm_reply_lock_padding,
10768 { "Lock Padding", "lustre.ldlm_reply.lock_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10769 { &hf_lustre_obd_quotactl_qc_id,
10770 { "Qc Id", "lustre.obd_quotactl.qc_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10771 { &hf_lustre_llog_logid_rec_padding4,
10772 { "Padding4", "lustre.llog_logid_rec.padding4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10773 { &hf_lustre_llog_setattr_rec_lsr_gid,
10774 { "Lsr Gid", "lustre.llog_setattr_rec.lsr_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10775 { &hf_lustre_obd_quotactl_qc_type,
10776 { "Qc Type", "lustre.obd_quotactl.qc_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10777 { &hf_lustre_cfg_marker_padding,
10778 { "Padding", "lustre.cfg_marker.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10779 { &hf_lustre_mgs_target_info_mti_nids,
10780 { "Mti Nids", "lustre.mgs_target_info.mti_nids", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10781 { &hf_lustre_obdo_o_stripe_idx,
10782 { "O Stripe Idx", "lustre.obdo.o_stripe_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10783 { &hf_lustre_llogd_conn_body_lgdc_logid,
10784 { "Lgdc Logid", "lustre.llogd_conn_body.lgdc_logid", FT_NONE,
10785 BASE_NONE, NULL, 0, "", HFILL } },
10786 { &hf_lustre_ldlm_flock_blocking_pid,
10787 { "Blocking Pid", "lustre.ldlm_flock.blocking_pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10788 { &hf_lustre_lov_desc_ld_tgt_count,
10789 { "Ld Tgt Count", "lustre.lov_desc.ld_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10790 { &hf_lustre_llogd_body_lgd_cur_offset,
10791 { "Lgd Cur Offset", "lustre.llogd_body.lgd_cur_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10792 { &hf_lustre_qunit_data_old2_qd_count,
10793 { "Qd Count", "lustre.qunit_data_old2.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10794 { &hf_lustre_opnum,
10795 { "Operation", "lustre.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }},
10796 { &hf_lustre_qunit_data_old2_qd_flags,
10797 { "Qd Flags", "lustre.qunit_data_old2.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10798 { &hf_lustre_ldlm_flock_start,
10799 { "Start", "lustre.ldlm_flock.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10800 { &hf_lustre_quota_adjust_qunit_qaq_bunit_sz,
10801 { "Qaq Bunit Sz", "lustre.quota_adjust_qunit.qaq_bunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10802 { &hf_lustre_ldlm_flock_pid,
10803 { "Pid", "lustre.ldlm_flock.pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10804 { &hf_lustre_lov_desc_ld_default_stripe_size,
10805 { "Ld Default Stripe Size", "lustre.lov_desc.ld_default_stripe_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10806 { &hf_lustre_llog_log_hdr_llh_tgtuuid,
10807 { "Llh Tgtuuid", "lustre.llog_log_hdr.llh_tgtuuid", FT_NONE,
10808 BASE_NONE, NULL, 0, "", HFILL } },
10809 { &hf_lustre_cfg_marker_cm_step,
10810 { "Cm Step", "lustre.cfg_marker.cm_step", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10811 { &hf_lustre_mgs_send_param_mgs_param,
10812 { "Mgs Param", "lustre.mgs_send_param.mgs_param", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10813 { &hf_lustre_lov_desc_ld_default_stripe_offset,
10814 { "Ld Default Stripe Offset", "lustre.lov_desc.ld_default_stripe_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10815 { &hf_lustre_ldlm_resource_desc_lr_name,
10816 { "Lr Name", "lustre.ldlm_resource_desc.lr_name", FT_NONE,
10817 BASE_NONE, NULL, 0, "", HFILL } },
10818 { &hf_lustre_llog_rec_tail_lrt_len,
10819 { "Lrt Len", "lustre.llog_rec_tail.lrt_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10820 { &hf_lustre_llog_log_hdr_llh_timestamp,
10821 { "Llh Timestamp", "lustre.llog_log_hdr.llh_timestamp", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10822 { &hf_lustre_llog_catid_lci_padding2,
10823 { "Lci Padding2", "lustre.llog_catid.lci_padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10824 { &hf_lustre_llogd_conn_body_lgdc_ctxt_idx,
10825 { "Lgdc Ctxt Idx", "lustre.llogd_conn_body.lgdc_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10826 { &hf_lustre_cfg_marker_cm_canceltime,
10827 { "Cm Canceltime", "lustre.cfg_marker.cm_canceltime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10828 { &hf_lustre_mgs_target_info_mti_lustre_ver,
10829 { "Mti Lustre Ver", "lustre.mgs_target_info.mti_lustre_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10830 { &hf_lustre_obdo_o_parent_ver,
10831 { "O Parent VER", "lustre.obdo.o_parent_ver", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10832 { &hf_lustre_qunit_data_qd_flags,
10833 { "Qd Flags", "lustre.qunit_data.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10834 { &hf_lustre_llog_logid_rec_lid_id,
10835 { "Lid Id", "lustre.llog_logid_rec.lid_id", FT_NONE,
10836 BASE_NONE, NULL, 0, "", HFILL } },
10837 { &hf_lustre_obdo_o_parent_oid,
10838 { "O Parent OID", "lustre.obdo.o_parent_oid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10839 { &hf_lustre_llog_gen_mnt_cnt,
10840 { "Mnt Cnt", "lustre.llog_gen.mnt_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10841 { &hf_lustre_llog_size_change_rec_lsc_tail,
10842 { "Lsc Tail", "lustre.llog_size_change_rec.lsc_tail", FT_NONE,
10843 BASE_NONE, NULL, 0, "", HFILL } },
10844 { &hf_lustre_obdo_o_padding_5,
10845 { "O Padding 5", "lustre.obdo.o_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10846 { &hf_lustre_ldlm_lock_desc_l_resource,
10847 { "L Resource", "lustre.ldlm_lock_desc.l_resource", FT_NONE,
10848 BASE_NONE, NULL, 0, "", HFILL } },
10849 { &hf_lustre_obdo_o_parent_seq,
10850 { "O Parent SEQ", "lustre.obdo.o_parent_seq", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL }},
10851 { &hf_lustre_ldlm_request_lock_count,
10852 { "Lock Count", "lustre.ldlm_request.lock_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, "", HFILL }},
10853 { &hf_lustre_ldlm_flock_end,
10854 { "End", "lustre.ldlm_flock.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10855 { &hf_lustre_mgs_target_info_mti_nid_count,
10856 { "Mti Nid Count", "lustre.mgs_target_info.mti_nid_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10857 /* -------------------------------------------------------------------- */
10858 { &hf_lustre_mgs_target_info,
10859 { "mgs target info", "lustre.mgs_target_info", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10860 { &hf_lustre_mgs_send_param,
10861 { "mgs send param", "lustre.mgs_send_param", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10863 { &hf_lustre_mgs_config_body,
10864 { "mgs config body", "lustre.mgs_config_body", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10865 { &hf_lustre_mgs_config_body_name,
10866 { "mcb name", "lustre.mgs_config_body.name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10867 { &hf_lustre_mgs_config_body_offset,
10868 { "mcb offset", "lustre.mgs_config_body.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10869 { &hf_lustre_mgs_config_body_type,
10870 { "mcb type", "lustre.mgs_config_body.type", FT_UINT16, BASE_DEC, VALS(lustre_mgs_config_body_types), 0, "", HFILL }},
10871 { &hf_lustre_mgs_config_body_reserved,
10872 { "mcb reserved", "lustre.mgs_config_body.type", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10873 { &hf_lustre_mgs_config_body_bits,
10874 { "mcb bit shift", "lustre.mgs_config_body.type", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10875 { &hf_lustre_mgs_config_body_units,
10876 { "mcb units", "lustre.mgs_config_body.type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10878 { &hf_lustre_mgs_config_res,
10879 { "mgs config res", "lustre.mgs_config_res", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10880 { &hf_lustre_mgs_config_res_offset,
10881 { "mcr offset", "lustre.mgs_config_res.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10882 { &hf_lustre_mgs_config_res_size,
10883 { "mcr size", "lustre.mgs_config_res.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10885 /* -------------------------------------------------------------------- */
10886 { &hf_lustre_ost_lvb,
10887 { "ost lvb data", "lustre.ost_lvb", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10889 { &hf_lustre_obdo_o_ctime,
10890 { "O Ctime", "lustre.obdo.o_ctime",FT_ABSOLUTE_TIME,
10891 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10892 { &hf_lustre_ldlm_reply_lock_policy_res2,
10893 { "Lock Policy Res2", "lustre.ldlm_reply.lock_policy_res2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10894 { &hf_lustre_llogd_body_lgd_ctxt_idx,
10895 { "Lgd Ctxt Idx", "lustre.llogd_body.lgd_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10896 { &hf_lustre_lov_desc_ld_qos_maxage,
10897 { "Ld Qos Maxage", "lustre.lov_desc.ld_qos_maxage", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10898 { &hf_lustre_ldlm_resource_desc_lr_type,
10899 { "Lr Type", "lustre.ldlm_resource_desc.lr_type", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_type_vals), 0, "", HFILL }},
10900 { &hf_lustre_llog_setattr_rec_lsr_tail,
10901 { "Lsr Tail", "lustre.llog_setattr_rec.lsr_tail", FT_NONE,
10902 BASE_NONE, NULL, 0, "", HFILL } },
10903 { &hf_lustre_llog_cookie_lgc_subsys,
10904 { "Lgc Subsys", "lustre.llog_cookie.lgc_subsys", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10905 { &hf_lustre_llog_log_hdr_llh_hdr,
10906 { "Llh Hdr", "lustre.llog_log_hdr.llh_hdr", FT_NONE,
10907 BASE_NONE, NULL, 0, "", HFILL } },
10908 { &hf_lustre_llog_log_hdr_llh_reserved,
10909 { "Llh Reserved", "lustre.llog_log_hdr.llh_reserved", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10911 { &hf_lustre_extra_padding,
10912 { "extra padding", "lustre.msg_v2_extra_padding", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10913 { &hf_lustre_ldlm_reply,
10914 { "ldlm reply", "lustre.ldlm_reply", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10915 { &hf_lustre_ldlm_request,
10916 { "ldlm request", "lustre.ldlm_request", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10918 /* add for lustre_user.h */
10919 { &hf_lustre_obd_dqinfo_dqi_valid,
10920 { "Dqi Valid", "lustre.obd_dqinfo.dqi_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10921 { &hf_lustre_obd_dqblk_dqb_isoftlimit,
10922 { "Dqb Isoftlimit", "lustre.obd_dqblk.dqb_isoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10923 { &hf_lustre_obd_dqblk_dqb_bhardlimit,
10924 { "Dqb Bhardlimit", "lustre.obd_dqblk.dqb_bhardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10925 { &hf_lustre_obd_dqblk_dqb_curspace,
10926 { "Dqb Curspace", "lustre.obd_dqblk.dqb_curspace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10927 { &hf_lustre_obd_dqblk_dqb_itime,
10928 { "Dqb Itime", "lustre.obd_dqblk.dqb_itime", FT_ABSOLUTE_TIME,
10929 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10930 { &hf_lustre_obd_dqblk_dqb_valid,
10931 { "Dqb Valid", "lustre.obd_dqblk.dqb_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10932 { &hf_lustre_obd_dqinfo_dqi_igrace,
10933 { "Dqi Igrace", "lustre.obd_dqinfo.dqi_igrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10934 { &hf_lustre_obd_dqinfo_dqi_bgrace,
10935 { "Dqi Bgrace", "lustre.obd_dqinfo.dqi_bgrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10936 { &hf_lustre_obd_dqblk_padding,
10937 { "Padding", "lustre.obd_dqblk.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10938 { &hf_lustre_obd_dqblk_dqb_curinodes,
10939 { "Dqb Curinodes", "lustre.obd_dqblk.dqb_curinodes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10940 { &hf_lustre_obd_dqblk_dqb_bsoftlimit,
10941 { "Dqb Bsoftlimit", "lustre.obd_dqblk.dqb_bsoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10942 { &hf_lustre_obd_dqinfo_dqi_flags,
10943 { "Dqi Flags", "lustre.obd_dqinfo.dqi_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10944 { &hf_lustre_obd_dqblk_dqb_btime,
10945 { "Dqb Btime", "lustre.obd_dqblk.dqb_btime", FT_ABSOLUTE_TIME,
10946 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10947 { &hf_lustre_obd_dqblk_dqb_ihardlimit,
10948 { "Dqb Ihardlimit", "lustre.obd_dqblk.dqb_ihardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10951 { &hf_lustre_seq_opc,
10952 { "Seq OPC", "lustre.seq_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10953 { &hf_lustre_seq_range,
10954 { "Seq Range", "lustre.seq_range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10955 { &hf_lustre_seq_range_start,
10956 { "Seq Range Start", "lustre.seq_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10957 { &hf_lustre_seq_range_end,
10958 { "Seq Range End", "lustre.seq_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10959 { &hf_lustre_seq_range_index,
10960 { "Seq Range Index", "lustre.seq_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10961 { &hf_lustre_seq_range_flags,
10962 { "Seq Range Flags", "lustre.seq_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10965 { &hf_lustre_fld_opc,
10966 { "Fld OPC", "lustre.fld_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10967 { &hf_lustre_fld_range,
10968 { "Fld Range", "lustre.fld_range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10969 { &hf_lustre_fld_range_start,
10970 { "Fld Range Start", "lustre.fld_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10971 { &hf_lustre_fld_range_end,
10972 { "Fld Range End", "lustre.fld_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10973 { &hf_lustre_fld_range_index,
10974 { "Fld Range Index", "lustre.fld_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10975 { &hf_lustre_fld_range_flags,
10976 { "Fld Range Flags", "lustre.fld_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10978 /* struct mdt_ioepoch */
10979 { &hf_lustre_mdt_ioepoch,
10980 { "MDT ioepoch", "lustre.mdt_ioepoch", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10981 { &hf_lustre_mdt_ioepoch_handle,
10982 { "Handle", "lustre.mdt_ioepoch.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10983 { &hf_lustre_mdt_ioepoch_ioepoch,
10984 { "ioepoch", "lustre.mdt_ioepoch.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10985 { &hf_lustre_mdt_ioepoch_flags,
10986 { "flags", "lustre.mdt_ioepoch.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10987 { &hf_lustre_mdt_ioepoch_padding,
10988 { "Padding", "lustre.mdt_ioepoch.padding", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10990 /* struct lustre_capa */
10992 { "Capability", "lustre.capa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10993 { &hf_lustre_capa_fid,
10994 { "Capa fid", "lustre.capa.fid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10995 { &hf_lustre_capa_opc,
10996 { "Capa opc", "lustre.capa.opc", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10997 { &hf_lustre_capa_uid,
10998 { "Capa uid", "lustre.capa.uid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10999 { &hf_lustre_capa_gid,
11000 { "Capa gid", "lustre.capa.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
11001 { &hf_lustre_capa_flags,
11002 { "Capa flags", "lustre.capa.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
11003 { &hf_lustre_capa_keyid,
11004 { "Capa keyid", "lustre.capa.keyid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
11005 { &hf_lustre_capa_timeout,
11006 { "Capa timeout", "lustre.capa.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11007 { &hf_lustre_capa_expiry,
11008 { "Capa expiry", "lustre.capa.expiry", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11009 { &hf_lustre_capa_hmac,
11010 { "Capa hmac", "lustre.capa.hmac", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11014 { "ACL", "lustre.acl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11018 static gint *ett[] = {
11020 &ett_lustre_lustre_handle_cookie,
11021 &ett_lustre_lustre_msg_v1,
11022 &ett_lustre_lustre_handle_v1,
11023 &ett_lustre_lustre_msg_v2,
11024 &ett_lustre_ptlrpc_body,
11025 &ett_lustre_lustre_handle_v2,
11026 &ett_lustre_obd_connect_data,
11027 &ett_lustre_lov_mds_md_v1,
11028 &ett_lustre_lov_ost_data_v1,
11029 &ett_lustre_obd_statfs,
11030 &ett_lustre_obd_ioobj,
11031 &ett_lustre_niobuf_remote,
11032 &ett_lustre_ost_lvb,
11033 &ett_lustre_ll_fid,
11034 &ett_lustre_obd_quotactl,
11035 &ett_lustre_obd_dqinfo,
11036 &ett_lustre_obd_dqblk,
11037 &ett_lustre_quota_adjust_qunit,
11038 &ett_lustre_mdt_body,
11039 &ett_lustre_mdt_rec_setattr,
11040 &ett_lustre_mdt_rec_create,
11041 &ett_lustre_mdt_rec_link,
11042 &ett_lustre_mdt_rec_unlink,
11043 &ett_lustre_mdt_rec_rename,
11044 &ett_lustre_mdt_rec_setxattr,
11045 &ett_lustre_lov_desc,
11046 &ett_lustre_obd_uuid,
11047 &ett_lustre_ldlm_res_id,
11048 &ett_lustre_ldlm_extent,
11049 &ett_lustre_ldlm_inodebits,
11050 &ett_lustre_ldlm_flock,
11051 &ett_lustre_ldlm_intent_opc,
11052 &ett_lustre_ldlm_resource_desc,
11053 &ett_lustre_ldlm_lock_desc,
11054 &ett_lustre_ldlm_request,
11055 &ett_lustre_lustre_handle,
11056 &ett_lustre_ldlm_reply,
11057 &ett_lustre_mgs_send_param,
11058 &ett_lustre_mgs_target_info,
11059 &ett_lustre_mgs_config_body,
11060 &ett_lustre_mgs_config_res,
11061 &ett_lustre_cfg_marker,
11062 &ett_lustre_llog_catid,
11063 &ett_lustre_llog_logid,
11064 &ett_lustre_lov_mds_md,
11065 &ett_lustre_llog_rec_hdr,
11066 &ett_lustre_llog_rec_tail,
11067 &ett_lustre_llog_logid_rec,
11068 &ett_lustre_llog_unlink_rec,
11069 &ett_lustre_llog_setattr_rec,
11070 &ett_lustre_llog_size_change_rec,
11071 &ett_lustre_llog_gen,
11072 &ett_lustre_llog_gen_rec,
11073 &ett_lustre_llog_log_hdr,
11074 &ett_lustre_llog_cookie,
11075 &ett_lustre_llogd_body,
11076 &ett_lustre_llogd_conn_body,
11078 &ett_lustre_ost_body,
11079 &ett_lustre_qunit_data,
11080 &ett_lustre_qunit_data_old2,
11081 &ett_lustre_qunit_data_old,
11082 &ett_lustre_ldlm_lock_flags,
11083 &ett_lustre_llog_log_llh_flags,
11084 &ett_lustre_seq_range,
11085 &ett_lustre_fld_range,
11086 &ett_lustre_mdt_ioepoch,
11089 &ett_lustre_ladvise,
11092 proto_lustre = proto_register_protocol("Lustre", "lustre", "lustre");
11093 proto_register_field_array(proto_lustre, hf, array_length (hf));
11094 proto_register_subtree_array(ett, array_length(ett));
11098 void proto_reg_handoff_lustre(void)
11100 dissector_handle_t lustre_handle;
11101 lustre_handle=create_dissector_handle(dissect_lustre, proto_lustre);
11102 /* we use Lustre only if we get ptl_index = One of this code (we have removed the bulk code) */
11103 /* in LNET we test if the message is a put or not before adding an lnet.ptl_index value */
11104 dissector_add_uint("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
11105 dissector_add_uint("lnet.ptl_index", CONNMGR_REQUEST_PORTAL , lustre_handle);
11106 dissector_add_uint("lnet.ptl_index", CONNMGR_REPLY_PORTAL , lustre_handle);
11107 dissector_add_uint("lnet.ptl_index", OSC_REPLY_PORTAL , lustre_handle);
11108 dissector_add_uint("lnet.ptl_index", OST_IO_PORTAL , lustre_handle);
11109 dissector_add_uint("lnet.ptl_index", OST_CREATE_PORTAL , lustre_handle);
11110 dissector_add_uint("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
11111 dissector_add_uint("lnet.ptl_index", MDS_REQUEST_PORTAL , lustre_handle);
11112 dissector_add_uint("lnet.ptl_index", LDLM_CB_REQUEST_PORTAL , lustre_handle);
11113 dissector_add_uint("lnet.ptl_index", LDLM_CB_REPLY_PORTAL , lustre_handle);
11114 dissector_add_uint("lnet.ptl_index", LDLM_CANCEL_REQUEST_PORTAL, lustre_handle);
11115 dissector_add_uint("lnet.ptl_index", LDLM_CANCEL_REPLY_PORTAL , lustre_handle);
11116 dissector_add_uint("lnet.ptl_index", MDS_SETATTR_PORTAL , lustre_handle);
11117 dissector_add_uint("lnet.ptl_index", MDS_READPAGE_PORTAL , lustre_handle);
11118 dissector_add_uint("lnet.ptl_index", MGC_REPLY_PORTAL , lustre_handle);
11119 dissector_add_uint("lnet.ptl_index", MGS_REQUEST_PORTAL , lustre_handle);
11120 dissector_add_uint("lnet.ptl_index", MGS_REPLY_PORTAL , lustre_handle);
11121 dissector_add_uint("lnet.ptl_index", OST_REQUEST_PORTAL , lustre_handle);
11122 dissector_add_uint("lnet.ptl_index", FLD_REQUEST_PORTAL, lustre_handle);
11123 dissector_add_uint("lnet.ptl_index", SEQ_METADATA_PORTAL, lustre_handle);
11124 dissector_add_uint("lnet.ptl_index", SEQ_DATA_PORTAL, lustre_handle);
11125 dissector_add_uint("lnet.ptl_index", SEQ_CONTROLLER_PORTAL, lustre_handle);