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, 2013, 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,
194 #define OBD_FIRST_OPC OBD_PING
196 /* must be coherent with same declaration
197 * in lustre/include/lustre/lustre_idl.h
201 MDS_GETATTR_NAME = 34,
212 MDS_DONE_WRITING = 45,
221 MDS_HSM_STATE_GET = 54,
222 MDS_HSM_STATE_SET = 55,
224 MDS_HSM_PROGRESS = 57,
225 MDS_HSM_REQUEST = 58,
226 MDS_HSM_CT_REGISTER = 59,
227 MDS_HSM_CT_UNREGISTER = 60,
228 MDS_SWAP_LAYOUTS = 61,
232 #define IT_OPEN 0x0001
233 #define IT_CREAT 0x0002
234 #define IT_READDIR 0x0004
235 #define IT_GETATTR 0x0008
236 #define IT_LOOKUP 0x0010
237 #define IT_UNLINK 0x0020
238 #define IT_GETXATTR 0x0040
239 #define IT_EXEC 0x0080
240 #define IT_PIN 0x0100
244 #define MDS_FIRST_OPC MDS_GETATTR
245 #define LDLM_FIRST_OPC LDLM_ENQUEUE
264 LDLM_BL_CALLBACK = 104,
265 LDLM_CP_CALLBACK = 105,
266 LDLM_GL_CALLBACK = 106,
269 #define LDLM_FIRST_OPC LDLM_ENQUEUE
274 SEQ_FIRST_OPC = SEQ_QUERY
280 FLD_FIRST_OPC = FLD_QUERY
283 #define LDLM_ENQUEUE (101)
284 #define LDLM_CONVERT (102)
285 #define LDLM_CANCEL (103)
286 #define LDLM_BL_CALLBACK (104)
287 #define LDLM_CP_CALLBACK (105)
288 #define LDLM_GL_CALLBACK (106)
289 #define LCK_MINMODE (0)
296 #define LCK_GROUP (64)
297 #define LDLM_PLAIN (10)
298 #define LDLM_EXTENT (11)
299 #define LDLM_FLOCK (12)
300 #define LDLM_IBITS (13)
301 //#define MGS_CONNECT (250)
302 #define OBD_PING (400)
305 * Opcodes for mountconf (mgs and mgc)
310 MGS_EXCEPTION, /* node died, etc. */
311 MGS_TARGET_REG, /* whenever target starts up */
317 #define MGS_FIRST_OPC MGS_CONNECT
321 LLOG_ORIGIN_HANDLE_CREATE = 501,
322 LLOG_ORIGIN_HANDLE_NEXT_BLOCK = 502,
323 LLOG_ORIGIN_HANDLE_READ_HEADER = 503,
324 LLOG_ORIGIN_HANDLE_WRITE_REC = 504,
325 LLOG_ORIGIN_HANDLE_CLOSE = 505,
326 LLOG_ORIGIN_CONNECT = 506,
327 LLOG_CATINFO = 507, /* for lfs catinfo */
328 LLOG_ORIGIN_HANDLE_PREV_BLOCK = 508,
329 LLOG_ORIGIN_HANDLE_DESTROY = 509, /* for destroy llog object*/
333 #define LLOG_FIRST_OPC LLOG_ORIGIN_HANDLE_CREATE
334 /*flag for the LLOG*/
335 #define LLOG_OP_MAGIC 0x10600000
336 #define LLOG_OP_MASK 0xfff00000
339 LLOG_PAD_MAGIC = LLOG_OP_MAGIC | 0x00000,
340 OST_SZ_REC = LLOG_OP_MAGIC | 0x00f00,
341 OST_RAID1_REC = LLOG_OP_MAGIC | 0x01000,
342 MDS_UNLINK_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_UNLINK,
343 MDS_SETATTR_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_SETATTR,
344 OBD_CFG_REC = LLOG_OP_MAGIC | 0x20000,
345 PTL_CFG_REC = LLOG_OP_MAGIC | 0x30000, /* obsolete */
346 LLOG_GEN_REC = LLOG_OP_MAGIC | 0x40000,
347 LLOG_JOIN_REC = LLOG_OP_MAGIC | 0x50000, /* obsolete */
348 LLOG_HDR_MAGIC = LLOG_OP_MAGIC | 0x45539,
349 LLOG_LOGID_MAGIC = LLOG_OP_MAGIC | 0x4553b,
353 /*defined in lustre/include/lustre/lustre_idl.h*/
354 #define LLOG_F_ZAP_WHEN_EMPTY 0x1
355 #define LLOG_F_IS_CAT 0x2
356 #define LLOG_F_IS_PLAIN 0x4
358 #define PTL_RPC_MSG_REQUEST 4711
359 #define PTL_RPC_MSG_ERR 4712
360 #define PTL_RPC_MSG_REPLY 4713
363 /* Ett declarations */
364 static gint ett_lustre_llog_log_llh_flags = -1 ;
365 static gint ett_lustre = -1;
366 static gint ett_lustre_lustre_handle_cookie = -1;
367 static gint ett_lustre_lustre_msg_v1 = -1;
368 static gint ett_lustre_lustre_handle_v1 = -1;
369 static gint ett_lustre_lustre_msg_v2 = -1;
370 static gint ett_lustre_ptlrpc_body = -1;
371 static gint ett_lustre_lustre_handle_v2 = -1;
372 static gint ett_lustre_obd_connect_data = -1;
373 static gint ett_lustre_lov_mds_md_v1 = -1;
374 static gint ett_lustre_lov_ost_data_v1 = -1;
375 static gint ett_lustre_obd_statfs = -1;
376 static gint ett_lustre_obd_ioobj = -1;
377 static gint ett_lustre_niobuf_remote = -1;
378 static gint ett_lustre_ost_lvb = -1;
379 static gint ett_lustre_ll_fid = -1;
380 static gint ett_lustre_mdt_body = -1;
381 static gint ett_lustre_mdt_rec_setattr = -1;
382 static gint ett_lustre_mdt_rec_create = -1;
383 static gint ett_lustre_mdt_rec_link = -1;
384 static gint ett_lustre_mdt_rec_unlink = -1;
385 static gint ett_lustre_mdt_rec_rename = -1;
386 static gint ett_lustre_mdt_rec_setxattr = -1;
387 static gint ett_lustre_obd_quotactl = -1;
388 static gint ett_lustre_obd_dqinfo = -1;
389 static gint ett_lustre_obd_dqblk = -1;
390 static gint ett_lustre_quota_adjust_qunit = -1;
391 static gint ett_lustre_lov_desc = -1;
392 static gint ett_lustre_obd_uuid = -1;
393 static gint ett_lustre_ldlm_res_id = -1;
394 static gint ett_lustre_ldlm_extent = -1;
395 static gint ett_lustre_ldlm_inodebits = -1;
396 static gint ett_lustre_ldlm_flock = -1;
397 static gint ett_lustre_ldlm_intent_opc = -1;
398 static gint ett_lustre_ldlm_resource_desc = -1;
399 static gint ett_lustre_ldlm_lock_desc = -1;
400 static gint ett_lustre_ldlm_request = -1;
401 static gint ett_lustre_lustre_handle = -1;
402 static gint ett_lustre_ldlm_reply = -1;
403 static gint ett_lustre_mgs_send_param = -1;
404 static gint ett_lustre_mgs_target_info = -1;
405 static gint ett_lustre_mgs_config_body = -1;
406 static gint ett_lustre_mgs_config_res = -1;
407 static gint ett_lustre_cfg_marker = -1;
408 static gint ett_lustre_llog_catid = -1;
409 static gint ett_lustre_llog_rec_hdr = -1;
410 static gint ett_lustre_llog_logid_rec = -1;
411 static gint ett_lustre_llog_logid = -1;
412 static gint ett_lustre_llog_rec_tail = -1;
413 static gint ett_lustre_lov_mds_md = -1;
414 static gint ett_lustre_llog_unlink_rec = -1;
415 static gint ett_lustre_llog_setattr_rec = -1;
416 static gint ett_lustre_llog_size_change_rec = -1;
417 static gint ett_lustre_llog_gen_rec = -1;
418 static gint ett_lustre_llog_log_hdr = -1;
419 static gint ett_lustre_llog_cookie = -1;
420 static gint ett_lustre_llogd_body = -1;
421 static gint ett_lustre_llogd_conn_body = -1;
422 static gint ett_lustre_llog_gen = -1;
423 static gint ett_lustre_obdo = -1;
424 static gint ett_lustre_ost_body = -1;
425 static gint ett_lustre_qunit_data = -1;
426 static gint ett_lustre_qunit_data_old2 = -1;
427 static gint ett_lustre_qunit_data_old = -1;
428 static gint ett_lustre_ldlm_lock_flags = -1 ;
429 static gint ett_lustre_seq_range = -1;
430 static gint ett_lustre_fld_range = -1;
431 static gint ett_lustre_mdt_ioepoch = -1;
432 static gint ett_lustre_capa = -1;
433 static gint ett_lustre_acl = -1;
435 /* -----------------------------------------------*/
436 /* Header field declarations */
437 static int hf_lustre_ptlrpc_body_pb = -1 ;
438 static int hf_lustre_ost_body = -1 ;
439 static int hf_lustre_obd_statfs = -1 ;
440 static int hf_lustre_obd_quotactl = -1 ;
441 static int hf_lustre_quota_adjust_qunit = -1 ;
442 static int hf_lustre_extra_padding = -1 ;
443 static int hf_lustre_ldlm_reply = -1 ;
444 static int hf_lustre_ldlm_request = -1 ;
445 static int hf_lustre_obd_uuid = -1 ;
446 static int hf_lustre_obd_connect_data = -1 ;
447 static int hf_lustre_ldlm_intent = -1;
448 static int hf_lustre_obd_ioobj = -1 ;
449 static int hf_lustre_niobuf_remote = -1 ;
450 static int hf_lustre_ost_key = -1 ;
451 static int hf_lustre_nio= -1 ;
452 static int hf_lustre_ost_val= -1;
453 static int hf_lustre_llogd_body = -1;
454 static int hf_lustre_llogd_log_hdr= -1;
455 static int hf_lustre_llog_logid_rec =-1 ;
456 static int hf_lustre_llogd_chunk= -1;
457 static int hf_lustre_llogd_keyword= -1;
458 static int hf_lustre_llogd_client= -1;
459 static int hf_lustre_llogd_name= -1;
461 static int hf_lustre_mds_xattr_name = -1;
462 static int hf_lustre_lov_mds_md_v1= -1;
463 static int hf_lustre_llog_cookie= -1;
464 static int hf_lustre_mds_md_data= -1;
465 static int hf_lustre_mds_reint_opcode= -1;
466 static int hf_lustre_mds_xattr_eadata = -1;
468 static int hf_lustre_reint_name= -1;
469 static int hf_lustre_reint_old_name= -1;
470 static int hf_lustre_reint_new_name= -1;
472 static int hf_lustre_mgs_target_info = -1 ;
473 static int hf_lustre_mgs_send_param = -1;
475 static int hf_lustre_mgs_config_body = -1;
476 static int hf_lustre_mgs_config_body_name = -1;
477 static int hf_lustre_mgs_config_body_offset = -1;
478 static int hf_lustre_mgs_config_body_type = -1;
479 static int hf_lustre_mgs_config_body_reserved = -1;
480 static int hf_lustre_mgs_config_body_bits = -1;
481 static int hf_lustre_mgs_config_body_units = -1;
483 static int hf_lustre_mgs_config_res = -1;
484 static int hf_lustre_mgs_config_res_offset = -1;
485 static int hf_lustre_mgs_config_res_size = -1;
487 static int hf_lustre_ost_lvb = -1 ;
489 #define hf_lustre_ldlm_ast_discard_data hf_lustre_ldlm_fl_ast_discard_data
491 static int hf_lustre_mdt_body = -1 ;
492 static int hf_lustre_mdt_body_fid1 = -1;
493 static int hf_lustre_mdt_body_fid2 = -1;
494 static int hf_lustre_mdt_body_handle = -1;
495 static int hf_lustre_mdt_body_valid = -1;
496 static int hf_lustre_mdt_body_size = -1;
497 static int hf_lustre_mdt_body_mtime = -1;
498 static int hf_lustre_mdt_body_atime = -1;
499 static int hf_lustre_mdt_body_ctime = -1;
500 static int hf_lustre_mdt_body_blocks = -1;
501 static int hf_lustre_mdt_body_ioepoch = -1;
502 static int hf_lustre_mdt_body_ino = -1;
503 static int hf_lustre_mdt_body_fsuid = -1;
504 static int hf_lustre_mdt_body_fsgid = -1;
505 static int hf_lustre_mdt_body_capability = -1;
506 static int hf_lustre_mdt_body_mode = -1;
507 static int hf_lustre_mdt_body_uid = -1;
508 static int hf_lustre_mdt_body_gid = -1;
509 static int hf_lustre_mdt_body_flags = -1;
510 static int hf_lustre_mdt_body_rdev = -1;
511 static int hf_lustre_mdt_body_nlink = -1;
512 static int hf_lustre_mdt_body_generation = -1;
513 static int hf_lustre_mdt_body_suppgid = -1;
514 static int hf_lustre_mdt_body_eadatasize = -1;
515 static int hf_lustre_mdt_body_aclsize = -1;
516 static int hf_lustre_mdt_body_max_mdsize = -1;
517 static int hf_lustre_mdt_body_max_cookiesize = -1;
518 static int hf_lustre_mdt_body_uid_h = -1;
519 static int hf_lustre_mdt_body_gid_h = -1;
520 static int hf_lustre_mdt_body_padding_5 = -1;
521 static int hf_lustre_mdt_body_padding_6 = -1;
522 static int hf_lustre_mdt_body_padding_7 = -1;
523 static int hf_lustre_mdt_body_padding_8 = -1;
524 static int hf_lustre_mdt_body_padding_9 = -1;
525 static int hf_lustre_mdt_body_padding_10 = -1;
527 static int hf_lustre_mdt_rec_setattr = -1 ;
528 static int hf_lustre_mdt_rec_setattr_sa_opcode = -1;
529 static int hf_lustre_mdt_rec_setattr_sa_cap = -1;
530 static int hf_lustre_mdt_rec_setattr_sa_fsuid = -1;
531 static int hf_lustre_mdt_rec_setattr_sa_fsuid_h = -1;
532 static int hf_lustre_mdt_rec_setattr_sa_fsgid = -1;
533 static int hf_lustre_mdt_rec_setattr_sa_fsgid_h = -1;
534 static int hf_lustre_mdt_rec_setattr_sa_suppgid = -1;
535 static int hf_lustre_mdt_rec_setattr_sa_suppgid_h = -1;
536 static int hf_lustre_mdt_rec_setattr_sa_padding_1 = -1;
537 static int hf_lustre_mdt_rec_setattr_sa_padding_1_h = -1;
538 static int hf_lustre_mdt_rec_setattr_sa_fid = -1;
539 static int hf_lustre_mdt_rec_setattr_sa_valid = -1;
540 static int hf_lustre_mdt_rec_setattr_sa_uid = -1;
541 static int hf_lustre_mdt_rec_setattr_sa_gid = -1;
542 static int hf_lustre_mdt_rec_setattr_sa_size = -1;
543 static int hf_lustre_mdt_rec_setattr_sa_blocks = -1;
544 static int hf_lustre_mdt_rec_setattr_sa_mtime = -1;
545 static int hf_lustre_mdt_rec_setattr_sa_atime = -1;
546 static int hf_lustre_mdt_rec_setattr_sa_ctime = -1;
547 static int hf_lustre_mdt_rec_setattr_sa_attr_flags = -1;
548 static int hf_lustre_mdt_rec_setattr_sa_mode = -1;
549 static int hf_lustre_mdt_rec_setattr_sa_padding_2 = -1;
550 static int hf_lustre_mdt_rec_setattr_sa_padding_3 = -1;
551 static int hf_lustre_mdt_rec_setattr_sa_padding_4 = -1;
552 static int hf_lustre_mdt_rec_setattr_sa_padding_5 = -1;
554 static int hf_lustre_mdt_rec_create = -1 ;
555 static int hf_lustre_mdt_rec_create_cr_opcode = -1;
556 static int hf_lustre_mdt_rec_create_cr_cap = -1;
557 static int hf_lustre_mdt_rec_create_cr_fsuid = -1;
558 static int hf_lustre_mdt_rec_create_cr_fsuid_h = -1;
559 static int hf_lustre_mdt_rec_create_cr_fsgid = -1;
560 static int hf_lustre_mdt_rec_create_cr_fsgid_h = -1;
561 static int hf_lustre_mdt_rec_create_cr_suppgid1 = -1;
562 static int hf_lustre_mdt_rec_create_cr_suppgid1_h = -1;
563 static int hf_lustre_mdt_rec_create_cr_suppgid2 = -1;
564 static int hf_lustre_mdt_rec_create_cr_suppgid2_h = -1;
565 static int hf_lustre_mdt_rec_create_cr_fid1 = -1;
566 static int hf_lustre_mdt_rec_create_cr_fid2 = -1;
567 static int hf_lustre_mdt_rec_create_cr_old_handle = -1;
568 static int hf_lustre_mdt_rec_create_cr_time = -1;
569 static int hf_lustre_mdt_rec_create_cr_rdev = -1;
570 static int hf_lustre_mdt_rec_create_cr_ioepoch = -1;
571 static int hf_lustre_mdt_rec_create_cr_padding_1 = -1;
572 static int hf_lustre_mdt_rec_create_cr_mode = -1;
573 static int hf_lustre_mdt_rec_create_cr_bias = -1;
574 static int hf_lustre_mdt_rec_create_cr_flags_l = -1;
575 static int hf_lustre_mdt_rec_create_cr_flags_h = -1;
576 static int hf_lustre_mdt_rec_create_cr_umask = -1;
577 static int hf_lustre_mdt_rec_create_cr_padding_4 = -1;
579 static int hf_lustre_mdt_rec_link = -1 ;
580 static int hf_lustre_mdt_rec_link_lk_opcode = -1;
581 static int hf_lustre_mdt_rec_link_lk_cap = -1;
582 static int hf_lustre_mdt_rec_link_lk_fsuid = -1;
583 static int hf_lustre_mdt_rec_link_lk_fsuid_h = -1;
584 static int hf_lustre_mdt_rec_link_lk_fsgid = -1;
585 static int hf_lustre_mdt_rec_link_lk_fsgid_h = -1;
586 static int hf_lustre_mdt_rec_link_lk_suppgid1 = -1;
587 static int hf_lustre_mdt_rec_link_lk_suppgid1_h = -1;
588 static int hf_lustre_mdt_rec_link_lk_suppgid2 = -1;
589 static int hf_lustre_mdt_rec_link_lk_suppgid2_h = -1;
590 static int hf_lustre_mdt_rec_link_lk_fid1 = -1;
591 static int hf_lustre_mdt_rec_link_lk_fid2 = -1;
592 static int hf_lustre_mdt_rec_link_lk_time = -1;
593 static int hf_lustre_mdt_rec_link_lk_padding_1 = -1;
594 static int hf_lustre_mdt_rec_link_lk_padding_2 = -1;
595 static int hf_lustre_mdt_rec_link_lk_padding_3 = -1;
596 static int hf_lustre_mdt_rec_link_lk_padding_4 = -1;
597 static int hf_lustre_mdt_rec_link_lk_bias = -1;
598 static int hf_lustre_mdt_rec_link_lk_padding_5 = -1;
599 static int hf_lustre_mdt_rec_link_lk_padding_6 = -1;
600 static int hf_lustre_mdt_rec_link_lk_padding_7 = -1;
601 static int hf_lustre_mdt_rec_link_lk_padding_8 = -1;
602 static int hf_lustre_mdt_rec_link_lk_padding_9 = -1;
604 static int hf_lustre_mdt_rec_unlink = -1 ;
605 static int hf_lustre_mdt_rec_unlink_ul_opcode = -1;
606 static int hf_lustre_mdt_rec_unlink_ul_cap = -1;
607 static int hf_lustre_mdt_rec_unlink_ul_fsuid = -1;
608 static int hf_lustre_mdt_rec_unlink_ul_fsuid_h = -1;
609 static int hf_lustre_mdt_rec_unlink_ul_fsgid = -1;
610 static int hf_lustre_mdt_rec_unlink_ul_fsgid_h = -1;
611 static int hf_lustre_mdt_rec_unlink_ul_suppgid1 = -1;
612 static int hf_lustre_mdt_rec_unlink_ul_suppgid1_h = -1;
613 static int hf_lustre_mdt_rec_unlink_ul_suppgid2 = -1;
614 static int hf_lustre_mdt_rec_unlink_ul_suppgid2_h = -1;
615 static int hf_lustre_mdt_rec_unlink_ul_fid1 = -1;
616 static int hf_lustre_mdt_rec_unlink_ul_fid2 = -1;
617 static int hf_lustre_mdt_rec_unlink_ul_time = -1;
618 static int hf_lustre_mdt_rec_unlink_ul_padding_2 = -1;
619 static int hf_lustre_mdt_rec_unlink_ul_padding_3 = -1;
620 static int hf_lustre_mdt_rec_unlink_ul_padding_4 = -1;
621 static int hf_lustre_mdt_rec_unlink_ul_padding_5 = -1;
622 static int hf_lustre_mdt_rec_unlink_ul_bias = -1;
623 static int hf_lustre_mdt_rec_unlink_ul_mode = -1;
624 static int hf_lustre_mdt_rec_unlink_ul_padding_6 = -1;
625 static int hf_lustre_mdt_rec_unlink_ul_padding_7 = -1;
626 static int hf_lustre_mdt_rec_unlink_ul_padding_8 = -1;
627 static int hf_lustre_mdt_rec_unlink_ul_padding_9 = -1;
629 static int hf_lustre_mdt_rec_rename = -1 ;
630 static int hf_lustre_mdt_rec_rename_rn_opcode = -1;
631 static int hf_lustre_mdt_rec_rename_rn_cap = -1;
632 static int hf_lustre_mdt_rec_rename_rn_fsuid = -1;
633 static int hf_lustre_mdt_rec_rename_rn_fsuid_h = -1;
634 static int hf_lustre_mdt_rec_rename_rn_fsgid = -1;
635 static int hf_lustre_mdt_rec_rename_rn_fsgid_h = -1;
636 static int hf_lustre_mdt_rec_rename_rn_suppgid1 = -1;
637 static int hf_lustre_mdt_rec_rename_rn_suppgid1_h = -1;
638 static int hf_lustre_mdt_rec_rename_rn_suppgid2 = -1;
639 static int hf_lustre_mdt_rec_rename_rn_suppgid2_h = -1;
640 static int hf_lustre_mdt_rec_rename_rn_fid1 = -1;
641 static int hf_lustre_mdt_rec_rename_rn_fid2 = -1;
642 static int hf_lustre_mdt_rec_rename_rn_time = -1;
643 static int hf_lustre_mdt_rec_rename_rn_padding_1 = -1;
644 static int hf_lustre_mdt_rec_rename_rn_padding_2 = -1;
645 static int hf_lustre_mdt_rec_rename_rn_padding_3 = -1;
646 static int hf_lustre_mdt_rec_rename_rn_padding_4 = -1;
647 static int hf_lustre_mdt_rec_rename_rn_bias = -1;
648 static int hf_lustre_mdt_rec_rename_rn_mode = -1;
649 static int hf_lustre_mdt_rec_rename_rn_padding_5 = -1;
650 static int hf_lustre_mdt_rec_rename_rn_padding_6 = -1;
651 static int hf_lustre_mdt_rec_rename_rn_padding_7 = -1;
652 static int hf_lustre_mdt_rec_rename_rn_padding_8 = -1;
654 static int hf_lustre_mdt_rec_setxattr = -1 ;
655 static int hf_lustre_mdt_rec_setxattr_sx_opcode = -1;
656 static int hf_lustre_mdt_rec_setxattr_sx_cap = -1;
657 static int hf_lustre_mdt_rec_setxattr_sx_fsuid = -1;
658 static int hf_lustre_mdt_rec_setxattr_sx_fsuid_h = -1;
659 static int hf_lustre_mdt_rec_setxattr_sx_fsgid = -1;
660 static int hf_lustre_mdt_rec_setxattr_sx_fsgid_h = -1;
661 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1 = -1;
662 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1_h = -1;
663 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2 = -1;
664 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2_h = -1;
665 static int hf_lustre_mdt_rec_setxattr_sx_fid = -1;
666 static int hf_lustre_mdt_rec_setxattr_sx_padding_1 = -1;
667 static int hf_lustre_mdt_rec_setxattr_sx_padding_2 = -1;
668 static int hf_lustre_mdt_rec_setxattr_sx_padding_3 = -1;
669 static int hf_lustre_mdt_rec_setxattr_sx_valid = -1;
670 static int hf_lustre_mdt_rec_setxattr_sx_time = -1;
671 static int hf_lustre_mdt_rec_setxattr_sx_padding_5 = -1;
672 static int hf_lustre_mdt_rec_setxattr_sx_padding_6 = -1;
673 static int hf_lustre_mdt_rec_setxattr_sx_padding_7 = -1;
674 static int hf_lustre_mdt_rec_setxattr_sx_size = -1;
675 static int hf_lustre_mdt_rec_setxattr_sx_flags = -1;
676 static int hf_lustre_mdt_rec_setxattr_sx_padding_8 = -1;
677 static int hf_lustre_mdt_rec_setxattr_sx_padding_9 = -1;
678 static int hf_lustre_mdt_rec_setxattr_sx_padding_10 = -1;
679 static int hf_lustre_mdt_rec_setxattr_sx_padding_11 = -1;
681 static int hf_lustre_seq_opc = -1;
682 static int hf_lustre_seq_range = -1;
683 static int hf_lustre_seq_range_start = -1;
684 static int hf_lustre_seq_range_end = -1;
685 static int hf_lustre_seq_range_index = -1;
686 static int hf_lustre_seq_range_flags = -1;
688 static int hf_lustre_fld_opc = -1;
689 static int hf_lustre_fld_range = -1;
690 static int hf_lustre_fld_range_start = -1;
691 static int hf_lustre_fld_range_end = -1;
692 static int hf_lustre_fld_range_index = -1;
693 static int hf_lustre_fld_range_flags = -1;
695 static int hf_lustre_mdt_ioepoch = -1;
696 static int hf_lustre_mdt_ioepoch_handle = -1;
697 static int hf_lustre_mdt_ioepoch_ioepoch = -1;
698 static int hf_lustre_mdt_ioepoch_flags = -1;
699 static int hf_lustre_mdt_ioepoch_padding = -1;
701 static int hf_lustre_capa = -1;
702 static int hf_lustre_capa_fid = -1;
703 static int hf_lustre_capa_opc = -1;
704 static int hf_lustre_capa_uid = -1;
705 static int hf_lustre_capa_gid = -1;
706 static int hf_lustre_capa_flags = -1;
707 static int hf_lustre_capa_keyid = -1;
708 static int hf_lustre_capa_timeout = -1;
709 static int hf_lustre_capa_expiry = -1;
710 static int hf_lustre_capa_hmac = -1;
712 static int hf_lustre_acl = -1;
714 static int hf_lustre_lustre_handle_cookie = -1;
715 static int hf_lustre_ptlrpc_body_pb_last_committed = -1;
716 static int hf_lustre_ptlrpc_body_pb_version = -1;
717 static int hf_lustre_lustre_msg_v1_lm_bufcount = -1;
718 static int hf_lustre_obd_ioobj_ioo_id = -1;
719 static int hf_lustre_ptlrpc_body_pb_slv = -1;
720 static int hf_lustre_ptlrpc_body_pb_pre_version = -1;
721 static int hf_lustre_ptlrpc_body_pb_padding = -1;
722 static int hf_lustre_ptlrpc_body_pb_jobid = -1;
723 static int hf_lustre_lustre_msg_v1_lm_handle = -1;
724 static int hf_lustre_ost_lvb_lvb_atime = -1;
725 static int hf_lustre_ptlrpc_body_pb_timeout = -1;
726 static int hf_lustre_obd_statfs_os_bavail = -1;
727 static int hf_lustre_obd_statfs_os_bsize = -1;
728 static int hf_lustre_lustre_msg_v2_lm_repsize = -1;
729 static int hf_lustre_lov_mds_md_v1_lmm_stripe_size = -1;
730 static int hf_lustre_lustre_msg_v1_lm_last_xid = -1;
731 static int hf_lustre_ll_fid_f_type = -1;
732 static int hf_lustre_lustre_msg_v2_lm_cksum = -1;
733 static int hf_lustre_lustre_msg_v2_lm_buflens = -1;
734 static int hf_lustre_lustre_msg_v1_lm_status = -1;
735 static int hf_lustre_lustre_msg_v1_lm_type = -1;
736 static int hf_lustre_niobuf_remote_len = -1;
737 static int hf_lustre_lov_mds_md_v1_lmm_magic = -1;
738 static int hf_lustre_ptlrpc_body_pb_op_flags = -1;
739 static int hf_lustre_ost_lvb_lvb_ctime = -1;
740 static int hf_lustre_ptlrpc_body_pb_type = -1;
741 static int hf_lustre_obd_connect_data_ocd_nllg = -1;
742 static int hf_lustre_obd_connect_data_ocd_nllu = -1;
743 static int hf_lustre_ll_fid_generation = -1;
744 static int hf_lustre_ost_lvb_lvb_mtime = -1;
745 static int hf_lustre_obd_connect_data_ocd_ibits_known = -1;
746 static int hf_lustre_lustre_msg_v2_lm_padding_3 = -1;
747 static int hf_lustre_ptlrpc_body_pb_flags = -1;
748 static int hf_lustre_obd_statfs_os_spare4 = -1;
749 static int hf_lustre_obd_connect_data_ocd_group = -1;
750 static int hf_lustre_lov_ost_data_v1_l_object_seq = -1;
751 static int hf_lustre_lov_mds_md_v1_lmm_object_seq = -1;
752 static int hf_lustre_obd_connect_data_ocd_brw_size = -1;
753 static int hf_lustre_ptlrpc_body_pb_limit = -1;
754 static int hf_lustre_obd_statfs_os_maxbytes = -1;
755 static int hf_lustre_obd_statfs_os_spare5 = -1;
756 static int hf_lustre_lustre_msg_v2_lm_flags = -1;
757 static int hf_lustre_obd_statfs_os_ffree = -1;
758 static int hf_lustre_obd_statfs_os_files = -1;
759 static int hf_lustre_lov_mds_md_v1_lmm_stripe_count = -1;
760 static int hf_lustre_lustre_msg_v1_lm_flags = -1;
761 static int hf_lustre_lustre_msg_v1_lm_last_committed = -1;
762 static int hf_lustre_obd_statfs_os_spare9 = -1;
763 static int hf_lustre_obd_connect_data_ocd_index = -1;
764 static int hf_lustre_opnum = -1;
765 static int hf_lustre_lustre_msg_v1_lm_buflens = -1;
766 static int hf_lustre_obd_statfs_os_spare1 = -1;
767 static int hf_lustre_obd_statfs_os_spare8 = -1;
768 static int hf_lustre_lustre_msg_v1_lm_conn_cnt = -1;
769 static int hf_lustre_ptlrpc_body_pb_transno = -1;
770 static int hf_lustre_ptlrpc_body_pb_service_time = -1;
771 static int hf_lustre_ptlrpc_body_pb_conn_cnt = -1;
772 static int hf_lustre_ptlrpc_body_pb_opc = -1;
773 static int hf_lustre_obd_connect_data_ocd_connect_flags = -1;
774 static int hf_lustre_lov_ost_data_v1_l_object_id = -1;
775 static int hf_lustre_lov_ost_data_v1_l_ost_gen = -1;
776 static int hf_lustre_obd_statfs_os_bfree = -1;
777 static int hf_lustre_obd_connect_data_ocd_version = -1;
778 static int hf_lustre_lov_mds_md_v1_lmm_objects = -1;
779 static int hf_lustre_obd_statfs_os_namelen = -1;
780 static int hf_lustre_obd_statfs_os_blocks = -1;
781 static int hf_lustre_lustre_msg_v2_lm_secflvr = -1;
782 static int hf_lustre_lustre_msg_v1_lm_transno = -1;
783 static int hf_lustre_lov_mds_md_v1_lmm_pattern = -1;
784 static int hf_lustre_lustre_msg_v1_lm_opc = -1;
785 static int hf_lustre_obd_connect_data_ocd_grant = -1;
786 static int hf_lustre_obd_ioobj_ioo_bufcnt = -1;
787 static int hf_lustre_lustre_msg_v1_lm_version = -1;
788 static int hf_lustre_obd_statfs_os_spare7 = -1;
789 static int hf_lustre_obd_statfs_os_fsid = -1;
790 static int hf_lustre_obd_connect_data_ocd_cksum_types = -1;
791 static int hf_lustre_ost_lvb_lvb_size = -1;
792 static int hf_lustre_obd_statfs_os_type = -1;
793 static int hf_lustre_obd_statfs_os_spare6 = -1;
794 static int hf_lustre_obd_statfs_os_state = -1;
795 static int hf_lustre_obd_statfs_os_spare3 = -1;
796 static int hf_lustre_lustre_msg_v2_lm_magic = -1;
797 static int hf_lustre_lov_mds_md_v1_lmm_object_id = -1;
798 static int hf_lustre_ptlrpc_body_pb_last_seen = -1;
799 static int hf_lustre_obd_ioobj_ioo_max_brw = -1;
800 static int hf_lustre_ptlrpc_body_pb_last_xid = -1;
801 static int hf_lustre_ptlrpc_body_pb_status = -1;
802 static int hf_lustre_niobuf_remote_flags = -1;
803 static int hf_lustre_ll_fid_id = -1;
804 static int hf_lustre_ost_lvb_lvb_blocks = -1;
805 static int hf_lustre_lustre_msg_v2_lm_padding_2 = -1;
806 static int hf_lustre_obd_connect_data_padding1 = -1;
807 static int hf_lustre_lov_ost_data_v1_l_ost_idx = -1;
808 static int hf_lustre_obd_connect_data_padding2 = -1;
809 static int hf_lustre_obd_ioobj_ioo_seq = -1;
810 static int hf_lustre_niobuf_remote_offset=-1;
811 static int hf_lustre_obd_statfs_os_spare2 = -1;
812 static int hf_lustre_lustre_msg_v2_lm_bufcount = -1;
813 static int hf_lustre_ptlrpc_body_pb_handle = -1;
814 static int hf_lustre_obd_connect_data_ocd_transno = -1;
815 static int hf_lustre_lustre_msg_v1_lm_magic = -1;
816 static int hf_lustre_llog_unlink_rec_lur_tail = -1;
817 static int hf_lustre_llog_size_change_rec_lsc_io_epoch = -1;
818 static int hf_lustre_mgs_target_info_mti_flags = -1;
819 static int hf_lustre_ldlm_reply_lock_policy_res1 = -1;
820 static int hf_lustre_llogd_body_lgd_len = -1;
821 static int hf_lustre_qunit_data_old_qd_id = -1;
822 static int hf_lustre_llog_logid_rec_padding1 = -1;
823 static int hf_lustre_quota_adjust_qunit_padding1 = -1;
824 static int hf_lustre_llog_size_change_rec_lsc_fid = -1;
825 static int hf_lustre_llog_rec_hdr_padding = -1;
826 static int hf_lustre_obdo_o_nlink = -1;
827 static int hf_lustre_ldlm_extent_gid = -1;
828 static int hf_lustre_obdo_o_uid = -1;
829 static int hf_lustre_obdo_o_valid = -1;
830 static int hf_lustre_ldlm_reply_lock_flags = -1;
831 static int hf_lustre_obdo_o_misc = -1;
833 static int hf_lustre_ldlm_request_lock_handle = -1;
834 static int hf_lustre_llog_logid_lgl_oid = -1;
835 static int hf_lustre_ldlm_inodebits_bits = -1;
836 static int hf_lustre_llog_log_hdr_llh_count = -1;
837 static int hf_lustre_llog_gen_rec_lgr_tail = -1;
838 static int hf_lustre_llog_catid_lci_padding3 = -1;
839 static int hf_lustre_qunit_data_qd_qunit = -1;
840 static int hf_lustre_llog_setattr_rec_padding = -1;
841 static int hf_lustre_llog_cookie_lgc_lgl = -1;
842 static int hf_lustre_obd_quotactl_qc_dqinfo = -1;
843 static int hf_lustre_llog_log_hdr_llh_bitmap = -1;
844 static int hf_lustre_obd_quotactl_qc_stat = -1;
845 static int hf_lustre_qunit_data_old2_qd_id = -1;
846 static int hf_lustre_llog_logid_rec_padding2 = -1;
847 static int hf_lustre_llog_logid_rec_padding5 = -1;
848 static int hf_lustre_ldlm_intent_opc = -1;
849 static int hf_lustre_llog_rec_hdr_lrh_type = -1;
850 static int hf_lustre_llog_rec_hdr_lrh_len = -1;
851 static int hf_lustre_llog_setattr_rec_lsr_uid = -1;
852 static int hf_lustre_lov_desc_ld_padding_1 = -1;
853 static int hf_lustre_obdo_o_padding_4 = -1;
854 static int hf_lustre_mgs_target_info_padding = -1;
855 static int hf_lustre_obd_quotactl_qc_dqblk = -1;
856 static int hf_lustre_llogd_conn_body_lgdc_gen = -1;
857 static int hf_lustre_llog_log_hdr_llh_tail = -1;
858 static int hf_lustre_obdo_o_size = -1;
859 static int hf_lustre_ldlm_extent_start = -1;
860 static int hf_lustre_llog_size_change_rec_lsc_hdr = -1;
861 static int hf_lustre_llog_logid_lgl_oseq = -1;
862 static int hf_lustre_llog_cookie_lgc_padding = -1;
863 static int hf_lustre_qunit_data_old_qd_type = -1;
864 static int hf_lustre_ldlm_flock_blocking_export = -1;
865 static int hf_lustre_lov_desc_ld_pattern = -1;
866 static int hf_lustre_qunit_data_qd_id = -1;
867 static int hf_lustre_mgs_target_info_mti_fsname = -1;
868 static int hf_lustre_ldlm_request_lock_flags = -1;
869 static int hf_lustre_obdo_o_mode = -1;
870 static int hf_lustre_mgs_target_info_mti_svname = -1;
871 static int hf_lustre_llogd_body_lgd_logid = -1;
872 static int hf_lustre_llog_log_hdr_llh_size = -1;
873 static int hf_lustre_obdo_o_handle = -1;
874 static int hf_lustre_obdo_o_atime = -1;
875 static int hf_lustre_quota_adjust_qunit_qaq_id = -1;
876 static int hf_lustre_ldlm_lock_desc_l_policy_data = -1;
877 static int hf_lustre_obd_quotactl_qc_cmd = -1;
878 static int hf_lustre_qunit_data_padding = -1;
879 static int hf_lustre_quota_adjust_qunit_qaq_flags = -1;
880 static int hf_lustre_ldlm_lock_desc_l_granted_mode = -1;
881 static int hf_lustre_obdo_o_seq = -1;
882 static int hf_lustre_obdo_o_gid = -1;
883 static int hf_lustre_llog_catid_lci_logid = -1;
884 static int hf_lustre_llog_rec_tail_lrt_index = -1;
885 static int hf_lustre_lov_desc_ld_default_stripe_count = -1;
886 static int hf_lustre_ldlm_resource_desc_lr_padding = -1;
887 static int hf_lustre_cfg_marker_cm_vers = -1;
888 static int hf_lustre_llog_unlink_rec_lur_hdr = -1;
889 static int hf_lustre_llogd_body_lgd_index = -1;
890 static int hf_lustre_cfg_marker_cm_tgtname = -1;
891 static int hf_lustre_llog_setattr_rec_lsr_ogen = -1;
892 static int hf_lustre_llog_logid_rec_lid_hdr = -1;
893 static int hf_lustre_obdo_o_ioepoch = -1;
894 static int hf_lustre_ost_body_oa = -1;
895 static int hf_lustre_llog_logid_rec_padding3 = -1;
896 static int hf_lustre_llog_log_hdr_llh_flags = -1;
897 static int hf_lustre_llog_setattr_rec_lsr_oid = -1;
898 static int hf_lustre_llog_size_change_rec_padding = -1;
899 static int hf_lustre_mgs_target_info_mti_config_ver = -1;
900 static int hf_lustre_cfg_marker_cm_createtime = -1;
901 static int hf_lustre_qunit_data_old_qd_count = -1;
902 static int hf_lustre_llog_catid_lci_padding1 = -1;
903 static int hf_lustre_lov_desc_ld_active_tgt_count = -1;
904 static int hf_lustre_obdo_o_lcookie = -1;
905 static int hf_lustre_llog_gen_rec_lgr_gen = -1;
906 static int hf_lustre_obdo_o_id = -1;
907 static int hf_lustre_mgs_target_info_mti_uuid = -1;
908 static int hf_lustre_llog_rec_hdr_lrh_index = -1;
909 static int hf_lustre_llog_setattr_rec_lsr_hdr = -1;
910 static int hf_lustre_mgs_target_info_mti_stripe_index = -1;
911 static int hf_lustre_llog_gen_conn_cnt = -1;
912 static int hf_lustre_obdo_o_padding_6 = -1;
913 static int hf_lustre_llog_cookie_lgc_index = -1;
914 static int hf_lustre_lov_desc_ld_uuid = -1;
915 static int hf_lustre_ldlm_reply_lock_desc = -1;
916 static int hf_lustre_lov_desc_ld_padding_0 = -1;
917 static int hf_lustre_llog_unlink_rec_lur_ogen = -1;
918 static int hf_lustre_cfg_marker_cm_flags = -1;
919 static int hf_lustre_obdo_o_padding_3 = -1;
920 static int hf_lustre_ldlm_request_lock_desc = -1;
921 static int hf_lustre_obdo_o_flags = -1;
922 static int hf_lustre_mgs_target_info_mti_params = -1;
923 static int hf_lustre_llog_logid_lgl_ogen = -1;
924 static int hf_lustre_cfg_marker_cm_comment = -1;
925 static int hf_lustre_llog_unlink_rec_lur_oid = -1;
926 static int hf_lustre_qunit_data_qd_count = -1;
927 static int hf_lustre_obdo_o_mtime = -1;
928 static int hf_lustre_obdo_o_blksize = -1;
929 static int hf_lustre_ldlm_res_id_name = -1;
930 static int hf_lustre_ldlm_reply_lock_handle = -1;
931 static int hf_lustre_llogd_body_lgd_saved_index = -1;
932 static int hf_lustre_qunit_data_old_qd_isblk = -1;
933 static int hf_lustre_obdo_o_blocks = -1;
934 static int hf_lustre_lov_desc_ld_padding_2 = -1;
935 static int hf_lustre_llog_logid_rec_lid_tail = -1;
936 static int hf_lustre_obdo_o_grant = -1;
937 static int hf_lustre_obdo_o_uid_h = -1;
938 static int hf_lustre_obdo_o_gid_h = -1;
939 static int hf_lustre_quota_adjust_qunit_qaq_iunit_sz = -1;
940 static int hf_lustre_llog_unlink_rec_padding = -1;
941 static int hf_lustre_ldlm_lock_desc_l_req_mode = -1;
942 static int hf_lustre_ldlm_extent_end = -1;
943 static int hf_lustre_llog_gen_rec_lgr_hdr = -1;
944 static int hf_lustre_llogd_body_lgd_llh_flags = -1;
945 static int hf_lustre_llog_log_hdr_llh_cat_idx = -1;
946 static int hf_lustre_llog_log_hdr_llh_bitmap_offset=-1;
947 static int hf_lustre_ldlm_reply_lock_padding = -1;
948 static int hf_lustre_obd_quotactl_qc_id = -1;
949 static int hf_lustre_llog_logid_rec_padding4 = -1;
950 static int hf_lustre_llog_setattr_rec_lsr_gid = -1;
951 static int hf_lustre_obd_quotactl_qc_type = -1;
952 static int hf_lustre_cfg_marker_padding = -1;
953 static int hf_lustre_mgs_target_info_mti_nids = -1;
954 static int hf_lustre_obdo_o_stripe_idx = -1;
955 static int hf_lustre_llogd_conn_body_lgdc_logid = -1;
956 static int hf_lustre_ldlm_flock_blocking_pid = -1;
957 static int hf_lustre_lov_desc_ld_tgt_count = -1;
958 static int hf_lustre_llogd_body_lgd_cur_offset=-1;
959 static int hf_lustre_qunit_data_old2_qd_count = -1;
960 static int hf_lustre_qunit_data_old2_qd_flags = -1;
961 static int hf_lustre_ldlm_flock_start = -1;
962 static int hf_lustre_quota_adjust_qunit_qaq_bunit_sz = -1;
963 static int hf_lustre_ldlm_flock_pid = -1;
964 static int hf_lustre_lov_desc_ld_default_stripe_size = -1;
965 static int hf_lustre_llog_log_hdr_llh_tgtuuid = -1;
966 static int hf_lustre_cfg_marker_cm_step = -1;
967 static int hf_lustre_mgs_send_param_mgs_param = -1;
968 static int hf_lustre_lov_desc_ld_default_stripe_offset=-1;
969 static int hf_lustre_ldlm_resource_desc_lr_name = -1;
970 static int hf_lustre_llog_rec_tail_lrt_len = -1;
971 static int hf_lustre_llog_log_hdr_llh_timestamp = -1;
972 static int hf_lustre_llog_catid_lci_padding2 = -1;
973 static int hf_lustre_llogd_conn_body_lgdc_ctxt_idx = -1;
974 static int hf_lustre_cfg_marker_cm_canceltime = -1;
975 static int hf_lustre_mgs_target_info_mti_lustre_ver = -1;
976 static int hf_lustre_obdo_o_parent_ver = -1;
977 static int hf_lustre_qunit_data_qd_flags = -1;
978 static int hf_lustre_llog_logid_rec_lid_id = -1;
979 static int hf_lustre_obdo_o_parent_oid = -1;
980 static int hf_lustre_llog_gen_mnt_cnt = -1;
981 static int hf_lustre_llog_size_change_rec_lsc_tail = -1;
982 static int hf_lustre_obdo_o_padding_5 = -1;
983 static int hf_lustre_ldlm_lock_desc_l_resource = -1;
984 static int hf_lustre_obdo_o_parent_seq = -1;
985 static int hf_lustre_ldlm_request_lock_count = -1;
986 static int hf_lustre_ldlm_flock_end = -1;
987 static int hf_lustre_mgs_target_info_mti_nid_count = -1;
988 static int hf_lustre_obdo_o_ctime = -1;
989 static int hf_lustre_ldlm_reply_lock_policy_res2 = -1;
990 static int hf_lustre_llogd_body_lgd_ctxt_idx = -1;
991 static int hf_lustre_lov_desc_ld_qos_maxage = -1;
992 static int hf_lustre_ldlm_resource_desc_lr_type = -1;
993 static int hf_lustre_llog_setattr_rec_lsr_tail = -1;
994 static int hf_lustre_llog_cookie_lgc_subsys = -1;
995 static int hf_lustre_llog_log_hdr_llh_hdr = -1;
996 static int hf_lustre_llog_log_hdr_llh_reserved = -1;
998 /* Header field declarations for field from lustre_user.h*/
999 static int hf_lustre_obd_dqinfo_dqi_valid = -1;
1000 static int hf_lustre_obd_dqblk_dqb_isoftlimit = -1;
1001 static int hf_lustre_obd_dqblk_dqb_bhardlimit = -1;
1002 static int hf_lustre_obd_dqblk_dqb_curspace = -1;
1003 static int hf_lustre_obd_dqblk_dqb_itime = -1;
1004 static int hf_lustre_obd_dqblk_dqb_valid = -1;
1005 static int hf_lustre_obd_dqinfo_dqi_igrace = -1;
1006 static int hf_lustre_obd_dqinfo_dqi_bgrace = -1;
1007 static int hf_lustre_obd_dqblk_padding = -1;
1008 static int hf_lustre_obd_dqblk_dqb_curinodes = -1;
1009 static int hf_lustre_obd_dqblk_dqb_bsoftlimit = -1;
1010 static int hf_lustre_obd_dqinfo_dqi_flags = -1;
1011 static int hf_lustre_obd_dqblk_dqb_btime = -1;
1012 static int hf_lustre_obd_dqblk_dqb_ihardlimit = -1;
1013 static int hf_lustre_ldlm_intent_opc_open = -1 ;
1014 static int hf_lustre_ldlm_intent_opc_creat = -1;
1015 static int hf_lustre_ldlm_intent_opc_readdir = -1;
1016 static int hf_lustre_ldlm_intent_opc_getattr = -1;
1017 static int hf_lustre_ldlm_intent_opc_lookup = -1;
1018 static int hf_lustre_ldlm_intent_opc_unlink = -1;
1019 static int hf_lustre_ldlm_intent_opc_getxattr = -1;
1020 static int hf_lustre_ldlm_intent_opc_exec = -1;
1021 static int hf_lustre_ldlm_intent_opc_pin = -1;
1022 static int hf_lustre_llog_hdr_llh_flag_zap_when_empty = -1;
1023 static int hf_lustre_llog_hdr_llh_flag_is_cat = -1;
1024 static int hf_lustre_llog_hdr_llh_flag_is_play = -1;
1025 /* --------------------------------------------------------------------*/
1028 /* proto declaration */
1029 static gint proto_lustre = -1;
1031 typedef int (dissect_func)(
1032 tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree,
1035 static dissect_func dissect_uint64, dissect_uint32, dissect_uint16, dissect_uint8;
1038 #include "lustre_dlm_flags_wshark.c"
1041 static int ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_) ;
1042 static int add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_) ;
1045 /* ======================================================================== */
1046 /*the value_string*/
1047 const value_string lustre_ldlm_opcode[] = {
1048 { IT_OPEN , "IT_OPEN "},
1049 { IT_CREAT , "IT_CREAT "},
1050 { IT_READDIR , "IT_READDIR "},
1051 { IT_GETATTR , "IT_GETATTR "},
1052 { IT_LOOKUP , "IT_LOOKUP "},
1053 { IT_UNLINK , "IT_UNLINK "},
1054 { IT_GETXATTR, "IT_GETXATTR"},
1055 { IT_EXEC , "IT_EXEC "},
1056 { IT_PIN , "IT_PIN "},
1060 const value_string lustre_lov_magic[] = {
1061 { LOV_MAGIC_V1, "LOV_MAGIC_V1" },
1065 const value_string lustre_llog_op_type[] = {
1066 {LLOG_PAD_MAGIC ,"LLOG_PAD_MAGIC "},
1067 {OST_SZ_REC ,"OST_SZ_REC "},
1068 {OST_RAID1_REC ,"OST_RAID1_REC "},
1069 {MDS_UNLINK_REC ,"MDS_UNLINK_REC "},
1070 {MDS_SETATTR_REC ,"MDS_SETATTR_REC "},
1071 {OBD_CFG_REC ,"OBD_CFG_REC "},
1072 {PTL_CFG_REC ,"PTL_CFG_REC "},
1073 {LLOG_GEN_REC ,"LLOG_GEN_REC "},
1074 {LLOG_JOIN_REC ,"LLOG_JOIN_REC "},
1075 {LLOG_HDR_MAGIC ,"LLOG_HDR_MAGIC "},
1076 {LLOG_LOGID_MAGIC ,"LLOG_LOGID_MAGIC"},
1080 const value_string lustre_llog_hdr_llh_flags[]= {
1081 {LLOG_F_ZAP_WHEN_EMPTY , "LLOhdr_llh_G_F_ZAP_WHEN_EMPTY"},
1082 {LLOG_F_IS_CAT , "LLOhdr_llh_G_F_IS_CAT"},
1083 {LLOG_F_IS_PLAIN , "LLOG_F_IS_PLAIN"},
1087 const value_string lustre_mds_flags_vals[] = {
1088 {0x1, "LUSTRE_BFLAG_UNCOMMITTED_WRITES"},
1089 {0x80000000, "LUSTRE_BFLAG_EXT_FLAGS"}, /* == EXT3_RESERVED_FL */
1090 {0x00000008, "LUSTRE_SYNC_FL "}, /* Synchronous updates */
1091 {0x00000010, "LUSTRE_IMMUTABLE_FL "}, /* Immutable file */
1092 {0x00000020, "LUSTRE_APPEND_FL "}, /* writes to file may only append */
1093 {0x00000080, "LUSTRE_NOATIME_FL "}, /* do not update atime */
1094 {0x00010000, "LUSTRE_DIRSYNC_FL "}, /* dirsync behaviour (dir only) */
1098 const value_string lustre_mgs_config_body_types[] = {
1106 const value_string lustre_LMTypes[] = {
1107 { PTL_RPC_MSG_REQUEST, "request"},
1108 { PTL_RPC_MSG_ERR , "error"},
1109 { PTL_RPC_MSG_REPLY , "reply"},
1113 const value_string lustre_mds_reint_t_vals[] = {
1114 { REINT_SETATTR, "REINT_SETATTR" },
1115 { REINT_CREATE, "REINT_CREATE" },
1116 { REINT_LINK, "REINT_LINK" },
1117 { REINT_UNLINK, "REINT_UNLINK" },
1118 { REINT_RENAME, "REINT_RENAME" },
1119 { REINT_OPEN, "REINT_OPEN" },
1120 { REINT_SETXATTR, "REINT_SETXATTR" },
1123 const value_string lustre_op_codes[] = {
1126 {1 , "OST_GETATTR"},
1127 {2 , "OST_SETATTR"},
1131 {6 , "OST_DESTROY"},
1132 {7 , "OST_GET_INFO"},
1133 {8 , "OST_CONNECT"},
1134 {9 , "OST_DISCONNECT"},
1138 {13 , "OST_STATFS"},
1139 {14 , "OST_SAN_READ(deprecated)"},
1140 {15 , "OST_SAN_WRITE(deprecated)"},
1142 {17 , "OST_SET_INFO"},
1143 {18 , "OST_QUOTACHECK"},
1144 {19 , "OST_QUOTACTL"},
1145 {20 , "OST_LAST_OPC"},
1147 {33 , "MDS_GETATTR"},
1148 {34 , "MDS_GETATTR_NAME"},
1151 {37 , "MDS_READPAGE"},
1152 {38 , "MDS_CONNECT"},
1153 {39 , "MDS_DISCONNECT"},
1154 {40 , "MDS_GETSTATUS"},
1155 {41 , "MDS_STATFS"},
1159 {45 , "MDS_DONE_WRITING"},
1160 {46 , "MDS_SET_INFO"},
1161 {47 , "MDS_QUOTACHECK"},
1162 {48 , "MDS_QUOTACTL"},
1163 {49 , "MDS_GETXATTR"},
1164 {50 , "MDS_SETXATTR"},
1165 {51 , "MDS_WRITEPAGE"},
1166 {52 , "MDS_IS_SUBDIR"},
1167 {53 , "MDS_GET_INFO"},
1168 {54 , "MDS_HSM_STATE_GET"},
1169 {55 , "MDS_HSM_STATE_SET"},
1170 {56 , "MDS_HSM_ACTION"},
1171 {57 , "MDS_HSM_PROGRESS"},
1172 {58 , "MDS_HSM_REQUEST"},
1173 {59 , "MDS_HSM_CT_REGISTER"},
1174 {60 , "MDS_HSM_CT_UNREGISTER"},
1175 {61 , "MDS_SWAP_LAYOUTS"},
1176 {62 , "MDS_LAST_OPC"},
1178 {101 , "LDLM_ENQUEUE"},
1179 {102 , "LDLM_CONVERT"},
1180 {103 , "LDLM_CANCEL"},
1181 {104 , "LDLM_BL_CALLBACK"},
1182 {105 , "LDLM_CP_CALLBACK"},
1183 {106 , "LDLM_GL_CALLBACK"},
1184 {107 , "LDLM_LAST_OPC"},
1186 {250 , "MGS_CONNECT"},
1187 {251 , "MGS_DISCONNECT"},
1188 {252 , "MGS_EXCEPTION"},
1189 {253 , "MGS_TARGET_REG"},
1190 {254 , "MGS_TARGET_DEL"},
1191 {255 , "MGS_SET_INFO"},
1192 {256 , "MGS_CONFIG_READ"},
1193 {257 , "MGS_LAST_OPC"},
1196 {401 , "OBD_LOG_CANCEL"},
1197 {402 , "OBD_QC_CALLBACK"},
1198 {403 , "OBD_LAST_OPC"},
1200 { 501, "LLOG_ORIGIN_HANDLE_CREATE"},
1201 { 502, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK"},
1202 { 503, "LLOG_ORIGIN_HANDLE_READ_HEADER"},
1203 { 504, "LLOG_ORIGIN_HANDLE_WRITE_REC"},
1204 { 505, "LLOG_ORIGIN_HANDLE_CLOSE"},
1205 { 506, "LLOG_ORIGIN_CONNECT"},
1206 { 507, "LLOG_CATINFO"},
1207 { 508, "LLOG_ORIGIN_HANDLE_PREV_BLOCK"},
1208 { 509, "LLOG_ORIGIN_HANDLE_DESTROY"},
1209 /* SEQ RPC opcodes */
1210 { 700, "SEQ_QUERY"},
1211 { 701, "SEQ_LAST_OPC"},
1212 /* FLD RPC opcodes */
1213 { 900, "FLD_QUERY"},
1214 { 901, "FLD_LAST_OPC"},
1217 /*const value_string lustre_ldlm_mode_t_vals[] = {*/
1218 /* { LCK_MINMODE, "MINMODE" },*/
1219 /* { LCK_EX, "EX" },*/
1220 /* { LCK_PW, "PW" },*/
1221 /* { LCK_PR, "PR" },*/
1222 /* { LCK_CW, "CW" },*/
1223 /* { LCK_CR, "CR" },*/
1224 /* { LCK_NL, "NL" },*/
1225 /* { LCK_GROUP, "GROUP" },*/
1229 /* detailled version the information came from : http://wiki.lustre.org/images/e/e5/LustreInternals_Architecture.pdf */
1230 const value_string lustre_ldlm_mode_t_vals[] = {
1231 { LCK_MINMODE, "MINMODE" },
1232 { LCK_EX, "Exclusive" },
1233 { LCK_PW, "Protected Write" },
1234 { LCK_PR, "Protected Read" },
1235 { LCK_CW, "Concurrent Write" },
1236 { LCK_CR, "Concurrent Read" },
1238 { LCK_GROUP, "GROUP" },
1242 const value_string lustre_ldlm_type_t_vals[] = {
1243 { LDLM_PLAIN, "LDLM_PLAIN" },
1244 { LDLM_EXTENT,"LDLM_EXTENT" },
1245 { LDLM_FLOCK, "LDLM_FLOCK" },
1246 { LDLM_IBITS, "LDLM_IBITS" },
1251 const value_string lustre_llog_cmd_t_vals[] = {
1252 { LLOG_ORIGIN_HANDLE_CREATE, "LLOG_ORIGIN_HANDLE_CREATE" },
1253 { LLOG_ORIGIN_HANDLE_NEXT_BLOCK, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK" },
1254 { LLOG_ORIGIN_HANDLE_READ_HEADER, "LLOG_ORIGIN_HANDLE_READ_HEADER" },
1255 { LLOG_ORIGIN_HANDLE_WRITE_REC, "LLOG_ORIGIN_HANDLE_WRITE_REC" },
1256 { LLOG_ORIGIN_HANDLE_CLOSE, "LLOG_ORIGIN_HANDLE_CLOSE" },
1257 { LLOG_ORIGIN_CONNECT, "LLOG_ORIGIN_CONNECT" },
1258 { LLOG_CATINFO, "LLOG_CATINFO" },
1259 { LLOG_ORIGIN_HANDLE_PREV_BLOCK, "LLOG_ORIGIN_HANDLE_PREV_BLOCK" },
1260 { LLOG_ORIGIN_HANDLE_DESTROY, "LLOG_ORIGIN_HANDLE_DESTROY" },
1264 #ifndef ENABLE_STATIC
1265 const gchar version[] = VERSION;
1267 /* Start the functions we need for the plugin stuff */
1270 plugin_register(void)
1272 extern void proto_register_dcerpc_lustre(void);
1274 proto_register_dcerpc_lustre();
1278 plugin_reg_handoff(void)
1280 extern void proto_reg_handoff_lustre(void);
1282 proto_reg_handoff_lustre();
1287 /* ------------------------------------------------------------------- */
1288 /* display functions */
1289 /* ------------------------------------------------------------------- */
1290 /* display str in left corner and in COL */
1291 /* TODO : do we need to use inline here ?*/
1292 /* @gint col : the col where we add the information */
1293 inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
1296 proto_item_append_text(pi, str);
1299 if (check_col(cinfo, col))
1300 col_append_str(cinfo, col, str);
1304 * Need to be (re)written
1306 static void display_info_fstr(proto_item *pi, column_info *cinfo, gint col, const char* format, const gchar * str){
1309 //va_start(ap, format);
1310 proto_item_append_text(pi, format, str);
1315 if (check_col(cinfo, col)){
1317 // va_start(ap, format);
1318 col_append_fstr(cinfo, col, format, str);
1325 /* ------------------------------ basic dissect functions ------------------------ */
1328 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1330 proto_tree_add_item(tree, hfindex, tvb, offset, 8, TRUE);
1336 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1338 proto_tree_add_item(tree, hfindex, tvb, offset, 4, TRUE);
1344 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1346 proto_tree_add_item(tree, hfindex, tvb, offset, 2, TRUE);
1352 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1354 proto_tree_add_item(tree, hfindex, tvb, offset, 1, TRUE);
1357 /* ------------------------------------------------------------------------- */
1359 /* dissect raw data */
1361 lustre_dissect_element_data(tvbuff_t *tvb _U_, int offset _U_,
1362 packet_info *pinfo _U_, proto_tree *parent_tree _U_,
1363 int hf_index _U_, guint32 buf_num)
1365 proto_item *item = NULL;
1370 old_offset = offset;
1372 data_len = LUSTRE_BUFFER_LEN(buf_num);
1376 proto_tree_add_item(parent_tree, hf_index, tvb, offset, data_len, TRUE);
1379 proto_item_set_len(item, offset-old_offset);
1380 offset = add_extra_padding(tvb, offset, pinfo, parent_tree);
1386 lustre_dissect_struct_hmac(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1387 proto_tree *parent_tree _U_, int hf_index _U_, int max_length)
1391 proto_item *item = NULL;
1393 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 0, TRUE);
1394 for (i=0; i < max_length; ++i) {
1395 val = tvb_get_guint8(tvb, offset+i);
1396 proto_item_append_text(item, (i) ? "%02x" : ": %#02x", val);
1399 offset += max_length;
1400 proto_item_set_len(item, max_length);
1404 /* ------------------------------------------------------------------------ */
1408 /* IDL: struct lustre_handle { */
1409 /* IDL: uint64 cookie; */
1413 lustre_dissect_element_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1415 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_handle_cookie);
1421 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_)
1423 proto_item *item = NULL;
1424 proto_tree *tree = NULL;
1430 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1431 tree = proto_item_add_subtree(item, ett_lustre_lustre_handle_cookie);
1434 offset=lustre_dissect_element_handle_cookie(tvb, offset, pinfo, tree);
1437 proto_item_set_len(item, offset-old_offset);
1442 /* IDL: struct obd_connect_data { */
1443 /* IDL: uint64 ocd_connect_flags; */
1444 /* IDL: uint32 ocd_version; */
1445 /* IDL: uint32 ocd_grant; */
1446 /* IDL: uint32 ocd_index; */
1447 /* IDL: uint32 ocd_brw_size; */
1448 /* IDL: uint64 ocd_ibits_known; */
1449 /* IDL: uint32 ocd_nllu; */
1450 /* IDL: uint32 ocd_nllg; */
1451 /* IDL: uint64 ocd_transno; */
1452 /* IDL: uint32 ocd_group; */
1453 /* IDL: uint32 ocd_cksum_types; */
1454 /* IDL: uint64 padding1; */
1455 /* IDL: uint64 padding2; */
1459 lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1461 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_connect_flags);
1467 lustre_dissect_element_obd_connect_data_ocd_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1469 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_version);
1475 lustre_dissect_element_obd_connect_data_ocd_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1477 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_grant);
1483 lustre_dissect_element_obd_connect_data_ocd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1485 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_index);
1491 lustre_dissect_element_obd_connect_data_ocd_brw_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1493 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_brw_size);
1499 lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1501 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_ibits_known);
1507 lustre_dissect_element_obd_connect_data_ocd_nllu(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1509 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllu);
1515 lustre_dissect_element_obd_connect_data_ocd_nllg(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1517 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllg);
1523 lustre_dissect_element_obd_connect_data_ocd_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1525 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_transno);
1531 lustre_dissect_element_obd_connect_data_ocd_group(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1533 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_group);
1539 lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1541 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_cksum_types);
1547 lustre_dissect_element_obd_connect_data_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1549 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding1);
1555 lustre_dissect_element_obd_connect_data_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1557 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding2);
1563 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_)
1565 proto_item *item = NULL;
1566 proto_tree *tree = NULL;
1574 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1575 tree = proto_item_add_subtree(item, ett_lustre_obd_connect_data);
1578 offset=lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvb, offset, pinfo, tree);
1580 offset=lustre_dissect_element_obd_connect_data_ocd_version(tvb, offset, pinfo, tree);
1582 offset=lustre_dissect_element_obd_connect_data_ocd_grant(tvb, offset, pinfo, tree);
1584 offset=lustre_dissect_element_obd_connect_data_ocd_index(tvb, offset, pinfo, tree);
1586 offset=lustre_dissect_element_obd_connect_data_ocd_brw_size(tvb, offset, pinfo, tree);
1588 offset=lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvb, offset, pinfo, tree);
1590 offset=lustre_dissect_element_obd_connect_data_ocd_nllu(tvb, offset, pinfo, tree);
1592 offset=lustre_dissect_element_obd_connect_data_ocd_nllg(tvb, offset, pinfo, tree);
1594 offset=lustre_dissect_element_obd_connect_data_ocd_transno(tvb, offset, pinfo, tree);
1596 offset=lustre_dissect_element_obd_connect_data_ocd_group(tvb, offset, pinfo, tree);
1598 offset=lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvb, offset, pinfo, tree);
1600 offset=lustre_dissect_element_obd_connect_data_padding1(tvb, offset, pinfo, tree);
1602 offset=lustre_dissect_element_obd_connect_data_padding2(tvb, offset, pinfo, tree);
1605 proto_item_set_len(item, offset-old_offset);
1611 /* IDL: struct lov_ost_data_v1 { */
1612 /* IDL: uint64 l_object_id; */
1613 /* IDL: uint64 l_object_seq; */
1614 /* IDL: uint32 l_ost_gen; */
1615 /* IDL: uint32 l_ost_idx; */
1619 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_)
1621 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_id);
1627 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_)
1629 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_seq);
1635 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_)
1637 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_gen);
1643 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_)
1645 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_idx);
1651 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_)
1653 proto_item *item = NULL;
1654 proto_tree *tree = NULL;
1662 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1663 tree = proto_item_add_subtree(item, ett_lustre_lov_ost_data_v1);
1666 offset=lustre_dissect_element_lov_ost_data_v1_l_object_id(tvb, offset, pinfo, tree);
1668 offset=lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvb, offset, pinfo, tree);
1670 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvb, offset, pinfo, tree);
1672 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvb, offset, pinfo, tree);
1675 proto_item_set_len(item, offset-old_offset);
1680 /* IDL: struct lov_mds_md_v1 { */
1681 /* IDL: uint32 lmm_magic; */
1682 /* IDL: uint32 lmm_pattern; */
1683 /* IDL: uint64 lmm_object_id; */
1684 /* IDL: uint64 lmm_object_seq; */
1685 /* IDL: uint32 lmm_stripe_size; */
1686 /* IDL: uint32 lmm_stripe_count; */
1687 /* IDL: struct lov_ost_data_v1 { */
1688 /* IDL: } lmm_objects[0]; <-- en fait on en a lmm_stripe_count */
1692 lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1694 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_magic);
1700 lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1702 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_pattern);
1708 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_)
1710 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_id);
1716 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_)
1718 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_seq);
1724 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_)
1726 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_size);
1732 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_)
1734 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_count);
1740 lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1742 offset=lustre_dissect_struct_lov_ost_data_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1_lmm_objects);
1747 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)
1750 /*g_print("num = %d", num);*/
1751 for (i = 0; i < num; i++){
1752 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvb, offset, pinfo, tree);
1761 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_)
1763 proto_item *item = NULL;
1764 proto_tree *tree = NULL;
1767 guint32 stripe_count ;
1773 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1774 tree = proto_item_add_subtree(item, ett_lustre_lov_mds_md_v1);
1777 offset=lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvb, offset, pinfo, tree);
1779 offset=lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvb, offset, pinfo, tree);
1781 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvb, offset, pinfo, tree);
1783 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvb, offset, pinfo, tree);
1785 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvb, offset, pinfo, tree);
1787 stripe_count = tvb_get_letohl(tvb,offset);
1788 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvb, offset, pinfo, tree);
1790 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvb, offset, pinfo, tree, stripe_count);
1793 proto_item_set_len(item, offset-old_offset);
1799 lustre_dissect_struct_lov_mds_md(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1800 proto_tree *parent_tree _U_,
1801 int hf_index _U_, int buff_num _U_)
1805 if(LUSTRE_BUFFER_LEN(buff_num) == 0)
1808 magic=tvb_get_letohl(tvb, offset); /* TODO : replace this with a macro */
1811 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,parent_tree,
1815 offset=lustre_dissect_element_data(tvb, offset, pinfo, parent_tree,
1816 hf_lustre_extra_padding, buff_num);
1825 /* IDL: struct obd_statfs { */
1826 /* IDL: uint64 os_type; */
1827 /* IDL: uint64 os_blocks; */
1828 /* IDL: uint64 os_bfree; */
1829 /* IDL: uint64 os_bavail; */
1830 /* IDL: uint64 os_files; */
1831 /* IDL: uint64 os_ffree; */
1832 /* IDL: uint8 os_fsid[40]; */
1833 /* IDL: uint32 os_bsize; */
1834 /* IDL: uint32 os_namelen; */
1835 /* IDL: uint64 os_maxbytes; */
1836 /* IDL: uint32 os_state; */
1837 /* IDL: uint32 os_spare1; */
1838 /* IDL: uint32 os_spare2; */
1839 /* IDL: uint32 os_spare3; */
1840 /* IDL: uint32 os_spare4; */
1841 /* IDL: uint32 os_spare5; */
1842 /* IDL: uint32 os_spare6; */
1843 /* IDL: uint32 os_spare7; */
1844 /* IDL: uint32 os_spare8; */
1845 /* IDL: uint32 os_spare9; */
1849 lustre_dissect_element_obd_statfs_os_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1851 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_type);
1857 lustre_dissect_element_obd_statfs_os_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1859 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_blocks);
1865 lustre_dissect_element_obd_statfs_os_bfree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1867 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bfree);
1873 lustre_dissect_element_obd_statfs_os_bavail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1875 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bavail);
1881 lustre_dissect_element_obd_statfs_os_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1883 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_files);
1889 lustre_dissect_element_obd_statfs_os_ffree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1891 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_ffree);
1897 lustre_dissect_element_obd_statfs_os_fsid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1899 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_fsid);
1905 lustre_dissect_element_obd_statfs_os_fsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1908 for (i = 0; i < 40; i++)
1909 offset=lustre_dissect_element_obd_statfs_os_fsid_(tvb, offset, pinfo, tree);
1917 lustre_dissect_element_obd_statfs_os_bsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1919 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bsize);
1925 lustre_dissect_element_obd_statfs_os_namelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1927 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_namelen);
1933 lustre_dissect_element_obd_statfs_os_maxbytes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1935 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_maxbytes);
1941 lustre_dissect_element_obd_statfs_os_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1943 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_state);
1949 lustre_dissect_element_obd_statfs_os_spare1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1951 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare1);
1957 lustre_dissect_element_obd_statfs_os_spare2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1959 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare2);
1965 lustre_dissect_element_obd_statfs_os_spare3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1967 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare3);
1973 lustre_dissect_element_obd_statfs_os_spare4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1975 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare4);
1981 lustre_dissect_element_obd_statfs_os_spare5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1983 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare5);
1989 lustre_dissect_element_obd_statfs_os_spare6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1991 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare6);
1997 lustre_dissect_element_obd_statfs_os_spare7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1999 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare7);
2005 lustre_dissect_element_obd_statfs_os_spare8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2007 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare8);
2013 lustre_dissect_element_obd_statfs_os_spare9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2015 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare9);
2021 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_)
2023 proto_item *item = NULL;
2024 proto_tree *tree = NULL;
2032 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2033 tree = proto_item_add_subtree(item, ett_lustre_obd_statfs);
2036 offset=lustre_dissect_element_obd_statfs_os_type(tvb, offset, pinfo, tree);
2038 offset=lustre_dissect_element_obd_statfs_os_blocks(tvb, offset, pinfo, tree);
2040 offset=lustre_dissect_element_obd_statfs_os_bfree(tvb, offset, pinfo, tree);
2042 offset=lustre_dissect_element_obd_statfs_os_bavail(tvb, offset, pinfo, tree);
2044 offset=lustre_dissect_element_obd_statfs_os_files(tvb, offset, pinfo, tree);
2046 offset=lustre_dissect_element_obd_statfs_os_ffree(tvb, offset, pinfo, tree);
2048 offset=lustre_dissect_element_obd_statfs_os_fsid(tvb, offset, pinfo, tree);
2050 offset=lustre_dissect_element_obd_statfs_os_bsize(tvb, offset, pinfo, tree);
2052 offset=lustre_dissect_element_obd_statfs_os_namelen(tvb, offset, pinfo, tree);
2054 offset=lustre_dissect_element_obd_statfs_os_maxbytes(tvb, offset, pinfo, tree);
2056 offset=lustre_dissect_element_obd_statfs_os_state(tvb, offset, pinfo, tree);
2058 offset=lustre_dissect_element_obd_statfs_os_spare1(tvb, offset, pinfo, tree);
2060 offset=lustre_dissect_element_obd_statfs_os_spare2(tvb, offset, pinfo, tree);
2062 offset=lustre_dissect_element_obd_statfs_os_spare3(tvb, offset, pinfo, tree);
2064 offset=lustre_dissect_element_obd_statfs_os_spare4(tvb, offset, pinfo, tree);
2066 offset=lustre_dissect_element_obd_statfs_os_spare5(tvb, offset, pinfo, tree);
2068 offset=lustre_dissect_element_obd_statfs_os_spare6(tvb, offset, pinfo, tree);
2070 offset=lustre_dissect_element_obd_statfs_os_spare7(tvb, offset, pinfo, tree);
2072 offset=lustre_dissect_element_obd_statfs_os_spare8(tvb, offset, pinfo, tree);
2074 offset=lustre_dissect_element_obd_statfs_os_spare9(tvb, offset, pinfo, tree);
2077 proto_item_set_len(item, offset-old_offset);
2082 /* IDL: struct obd_ioobj { */
2083 /* IDL: uint64 ioo_id; */
2084 /* IDL: uint64 ioo_seq; */
2085 /* IDL: uint32 ioo_max_brw; */
2086 /* IDL: uint32 ioo_bufcnt; */
2090 lustre_dissect_element_obd_ioobj_ioo_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2092 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_id);
2098 lustre_dissect_element_obd_ioobj_ioo_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2100 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_seq);
2106 lustre_dissect_element_obd_ioobj_ioo_max_brw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2108 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_max_brw);
2114 lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2116 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_bufcnt);
2122 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_)
2124 proto_item *item = NULL;
2125 proto_tree *tree = NULL;
2133 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2134 tree = proto_item_add_subtree(item, ett_lustre_obd_ioobj);
2137 offset=lustre_dissect_element_obd_ioobj_ioo_id(tvb, offset, pinfo, tree);
2139 offset=lustre_dissect_element_obd_ioobj_ioo_seq(tvb, offset, pinfo, tree);
2141 offset=lustre_dissect_element_obd_ioobj_ioo_max_brw(tvb, offset, pinfo, tree);
2143 offset=lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvb, offset, pinfo, tree);
2146 proto_item_set_len(item, offset-old_offset);
2151 /* IDL: struct niobuf_remote { */
2152 /* IDL: uint64 offset; */
2153 /* IDL: uint32 len; */
2154 /* IDL: uint32 flags; */
2158 lustre_dissect_element_niobuf_remote_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2160 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_offset);
2166 lustre_dissect_element_niobuf_remote_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2168 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_len);
2174 lustre_dissect_element_niobuf_remote_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2176 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_flags);
2182 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_)
2184 proto_item *item = NULL;
2185 proto_tree *tree = NULL;
2193 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2194 tree = proto_item_add_subtree(item, ett_lustre_niobuf_remote);
2197 offset=lustre_dissect_element_niobuf_remote_offset(tvb, offset, pinfo, tree);
2199 offset=lustre_dissect_element_niobuf_remote_len(tvb, offset, pinfo, tree);
2201 offset=lustre_dissect_element_niobuf_remote_flags(tvb, offset, pinfo, tree);
2204 proto_item_set_len(item, offset-old_offset);
2209 /* IDL: struct ost_lvb { */
2210 /* IDL: uint64 lvb_size; */
2211 /* IDL: uint64 lvb_mtime; */
2212 /* IDL: uint64 lvb_atime; */
2213 /* IDL: uint64 lvb_ctime; */
2214 /* IDL: uint64 lvb_blocks; */
2218 lustre_dissect_element_ost_lvb_lvb_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2220 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_size);
2226 lustre_dissect_element_ost_lvb_lvb_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2230 ns.secs = tvb_get_letohl(tvb,offset);
2232 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_mtime, tvb, offset, 8, &ns );
2238 lustre_dissect_element_ost_lvb_lvb_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2242 ns.secs = tvb_get_letohl(tvb,offset);
2244 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_atime, tvb, offset, 8, &ns );
2251 lustre_dissect_element_ost_lvb_lvb_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2255 ns.secs = tvb_get_letohl(tvb,offset);
2257 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_ctime, tvb, offset, 8, &ns );
2264 lustre_dissect_element_ost_lvb_lvb_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2266 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_blocks);
2272 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_)
2274 proto_item *item = NULL;
2275 proto_tree *tree = NULL;
2283 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2284 tree = proto_item_add_subtree(item, ett_lustre_ost_lvb);
2287 offset=lustre_dissect_element_ost_lvb_lvb_size(tvb, offset, pinfo, tree);
2289 offset=lustre_dissect_element_ost_lvb_lvb_mtime(tvb, offset, pinfo, tree);
2291 offset=lustre_dissect_element_ost_lvb_lvb_atime(tvb, offset, pinfo, tree);
2293 offset=lustre_dissect_element_ost_lvb_lvb_ctime(tvb, offset, pinfo, tree);
2295 offset=lustre_dissect_element_ost_lvb_lvb_blocks(tvb, offset, pinfo, tree);
2298 proto_item_set_len(item, offset-old_offset);
2304 /* IDL: struct ll_fid { */
2305 /* IDL: uint64 id; */
2306 /* IDL: uint32 generation; */
2307 /* IDL: uint32 f_type; */
2311 lustre_dissect_element_ll_fid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2313 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ll_fid_id);
2319 lustre_dissect_element_ll_fid_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2321 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_generation);
2327 lustre_dissect_element_ll_fid_f_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2329 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_f_type);
2335 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_)
2337 proto_item *item = NULL;
2338 proto_tree *tree = NULL;
2344 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2345 tree = proto_item_add_subtree(item, ett_lustre_ll_fid);
2348 offset=lustre_dissect_element_ll_fid_id(tvb, offset, pinfo, tree);
2350 offset=lustre_dissect_element_ll_fid_generation(tvb, offset, pinfo, tree);
2352 offset=lustre_dissect_element_ll_fid_f_type(tvb, offset, pinfo, tree);
2355 proto_item_set_len(item, offset-old_offset);
2360 /* IDL: struct obd_dqinfo { */
2361 /* IDL: uint64 dqi_bgrace; */
2362 /* IDL: uint64 dqi_igrace; */
2363 /* IDL: uint32 dqi_flags; */
2364 /* IDL: uint32 dqi_valid; */
2368 lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2370 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_bgrace);
2376 lustre_dissect_element_obd_dqinfo_dqi_igrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2378 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_igrace);
2384 lustre_dissect_element_obd_dqinfo_dqi_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2386 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_flags);
2392 lustre_dissect_element_obd_dqinfo_dqi_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2394 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_valid);
2400 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_)
2402 proto_item *item = NULL;
2403 proto_tree *tree = NULL;
2408 old_offset = offset;
2411 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2412 tree = proto_item_add_subtree(item, ett_lustre_obd_dqinfo);
2415 offset = lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvb, offset, pinfo, tree);
2417 offset = lustre_dissect_element_obd_dqinfo_dqi_igrace(tvb, offset, pinfo, tree);
2419 offset = lustre_dissect_element_obd_dqinfo_dqi_flags(tvb, offset, pinfo, tree);
2421 offset = lustre_dissect_element_obd_dqinfo_dqi_valid(tvb, offset, pinfo, tree);
2424 proto_item_set_len(item, offset-old_offset);
2429 /* IDL: struct obd_dqblk { */
2430 /* IDL: uint64 dqb_bhardlimit; */
2431 /* IDL: uint64 dqb_bsoftlimit; */
2432 /* IDL: uint64 dqb_curspace; */
2433 /* IDL: uint64 dqb_ihardlimit; */
2434 /* IDL: uint64 dqb_isoftlimit; */
2435 /* IDL: uint64 dqb_curinodes; */
2436 /* IDL: uint64 dqb_btime; */
2437 /* IDL: uint64 dqb_itime; */
2438 /* IDL: uint32 dqb_valid; */
2439 /* IDL: uint32 padding; */
2443 lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2445 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bhardlimit);
2451 lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2453 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bsoftlimit);
2459 lustre_dissect_element_obd_dqblk_dqb_curspace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2461 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curspace);
2467 lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2469 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_ihardlimit);
2475 lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2477 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_isoftlimit);
2483 lustre_dissect_element_obd_dqblk_dqb_curinodes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2485 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curinodes);
2491 lustre_dissect_element_obd_dqblk_dqb_btime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2496 ns.secs = tvb_get_letohl(tvb,offset);
2498 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_btime, tvb, offset, 8, &ns );
2504 lustre_dissect_element_obd_dqblk_dqb_itime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2508 ns.secs = tvb_get_letohl(tvb,offset);
2510 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_itime, tvb, offset, 8, &ns );
2517 lustre_dissect_element_obd_dqblk_dqb_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2519 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_valid);
2525 lustre_dissect_element_obd_dqblk_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2527 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_padding);
2533 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_)
2535 proto_item *item = NULL;
2536 proto_tree *tree = NULL;
2541 old_offset = offset;
2544 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2545 tree = proto_item_add_subtree(item, ett_lustre_obd_dqblk);
2548 offset = lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvb, offset, pinfo, tree);
2550 offset = lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvb, offset, pinfo, tree);
2552 offset = lustre_dissect_element_obd_dqblk_dqb_curspace(tvb, offset, pinfo, tree);
2554 offset = lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvb, offset, pinfo, tree);
2556 offset = lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvb, offset, pinfo, tree);
2558 offset = lustre_dissect_element_obd_dqblk_dqb_curinodes(tvb, offset, pinfo, tree);
2560 offset = lustre_dissect_element_obd_dqblk_dqb_btime(tvb, offset, pinfo, tree);
2562 offset = lustre_dissect_element_obd_dqblk_dqb_itime(tvb, offset, pinfo, tree);
2564 offset = lustre_dissect_element_obd_dqblk_dqb_valid(tvb, offset, pinfo, tree);
2566 offset = lustre_dissect_element_obd_dqblk_padding(tvb, offset, pinfo, tree);
2569 proto_item_set_len(item, offset-old_offset);
2575 /* IDL: struct obd_quotactl { */
2576 /* IDL: uint32 qc_cmd; */
2577 /* IDL: uint32 qc_type; */
2578 /* IDL: uint32 qc_id; */
2579 /* IDL: uint32 qc_stat; */
2580 /* IDL: struct obd_dqinfo { */
2581 /* IDL: } qc_dqinfo; */
2582 /* IDL: struct obd_dqblk { */
2583 /* IDL: } qc_dqblk; */
2587 lustre_dissect_element_obd_quotactl_qc_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2589 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_cmd);
2595 lustre_dissect_element_obd_quotactl_qc_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2597 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_type);
2603 lustre_dissect_element_obd_quotactl_qc_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2605 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_id);
2611 lustre_dissect_element_obd_quotactl_qc_stat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2613 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_stat);
2621 lustre_dissect_element_obd_quotactl_qc_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2623 offset=lustre_dissect_struct_obd_dqblk(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqblk);
2628 lustre_dissect_element_obd_quotactl_qc_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2630 offset=lustre_dissect_struct_obd_dqinfo(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqinfo);
2635 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_)
2637 proto_item *item = NULL;
2638 proto_tree *tree = NULL;
2644 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2645 tree = proto_item_add_subtree(item, ett_lustre_obd_quotactl);
2648 offset=lustre_dissect_element_obd_quotactl_qc_cmd(tvb, offset, pinfo, tree);
2650 offset=lustre_dissect_element_obd_quotactl_qc_type(tvb, offset, pinfo, tree);
2652 offset=lustre_dissect_element_obd_quotactl_qc_id(tvb, offset, pinfo, tree);
2654 offset=lustre_dissect_element_obd_quotactl_qc_stat(tvb, offset, pinfo, tree);
2656 offset=lustre_dissect_element_obd_quotactl_qc_dqinfo(tvb, offset, pinfo, tree);
2658 offset=lustre_dissect_element_obd_quotactl_qc_dqblk(tvb, offset, pinfo, tree);
2661 proto_item_set_len(item, offset-old_offset);
2667 /* IDL: struct quota_adjust_qunit { */
2668 /* IDL: uint32 qaq_flags; */
2669 /* IDL: uint32 qaq_id; */
2670 /* IDL: uint64 qaq_bunit_sz; */
2671 /* IDL: uint64 qaq_iunit_sz; */
2672 /* IDL: uint64 padding1; */
2676 lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2678 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_flags);
2684 lustre_dissect_element_quota_adjust_qunit_qaq_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2686 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_id);
2692 lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2694 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_bunit_sz);
2700 lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2702 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_iunit_sz);
2708 lustre_dissect_element_quota_adjust_qunit_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2710 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_padding1);
2716 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_)
2718 proto_item *item = NULL;
2719 proto_tree *tree = NULL;
2727 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2728 tree = proto_item_add_subtree(item, ett_lustre_quota_adjust_qunit);
2731 offset=lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvb, offset, pinfo, tree);
2733 offset=lustre_dissect_element_quota_adjust_qunit_qaq_id(tvb, offset, pinfo, tree);
2735 offset=lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvb, offset, pinfo, tree);
2737 offset=lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvb, offset, pinfo, tree);
2739 offset=lustre_dissect_element_quota_adjust_qunit_padding1(tvb, offset, pinfo, tree);
2742 proto_item_set_len(item, offset-old_offset);
2747 /* IDL: struct mdt_body { */
2748 /* IDL: struct lu_fid { */
2750 /* IDL: struct lu_fid { */
2752 /* IDL: struct lustre_handle { */
2753 /* IDL: } handle; */
2754 /* IDL: uint64 valid; */
2755 /* IDL: uint64 size; */
2756 /* IDL: uint64 mtime; */
2757 /* IDL: uint64 atime; */
2758 /* IDL: uint64 ctime; */
2759 /* IDL: uint64 blocks; */
2760 /* IDL: uint64 ioepoch; */
2761 /* IDL: uint64 ino; */
2762 /* IDL: uint32 fsuid; */
2763 /* IDL: uint32 fsgid; */
2764 /* IDL: uint32 capability; */
2765 /* IDL: uint32 mode; */
2766 /* IDL: uint32 uid; */
2767 /* IDL: uint32 gid; */
2768 /* IDL: uint32 flags; */
2769 /* IDL: uint32 rdev; */
2770 /* IDL: uint32 nlink; */
2771 /* IDL: uint32 generation; */
2772 /* IDL: uint32 suppgid; */
2773 /* IDL: uint32 eadatasize; */
2774 /* IDL: uint32 aclsize; */
2775 /* IDL: uint32 max_mdsize; */
2776 /* IDL: uint32 max_cookiesize; */
2777 /* IDL: uint32 uid_h; */
2778 /* IDL: uint32 gid_h; */
2779 /* IDL: uint32 padding_5; */
2780 /* IDL: uint64 padding_6; */
2781 /* IDL: uint64 padding_7; */
2782 /* IDL: uint64 padding_8; */
2783 /* IDL: uint64 padding_9; */
2784 /* IDL: uint64 padding_10; */
2788 lustre_dissect_element_mdt_body_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2790 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid1);
2795 lustre_dissect_element_mdt_body_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2797 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid2);
2802 lustre_dissect_element_mdt_body_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2804 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
2810 lustre_dissect_element_mdt_body_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2812 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_valid);
2818 lustre_dissect_element_mdt_body_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2820 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_size);
2826 lustre_dissect_element_mdt_body_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2830 ns.secs = tvb_get_letohl(tvb,offset);
2832 proto_tree_add_time(tree, hf_lustre_mdt_body_mtime, tvb, offset, 8, &ns );
2838 lustre_dissect_element_mdt_body_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2842 ns.secs = tvb_get_letohl(tvb,offset);
2844 proto_tree_add_time(tree, hf_lustre_mdt_body_atime, tvb, offset, 8, &ns );
2851 lustre_dissect_element_mdt_body_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2855 ns.secs = tvb_get_letohl(tvb,offset);
2857 proto_tree_add_time(tree, hf_lustre_mdt_body_ctime, tvb, offset, 8, &ns );
2863 lustre_dissect_element_mdt_body_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2865 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_blocks);
2871 lustre_dissect_element_mdt_body_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2873 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ioepoch);
2879 lustre_dissect_element_mdt_body_ino(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2881 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ino);
2887 lustre_dissect_element_mdt_body_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2889 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsuid);
2895 lustre_dissect_element_mdt_body_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2897 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsgid);
2903 lustre_dissect_element_mdt_body_capability(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2905 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_capability);
2911 lustre_dissect_element_mdt_body_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2913 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_mode);
2919 lustre_dissect_element_mdt_body_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2921 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid);
2927 lustre_dissect_element_mdt_body_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2929 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid);
2935 lustre_dissect_element_mdt_body_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2937 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_flags);
2943 lustre_dissect_element_mdt_body_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2945 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_rdev);
2951 lustre_dissect_element_mdt_body_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2953 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_nlink);
2959 lustre_dissect_element_mdt_body_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2961 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_generation);
2967 lustre_dissect_element_mdt_body_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2969 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_suppgid);
2975 lustre_dissect_element_mdt_body_eadatasize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2977 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_eadatasize);
2983 lustre_dissect_element_mdt_body_aclsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2985 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_aclsize);
2991 lustre_dissect_element_mdt_body_max_mdsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2993 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_mdsize);
2999 lustre_dissect_element_mdt_body_max_cookiesize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3001 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_cookiesize);
3007 lustre_dissect_element_mdt_body_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3009 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid_h);
3015 lustre_dissect_element_mdt_body_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3017 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid_h);
3023 lustre_dissect_element_mdt_body_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3025 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_5);
3031 lustre_dissect_element_mdt_body_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3033 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_6);
3039 lustre_dissect_element_mdt_body_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3041 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_7);
3047 lustre_dissect_element_mdt_body_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3049 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_8);
3055 lustre_dissect_element_mdt_body_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3057 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_9);
3063 lustre_dissect_element_mdt_body_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3065 offset= dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_10);
3071 lustre_dissect_struct_mdt_body(tvbuff_t *tvb _U_, int offset _U_,
3072 packet_info *pinfo _U_,
3073 proto_tree *parent_tree _U_,
3076 proto_item *item = NULL;
3077 proto_tree *tree = NULL;
3084 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3085 tree = proto_item_add_subtree(item, ett_lustre_mdt_body);
3088 offset=lustre_dissect_element_mdt_body_fid1(tvb, offset, pinfo, tree);
3090 offset=lustre_dissect_element_mdt_body_fid2(tvb, offset, pinfo, tree);
3092 offset=lustre_dissect_element_mdt_body_handle(tvb, offset, pinfo, tree);
3094 offset=lustre_dissect_element_mdt_body_valid(tvb, offset, pinfo, tree);
3096 offset=lustre_dissect_element_mdt_body_size(tvb, offset, pinfo, tree);
3098 offset=lustre_dissect_element_mdt_body_mtime(tvb, offset, pinfo, tree);
3100 offset=lustre_dissect_element_mdt_body_atime(tvb, offset, pinfo, tree);
3102 offset=lustre_dissect_element_mdt_body_ctime(tvb, offset, pinfo, tree);
3104 offset=lustre_dissect_element_mdt_body_blocks(tvb, offset, pinfo, tree);
3106 offset=lustre_dissect_element_mdt_body_ioepoch(tvb, offset, pinfo, tree);
3108 offset=lustre_dissect_element_mdt_body_ino(tvb, offset, pinfo, tree);
3110 offset=lustre_dissect_element_mdt_body_fsuid(tvb, offset, pinfo, tree);
3112 offset=lustre_dissect_element_mdt_body_fsgid(tvb, offset, pinfo, tree);
3114 offset=lustre_dissect_element_mdt_body_capability(tvb, offset, pinfo, tree);
3116 offset=lustre_dissect_element_mdt_body_mode(tvb, offset, pinfo, tree);
3118 offset=lustre_dissect_element_mdt_body_uid(tvb, offset, pinfo, tree);
3120 offset=lustre_dissect_element_mdt_body_gid(tvb, offset, pinfo, tree);
3122 offset=lustre_dissect_element_mdt_body_flags(tvb, offset, pinfo, tree);
3124 offset=lustre_dissect_element_mdt_body_rdev(tvb, offset, pinfo, tree);
3126 offset=lustre_dissect_element_mdt_body_nlink(tvb, offset, pinfo, tree);
3128 offset=lustre_dissect_element_mdt_body_generation(tvb, offset, pinfo, tree);
3130 offset=lustre_dissect_element_mdt_body_suppgid(tvb, offset, pinfo, tree);
3132 offset=lustre_dissect_element_mdt_body_eadatasize(tvb, offset, pinfo, tree);
3134 offset=lustre_dissect_element_mdt_body_aclsize(tvb, offset, pinfo, tree);
3136 offset=lustre_dissect_element_mdt_body_max_mdsize(tvb, offset, pinfo, tree);
3138 offset=lustre_dissect_element_mdt_body_max_cookiesize(tvb, offset, pinfo, tree);
3140 offset=lustre_dissect_element_mdt_body_uid_h(tvb, offset, pinfo, tree);
3142 offset=lustre_dissect_element_mdt_body_gid_h(tvb, offset, pinfo, tree);
3144 offset=lustre_dissect_element_mdt_body_padding_5(tvb, offset, pinfo, tree);
3146 offset=lustre_dissect_element_mdt_body_padding_6(tvb, offset, pinfo, tree);
3148 offset=lustre_dissect_element_mdt_body_padding_7(tvb, offset, pinfo, tree);
3150 offset=lustre_dissect_element_mdt_body_padding_8(tvb, offset, pinfo, tree);
3152 offset=lustre_dissect_element_mdt_body_padding_9(tvb, offset, pinfo, tree);
3154 offset=lustre_dissect_element_mdt_body_padding_10(tvb, offset, pinfo, tree);
3157 proto_item_set_len(item, offset-old_offset);
3162 /* I don't find where this struct appear on wire.. need to search mdc_setattr_pack() */
3163 /* IDL: struct mdt_rec_setattr { */
3164 /* IDL: uint32 sa_opcode; */
3165 /* IDL: uint32 sa_cap; */
3166 /* IDL: uint32 sa_fsuid; */
3167 /* IDL: uint32 sa_fsuid_h; */
3168 /* IDL: uint32 sa_fsgid; */
3169 /* IDL: uint32 sa_fsgid_h; */
3170 /* IDL: uint32 sa_suppgid; */
3171 /* IDL: uint32 sa_suppgid_h; */
3172 /* IDL: uint32 sa_padding_1; */
3173 /* IDL: uint32 sa_padding_1_h; */
3174 /* IDL: struct lu_fid { */
3175 /* IDL: } sa_fid; */
3176 /* IDL: uint64 sa_valid; */
3177 /* IDL: uint32 sa_uid; */
3178 /* IDL: uint32 sa_gid; */
3179 /* IDL: uint64 sa_size; */
3180 /* IDL: uint64 sa_blocks; */
3181 /* IDL: uint64 sa_mtime; */
3182 /* IDL: uint64 sa_atime; */
3183 /* IDL: uint64 sa_ctime; */
3184 /* IDL: uint32 sa_attr_flags; */
3185 /* IDL: uint32 sa_mode; */
3186 /* IDL: uint32 sa_padding_2; */
3187 /* IDL: uint32 sa_padding_3; */
3188 /* IDL: uint32 sa_padding_4; */
3189 /* IDL: uint32 sa_padding_5; */
3193 lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3195 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_opcode);
3201 lustre_dissect_element_mdt_rec_setattr_sa_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3203 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_cap);
3209 lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3211 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid);
3217 lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3219 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid_h);
3225 lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3227 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid);
3233 lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3235 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid_h);
3241 lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3243 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid);
3249 lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3251 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid_h);
3257 lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3259 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1);
3265 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_)
3267 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1_h);
3273 lustre_dissect_element_mdt_rec_setattr_sa_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3275 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setattr_sa_fid);
3281 lustre_dissect_element_mdt_rec_setattr_sa_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3283 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_valid);
3289 lustre_dissect_element_mdt_rec_setattr_sa_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3291 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_uid);
3297 lustre_dissect_element_mdt_rec_setattr_sa_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3299 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_gid);
3305 lustre_dissect_element_mdt_rec_setattr_sa_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3307 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_size);
3313 lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3315 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_blocks);
3321 lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3326 ns.secs = tvb_get_letohl(tvb,offset);
3328 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_mtime, tvb, offset, 8, &ns );
3334 lustre_dissect_element_mdt_rec_setattr_sa_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3338 ns.secs = tvb_get_letohl(tvb,offset);
3340 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_atime, tvb, offset, 8, &ns );
3346 lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3350 ns.secs = tvb_get_letohl(tvb,offset);
3352 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_ctime, tvb, offset, 8, &ns );
3358 lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3360 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_attr_flags);
3366 lustre_dissect_element_mdt_rec_setattr_sa_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3368 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_mode);
3374 lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3376 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_2);
3382 lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3384 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_3);
3390 lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3392 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_4);
3398 lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3400 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_5);
3406 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_)
3408 proto_item *item = NULL;
3409 proto_tree *tree = NULL;
3418 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3419 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setattr);
3421 sa_opcode=tvb_get_letohl(tvb,offset);
3422 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sa_opcode, lustre_mds_reint_t_vals, "Unknown sa_opc"));
3424 offset=lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvb, offset, pinfo, tree);
3426 offset=lustre_dissect_element_mdt_rec_setattr_sa_cap(tvb, offset, pinfo, tree);
3428 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvb, offset, pinfo, tree);
3430 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvb, offset, pinfo, tree);
3432 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvb, offset, pinfo, tree);
3434 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvb, offset, pinfo, tree);
3436 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvb, offset, pinfo, tree);
3438 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvb, offset, pinfo, tree);
3440 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvb, offset, pinfo, tree);
3442 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvb, offset, pinfo, tree);
3444 offset=lustre_dissect_element_mdt_rec_setattr_sa_fid(tvb, offset, pinfo, tree);
3446 offset=lustre_dissect_element_mdt_rec_setattr_sa_valid(tvb, offset, pinfo, tree);
3448 offset=lustre_dissect_element_mdt_rec_setattr_sa_uid(tvb, offset, pinfo, tree);
3450 offset=lustre_dissect_element_mdt_rec_setattr_sa_gid(tvb, offset, pinfo, tree);
3452 offset=lustre_dissect_element_mdt_rec_setattr_sa_size(tvb, offset, pinfo, tree);
3454 offset=lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvb, offset, pinfo, tree);
3456 offset=lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvb, offset, pinfo, tree);
3458 offset=lustre_dissect_element_mdt_rec_setattr_sa_atime(tvb, offset, pinfo, tree);
3460 offset=lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvb, offset, pinfo, tree);
3462 offset=lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvb, offset, pinfo, tree);
3464 offset=lustre_dissect_element_mdt_rec_setattr_sa_mode(tvb, offset, pinfo, tree);
3466 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvb, offset, pinfo, tree);
3468 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvb, offset, pinfo, tree);
3470 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvb, offset, pinfo, tree);
3472 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvb, offset, pinfo, tree);
3475 proto_item_set_len(item, offset-old_offset);
3480 /* IDL: struct mdt_rec_create { */
3481 /* IDL: uint32 cr_opcode; */
3482 /* IDL: uint32 cr_cap; */
3483 /* IDL: uint32 cr_fsuid; */
3484 /* IDL: uint32 cr_fsuid_h; */
3485 /* IDL: uint32 cr_fsgid; */
3486 /* IDL: uint32 cr_fsgid_h; */
3487 /* IDL: uint32 cr_suppgid1; */
3488 /* IDL: uint32 cr_suppgid1_h; */
3489 /* IDL: uint32 cr_suppgid2; */
3490 /* IDL: uint32 cr_suppgid2_h; */
3491 /* IDL: struct lu_fid { */
3492 /* IDL: } cr_fid1; */
3493 /* IDL: struct lu_fid { */
3494 /* IDL: } cr_fid2; */
3495 /* IDL: struct lustre_handle { */
3496 /* IDL: } cr_old_handle; */
3497 /* IDL: uint64 cr_time; */
3498 /* IDL: uint64 cr_rdev; */
3499 /* IDL: uint64 cr_ioepoch; */
3500 /* IDL: uint64 cr_padding_1; */
3501 /* IDL: uint32 cr_mode; */
3502 /* IDL: uint32 cr_bias; */
3503 /* IDL: uint32 cr_flags_l; */
3504 /* IDL: uint32 cr_flags_h; */
3505 /* IDL: uint32 cr_umask; */
3506 /* IDL: uint32 cr_padding_4; */
3510 lustre_dissect_element_mdt_rec_create_cr_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3512 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_opcode);
3518 lustre_dissect_element_mdt_rec_create_cr_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3520 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_cap);
3526 lustre_dissect_element_mdt_rec_create_cr_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3528 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid);
3534 lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3536 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid_h);
3542 lustre_dissect_element_mdt_rec_create_cr_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3544 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid);
3550 lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3552 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid_h);
3558 lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3560 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1);
3566 lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3568 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1_h);
3574 lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3576 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2);
3582 lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3584 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2_h);
3590 lustre_dissect_element_mdt_rec_create_cr_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3592 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid1);
3597 lustre_dissect_element_mdt_rec_create_cr_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3599 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid2);
3604 lustre_dissect_element_mdt_rec_create_cr_old_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3606 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_old_handle);
3611 lustre_dissect_element_mdt_rec_create_cr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3615 ns.secs = tvb_get_letohl(tvb,offset);
3617 proto_tree_add_time(tree, hf_lustre_mdt_rec_create_cr_time, tvb, offset, 8, &ns );
3624 lustre_dissect_element_mdt_rec_create_cr_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3626 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_rdev);
3632 lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3634 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_ioepoch);
3640 lustre_dissect_element_mdt_rec_create_cr_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3642 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_1);
3648 lustre_dissect_element_mdt_rec_create_cr_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3650 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_mode);
3656 lustre_dissect_element_mdt_rec_create_cr_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3658 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_bias);
3664 lustre_dissect_element_mdt_rec_create_cr_flags_l(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3666 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_l);
3672 lustre_dissect_element_mdt_rec_create_cr_flags_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3674 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_h);
3680 lustre_dissect_element_mdt_rec_create_cr_umask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3682 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_umask);
3688 lustre_dissect_element_mdt_rec_create_cr_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3690 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_4);
3696 lustre_dissect_struct_mdt_rec_create(tvbuff_t *tvb _U_, int offset _U_,
3697 packet_info *pinfo _U_,
3698 proto_tree *parent_tree _U_,
3701 proto_item *item = NULL;
3702 proto_tree *tree = NULL;
3709 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3710 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_create);
3712 cr_opcode=tvb_get_letohl(tvb,offset);
3713 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(cr_opcode, lustre_mds_reint_t_vals, "Unknown cr_opc"));
3715 offset=lustre_dissect_element_mdt_rec_create_cr_opcode(tvb, offset, pinfo, tree);
3717 offset=lustre_dissect_element_mdt_rec_create_cr_cap(tvb, offset, pinfo, tree);
3719 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid(tvb, offset, pinfo, tree);
3721 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvb, offset, pinfo, tree);
3723 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid(tvb, offset, pinfo, tree);
3725 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvb, offset, pinfo, tree);
3727 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvb, offset, pinfo, tree);
3729 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvb, offset, pinfo, tree);
3731 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvb, offset, pinfo, tree);
3733 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvb, offset, pinfo, tree);
3735 offset=lustre_dissect_element_mdt_rec_create_cr_fid1(tvb, offset, pinfo, tree);
3737 offset=lustre_dissect_element_mdt_rec_create_cr_fid2(tvb, offset, pinfo, tree);
3739 offset=lustre_dissect_element_mdt_rec_create_cr_old_handle(tvb, offset, pinfo, tree);
3741 offset=lustre_dissect_element_mdt_rec_create_cr_time(tvb, offset, pinfo, tree);
3743 offset=lustre_dissect_element_mdt_rec_create_cr_rdev(tvb, offset, pinfo, tree);
3745 offset=lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvb, offset, pinfo, tree);
3747 offset=lustre_dissect_element_mdt_rec_create_cr_padding_1(tvb, offset, pinfo, tree);
3749 offset=lustre_dissect_element_mdt_rec_create_cr_mode(tvb, offset, pinfo, tree);
3751 offset=lustre_dissect_element_mdt_rec_create_cr_bias(tvb, offset, pinfo, tree);
3753 offset=lustre_dissect_element_mdt_rec_create_cr_flags_l(tvb, offset, pinfo, tree);
3755 offset=lustre_dissect_element_mdt_rec_create_cr_flags_h(tvb, offset, pinfo, tree);
3757 offset=lustre_dissect_element_mdt_rec_create_cr_umask(tvb, offset, pinfo, tree);
3759 offset=lustre_dissect_element_mdt_rec_create_cr_padding_4(tvb, offset, pinfo, tree);
3761 proto_item_set_len(item, offset-old_offset);
3766 /* TODO : find where this structure appear ! */
3767 /* IDL: struct mdt_rec_link { */
3768 /* IDL: uint32 lk_opcode; */
3769 /* IDL: uint32 lk_cap; */
3770 /* IDL: uint32 lk_fsuid; */
3771 /* IDL: uint32 lk_fsuid_h; */
3772 /* IDL: uint32 lk_fsgid; */
3773 /* IDL: uint32 lk_fsgid_h; */
3774 /* IDL: uint32 lk_suppgid1; */
3775 /* IDL: uint32 lk_suppgid1_h; */
3776 /* IDL: uint32 lk_suppgid2; */
3777 /* IDL: uint32 lk_suppgid2_h; */
3778 /* IDL: struct lu_fid { */
3779 /* IDL: } lk_fid1; */
3780 /* IDL: struct lu_fid { */
3781 /* IDL: } lk_fid2; */
3782 /* IDL: uint64 lk_time; */
3783 /* IDL: uint64 lk_padding_1; */
3784 /* IDL: uint64 lk_padding_2; */
3785 /* IDL: uint64 lk_padding_3; */
3786 /* IDL: uint64 lk_padding_4; */
3787 /* IDL: uint32 lk_bias; */
3788 /* IDL: uint32 lk_padding_5; */
3789 /* IDL: uint32 lk_padding_6; */
3790 /* IDL: uint32 lk_padding_7; */
3791 /* IDL: uint32 lk_padding_8; */
3792 /* IDL: uint32 lk_padding_9; */
3796 lustre_dissect_element_mdt_rec_link_lk_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3798 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_opcode);
3804 lustre_dissect_element_mdt_rec_link_lk_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3806 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_cap);
3812 lustre_dissect_element_mdt_rec_link_lk_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3814 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid);
3820 lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3822 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid_h);
3828 lustre_dissect_element_mdt_rec_link_lk_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3830 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid);
3836 lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3838 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid_h);
3844 lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3846 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1);
3852 lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3854 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1_h);
3860 lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3862 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2);
3868 lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3870 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2_h);
3876 lustre_dissect_element_mdt_rec_link_lk_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3878 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid1);
3883 lustre_dissect_element_mdt_rec_link_lk_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3885 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid2);
3890 lustre_dissect_element_mdt_rec_link_lk_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3894 ns.secs = tvb_get_letohl(tvb,offset);
3896 proto_tree_add_time(tree, hf_lustre_mdt_rec_link_lk_time, tvb, offset, 8, &ns );
3902 lustre_dissect_element_mdt_rec_link_lk_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3904 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_1);
3910 lustre_dissect_element_mdt_rec_link_lk_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3912 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_2);
3918 lustre_dissect_element_mdt_rec_link_lk_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3920 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_3);
3926 lustre_dissect_element_mdt_rec_link_lk_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3928 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_4);
3934 lustre_dissect_element_mdt_rec_link_lk_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3936 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_bias);
3942 lustre_dissect_element_mdt_rec_link_lk_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3944 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_5);
3950 lustre_dissect_element_mdt_rec_link_lk_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3952 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_6);
3958 lustre_dissect_element_mdt_rec_link_lk_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3960 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_7);
3966 lustre_dissect_element_mdt_rec_link_lk_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3968 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_8);
3974 lustre_dissect_element_mdt_rec_link_lk_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3976 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_9);
3982 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_)
3984 proto_item *item = NULL;
3985 proto_tree *tree = NULL;
3994 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3995 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_link);
3997 lk_opcode=tvb_get_letohl(tvb,offset);
3998 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lk_opcode, lustre_mds_reint_t_vals, "Unknown lk_opc"));
4000 offset=lustre_dissect_element_mdt_rec_link_lk_opcode(tvb, offset, pinfo, tree);
4002 offset=lustre_dissect_element_mdt_rec_link_lk_cap(tvb, offset, pinfo, tree);
4004 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid(tvb, offset, pinfo, tree);
4006 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvb, offset, pinfo, tree);
4008 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid(tvb, offset, pinfo, tree);
4010 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvb, offset, pinfo, tree);
4012 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvb, offset, pinfo, tree);
4014 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvb, offset, pinfo, tree);
4016 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvb, offset, pinfo, tree);
4018 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvb, offset, pinfo, tree);
4020 offset=lustre_dissect_element_mdt_rec_link_lk_fid1(tvb, offset, pinfo, tree);
4022 offset=lustre_dissect_element_mdt_rec_link_lk_fid2(tvb, offset, pinfo, tree);
4024 offset=lustre_dissect_element_mdt_rec_link_lk_time(tvb, offset, pinfo, tree);
4026 offset=lustre_dissect_element_mdt_rec_link_lk_padding_1(tvb, offset, pinfo, tree);
4028 offset=lustre_dissect_element_mdt_rec_link_lk_padding_2(tvb, offset, pinfo, tree);
4030 offset=lustre_dissect_element_mdt_rec_link_lk_padding_3(tvb, offset, pinfo, tree);
4032 offset=lustre_dissect_element_mdt_rec_link_lk_padding_4(tvb, offset, pinfo, tree);
4034 offset=lustre_dissect_element_mdt_rec_link_lk_bias(tvb, offset, pinfo, tree);
4036 offset=lustre_dissect_element_mdt_rec_link_lk_padding_5(tvb, offset, pinfo, tree);
4038 offset=lustre_dissect_element_mdt_rec_link_lk_padding_6(tvb, offset, pinfo, tree);
4040 offset=lustre_dissect_element_mdt_rec_link_lk_padding_7(tvb, offset, pinfo, tree);
4042 offset=lustre_dissect_element_mdt_rec_link_lk_padding_8(tvb, offset, pinfo, tree);
4044 offset=lustre_dissect_element_mdt_rec_link_lk_padding_9(tvb, offset, pinfo, tree);
4047 proto_item_set_len(item, offset-old_offset);
4052 /* IDL: struct mdt_rec_unlink { */
4053 /* IDL: uint32 ul_opcode; */
4054 /* IDL: uint32 ul_cap; */
4055 /* IDL: uint32 ul_fsuid; */
4056 /* IDL: uint32 ul_fsuid_h; */
4057 /* IDL: uint32 ul_fsgid; */
4058 /* IDL: uint32 ul_fsgid_h; */
4059 /* IDL: uint32 ul_suppgid1; */
4060 /* IDL: uint32 ul_suppgid1_h; */
4061 /* IDL: uint32 ul_suppgid2; */
4062 /* IDL: uint32 ul_suppgid2_h; */
4063 /* IDL: struct lu_fid { */
4064 /* IDL: } ul_fid1; */
4065 /* IDL: struct lu_fid { */
4066 /* IDL: } ul_fid2; */
4067 /* IDL: uint64 ul_time; */
4068 /* IDL: uint64 ul_padding_2; */
4069 /* IDL: uint64 ul_padding_3; */
4070 /* IDL: uint64 ul_padding_4; */
4071 /* IDL: uint64 ul_padding_5; */
4072 /* IDL: uint32 ul_bias; */
4073 /* IDL: uint32 ul_mode; */
4074 /* IDL: uint32 ul_padding_6; */
4075 /* IDL: uint32 ul_padding_7; */
4076 /* IDL: uint32 ul_padding_8; */
4077 /* IDL: uint32 ul_padding_9; */
4081 lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4083 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_opcode);
4089 lustre_dissect_element_mdt_rec_unlink_ul_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4091 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_cap);
4097 lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4099 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid);
4105 lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4107 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid_h);
4113 lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4115 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid);
4121 lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4123 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid_h);
4129 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4131 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1);
4137 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4139 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1_h);
4145 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4147 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2);
4153 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4155 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2_h);
4161 lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4163 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid1);
4168 lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4170 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid2);
4175 lustre_dissect_element_mdt_rec_unlink_ul_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4179 ns.secs = tvb_get_letohl(tvb,offset);
4181 proto_tree_add_time(tree,hf_lustre_mdt_rec_unlink_ul_time , tvb, offset, 8, &ns );
4187 lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4189 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_2);
4195 lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4197 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_3);
4203 lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4205 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_4);
4211 lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4213 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_5);
4219 lustre_dissect_element_mdt_rec_unlink_ul_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4221 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_bias);
4227 lustre_dissect_element_mdt_rec_unlink_ul_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4229 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_mode);
4235 lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4237 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_6);
4243 lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4245 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_7);
4251 lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4253 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_8);
4259 lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4261 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_9);
4267 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_)
4269 proto_item *item = NULL;
4270 proto_tree *tree = NULL;
4279 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4280 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_unlink);
4283 ul_opcode=tvb_get_letohl(tvb,offset);
4284 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(ul_opcode, lustre_mds_reint_t_vals, "Unknown ul_opc"));
4286 offset=lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvb, offset, pinfo, tree);
4288 offset=lustre_dissect_element_mdt_rec_unlink_ul_cap(tvb, offset, pinfo, tree);
4290 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvb, offset, pinfo, tree);
4292 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvb, offset, pinfo, tree);
4294 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvb, offset, pinfo, tree);
4296 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvb, offset, pinfo, tree);
4298 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvb, offset, pinfo, tree);
4300 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvb, offset, pinfo, tree);
4302 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvb, offset, pinfo, tree);
4304 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvb, offset, pinfo, tree);
4306 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvb, offset, pinfo, tree);
4308 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvb, offset, pinfo, tree);
4310 offset=lustre_dissect_element_mdt_rec_unlink_ul_time(tvb, offset, pinfo, tree);
4312 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvb, offset, pinfo, tree);
4314 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvb, offset, pinfo, tree);
4316 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvb, offset, pinfo, tree);
4318 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvb, offset, pinfo, tree);
4320 offset=lustre_dissect_element_mdt_rec_unlink_ul_bias(tvb, offset, pinfo, tree);
4322 offset=lustre_dissect_element_mdt_rec_unlink_ul_mode(tvb, offset, pinfo, tree);
4324 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvb, offset, pinfo, tree);
4326 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvb, offset, pinfo, tree);
4328 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvb, offset, pinfo, tree);
4330 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvb, offset, pinfo, tree);
4333 proto_item_set_len(item, offset-old_offset);
4338 /* IDL: struct mdt_rec_rename { */
4339 /* IDL: uint32 rn_opcode; */
4340 /* IDL: uint32 rn_fsuid; */
4341 /* IDL: uint32 rn_fsgid; */
4342 /* IDL: uint32 rn_cap; */
4343 /* IDL: uint32 rn_suppgid1; */
4344 /* IDL: uint32 rn_suppgid2; */
4345 /* IDL: struct ll_fid { */
4346 /* IDL: } rn_fid1; */
4347 /* IDL: struct ll_fid { */
4348 /* IDL: } rn_fid2; */
4349 /* IDL: uint64 rn_time; */
4350 /* IDL: uint32 rn_padding_1; */
4351 /* IDL: uint32 rn_padding_2; */
4352 /* IDL: uint32 rn_padding_3; */
4353 /* IDL: uint32 rn_padding_4; */
4357 lustre_dissect_element_mdt_rec_rename_rn_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4359 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_opcode);
4365 lustre_dissect_element_mdt_rec_rename_rn_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4367 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_cap);
4373 lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4375 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid);
4381 lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4383 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid_h);
4389 lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4391 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid);
4397 lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4399 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid_h);
4405 lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4407 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1);
4413 lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4415 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1_h);
4421 lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4423 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2);
4429 lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4431 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2_h);
4437 lustre_dissect_element_mdt_rec_rename_rn_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4439 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid1);
4444 lustre_dissect_element_mdt_rec_rename_rn_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4446 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid2);
4451 lustre_dissect_element_mdt_rec_rename_rn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4455 ns.secs = tvb_get_letohl(tvb,offset);
4457 proto_tree_add_time(tree, hf_lustre_mdt_rec_rename_rn_time, tvb, offset, 8, &ns );
4463 lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4465 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_1);
4471 lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4473 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_2);
4479 lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4481 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_3);
4487 lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4489 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_4);
4495 lustre_dissect_element_mdt_rec_rename_rn_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4497 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_bias);
4503 lustre_dissect_element_mdt_rec_rename_rn_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4505 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_mode);
4511 lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4513 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_5);
4519 lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4521 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_6);
4527 lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4529 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_7);
4535 lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4537 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_8);
4543 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_)
4545 proto_item *item = NULL;
4546 proto_tree *tree = NULL;
4555 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4556 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_rename);
4559 rn_opcode=tvb_get_letohl(tvb,offset);
4560 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(rn_opcode, lustre_mds_reint_t_vals, "Unknown rn_opc"));
4562 offset=lustre_dissect_element_mdt_rec_rename_rn_opcode(tvb, offset, pinfo, tree);
4564 offset=lustre_dissect_element_mdt_rec_rename_rn_cap(tvb, offset, pinfo, tree);
4566 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvb, offset, pinfo, tree);
4568 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvb, offset, pinfo, tree);
4570 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvb, offset, pinfo, tree);
4572 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvb, offset, pinfo, tree);
4574 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvb, offset, pinfo, tree);
4576 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvb, offset, pinfo, tree);
4578 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvb, offset, pinfo, tree);
4580 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvb, offset, pinfo, tree);
4582 offset=lustre_dissect_element_mdt_rec_rename_rn_fid1(tvb, offset, pinfo, tree);
4584 offset=lustre_dissect_element_mdt_rec_rename_rn_fid2(tvb, offset, pinfo, tree);
4586 offset=lustre_dissect_element_mdt_rec_rename_rn_time(tvb, offset, pinfo, tree);
4588 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvb, offset, pinfo, tree);
4590 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvb, offset, pinfo, tree);
4592 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvb, offset, pinfo, tree);
4594 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvb, offset, pinfo, tree);
4596 offset=lustre_dissect_element_mdt_rec_rename_rn_bias(tvb, offset, pinfo, tree);
4598 offset=lustre_dissect_element_mdt_rec_rename_rn_mode(tvb, offset, pinfo, tree);
4600 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvb, offset, pinfo, tree);
4602 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvb, offset, pinfo, tree);
4604 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvb, offset, pinfo, tree);
4606 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvb, offset, pinfo, tree);
4609 proto_item_set_len(item, offset-old_offset);
4614 /* I don't find where this struct appear on wire.. need to search mdc_setxattr_pack() */
4615 /* IDL: struct mdt_rec_setxattr { */
4616 /* IDL: uint32 sx_opcode; */
4617 /* IDL: uint32 sx_cap; */
4618 /* IDL: uint32 sx_fsuid; */
4619 /* IDL: uint32 sx_fsuid_h; */
4620 /* IDL: uint32 sx_fsgid; */
4621 /* IDL: uint32 sx_fsgid_h; */
4622 /* IDL: uint32 sx_suppgid1; */
4623 /* IDL: uint32 sx_suppgid1_h; */
4624 /* IDL: uint32 sx_suppgid2; */
4625 /* IDL: uint32 sx_suppgid2_h; */
4626 /* IDL: struct lu_fid { */
4627 /* IDL: } sx_fid; */
4628 /* IDL: uint64 sx_padding_1; */
4629 /* IDL: uint32 sx_padding_2; */
4630 /* IDL: uint32 sx_padding_3; */
4631 /* IDL: uint64 sx_valid; */
4632 /* IDL: uint64 sx_time; */
4633 /* IDL: uint64 sx_padding_5; */
4634 /* IDL: uint64 sx_padding_6; */
4635 /* IDL: uint64 sx_padding_7; */
4636 /* IDL: uint32 sx_size; */
4637 /* IDL: uint32 sx_flags; */
4638 /* IDL: uint32 sx_padding_8; */
4639 /* IDL: uint32 sx_padding_9; */
4640 /* IDL: uint32 sx_padding_10; */
4641 /* IDL: uint32 sx_padding_11; */
4645 lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4647 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_opcode);
4653 lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4655 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_cap);
4661 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4663 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid);
4669 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4671 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid_h);
4677 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4679 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid);
4685 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4687 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid_h);
4693 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4695 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1);
4701 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4703 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1_h);
4709 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4711 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2);
4717 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4719 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2_h);
4725 lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4727 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setxattr_sx_fid);
4733 lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4735 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_1);
4741 lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4743 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_2);
4749 lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4751 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_3);
4757 lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4759 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_valid);
4765 lustre_dissect_element_mdt_rec_setxattr_sx_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4770 ns.secs = tvb_get_letohl(tvb,offset);
4772 proto_tree_add_time(tree, hf_lustre_mdt_rec_setxattr_sx_time, tvb, offset, 8, &ns );
4778 lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4780 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_5);
4786 lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4788 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_6);
4794 lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4796 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_7);
4802 lustre_dissect_element_mdt_rec_setxattr_sx_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4804 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_size);
4810 lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4812 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_flags);
4818 lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4820 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_8);
4826 lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4828 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_9);
4834 lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4836 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_10);
4842 lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4844 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_11);
4850 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_)
4852 proto_item *item = NULL;
4853 proto_tree *tree = NULL;
4862 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4863 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setxattr);
4865 sx_opcode=tvb_get_letohl(tvb,offset);
4866 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sx_opcode, lustre_mds_reint_t_vals, "Unknown sx_opc"));
4868 offset=lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvb, offset, pinfo, tree);
4870 offset=lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvb, offset, pinfo, tree);
4872 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvb, offset, pinfo, tree);
4874 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvb, offset, pinfo, tree);
4876 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvb, offset, pinfo, tree);
4878 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvb, offset, pinfo, tree);
4880 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvb, offset, pinfo, tree);
4882 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvb, offset, pinfo, tree);
4884 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvb, offset, pinfo, tree);
4886 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvb, offset, pinfo, tree);
4888 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvb, offset, pinfo, tree);
4890 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvb, offset, pinfo, tree);
4892 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvb, offset, pinfo, tree);
4894 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvb, offset, pinfo, tree);
4896 offset=lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvb, offset, pinfo, tree);
4898 offset=lustre_dissect_element_mdt_rec_setxattr_sx_time(tvb, offset, pinfo, tree);
4900 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvb, offset, pinfo, tree);
4902 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvb, offset, pinfo, tree);
4904 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvb, offset, pinfo, tree);
4906 offset=lustre_dissect_element_mdt_rec_setxattr_sx_size(tvb, offset, pinfo, tree);
4908 offset=lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvb, offset, pinfo, tree);
4910 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvb, offset, pinfo, tree);
4912 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvb, offset, pinfo, tree);
4914 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvb, offset, pinfo, tree);
4916 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvb, offset, pinfo, tree);
4919 proto_item_set_len(item, offset-old_offset);
4925 /* TODO : find where this structure appear */
4927 /* IDL: struct lov_desc { */
4928 /* IDL: uint32 ld_tgt_count; */
4929 /* IDL: uint32 ld_active_tgt_count; */
4930 /* IDL: uint32 ld_default_stripe_count; */
4931 /* IDL: uint32 ld_pattern; */
4932 /* IDL: uint64 ld_default_stripe_size; */
4933 /* IDL: uint64 ld_default_stripe_offset; */
4934 /* IDL: uint32 ld_padding_0; */
4935 /* IDL: uint32 ld_qos_maxage; */
4936 /* IDL: uint32 ld_padding_1; */
4937 /* IDL: uint32 ld_padding_2; */
4938 /* IDL: struct obd_uuid { */
4939 /* IDL: } ld_uuid; */
4943 lustre_dissect_element_lov_desc_ld_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4945 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_tgt_count);
4951 lustre_dissect_element_lov_desc_ld_active_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4953 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_active_tgt_count);
4959 lustre_dissect_element_lov_desc_ld_default_stripe_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4961 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_count);
4967 lustre_dissect_element_lov_desc_ld_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4969 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_pattern);
4975 lustre_dissect_element_lov_desc_ld_default_stripe_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4977 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_size);
4983 lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4985 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_offset);
4991 lustre_dissect_element_lov_desc_ld_padding_0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4993 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_0);
4999 lustre_dissect_element_lov_desc_ld_qos_maxage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5001 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_qos_maxage);
5007 lustre_dissect_element_lov_desc_ld_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5009 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_1);
5015 lustre_dissect_element_lov_desc_ld_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5017 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_2);
5023 lustre_dissect_element_lov_desc_ld_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5025 //offset=lustre_dissect_struct_HASH(0x85bade8)(tvb,offset,pinfo,tree,hf_lustre_lov_desc_ld_uuid);
5030 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_)
5032 proto_item *item = NULL;
5033 proto_tree *tree = NULL;
5041 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5042 tree = proto_item_add_subtree(item, ett_lustre_lov_desc);
5045 offset=lustre_dissect_element_lov_desc_ld_tgt_count(tvb, offset, pinfo, tree);
5047 offset=lustre_dissect_element_lov_desc_ld_active_tgt_count(tvb, offset, pinfo, tree);
5049 offset=lustre_dissect_element_lov_desc_ld_default_stripe_count(tvb, offset, pinfo, tree);
5051 offset=lustre_dissect_element_lov_desc_ld_pattern(tvb, offset, pinfo, tree);
5053 offset=lustre_dissect_element_lov_desc_ld_default_stripe_size(tvb, offset, pinfo, tree);
5055 offset=lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvb, offset, pinfo, tree);
5057 offset=lustre_dissect_element_lov_desc_ld_padding_0(tvb, offset, pinfo, tree);
5059 offset=lustre_dissect_element_lov_desc_ld_qos_maxage(tvb, offset, pinfo, tree);
5061 offset=lustre_dissect_element_lov_desc_ld_padding_1(tvb, offset, pinfo, tree);
5063 offset=lustre_dissect_element_lov_desc_ld_padding_2(tvb, offset, pinfo, tree);
5065 offset=lustre_dissect_element_lov_desc_ld_uuid(tvb, offset, pinfo, tree);
5068 proto_item_set_len(item, offset-old_offset);
5073 /* IDL: struct obd_uuid { */
5074 /* char uuid[40]; */
5078 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_)
5080 /* the lenght of the string is 40 bytes max, with \0 inside */
5081 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 40, TRUE);
5089 /* IDL: struct ldlm_res_id { */
5090 /* IDL: uint64 name[4]; */
5094 lustre_dissect_element_ldlm_res_id_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5096 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_res_id_name);
5102 lustre_dissect_element_ldlm_res_id_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5105 for (i = 0; i < 4; i++)
5106 offset=lustre_dissect_element_ldlm_res_id_name_(tvb, offset, pinfo, tree);
5114 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_)
5116 proto_item *item = NULL;
5117 proto_tree *tree = NULL;
5125 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5126 tree = proto_item_add_subtree(item, ett_lustre_ldlm_res_id);
5129 offset=lustre_dissect_element_ldlm_res_id_name(tvb, offset, pinfo, tree);
5132 proto_item_set_len(item, offset-old_offset);
5139 /* IDL: LCK_MINMODE=0, */
5140 /* IDL: LCK_EX=1, */
5141 /* IDL: LCK_PW=2, */
5142 /* IDL: LCK_PR=4, */
5143 /* IDL: LCK_CW=8, */
5144 /* IDL: LCK_CR=16, */
5145 /* IDL: LCK_NL=32, */
5146 /* IDL: LCK_GROUP=64, */
5147 /* IDL: LCK_MAXMODE, */
5151 lustre_dissect_enum_ldlm_mode_t(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
5153 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_index);
5159 /* IDL: LDLM_PLAIN=10, */
5160 /* IDL: LDLM_EXTENT=11, */
5161 /* IDL: LDLM_FLOCK=12, */
5162 /* IDL: LDLM_IBITS=13, */
5163 /* IDL: LDLM_MAX_TYPE, */
5167 lustre_dissect_enum_ldlm_type_t(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
5169 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type );
5173 /* IDL: struct ldlm_extent { */
5174 /* IDL: uint64 start; */
5175 /* IDL: uint64 end; */
5176 /* IDL: uint64 gid; */
5180 lustre_dissect_element_ldlm_extent_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5182 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_start);
5188 lustre_dissect_element_ldlm_extent_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5190 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_end);
5196 lustre_dissect_element_ldlm_extent_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5198 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_gid);
5204 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_)
5206 proto_item *item = NULL;
5207 proto_tree *tree = NULL;
5215 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5216 tree = proto_item_add_subtree(item, ett_lustre_ldlm_extent);
5219 offset=lustre_dissect_element_ldlm_extent_start(tvb, offset, pinfo, tree);
5221 offset=lustre_dissect_element_ldlm_extent_end(tvb, offset, pinfo, tree);
5223 offset=lustre_dissect_element_ldlm_extent_gid(tvb, offset, pinfo, tree);
5226 proto_item_set_len(item, offset-old_offset);
5231 /* IDL: struct ldlm_inodebits { */
5232 /* IDL: uint64 bits; */
5236 lustre_dissect_element_ldlm_inodebits_bits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5238 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_inodebits_bits);
5244 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_)
5246 proto_item *item = NULL;
5247 proto_tree *tree = NULL;
5255 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5256 tree = proto_item_add_subtree(item, ett_lustre_ldlm_inodebits);
5259 offset=lustre_dissect_element_ldlm_inodebits_bits(tvb, offset, pinfo, tree);
5262 proto_item_set_len(item, offset-old_offset);
5267 /* IDL: struct ldlm_flock { */
5268 /* IDL: uint64 start; */
5269 /* IDL: uint64 end; */
5270 /* IDL: uint64 blocking_export; */
5271 /* IDL: uint32 blocking_pid; */
5272 /* IDL: uint32 pid; */
5276 lustre_dissect_element_ldlm_flock_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5278 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_start);
5284 lustre_dissect_element_ldlm_flock_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5286 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_end);
5292 lustre_dissect_element_ldlm_flock_blocking_export(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5294 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_export);
5300 lustre_dissect_element_ldlm_flock_blocking_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5302 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_pid);
5308 lustre_dissect_element_ldlm_flock_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5310 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_pid);
5316 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_)
5318 proto_item *item = NULL;
5319 proto_tree *tree = NULL;
5327 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5328 tree = proto_item_add_subtree(item, ett_lustre_ldlm_flock);
5331 offset=lustre_dissect_element_ldlm_flock_start(tvb, offset, pinfo, tree);
5333 offset=lustre_dissect_element_ldlm_flock_end(tvb, offset, pinfo, tree);
5335 offset=lustre_dissect_element_ldlm_flock_blocking_export(tvb, offset, pinfo, tree);
5337 offset=lustre_dissect_element_ldlm_flock_blocking_pid(tvb, offset, pinfo, tree);
5339 offset=lustre_dissect_element_ldlm_flock_pid(tvb, offset, pinfo, tree);
5342 proto_item_set_len(item, offset-old_offset);
5347 /* IDL: struct ldlm_intent { */
5348 /* IDL: uint64 opc; */
5352 lustre_dissect_element_ldlm_intent_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5355 /* this opcode is like a flag*/
5356 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_open );
5357 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_creat );
5358 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_readdir );
5359 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getattr );
5360 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_lookup );
5361 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_unlink );
5362 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getxattr);
5363 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_exec );
5364 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_pin );
5365 opcode = tvb_get_letohl(tvb,offset);
5367 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, "[ intent :");
5368 if(opcode & IT_OPEN ){
5369 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " open");
5370 proto_item_append_text(tree, " open" );
5372 if(opcode & IT_CREAT ){
5373 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " create");
5374 proto_item_append_text(tree, " create" );
5376 if(opcode & IT_READDIR ){
5377 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " readdir");
5378 proto_item_append_text(tree, " readdir" );
5380 if(opcode & IT_GETATTR ){
5381 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getattr");
5382 proto_item_append_text(tree, " getattr" );
5384 if(opcode & IT_LOOKUP ){
5385 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " lookup");
5386 proto_item_append_text(tree, " lookup" );
5388 if(opcode & IT_UNLINK ){
5389 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " unlink");
5390 proto_item_append_text(tree, " unlink" );
5392 if(opcode & IT_GETXATTR){
5393 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getxattr");
5394 proto_item_append_text(tree, " getxattr" );
5396 if(opcode & IT_EXEC ){
5397 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " exec");
5398 proto_item_append_text(tree, " exec" );
5400 if(opcode & IT_PIN ){
5401 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " pin");
5402 proto_item_append_text(tree, " pin" );
5405 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " ]");
5411 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_)
5414 proto_item * opcode_item = NULL;
5415 proto_tree * opcode_tree = NULL;
5417 intent_opc = tvb_get_letoh64(tvb,offset);
5419 opcode_item = proto_tree_add_item(parent_tree, hf_lustre_ldlm_intent_opc, tvb, offset, 8, TRUE);
5420 opcode_tree = proto_item_add_subtree(opcode_item, ett_lustre_ldlm_intent_opc);
5423 offset=lustre_dissect_element_ldlm_intent_opc(tvb, offset, pinfo, opcode_tree);
5425 offset=ldlm_opcode_process(tvb, offset, pinfo, parent_tree, intent_opc);
5430 /* IDL: struct ldlm_resource_desc { */
5431 /* IDL: ldlm_type_t lr_type; */
5432 /* IDL: uint32 lr_padding; */
5433 /* IDL: struct ldlm_res_id { */
5434 /* IDL: } lr_name; */
5438 lustre_dissect_element_ldlm_resource_desc_lr_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5440 /* offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);*/
5441 offset=lustre_dissect_enum_ldlm_type_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);
5446 lustre_dissect_element_ldlm_resource_desc_lr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5448 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_padding);
5454 lustre_dissect_element_ldlm_resource_desc_lr_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5456 offset=lustre_dissect_struct_ldlm_res_id(tvb,offset,pinfo,tree,hf_lustre_ldlm_resource_desc_lr_name);
5461 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_)
5463 proto_item *item = NULL;
5464 proto_tree *tree = NULL;
5472 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5473 tree = proto_item_add_subtree(item, ett_lustre_ldlm_resource_desc);
5476 offset=lustre_dissect_element_ldlm_resource_desc_lr_type(tvb, offset, pinfo, tree);
5478 offset=lustre_dissect_element_ldlm_resource_desc_lr_padding(tvb, offset, pinfo, tree);
5480 offset=lustre_dissect_element_ldlm_resource_desc_lr_name(tvb, offset, pinfo, tree);
5483 proto_item_set_len(item, offset-old_offset);
5489 /* IDL: struct ldlm_lock_desc { */
5490 /* IDL: struct ldlm_resource_desc { */
5491 /* IDL: } l_resource; */
5492 /* IDL: ldlm_mode_t l_req_mode; */
5493 /* IDL: ldlm_mode_t l_granted_mode; */
5494 /* IDL: ldlm_policy_data_t l_policy_data; */
5498 lustre_dissect_element_ldlm_lock_desc_l_resource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5500 offset=lustre_dissect_struct_ldlm_resource_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_resource);
5505 lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5507 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_req_mode);
5513 lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5515 offset=lustre_dissect_enum_ldlm_mode_t(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_granted_mode);
5521 lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5524 guint32 lr_type; /* type of the lock */
5526 lr_type = tvb_get_letohl(tvb,offset - 48 ); /* TODO : find another way that using -48 */
5528 /* this section must be check with lustre code, possible mistake here */
5532 offset=lustre_dissect_struct_ldlm_flock(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5535 offset= lustre_dissect_struct_ldlm_extent(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5536 /* add an extra padding 8 bytes */
5537 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5540 offset=lustre_dissect_struct_ldlm_inodebits(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5541 /* add an extra padding 24 bytes */
5542 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5543 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5544 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5547 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5548 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5549 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5550 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5557 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_)
5559 proto_item *item = NULL;
5560 proto_tree *tree = NULL;
5563 guint32 lock_req_mode;
5569 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5570 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_desc);
5573 offset=lustre_dissect_element_ldlm_lock_desc_l_resource(tvb, offset, pinfo, tree);
5575 lock_req_mode = tvb_get_letohl(tvb,offset);
5577 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lock_req_mode, lustre_ldlm_mode_t_vals, "Unknown lock"));
5579 offset=lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvb, offset, pinfo, tree);
5581 offset=lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvb, offset, pinfo, tree);
5583 offset=lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvb, offset, pinfo, tree);
5586 proto_item_set_len(item, offset-old_offset);
5592 /* IDL: struct ldlm_request { */
5593 /* IDL: uint32 lock_flags; */
5594 /* IDL: uint32 lock_count; */
5595 /* IDL: struct ldlm_lock_desc { */
5596 /* IDL: } lock_desc; */
5597 /* IDL: struct lustre_handle { */
5598 /* IDL: } lock_handle[2]; */
5604 lustre_dissect_element_ldlm_request_lock_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5606 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_request_lock_count);
5612 lustre_dissect_element_ldlm_request_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5614 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_desc);
5621 lustre_dissect_element_ldlm_request_lock_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5623 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5624 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5626 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_handle);
5631 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_)
5636 for (i = 0; i < num_locks; i++)
5637 offset=lustre_dissect_element_ldlm_request_lock_handle_(tvb, offset, pinfo, tree);
5643 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_)
5645 proto_item *item = NULL;
5646 proto_tree *tree = NULL;
5648 /* guint32 lock_flag; */
5649 /* guint32 ldlm_type; */
5650 guint32 num_locks = 2;
5655 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5656 tree = proto_item_add_subtree(item, ett_lustre_ldlm_request);
5659 /* lock_flag = tvb_get_letohl(tvb,offset); */
5660 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree,
5661 hf_lustre_ldlm_request_lock_flags);
5663 num_locks = tvb_get_letohl(tvb,offset);
5664 offset=lustre_dissect_element_ldlm_request_lock_count(tvb, offset, pinfo, tree);
5666 /* ldlm_type = (EXTENT, PLAIN, ou IBITS) */
5667 /* ldlm_type = tvb_get_letohl(tvb,offset); */
5668 offset=lustre_dissect_element_ldlm_request_lock_desc(tvb, offset, pinfo, tree);
5669 offset=lustre_dissect_element_ldlm_request_lock_handle(tvb, offset, pinfo, tree, num_locks);
5671 proto_item_set_len(item, offset-old_offset);
5677 lustre_dissect_element_ldlm_reply_lock_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5679 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_padding);
5685 lustre_dissect_element_ldlm_reply_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5687 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_desc);
5692 lustre_dissect_element_ldlm_reply_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5694 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5695 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5697 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_handle);
5702 lustre_dissect_element_ldlm_reply_lock_policy_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5704 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res1);
5710 lustre_dissect_element_ldlm_reply_lock_policy_res2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5712 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res2);
5718 lustre_dissect_struct_ldlm_reply(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_, guint32 * ldlm_type _U_ )
5720 proto_item *item = NULL;
5721 proto_tree *tree = NULL;
5723 /* guint32 lock_flag; */
5728 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5729 tree = proto_item_add_subtree(item, ett_lustre_ldlm_reply);
5732 /* lock_flag = tvb_get_letohl(tvb,offset); */
5733 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_flags);
5735 offset=lustre_dissect_element_ldlm_reply_lock_padding(tvb, offset, pinfo, tree);
5737 if (ldlm_type != NULL)
5738 *ldlm_type = tvb_get_letohl(tvb,offset);
5739 offset=lustre_dissect_element_ldlm_reply_lock_desc(tvb, offset, pinfo, tree);
5741 offset=lustre_dissect_element_ldlm_reply_lock_handle(tvb, offset, pinfo, tree);
5743 offset=lustre_dissect_element_ldlm_reply_lock_policy_res1(tvb, offset, pinfo, tree);
5745 offset=lustre_dissect_element_ldlm_reply_lock_policy_res2(tvb, offset, pinfo, tree);
5747 proto_item_set_len(item, offset-old_offset);
5755 /* IDL: struct mgs_send_param { */
5756 /* IDL: uint8 mgs_param[1024]; */
5762 lustre_dissect_element_mgs_send_param_mgs_param_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5764 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_send_param_mgs_param);
5770 lustre_dissect_element_mgs_send_param_mgs_param(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5773 for (i = 0; i < 1024; i++)
5774 offset=lustre_dissect_element_mgs_send_param_mgs_param_(tvb, offset, pinfo, tree);
5780 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_)
5782 proto_item *item = NULL;
5783 proto_tree *tree = NULL;
5790 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5791 tree = proto_item_add_subtree(item, ett_lustre_mgs_send_param);
5794 offset=lustre_dissect_element_mgs_send_param_mgs_param(tvb, offset, pinfo, tree);
5797 proto_item_set_len(item, offset-old_offset);
5802 /* IDL: struct mgs_config_body {
5803 * IDL: char mcb_name[64];
5804 * IDL: __u64 mcb_offset;
5805 * IDL: __u16 mcb_type;
5806 * IDL: __u8 mcb_reserved;
5807 * IDL: __u8 mcb_bits;
5808 * IDL: __u32 mcb_units;
5812 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_)
5814 int string_len = 64;
5815 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
5816 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " name : %s",
5817 (const gchar *) tvb_get_string(tvb,offset,string_len) );
5824 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_)
5826 proto_item *item = NULL;
5827 proto_tree *tree = NULL;
5834 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5835 tree = proto_item_add_subtree(item, ett_lustre_mgs_config_body);
5838 offset=lustre_dissect_element_mgs_config_body_name(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_name);
5840 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_offset);
5841 offset=dissect_uint16(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_type);
5842 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_reserved);
5843 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_bits);
5844 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_units);
5846 proto_item_set_len(item, offset-old_offset);
5851 /* IDL: struct mgs_config_res {
5852 * IDL: __u64 mcr_offset;
5853 * IDL: __u64 mcr_size;
5857 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_)
5859 proto_item *item = NULL;
5860 proto_tree *tree = NULL;
5866 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5867 tree = proto_item_add_subtree(item, ett_lustre_mgs_config_res);
5870 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_res_offset);
5871 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_res_size);
5873 proto_item_set_len(item, offset-old_offset);
5879 /* IDL: struct mgs_target_info { */
5880 /* IDL: uint32 mti_lustre_ver; */
5881 /* IDL: uint32 mti_stripe_index; */
5882 /* IDL: uint32 mti_config_ver; */
5883 /* IDL: uint32 mti_flags; */
5884 /* IDL: uint32 mti_nid_count; */
5885 /* IDL: uint32 padding; */
5886 /* IDL: uint8 mti_fsname[64]; */
5887 /* IDL: uint8 mti_svname[64]; */
5888 /* IDL: uint8 mti_uuid[40]; */
5889 /* IDL: uint64 mti_nids[32]; */
5890 /* IDL: uint8 mti_params[4096]; */
5894 lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5896 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_lustre_ver);
5902 lustre_dissect_element_mgs_target_info_mti_stripe_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5904 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_stripe_index);
5910 lustre_dissect_element_mgs_target_info_mti_config_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5912 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_config_ver);
5918 lustre_dissect_element_mgs_target_info_mti_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5920 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_flags);
5926 lustre_dissect_element_mgs_target_info_mti_nid_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5928 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nid_count);
5934 lustre_dissect_element_mgs_target_info_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5936 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_padding);
5942 lustre_dissect_element_mgs_target_info_mti_fsname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5944 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_fsname);
5950 lustre_dissect_element_mgs_target_info_mti_fsname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5953 for (i = 0; i < 64; i++)
5954 offset=lustre_dissect_element_mgs_target_info_mti_fsname_(tvb, offset, pinfo, tree);
5964 lustre_dissect_element_mgs_target_info_mti_svname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5966 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_svname);
5972 lustre_dissect_element_mgs_target_info_mti_svname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5975 for (i = 0; i < 64; i++)
5976 offset=lustre_dissect_element_mgs_target_info_mti_svname_(tvb, offset, pinfo, tree);
5982 lustre_dissect_element_mgs_target_info_mti_uuid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5984 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_uuid);
5990 lustre_dissect_element_mgs_target_info_mti_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5993 for (i = 0; i < 40; i++)
5994 offset=lustre_dissect_element_mgs_target_info_mti_uuid_(tvb, offset, pinfo, tree);
6004 lustre_dissect_element_mgs_target_info_mti_nids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6006 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nids);
6012 lustre_dissect_element_mgs_target_info_mti_nids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6015 for (i = 0; i < 32; i++)
6016 offset=lustre_dissect_element_mgs_target_info_mti_nids_(tvb, offset, pinfo, tree);
6024 lustre_dissect_element_mgs_target_info_mti_params_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6026 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_params);
6032 lustre_dissect_element_mgs_target_info_mti_params(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6035 for (i = 0; i < 4096; i++)
6036 offset=lustre_dissect_element_mgs_target_info_mti_params_(tvb, offset, pinfo, tree);
6042 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_)
6044 proto_item *item = NULL;
6045 proto_tree *tree = NULL;
6053 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6054 tree = proto_item_add_subtree(item, ett_lustre_mgs_target_info);
6057 offset=lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvb, offset, pinfo, tree);
6059 offset=lustre_dissect_element_mgs_target_info_mti_stripe_index(tvb, offset, pinfo, tree);
6061 offset=lustre_dissect_element_mgs_target_info_mti_config_ver(tvb, offset, pinfo, tree);
6063 offset=lustre_dissect_element_mgs_target_info_mti_flags(tvb, offset, pinfo, tree);
6065 offset=lustre_dissect_element_mgs_target_info_mti_nid_count(tvb, offset, pinfo, tree);
6067 offset=lustre_dissect_element_mgs_target_info_padding(tvb, offset, pinfo, tree);
6069 offset=lustre_dissect_element_mgs_target_info_mti_fsname(tvb, offset, pinfo, tree);
6071 offset=lustre_dissect_element_mgs_target_info_mti_svname(tvb, offset, pinfo, tree);
6073 offset=lustre_dissect_element_mgs_target_info_mti_uuid(tvb, offset, pinfo, tree);
6075 offset=lustre_dissect_element_mgs_target_info_mti_nids(tvb, offset, pinfo, tree);
6077 offset=lustre_dissect_element_mgs_target_info_mti_params(tvb, offset, pinfo, tree);
6080 proto_item_set_len(item, offset-old_offset);
6085 /* IDL: struct cfg_marker { */
6086 /* IDL: uint32 cm_step; */
6087 /* IDL: uint32 cm_flags; */
6088 /* IDL: uint32 cm_vers; */
6089 /* IDL: uint32 padding; */
6090 /* IDL: time_t cm_createtime; */
6091 /* IDL: time_t cm_canceltime; */
6092 /* IDL: uint8 cm_tgtname[64]; */
6093 /* IDL: uint8 cm_comment[64]; */
6097 lustre_dissect_element_cfg_marker_cm_step(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6099 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_step);
6105 lustre_dissect_element_cfg_marker_cm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6107 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_flags);
6113 lustre_dissect_element_cfg_marker_cm_vers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6115 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_vers);
6121 lustre_dissect_element_cfg_marker_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6123 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_padding);
6129 lustre_dissect_element_cfg_marker_cm_createtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6131 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_createtime );
6132 /*g_print("function lustre_dissect_element_cfg_marker_cm_createtime don't work\n");*/
6137 lustre_dissect_element_cfg_marker_cm_canceltime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6139 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_canceltime);
6141 /*g_print("element_cfg_marker_cm_canceltime\n");*/
6148 lustre_dissect_element_cfg_marker_cm_tgtname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6150 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_tgtname);
6156 lustre_dissect_element_cfg_marker_cm_tgtname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6159 for (i = 0; i < 64; i++)
6160 offset=lustre_dissect_element_cfg_marker_cm_tgtname_(tvb, offset, pinfo, tree);
6168 lustre_dissect_element_cfg_marker_cm_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6170 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_comment);
6176 lustre_dissect_element_cfg_marker_cm_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6179 for (i = 0; i < 64; i++)
6180 offset=lustre_dissect_element_cfg_marker_cm_comment_(tvb, offset, pinfo, tree);
6186 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_)
6188 proto_item *item = NULL;
6189 proto_tree *tree = NULL;
6197 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6198 tree = proto_item_add_subtree(item, ett_lustre_cfg_marker);
6201 offset=lustre_dissect_element_cfg_marker_cm_step(tvb, offset, pinfo, tree);
6203 offset=lustre_dissect_element_cfg_marker_cm_flags(tvb, offset, pinfo, tree);
6205 offset=lustre_dissect_element_cfg_marker_cm_vers(tvb, offset, pinfo, tree);
6207 offset=lustre_dissect_element_cfg_marker_padding(tvb, offset, pinfo, tree);
6209 offset=lustre_dissect_element_cfg_marker_cm_createtime(tvb, offset, pinfo, tree);
6211 offset=lustre_dissect_element_cfg_marker_cm_canceltime(tvb, offset, pinfo, tree);
6213 offset=lustre_dissect_element_cfg_marker_cm_tgtname(tvb, offset, pinfo, tree);
6215 offset=lustre_dissect_element_cfg_marker_cm_comment(tvb, offset, pinfo, tree);
6218 proto_item_set_len(item, offset-old_offset);
6225 /* IDL: struct llog_logid { */
6226 /* IDL: uint64 lgl_oid; */
6227 /* IDL: uint64 lgl_oseq; */
6228 /* IDL: uint32 lgl_ogen; */
6232 lustre_dissect_element_llog_logid_lgl_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6234 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oid);
6240 lustre_dissect_element_llog_logid_lgl_oseq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6242 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oseq);
6248 lustre_dissect_element_llog_logid_lgl_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6250 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_ogen);
6256 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_)
6258 proto_item *item = NULL;
6259 proto_tree *tree = NULL;
6267 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6268 tree = proto_item_add_subtree(item, ett_lustre_llog_logid);
6271 offset=lustre_dissect_element_llog_logid_lgl_oid(tvb, offset, pinfo, tree);
6273 offset=lustre_dissect_element_llog_logid_lgl_oseq(tvb, offset, pinfo, tree);
6275 offset=lustre_dissect_element_llog_logid_lgl_ogen(tvb, offset, pinfo, tree);
6278 proto_item_set_len(item, offset-old_offset);
6283 /* I don't know when this structure is used on network */
6284 /* IDL: struct llog_catid { */
6285 /* IDL: struct llog_logid { */
6286 /* IDL: } lci_logid; */
6287 /* IDL: uint32 lci_padding1; */
6288 /* IDL: uint32 lci_padding2; */
6289 /* IDL: uint32 lci_padding3; */
6293 lustre_dissect_element_llog_catid_lci_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6295 //offset=lustre_dissect_struct_HASH(0x85cc76c)(tvb,offset,pinfo,tree,hf_lustre_llog_catid_lci_logid);
6297 /*g_print("llog_catid_lci_logid bug\n");*/
6302 lustre_dissect_element_llog_catid_lci_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6304 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding1);
6310 lustre_dissect_element_llog_catid_lci_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6312 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding2);
6318 lustre_dissect_element_llog_catid_lci_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6320 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding3);
6326 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_)
6328 proto_item *item = NULL;
6329 proto_tree *tree = NULL;
6337 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6338 tree = proto_item_add_subtree(item, ett_lustre_llog_catid);
6341 offset=lustre_dissect_element_llog_catid_lci_logid(tvb, offset, pinfo, tree);
6343 offset=lustre_dissect_element_llog_catid_lci_padding1(tvb, offset, pinfo, tree);
6345 offset=lustre_dissect_element_llog_catid_lci_padding2(tvb, offset, pinfo, tree);
6347 offset=lustre_dissect_element_llog_catid_lci_padding3(tvb, offset, pinfo, tree);
6350 proto_item_set_len(item, offset-old_offset);
6355 /* IDL: struct llog_rec_hdr { */
6356 /* IDL: uint32 lrh_len; */
6357 /* IDL: uint32 lrh_index; */
6358 /* IDL: uint32 lrh_type; */
6359 /* IDL: uint32 padding; */
6363 lustre_dissect_element_llog_rec_hdr_lrh_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6365 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_len);
6371 lustre_dissect_element_llog_rec_hdr_lrh_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6373 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_index);
6379 lustre_dissect_element_llog_rec_hdr_lrh_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6381 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_type);
6387 lustre_dissect_element_llog_rec_hdr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6389 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_padding);
6395 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_)
6397 proto_item *item = NULL;
6398 proto_tree *tree = NULL;
6406 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6407 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_hdr);
6410 offset=lustre_dissect_element_llog_rec_hdr_lrh_len(tvb, offset, pinfo, tree);
6412 offset=lustre_dissect_element_llog_rec_hdr_lrh_index(tvb, offset, pinfo, tree);
6414 offset=lustre_dissect_element_llog_rec_hdr_lrh_type(tvb, offset, pinfo, tree);
6416 offset=lustre_dissect_element_llog_rec_hdr_padding(tvb, offset, pinfo, tree);
6419 proto_item_set_len(item, offset-old_offset);
6424 /* IDL: struct llog_rec_tail { */
6425 /* IDL: uint32 lrt_len; */
6426 /* IDL: uint32 lrt_index; */
6430 lustre_dissect_element_llog_rec_tail_lrt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6432 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_len);
6438 lustre_dissect_element_llog_rec_tail_lrt_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6440 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_index);
6446 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_)
6448 proto_item *item = NULL;
6449 proto_tree *tree = NULL;
6457 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6458 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_tail);
6461 offset=lustre_dissect_element_llog_rec_tail_lrt_len(tvb, offset, pinfo, tree);
6463 offset=lustre_dissect_element_llog_rec_tail_lrt_index(tvb, offset, pinfo, tree);
6466 proto_item_set_len(item, offset-old_offset);
6471 /* IDL: struct llog_logid_rec { */
6472 /* IDL: struct llog_rec_hdr { */
6473 /* IDL: } lid_hdr; */
6474 /* IDL: struct llog_logid { */
6475 /* IDL: } lid_id; */
6476 /* IDL: uint32 padding1; */
6477 /* IDL: uint32 padding2; */
6478 /* IDL: uint32 padding3; */
6479 /* IDL: uint32 padding4; */
6480 /* IDL: uint32 padding5; */
6481 /* IDL: struct llog_rec_tail { */
6482 /* IDL: } lid_tail; */
6486 lustre_dissect_element_llog_logid_rec_lid_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6488 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_hdr);
6493 lustre_dissect_element_llog_logid_rec_lid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6495 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_id);
6500 lustre_dissect_element_llog_logid_rec_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6502 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding1);
6508 lustre_dissect_element_llog_logid_rec_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6510 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding2);
6516 lustre_dissect_element_llog_logid_rec_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6518 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding3);
6524 lustre_dissect_element_llog_logid_rec_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6526 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding4);
6532 lustre_dissect_element_llog_logid_rec_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6534 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding5);
6540 lustre_dissect_element_llog_logid_rec_lid_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6542 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_tail);
6547 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_)
6549 proto_item *item = NULL;
6550 proto_tree *tree = NULL;
6558 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6559 tree = proto_item_add_subtree(item, ett_lustre_llog_logid_rec);
6562 offset=lustre_dissect_element_llog_logid_rec_lid_hdr(tvb, offset, pinfo, tree);
6564 offset=lustre_dissect_element_llog_logid_rec_lid_id(tvb, offset, pinfo, tree);
6566 offset=lustre_dissect_element_llog_logid_rec_padding1(tvb, offset, pinfo, tree);
6568 offset=lustre_dissect_element_llog_logid_rec_padding2(tvb, offset, pinfo, tree);
6570 offset=lustre_dissect_element_llog_logid_rec_padding3(tvb, offset, pinfo, tree);
6572 offset=lustre_dissect_element_llog_logid_rec_padding4(tvb, offset, pinfo, tree);
6574 offset=lustre_dissect_element_llog_logid_rec_padding5(tvb, offset, pinfo, tree);
6576 offset=lustre_dissect_element_llog_logid_rec_lid_tail(tvb, offset, pinfo, tree);
6579 proto_item_set_len(item, offset-old_offset);
6587 /* IDL: struct llog_unlink_rec { */
6588 /* IDL: struct llog_rec_hdr { */
6589 /* IDL: } lur_hdr; */
6590 /* IDL: uint64 lur_oid; */
6591 /* IDL: uint32 lur_ogen; */
6592 /* IDL: uint32 padding; */
6593 /* IDL: struct llog_rec_tail { */
6594 /* IDL: } lur_tail; */
6598 lustre_dissect_element_llog_unlink_rec_lur_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6600 //offset=lustre_dissect_struct_HASH(0x85d8730)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_hdr);
6605 lustre_dissect_element_llog_unlink_rec_lur_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6607 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_oid);
6613 lustre_dissect_element_llog_unlink_rec_lur_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6615 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_ogen);
6621 lustre_dissect_element_llog_unlink_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6623 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_padding);
6629 lustre_dissect_element_llog_unlink_rec_lur_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6631 //offset=lustre_dissect_struct_HASH(0x85d9664)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_tail);
6636 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_)
6638 proto_item *item = NULL;
6639 proto_tree *tree = NULL;
6647 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6648 tree = proto_item_add_subtree(item, ett_lustre_llog_unlink_rec);
6651 offset=lustre_dissect_element_llog_unlink_rec_lur_hdr(tvb, offset, pinfo, tree);
6653 offset=lustre_dissect_element_llog_unlink_rec_lur_oid(tvb, offset, pinfo, tree);
6655 offset=lustre_dissect_element_llog_unlink_rec_lur_ogen(tvb, offset, pinfo, tree);
6657 offset=lustre_dissect_element_llog_unlink_rec_padding(tvb, offset, pinfo, tree);
6659 offset=lustre_dissect_element_llog_unlink_rec_lur_tail(tvb, offset, pinfo, tree);
6662 proto_item_set_len(item, offset-old_offset);
6669 /* IDL: struct llog_setattr_rec { */
6670 /* IDL: struct llog_rec_hdr { */
6671 /* IDL: } lsr_hdr; */
6672 /* IDL: uint64 lsr_oid; */
6673 /* IDL: uint32 lsr_ogen; */
6674 /* IDL: uint32 lsr_uid; */
6675 /* IDL: uint32 lsr_gid; */
6676 /* IDL: uint32 padding; */
6677 /* IDL: struct llog_rec_tail { */
6678 /* IDL: } lsr_tail; */
6682 lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6684 //offset=lustre_dissect_struct_HASH(0x85da2f0)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_hdr);
6689 lustre_dissect_element_llog_setattr_rec_lsr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6691 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_oid);
6697 lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6699 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_ogen);
6705 lustre_dissect_element_llog_setattr_rec_lsr_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6707 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_uid);
6713 lustre_dissect_element_llog_setattr_rec_lsr_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6715 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_gid);
6721 lustre_dissect_element_llog_setattr_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6723 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_padding);
6729 lustre_dissect_element_llog_setattr_rec_lsr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6731 //offset=lustre_dissect_struct_HASH(0x85db3d4)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_tail);
6736 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_)
6738 proto_item *item = NULL;
6739 proto_tree *tree = NULL;
6747 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6748 tree = proto_item_add_subtree(item, ett_lustre_llog_setattr_rec);
6751 offset=lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvb, offset, pinfo, tree);
6753 offset=lustre_dissect_element_llog_setattr_rec_lsr_oid(tvb, offset, pinfo, tree);
6755 offset=lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvb, offset, pinfo, tree);
6757 offset=lustre_dissect_element_llog_setattr_rec_lsr_uid(tvb, offset, pinfo, tree);
6759 offset=lustre_dissect_element_llog_setattr_rec_lsr_gid(tvb, offset, pinfo, tree);
6761 offset=lustre_dissect_element_llog_setattr_rec_padding(tvb, offset, pinfo, tree);
6763 offset=lustre_dissect_element_llog_setattr_rec_lsr_tail(tvb, offset, pinfo, tree);
6766 proto_item_set_len(item, offset-old_offset);
6774 /* IDL: struct llog_size_change_rec { */
6775 /* IDL: struct llog_rec_hdr { */
6776 /* IDL: } lsc_hdr; */
6777 /* IDL: struct ll_fid { */
6778 /* IDL: } lsc_fid; */
6779 /* IDL: uint32 lsc_io_epoch; */
6780 /* IDL: uint32 padding; */
6781 /* IDL: struct llog_rec_tail { */
6782 /* IDL: } lsc_tail; */
6786 lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6788 //offset=lustre_dissect_struct_HASH(0x85dc458)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_hdr);
6793 lustre_dissect_element_llog_size_change_rec_lsc_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6795 //offset=lustre_dissect_struct_HASH(0x85dc5a8)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_fid);
6800 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_)
6802 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_lsc_io_epoch);
6808 lustre_dissect_element_llog_size_change_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6810 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_padding);
6816 lustre_dissect_element_llog_size_change_rec_lsc_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6818 //offset=lustre_dissect_struct_HASH(0x85dd384)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_tail);
6819 // TODO: to be corrected !
6824 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_)
6826 proto_item *item = NULL;
6827 proto_tree *tree = NULL;
6835 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6836 tree = proto_item_add_subtree(item, ett_lustre_llog_size_change_rec);
6839 offset=lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvb, offset, pinfo, tree);
6841 offset=lustre_dissect_element_llog_size_change_rec_lsc_fid(tvb, offset, pinfo, tree);
6843 offset=lustre_dissect_element_llog_size_change_rec_lsc_io_epoch(tvb, offset, pinfo, tree);
6845 offset=lustre_dissect_element_llog_size_change_rec_padding(tvb, offset, pinfo, tree);
6847 offset=lustre_dissect_element_llog_size_change_rec_lsc_tail(tvb, offset, pinfo, tree);
6850 proto_item_set_len(item, offset-old_offset);
6858 /* IDL: struct llog_gen { */
6859 /* IDL: uint64 mnt_cnt; */
6860 /* IDL: uint64 conn_cnt; */
6864 lustre_dissect_element_llog_gen_mnt_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6866 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_mnt_cnt);
6872 lustre_dissect_element_llog_gen_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6874 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_conn_cnt);
6880 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_)
6882 proto_item *item = NULL;
6883 proto_tree *tree = NULL;
6891 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6892 tree = proto_item_add_subtree(item, ett_lustre_llog_gen);
6895 offset=lustre_dissect_element_llog_gen_mnt_cnt(tvb, offset, pinfo, tree);
6897 offset=lustre_dissect_element_llog_gen_conn_cnt(tvb, offset, pinfo, tree);
6900 proto_item_set_len(item, offset-old_offset);
6905 /* IDL: struct llog_gen_rec { */
6906 /* IDL: struct llog_rec_hdr { */
6907 /* IDL: } lgr_hdr; */
6908 /* IDL: struct llog_gen { */
6909 /* IDL: } lgr_gen; */
6910 /* IDL: struct llog_rec_tail { */
6911 /* IDL: } lgr_tail; */
6915 lustre_dissect_element_llog_gen_rec_lgr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6917 //offset=lustre_dissect_struct_HASH(0x85de2e4)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_hdr);
6918 // TODO: to be corrected !
6923 lustre_dissect_element_llog_gen_rec_lgr_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6925 //offset=lustre_dissect_struct_HASH(0x85de434)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_gen);
6926 // TODO: to be corrected !
6931 lustre_dissect_element_llog_gen_rec_lgr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6933 //offset=lustre_dissect_struct_HASH(0x85df3f8)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_tail);
6934 // TODO: to be corrected !
6939 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_)
6941 proto_item *item = NULL;
6942 proto_tree *tree = NULL;
6950 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6951 tree = proto_item_add_subtree(item, ett_lustre_llog_gen_rec);
6954 offset=lustre_dissect_element_llog_gen_rec_lgr_hdr(tvb, offset, pinfo, tree);
6956 offset=lustre_dissect_element_llog_gen_rec_lgr_gen(tvb, offset, pinfo, tree);
6958 offset=lustre_dissect_element_llog_gen_rec_lgr_tail(tvb, offset, pinfo, tree);
6961 proto_item_set_len(item, offset-old_offset);
6969 /* IDL: struct llog_log_hdr { */
6970 /* IDL: struct llog_rec_hdr { */
6971 /* IDL: } llh_hdr; */
6972 /* IDL: uint64 llh_timestamp; */
6973 /* IDL: uint32 llh_count; */
6974 /* IDL: uint32 llh_bitmap_offset; */
6975 /* IDL: uint32 llh_size; */
6976 /* IDL: uint32 llh_flags; */
6977 /* IDL: uint32 llh_cat_idx; */
6978 /* IDL: struct obd_uuid { */
6979 /* IDL: } llh_tgtuuid; */
6980 /* IDL: uint32 llh_reserved[1]; */
6981 /* IDL: uint32 llh_bitmap[2024]; */
6982 /* IDL: struct llog_rec_tail { */
6983 /* IDL: } llh_tail; */
6987 lustre_dissect_element_llog_log_hdr_llh_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6989 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_hdr);
6994 lustre_dissect_element_llog_log_hdr_llh_timestamp(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6997 ns.secs = tvb_get_letohl(tvb,offset);
6999 proto_tree_add_time(tree, hf_lustre_llog_log_hdr_llh_timestamp, tvb, offset, 8, &ns );
7005 lustre_dissect_element_llog_log_hdr_llh_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7007 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_count);
7013 lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7015 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap_offset);
7021 lustre_dissect_element_llog_log_hdr_llh_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7023 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_size);
7031 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_)
7033 proto_item *item = NULL;
7034 proto_tree *tree = NULL;
7037 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
7038 tree = proto_item_add_subtree(item, ett_lustre_llog_log_llh_flags);
7040 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_zap_when_empty);
7041 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_cat);
7042 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_play);
7049 lustre_dissect_element_llog_log_hdr_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7051 // offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7052 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7057 lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7059 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_cat_idx);
7065 lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7067 offset=lustre_dissect_struct_obd_uuid(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tgtuuid);
7072 lustre_dissect_element_llog_log_hdr_llh_reserved_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7074 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_reserved);
7080 lustre_dissect_element_llog_log_hdr_llh_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7083 for (i = 0; i < 1; i++)
7084 offset=lustre_dissect_element_llog_log_hdr_llh_reserved_(tvb, offset, pinfo, tree);
7090 lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7092 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap);
7099 lustre_dissect_element_llog_log_hdr_llh_bitmap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7102 for (i = 0; i < 2024; i++)
7103 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvb, offset, pinfo, tree);
7111 lustre_dissect_element_llog_log_hdr_llh_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7113 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tail);
7118 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_)
7120 proto_item *item = NULL;
7121 proto_tree *tree = NULL;
7129 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7130 tree = proto_item_add_subtree(item, ett_lustre_llog_log_hdr);
7133 offset=lustre_dissect_element_llog_log_hdr_llh_hdr(tvb, offset, pinfo, tree);
7135 offset=lustre_dissect_element_llog_log_hdr_llh_timestamp(tvb, offset, pinfo, tree);
7137 offset=lustre_dissect_element_llog_log_hdr_llh_count(tvb, offset, pinfo, tree);
7139 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvb, offset, pinfo, tree);
7141 offset=lustre_dissect_element_llog_log_hdr_llh_size(tvb, offset, pinfo, tree);
7143 offset=lustre_dissect_element_llog_log_hdr_llh_flags(tvb, offset, pinfo, tree);
7145 offset=lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvb, offset, pinfo, tree);
7147 offset=lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvb, offset, pinfo, tree);
7149 offset=lustre_dissect_element_llog_log_hdr_llh_reserved(tvb, offset, pinfo, tree);
7151 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap(tvb, offset, pinfo, tree);
7153 offset=lustre_dissect_element_llog_log_hdr_llh_tail(tvb, offset, pinfo, tree);
7156 proto_item_set_len(item, offset-old_offset);
7164 /* IDL: struct llog_cookie { */
7165 /* IDL: struct llog_logid { */
7166 /* IDL: } lgc_lgl; */
7167 /* IDL: uint32 lgc_subsys; */
7168 /* IDL: uint32 lgc_index; */
7169 /* IDL: uint32 lgc_padding; */
7173 lustre_dissect_element_llog_cookie_lgc_lgl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7175 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_cookie_lgc_lgl);
7180 lustre_dissect_element_llog_cookie_lgc_subsys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7182 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_subsys);
7188 lustre_dissect_element_llog_cookie_lgc_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7190 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_index);
7196 lustre_dissect_element_llog_cookie_lgc_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7198 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_padding);
7204 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_)
7206 proto_item *item = NULL;
7207 proto_tree *tree = NULL;
7215 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7216 tree = proto_item_add_subtree(item, ett_lustre_llog_cookie);
7219 offset=lustre_dissect_element_llog_cookie_lgc_lgl(tvb, offset, pinfo, tree);
7221 offset=lustre_dissect_element_llog_cookie_lgc_subsys(tvb, offset, pinfo, tree);
7223 offset=lustre_dissect_element_llog_cookie_lgc_index(tvb, offset, pinfo, tree);
7225 offset=lustre_dissect_element_llog_cookie_lgc_padding(tvb, offset, pinfo, tree);
7228 proto_item_set_len(item, offset-old_offset);
7235 /* IDL: struct llogd_body { */
7236 /* IDL: struct llog_logid { */
7237 /* IDL: } lgd_logid; */
7238 /* IDL: uint32 lgd_ctxt_idx; */
7239 /* IDL: uint32 lgd_llh_flags; */
7240 /* IDL: uint32 lgd_index; */
7241 /* IDL: uint32 lgd_saved_index; */
7242 /* IDL: uint32 lgd_len; */
7243 /* IDL: uint64 lgd_cur_offset; */
7247 lustre_dissect_element_llogd_body_lgd_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7249 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llogd_body_lgd_logid);
7254 lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7256 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_ctxt_idx);
7262 lustre_dissect_element_llogd_body_lgd_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7264 //offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7266 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7272 lustre_dissect_element_llogd_body_lgd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7274 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_index);
7280 lustre_dissect_element_llogd_body_lgd_saved_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7282 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_saved_index);
7288 lustre_dissect_element_llogd_body_lgd_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7290 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_len);
7296 lustre_dissect_element_llogd_body_lgd_cur_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7298 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_cur_offset);
7304 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_)
7306 proto_item *item = NULL;
7307 proto_tree *tree = NULL;
7315 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7316 tree = proto_item_add_subtree(item, ett_lustre_llogd_body);
7319 offset=lustre_dissect_element_llogd_body_lgd_logid(tvb, offset, pinfo, tree);
7321 offset=lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvb, offset, pinfo, tree);
7323 offset=lustre_dissect_element_llogd_body_lgd_llh_flags(tvb, offset, pinfo, tree);
7325 offset=lustre_dissect_element_llogd_body_lgd_index(tvb, offset, pinfo, tree);
7327 offset=lustre_dissect_element_llogd_body_lgd_saved_index(tvb, offset, pinfo, tree);
7329 offset=lustre_dissect_element_llogd_body_lgd_len(tvb, offset, pinfo, tree);
7331 offset=lustre_dissect_element_llogd_body_lgd_cur_offset(tvb, offset, pinfo, tree);
7334 proto_item_set_len(item, offset-old_offset);
7340 /* TODO : find when this Structure appear on the wire */
7341 /* IDL: struct llogd_conn_body { */
7342 /* IDL: struct llog_gen { */
7343 /* IDL: } lgdc_gen; */
7344 /* IDL: struct llog_logid { */
7345 /* IDL: } lgdc_logid; */
7346 /* IDL: uint32 lgdc_ctxt_idx; */
7350 lustre_dissect_element_llogd_conn_body_lgdc_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7352 //offset=lustre_dissect_struct_HASH(0x85e6038)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_gen);
7357 lustre_dissect_element_llogd_conn_body_lgdc_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7359 //offset=lustre_dissect_struct_HASH(0x85e6188)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_logid);
7364 lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7366 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_conn_body_lgdc_ctxt_idx);
7372 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_)
7374 proto_item *item = NULL;
7375 proto_tree *tree = NULL;
7383 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7384 tree = proto_item_add_subtree(item, ett_lustre_llogd_conn_body);
7387 offset=lustre_dissect_element_llogd_conn_body_lgdc_gen(tvb, offset, pinfo, tree);
7389 offset=lustre_dissect_element_llogd_conn_body_lgdc_logid(tvb, offset, pinfo, tree);
7391 offset=lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvb, offset, pinfo, tree);
7394 proto_item_set_len(item, offset-old_offset);
7399 /* IDL: struct obdo { */
7400 /* IDL: uint64 o_valid; */
7401 /* IDL: uint64 o_id; */
7402 /* IDL: uint64 o_seq; */
7403 /* IDL: uint64 o_parent_seq; */
7404 /* IDL: uint64 o_size; */
7405 /* IDL: uint64 o_mtime; */
7406 /* IDL: uint64 o_atime; */
7407 /* IDL: uint64 o_ctime; */
7408 /* IDL: uint64 o_blocks; */
7409 /* IDL: uint64 o_grant; */
7410 /* IDL: uint32 o_blksize; */
7411 /* IDL: uint32 o_mode; */
7412 /* IDL: uint32 o_uid; */
7413 /* IDL: uint32 o_gid; */
7414 /* IDL: uint32 o_flags; */
7415 /* IDL: uint32 o_nlink; */
7416 /* IDL: uint32 o_parent_oid; */
7417 /* IDL: uint32 o_misc; */
7418 /* IDL: uint64 o_ioepoch; */
7419 /* IDL: uint32 o_stripe_idx; */
7420 /* IDL: uint32 o_parent_ver; */
7421 /* IDL: struct lustre_handle { */
7422 /* IDL: } o_handle; */
7423 /* IDL: struct llog_cookie { */
7424 /* IDL: } o_lcookie; */
7425 /* IDL: uint32 o_uid_h; */
7426 /* IDL: uint32 o_gid_h; */
7427 /* IDL: uint64 o_padding_3; */
7428 /* IDL: uint64 o_padding_4; */
7429 /* IDL: uint64 o_padding_5; */
7430 /* IDL: uint64 o_padding_6; */
7434 lustre_dissect_element_obdo_o_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7436 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_valid);
7442 lustre_dissect_element_obdo_o_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7444 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_id);
7450 lustre_dissect_element_obdo_o_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7452 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_seq);
7458 lustre_dissect_element_obdo_o_parent_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7460 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_seq);
7466 lustre_dissect_element_obdo_o_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7468 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_size);
7474 lustre_dissect_element_obdo_o_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7478 ns.secs = tvb_get_letohl(tvb,offset);
7480 proto_tree_add_time(tree, hf_lustre_obdo_o_mtime, tvb, offset, 8, &ns );
7486 lustre_dissect_element_obdo_o_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7490 ns.secs = tvb_get_letohl(tvb,offset);
7492 proto_tree_add_time(tree, hf_lustre_obdo_o_atime, tvb, offset, 8, &ns );
7499 lustre_dissect_element_obdo_o_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7503 ns.secs = tvb_get_letohl(tvb,offset);
7505 proto_tree_add_time(tree, hf_lustre_obdo_o_ctime, tvb, offset, 8, &ns );
7511 lustre_dissect_element_obdo_o_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7513 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blocks);
7519 lustre_dissect_element_obdo_o_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7521 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_grant);
7527 lustre_dissect_element_obdo_o_blksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7529 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blksize);
7535 lustre_dissect_element_obdo_o_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7537 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_mode);
7543 lustre_dissect_element_obdo_o_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7545 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid);
7551 lustre_dissect_element_obdo_o_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7553 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid);
7559 lustre_dissect_element_obdo_o_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7561 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_flags);
7562 /* TODO rajouter ça , faire une fonction générique qui s'occupe de tous les flags d'un tableau. */
7564 /*0x00000001 : "OBD_FL_INLINEDATA",*/
7565 /*0x00000002 : "OBD_FL_OBDMDEXISTS",*/
7566 /*0x00000004 : "OBD_FL_DELORPHAN",*/
7567 /*0x00000008 : "OBD_FL_NORPC",*/
7568 /*0x00000010 : "OBD_FL_IDONLY",*/
7569 /*0x00000020 : "OBD_FL_RECREATE_OBJS",*/
7570 /*0x00000040 : "OBD_FL_DEBUG_CHECK",*/
7571 /*0x00000100 : "OBD_FL_NO_USRQUOTA",*/
7572 /*0x00000200 : "OBD_FL_NO_GRPQUOTA",*/
7573 /*0x00000400 : "OBD_FL_CREATE_CROW",*/
7574 /*0x00000800 : "OBD_FL_SRVLOCK",*/
7580 lustre_dissect_element_obdo_o_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7582 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_nlink);
7588 lustre_dissect_element_obdo_o_parent_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7590 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_oid);
7596 lustre_dissect_element_obdo_o_misc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7598 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_misc);
7604 lustre_dissect_element_obdo_o_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7606 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_ioepoch);
7612 lustre_dissect_element_obdo_o_stripe_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7614 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_stripe_idx);
7620 lustre_dissect_element_obdo_o_parent_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7622 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_ver);
7628 lustre_dissect_element_obdo_o_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7630 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_handle);
7635 lustre_dissect_element_obdo_o_lcookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7637 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_lcookie);
7642 lustre_dissect_element_obdo_o_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7644 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid_h);
7650 lustre_dissect_element_obdo_o_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7652 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid_h);
7658 lustre_dissect_element_obdo_o_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7660 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_3);
7666 lustre_dissect_element_obdo_o_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7668 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_4);
7674 lustre_dissect_element_obdo_o_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7676 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_5);
7682 lustre_dissect_element_obdo_o_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7684 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_6);
7690 lustre_dissect_struct_obdo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7692 proto_item *item = NULL;
7693 proto_tree *tree = NULL;
7700 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7701 tree = proto_item_add_subtree(item, ett_lustre_obdo);
7704 offset=lustre_dissect_element_obdo_o_valid(tvb, offset, pinfo, tree);
7706 offset=lustre_dissect_element_obdo_o_id(tvb, offset, pinfo, tree);
7708 offset=lustre_dissect_element_obdo_o_seq(tvb, offset, pinfo, tree);
7710 offset=lustre_dissect_element_obdo_o_parent_seq(tvb, offset, pinfo, tree);
7712 offset=lustre_dissect_element_obdo_o_size(tvb, offset, pinfo, tree);
7714 offset=lustre_dissect_element_obdo_o_mtime(tvb, offset, pinfo, tree);
7716 offset=lustre_dissect_element_obdo_o_atime(tvb, offset, pinfo, tree);
7718 offset=lustre_dissect_element_obdo_o_ctime(tvb, offset, pinfo, tree);
7720 offset=lustre_dissect_element_obdo_o_blocks(tvb, offset, pinfo, tree);
7722 offset=lustre_dissect_element_obdo_o_grant(tvb, offset, pinfo, tree);
7724 offset=lustre_dissect_element_obdo_o_blksize(tvb, offset, pinfo, tree);
7726 offset=lustre_dissect_element_obdo_o_mode(tvb, offset, pinfo, tree);
7728 offset=lustre_dissect_element_obdo_o_uid(tvb, offset, pinfo, tree);
7730 offset=lustre_dissect_element_obdo_o_gid(tvb, offset, pinfo, tree);
7732 offset=lustre_dissect_element_obdo_o_flags(tvb, offset, pinfo, tree);
7734 offset=lustre_dissect_element_obdo_o_nlink(tvb, offset, pinfo, tree);
7736 offset=lustre_dissect_element_obdo_o_parent_oid(tvb, offset, pinfo, tree);
7738 offset=lustre_dissect_element_obdo_o_misc(tvb, offset, pinfo, tree);
7740 offset=lustre_dissect_element_obdo_o_ioepoch(tvb, offset, pinfo, tree);
7742 offset=lustre_dissect_element_obdo_o_stripe_idx(tvb, offset, pinfo, tree);
7744 offset=lustre_dissect_element_obdo_o_parent_ver(tvb, offset, pinfo, tree);
7746 offset=lustre_dissect_element_obdo_o_handle(tvb, offset, pinfo, tree);
7748 offset=lustre_dissect_element_obdo_o_lcookie(tvb, offset, pinfo, tree);
7750 offset=lustre_dissect_element_obdo_o_uid_h(tvb, offset, pinfo, tree);
7752 offset=lustre_dissect_element_obdo_o_gid_h(tvb, offset, pinfo, tree);
7754 offset=lustre_dissect_element_obdo_o_padding_3(tvb, offset, pinfo, tree);
7756 offset=lustre_dissect_element_obdo_o_padding_4(tvb, offset, pinfo, tree);
7758 offset=lustre_dissect_element_obdo_o_padding_5(tvb, offset, pinfo, tree);
7760 offset=lustre_dissect_element_obdo_o_padding_6(tvb, offset, pinfo, tree);
7763 proto_item_set_len(item, offset-old_offset);
7770 /* IDL: struct ost_body { */
7771 /* IDL: struct obdo { */
7776 lustre_dissect_element_ost_body_oa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7778 offset=lustre_dissect_struct_obdo(tvb,offset,pinfo,tree,hf_lustre_ost_body_oa);
7783 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_)
7785 proto_item *item = NULL;
7786 proto_tree *tree = NULL;
7792 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7793 tree = proto_item_add_subtree(item, ett_lustre_ost_body);
7796 offset=lustre_dissect_element_ost_body_oa(tvb, offset, pinfo, tree);
7798 proto_item_set_len(item, offset-old_offset);
7804 /* TODO : find when this Structure appear on the wire */
7805 /* IDL: struct qunit_data { */
7806 /* IDL: uint32 qd_id; */
7807 /* IDL: uint32 qd_flags; */
7808 /* IDL: uint64 qd_count; */
7809 /* IDL: uint64 qd_qunit; */
7810 /* IDL: uint64 padding; */
7814 lustre_dissect_element_qunit_data_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7816 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_id);
7822 lustre_dissect_element_qunit_data_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7824 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_flags);
7830 lustre_dissect_element_qunit_data_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7832 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_count);
7838 lustre_dissect_element_qunit_data_qd_qunit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7840 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_qunit);
7846 lustre_dissect_element_qunit_data_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7848 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_padding);
7854 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_)
7856 proto_item *item = NULL;
7857 proto_tree *tree = NULL;
7865 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7866 tree = proto_item_add_subtree(item, ett_lustre_qunit_data);
7869 offset=lustre_dissect_element_qunit_data_qd_id(tvb, offset, pinfo, tree);
7871 offset=lustre_dissect_element_qunit_data_qd_flags(tvb, offset, pinfo, tree);
7873 offset=lustre_dissect_element_qunit_data_qd_count(tvb, offset, pinfo, tree);
7875 offset=lustre_dissect_element_qunit_data_qd_qunit(tvb, offset, pinfo, tree);
7877 offset=lustre_dissect_element_qunit_data_padding(tvb, offset, pinfo, tree);
7880 proto_item_set_len(item, offset-old_offset);
7885 /* TODO : find when this Structure appear on the wire */
7886 /* IDL: struct qunit_data_old2 { */
7887 /* IDL: uint32 qd_id; */
7888 /* IDL: uint32 qd_flags; */
7889 /* IDL: uint64 qd_count; */
7893 lustre_dissect_element_qunit_data_old2_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7895 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_id);
7901 lustre_dissect_element_qunit_data_old2_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7903 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_flags);
7909 lustre_dissect_element_qunit_data_old2_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7911 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_count);
7917 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_)
7919 proto_item *item = NULL;
7920 proto_tree *tree = NULL;
7928 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7929 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old2);
7932 offset=lustre_dissect_element_qunit_data_old2_qd_id(tvb, offset, pinfo, tree);
7934 offset=lustre_dissect_element_qunit_data_old2_qd_flags(tvb, offset, pinfo, tree);
7936 offset=lustre_dissect_element_qunit_data_old2_qd_count(tvb, offset, pinfo, tree);
7939 proto_item_set_len(item, offset-old_offset);
7944 /* TODO : find when this Structure appear on the wire */
7945 /* IDL: struct qunit_data_old { */
7946 /* IDL: uint32 qd_id; */
7947 /* IDL: uint32 qd_type; */
7948 /* IDL: uint32 qd_count; */
7949 /* IDL: uint32 qd_isblk; */
7953 lustre_dissect_element_qunit_data_old_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7955 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_id);
7961 lustre_dissect_element_qunit_data_old_qd_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7963 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_type);
7969 lustre_dissect_element_qunit_data_old_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7971 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_count);
7977 lustre_dissect_element_qunit_data_old_qd_isblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7979 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_isblk);
7985 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_)
7987 proto_item *item = NULL;
7988 proto_tree *tree = NULL;
7996 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7997 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old);
8000 offset=lustre_dissect_element_qunit_data_old_qd_id(tvb, offset, pinfo, tree);
8002 offset=lustre_dissect_element_qunit_data_old_qd_type(tvb, offset, pinfo, tree);
8004 offset=lustre_dissect_element_qunit_data_old_qd_count(tvb, offset, pinfo, tree);
8006 offset=lustre_dissect_element_qunit_data_old_qd_isblk(tvb, offset, pinfo, tree);
8009 proto_item_set_len(item, offset-old_offset);
8015 lustre_dissect_struct_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_ )
8017 offset=dissect_uint32(tvb, offset, pinfo, parent_tree, hf_index);
8018 /* Pad out to 8 bytes */
8019 offset=add_extra_padding(tvb,offset,pinfo,parent_tree);
8025 lustre_dissect_struct_seq_range(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8027 proto_item *item = NULL;
8028 proto_tree *tree = NULL;
8034 item = proto_tree_add_item(parent_tree, hf_lustre_seq_range, tvb, offset, -1, TRUE);
8035 tree = proto_item_add_subtree(item, ett_lustre_seq_range);
8038 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_start);
8039 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_end);
8040 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_index);
8041 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_flags);
8044 proto_item_set_len(item, offset-old_offset);
8050 lustre_dissect_struct_fld_range(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8052 proto_item *item = NULL;
8053 proto_tree *tree = NULL;
8059 item = proto_tree_add_item(parent_tree, hf_lustre_fld_range, tvb, offset, -1, TRUE);
8060 tree = proto_item_add_subtree(item, ett_lustre_fld_range);
8063 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_fld_range_start);
8064 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_fld_range_end);
8065 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_fld_range_index);
8066 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_fld_range_flags);
8069 proto_item_set_len(item, offset-old_offset);
8075 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_)
8077 proto_item *item = NULL;
8078 proto_tree *tree = NULL;
8084 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8085 tree = proto_item_add_subtree(item, ett_lustre_mdt_ioepoch);
8088 offset=lustre_dissect_struct_handle_cookie(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_handle);
8089 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_ioepoch);
8090 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_flags);
8091 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_padding);
8094 proto_item_set_len(item, offset-old_offset);
8098 /* IDL: struct lustre_capa {
8099 * IDL: struct lu_fid lc_fid;
8100 * IDL: __u64 lc_opc;
8101 * IDL: __u64 lc_uid;
8102 * IDL: __u64 lc_gid;
8103 * IDL: __u32 lc_flags;
8104 * IDL: __u32 lc_keyid;
8105 * IDL: __u32 lc_timeout;
8106 * IDL: __u32 lc_expiry;
8107 * IDL: __u8 lc_hmac[64];
8108 * IDL: } __attribute__((packed));
8111 /** lustre_capa::lc_opc */
8113 /* CAPA_OPC_BODY_WRITE = 1<<0, **< write object data */
8114 /* CAPA_OPC_BODY_READ = 1<<1, **< read object data */
8115 /* CAPA_OPC_INDEX_LOOKUP = 1<<2, **< lookup object fid */
8116 /* CAPA_OPC_INDEX_INSERT = 1<<3, **< insert object fid */
8117 /* CAPA_OPC_INDEX_DELETE = 1<<4, **< delete object fid */
8118 /* CAPA_OPC_OSS_WRITE = 1<<5, **< write oss object data */
8119 /* CAPA_OPC_OSS_READ = 1<<6, **< read oss object data */
8120 /* CAPA_OPC_OSS_TRUNC = 1<<7, **< truncate oss object */
8121 /* CAPA_OPC_OSS_DESTROY = 1<<8, **< destroy oss object */
8122 /* CAPA_OPC_META_WRITE = 1<<9, **< write object meta data */
8123 /* CAPA_OPC_META_READ = 1<<10, **< read object meta data */
8127 lustre_dissect_element_capa_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8129 /* TODO - pick apart bits */
8130 offset = dissect_uint64(tvb, offset, pinfo, parent_tree, hf_lustre_capa_opc);
8135 lustre_dissect_element_capa_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8137 /* TODO - pick apart flags */
8138 offset=dissect_uint32(tvb,offset,pinfo,parent_tree,hf_lustre_capa_flags);
8143 lustre_dissect_struct_capa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8144 proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8146 proto_item *item = NULL;
8147 proto_tree *tree = NULL;
8153 data_len = LUSTRE_BUFFER_LEN(buf_num);
8158 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8159 tree = proto_item_add_subtree(item, ett_lustre_capa);
8162 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_capa_fid);
8164 offset=lustre_dissect_element_capa_opc(tvb,offset,pinfo,tree);
8166 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_uid);
8168 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_gid);
8170 offset=lustre_dissect_element_capa_flags(tvb,offset,pinfo,tree);
8172 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_keyid);
8174 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_timeout);
8176 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_expiry);
8178 offset=lustre_dissect_struct_hmac(tvb,offset,pinfo,tree, hf_lustre_capa_hmac, 64);
8181 proto_item_set_len(item, offset-old_offset);
8187 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)
8189 proto_item *item = NULL;
8190 proto_tree *tree = NULL;
8196 data_len = LUSTRE_BUFFER_LEN(buf_num);
8201 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8202 tree = proto_item_add_subtree(item, ett_lustre_acl);
8205 proto_tree_add_item(tree, hf_index, tvb, offset, data_len, TRUE);
8209 offset=add_extra_padding(tvb,offset,pinfo,tree);
8212 proto_item_set_len(item, offset-old_offset);
8218 /* ------------------------------------------------------------------------- */
8220 * the length of the string is the current buflen
8221 * @tvb the packet buff
8222 * @offset the current offset
8225 * @hf_index : the corresponding header field
8226 * @buf_num : the corresponding bufnumber of the string (we use it to
8227 * determine the string length), must respect : 0<bufnum<=bufmax_in_paquet
8230 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)
8232 proto_item *item = NULL;
8238 /* if (parent_tree) {
8239 * item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8240 * tree = proto_item_add_subtree(item, ett_lustre);
8244 string_len = LUSTRE_BUFFER_LEN(buf_num);
8248 /* g_print("buf_num:%d (max:%d) BUFLEN_OFF:%#x strlen:%d\n",
8249 buf_num, LUSTRE_BUFCOUNT,
8250 LUSTRE_BUFLEN_OFF, string_len);*/
8252 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
8254 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " filename : %s",
8255 (const gchar *) tvb_get_string(tvb,offset,string_len) );
8258 proto_item_set_len(item, offset-old_offset);
8259 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* after a string we must be aligned to 8 bytes. */
8264 /* ------------------------------------------------------------------------- */
8267 /* Process REINT opcode requests */
8268 static int reint_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8272 opcode = tvb_get_letohl(tvb,offset);
8276 /* 2.x+ [rec_setattr][capa1][mdt_epoch][eadata][cookie_data][ldlm_request] */
8277 /* old? [rec_setattr][ldlm_request] */
8278 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree,
8279 hf_lustre_mdt_rec_setattr);
8280 if (LUSTRE_BUFCOUNT > 2) {
8281 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8282 hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8283 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+2) > 0)
8284 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree,
8285 hf_lustre_mdt_ioepoch);
8286 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8287 hf_lustre_mds_xattr_eadata,
8288 LUSTRE_REQ_REC_OFF+3);
8289 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8290 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8292 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8293 hf_lustre_ldlm_request);
8296 /* [rec_create][filename][tgt.. Ã 0 pour l'instant][ldlm_request] */
8297 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8298 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8299 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8300 /* REINT_CREATE_SLAVE / SYM / RMT_ACL */
8301 if (LUSTRE_BUFCOUNT > 4) {
8302 /* for CREATE_SYM this is actually name of target - encoded in mdt_rec_create.cr_mode */
8303 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+3);
8304 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8305 hf_lustre_ldlm_request);
8309 /*[mdt_rec_link][filename][ldlm_req] */
8310 offset=lustre_dissect_struct_mdt_rec_link(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link);
8311 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8312 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8313 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+3);
8314 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8315 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8318 /* reint_unlink_client: [mdt_rec_unlink][capa1][filename][ldlm_req] */
8319 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink);
8320 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8321 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+2) == 112) {
8322 /* TODO : ugly .. but for now we have to do this */
8323 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8326 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8327 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8330 case REINT_RENAME: /*mds_rename_unpack : [mdt_rec_rename][filename source][filename target_name][ldlm_request] */
8331 offset=lustre_dissect_struct_mdt_rec_rename(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename);
8332 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8333 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8334 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+3);
8335 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_new_name, LUSTRE_REQ_REC_OFF+4);
8336 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+5) > 0)
8337 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8339 case REINT_OPEN: /* [rec_create][filename][eadata] */
8340 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8341 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8342 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2);
8344 case REINT_SETXATTR:
8345 /* 2.x+ [rec_setxattr][capa1][name][eadata] */
8346 /* old? [rec_setxattr][ldlm_request] */
8347 offset=lustre_dissect_struct_mdt_rec_setxattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr);
8348 if (LUSTRE_BUFCOUNT > 2) {
8349 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8350 hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8351 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+2);
8352 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata,
8353 LUSTRE_REQ_REC_OFF+3);
8354 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8355 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8356 } else if (LUSTRE_BUFCOUNT == 2)
8357 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8358 hf_lustre_ldlm_request);
8369 /* dissect a connect message */
8371 lustre_dissect_generic_connect(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8373 /*TODO : add a cuuid and target uid */
8374 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8375 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8376 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
8377 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8382 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)
8387 case OST_REPLY: /* obsolete so nothing */
8390 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8391 if (pb_type == PTL_RPC_MSG_REQUEST)
8392 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8395 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8396 if (pb_type == PTL_RPC_MSG_REQUEST)
8397 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8399 case OST_READ: /* [OST_BODY][obd_ioobj][niobuf_remote] for request, [OST_BODY] for reply */
8400 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8401 if(pb_type==PTL_RPC_MSG_REQUEST){
8402 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8403 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_niobuf_remote);
8407 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree,
8408 hf_lustre_ost_body);
8409 if(pb_type==PTL_RPC_MSG_REQUEST) {
8410 for (i = 0; i < (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+1))/24; i++)
8411 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8412 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_obd_ioobj);
8414 if(pb_type==PTL_RPC_MSG_REPLY) { /* niocount *[uint32], but niocount is in request message, so
8415 we use the bufcount */
8416 for (i = 0; i < LUSTRE_BUFCOUNT-2; i++) /* -2 because we have already dissect 2 buffers : ptl + ost */
8417 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_nio);
8418 offset=add_extra_padding(tvb, offset, pinfo, tree);
8422 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8423 if (pb_type == PTL_RPC_MSG_REQUEST)
8424 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8427 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8428 if(pb_type==PTL_RPC_MSG_REQUEST) {/* [ost_body][ldlm_req][capa] */
8429 if ( LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF +1) != 0)
8430 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request);
8431 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+2);
8435 if(pb_type==PTL_RPC_MSG_REQUEST) /* [key] */
8436 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF);
8437 if (pb_type==PTL_RPC_MSG_REPLY)
8438 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF); /* val */
8441 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8442 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8443 if (pb_type==PTL_RPC_MSG_REPLY)
8444 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8446 case OST_DISCONNECT: /* [nothing] */
8448 case OST_PUNCH: /* [ost_body] */
8449 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8450 if (pb_type == PTL_RPC_MSG_REQUEST)
8451 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8453 case OST_OPEN: /* [nothing] in the code maybee obsolete */
8455 case OST_CLOSE: /* [nothing] in the code maybee obsolete */
8457 case OST_STATFS: /* [obd_statfs] */
8458 if (pb_type==PTL_RPC_MSG_REPLY)
8459 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8462 /*[ost_body] in both case */
8463 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8464 if (pb_type == PTL_RPC_MSG_REQUEST)
8465 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8468 if(pb_type==PTL_RPC_MSG_REQUEST)
8470 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF); /* key */
8471 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8473 /* if Key = "evict_by_nid" --> need to be process.. TODO */
8475 case OST_QUOTACHECK:
8476 if(pb_type==PTL_RPC_MSG_REQUEST)
8477 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8478 /* nothing in reply */
8481 /*[obd_quotactl in both case]*/
8482 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8483 case OST_QUOTA_ADJUST_QUNIT:
8484 /* [quota_adjust_qunit] in both case ? */
8485 offset=lustre_dissect_struct_quota_adjust_qunit(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit) ;
8491 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)
8494 case MDS_DISCONNECT:
8498 /*request: [mds body]*/
8499 /*reply: [mds body][capa] */
8500 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8501 if (pb_type == PTL_RPC_MSG_REPLY)
8502 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+1);
8505 if(pb_type==PTL_RPC_MSG_REQUEST)
8507 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8508 /*if(reply) : [nothing]*/
8511 /*request: [mds body][capa][xattr name]*/
8512 /*reply: [mds body][eadata] - ommited on error */
8513 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8514 if(pb_type==PTL_RPC_MSG_REQUEST) {
8515 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+1);
8516 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+2);
8518 if (pb_type == PTL_RPC_MSG_REPLY)
8519 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+1);
8522 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
8523 if (pb_type == PTL_RPC_MSG_REPLY) { /* [mdt_md][acl][capa1][capa2] */
8524 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8525 hf_lustre_mds_md_data,
8526 LUSTRE_REPLY_REC_OFF+1);
8527 offset=lustre_dissect_struct_acl(tvb, offset, pinfo, tree,
8528 hf_lustre_acl, LUSTRE_REPLY_REC_OFF+3);
8529 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8531 LUSTRE_REPLY_REC_OFF+4);
8532 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8534 LUSTRE_REPLY_REC_OFF+5);
8537 case MDS_GETATTR_NAME:
8538 if(pb_type==PTL_RPC_MSG_REQUEST)
8540 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8541 /*[nothing in reply]*/
8543 case MDS_DONE_WRITING:
8545 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8547 case MDS_PIN: /* repbody.. */
8549 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8553 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8557 if(pb_type==PTL_RPC_MSG_REQUEST)
8558 { /* [mdt_ioepoch][rec_reint][capa1] */
8559 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch);
8561 if(LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+1) > 0)
8562 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8564 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8566 if(pb_type==PTL_RPC_MSG_REPLY)
8567 { /* [mdt_body][md][cookie][capa1][capa2] */
8568 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8569 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_md_data, LUSTRE_REPLY_REC_OFF+1);
8570 if(LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF+2) > 0)
8571 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8572 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+3);
8573 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+4);
8578 if(pb_type==PTL_RPC_MSG_REPLY)
8580 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8581 /*in request : [nothing]*/
8585 /* [mdt_body] but with some different interpration, need to modify the hf : TODO */
8586 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8590 /* the structure depend on the intent_opcode */
8591 if(pb_type==PTL_RPC_MSG_REQUEST)
8592 offset=reint_opcode_process(tvb, offset, pinfo, tree);
8594 if(pb_type==PTL_RPC_MSG_REPLY) {
8595 /* [mdt_body][mdt_md][??][capa1][capa2] */
8596 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8598 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1, LUSTRE_REPLY_REC_OFF+1);
8600 if(LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF+2) > 0)
8601 /* open : ...[ACL]...
8602 * unlink, rename : ...[log_cookies]... */
8603 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8604 hf_lustre_mds_xattr_eadata,
8605 LUSTRE_REPLY_REC_OFF+2);
8607 lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+3);
8608 lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+4);
8612 if(pb_type==PTL_RPC_MSG_REQUEST){
8614 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8615 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8616 //offset=add_extra_padding(tvb,offset,pinfo,tree);
8618 /*nothing en reply*/
8620 case MDS_QUOTACHECK:
8621 /* [obd_quotactl] */
8622 if(pb_type==PTL_RPC_MSG_REQUEST)
8623 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8626 /* [obd_quotactl] in both case*/
8627 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8630 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8631 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8632 if (pb_type==PTL_RPC_MSG_REPLY || pb_type == PTL_RPC_MSG_ERR) /*[obd_connect_data]*/
8633 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8645 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)
8649 /* [ldlm_request] if we have one more buffer it's
8650 * [intent_opcode] and the opcode give us the corresponding
8651 * intent structure [intent] */
8652 if (pb_type==PTL_RPC_MSG_REQUEST) {
8653 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8654 hf_lustre_ldlm_request);
8655 if (LUSTRE_BUFCOUNT>=3)
8656 offset=lustre_dissect_struct_ldlm_intent(tvb, offset, pinfo, tree,
8657 hf_lustre_ldlm_intent);
8659 if (pb_type==PTL_RPC_MSG_REPLY) {
8662 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree,
8663 hf_lustre_ldlm_reply,
8665 /* check if we're done processing */
8666 if (LUSTRE_BUFCOUNT <= 2)
8669 if (LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF) == 40)
8670 /* TODO :this code need to be check and test, the
8671 * lustre corresponding code isn't explicit, so not
8672 * sure to have this buffer, but in example it works
8675 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree,
8678 else if (ldlm_type == LDLM_EXTENT) {
8679 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1,
8680 LUSTRE_DLM_REPLY_REC_OFF);
8684 if (LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8685 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree,
8686 hf_lustre_mdt_body);
8687 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1,
8688 LUSTRE_DLM_INTENT_REC_OFF);
8690 /* ldlm_intent_server : ACL */
8691 offset=lustre_dissect_struct_acl(tvb, offset, pinfo, tree,
8692 hf_lustre_acl, LUSTRE_DLM_INTENT_REC_OFF+1);
8694 /* ldlm_intent_open_server : [capa1][capa2] */
8695 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8696 hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+2);
8697 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8698 hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+3);
8703 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8704 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8705 if(pb_type==PTL_RPC_MSG_REPLY) /*[ldlm_reply]*/
8706 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply, NULL) ;
8710 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8711 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8714 case LDLM_BL_CALLBACK:
8715 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8716 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8719 case LDLM_CP_CALLBACK:
8720 if(pb_type==PTL_RPC_MSG_REQUEST){
8721 /*[ldlm_request] if the third buffer exist we have [lvb data] so it's [ost_lvb] : TODO :
8723 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8724 if(LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8725 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8727 /*reply : [nothing] */
8730 case LDLM_GL_CALLBACK:
8731 if(pb_type==PTL_RPC_MSG_REQUEST) { /*[ldlm_request] [lvb (for gl_desc)]*/
8732 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8733 if(LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8734 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8736 if(pb_type==PTL_RPC_MSG_REPLY) /* [ost_lvb] */
8737 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree, hf_lustre_ost_lvb);
8747 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)
8751 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8752 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8753 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8754 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8756 case MGS_DISCONNECT :
8759 case MGS_EXCEPTION : /* node died, etc. */
8762 case MGS_TARGET_REG:
8763 /*[mgs_target_info], mgs_handler.c mgs_handle_target_reg() called whenever a target startup*/
8764 offset=lustre_dissect_struct_mgs_target_info(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info);
8766 case MGS_TARGET_DEL:
8770 /*[mgs_send_param], mgs_set_info_rpc()*/
8771 offset=lustre_dissect_struct_mgs_send_param(tvb,offset,pinfo,tree,hf_lustre_mgs_send_param);
8773 case MGS_CONFIG_READ:
8774 if (pb_type==PTL_RPC_MSG_REQUEST) /* [config_body] */
8775 offset=lustre_dissect_struct_mgs_config_body(tvb,offset,pinfo,tree,hf_lustre_mgs_config_body);
8776 if (pb_type==PTL_RPC_MSG_REPLY) /* [config_res] */
8777 offset=lustre_dissect_struct_mgs_config_res(tvb,offset,pinfo,tree,hf_lustre_mgs_config_res);
8786 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)
8792 case OBD_LOG_CANCEL:
8795 case OBD_QC_CALLBACK:
8796 if(pb_type==PTL_RPC_MSG_REQUEST)
8797 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8798 /*if (request) : [nothing]*/
8807 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)
8810 case LLOG_ORIGIN_HANDLE_CREATE : /* in handler.c */
8811 /*[llogd_body] (reply and request)*/
8812 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8813 if(pb_type==PTL_RPC_MSG_REQUEST) /* [filename] */
8814 if (LUSTRE_BUFCOUNT>2)
8815 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_name,
8816 LUSTRE_REQ_REC_OFF+1);
8818 case LLOG_ORIGIN_HANDLE_NEXT_BLOCK :/* in handler.c */
8819 /* [llogd_body][eadata]
8820 * the size of second buf is LLOG_CHKUNK_SIZE, so it's maybee only bulk data */
8821 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8822 if(pb_type==PTL_RPC_MSG_REPLY)
8823 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8824 LUSTRE_REPLY_REC_OFF+1);
8826 case LLOG_ORIGIN_HANDLE_READ_HEADER:/* in handler.c */
8827 if(pb_type==PTL_RPC_MSG_REQUEST){
8828 /* [llogd_body][llog_log_hdr] */
8829 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8830 if(LUSTRE_BUFCOUNT>2)
8831 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8832 hf_lustre_llogd_log_hdr);
8834 if(pb_type==PTL_RPC_MSG_REPLY) /* [llog_log_hdr] */
8835 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8836 hf_lustre_llogd_log_hdr);
8838 case LLOG_ORIGIN_HANDLE_WRITE_REC : /* I think this is obsolete */
8841 case LLOG_ORIGIN_HANDLE_CLOSE :/* handler.c */
8844 case LLOG_ORIGIN_CONNECT : /* ost_handler.c */
8846 case LLOG_CATINFO : /*in handler.c */
8847 if(pb_type==PTL_RPC_MSG_REQUEST){
8848 /* [keyword][if keyword=config [char*] else [nothing]] */
8849 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_keyword,
8850 LUSTRE_REQ_REC_OFF);
8851 if (strcmp((const char *)tvb_get_string(tvb, LUSTRE_REQ_REC_OFF,
8853 LUSTRE_BUFLEN_OFF + 4 *
8854 LUSTRE_REQ_REC_OFF)),
8856 /* if(keyword == "config") */
8857 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_client,
8858 LUSTRE_REQ_REC_OFF+1);
8860 if(pb_type==PTL_RPC_MSG_REPLY)
8861 /*[buf] sizeof = llog_chunk_size*/
8862 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8863 LUSTRE_REPLY_REC_OFF + 1 );
8864 /* TODO TODO : check if it's note a catid */
8866 case LLOG_ORIGIN_HANDLE_PREV_BLOCK : /* in handler.c */
8867 /* [llogd_body] in both case */
8868 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8869 if(pb_type==PTL_RPC_MSG_REPLY)
8870 /*[buf] size of llog_chunk_size*/
8871 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8872 LUSTRE_REPLY_REC_OFF + 1 );
8874 case LLOG_ORIGIN_HANDLE_DESTROY : /* in handler.c */
8875 /*[llogd_body] in both case*/
8876 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8886 lustre_seq_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8887 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8891 if (pb_type == PTL_RPC_MSG_REQUEST)
8892 offset=lustre_dissect_struct_seq(tvb, offset, pinfo, tree, hf_lustre_seq_opc);
8893 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree);
8897 g_print("error: SEQ Opcode: %d unknown\n", opc);
8898 if (check_col(pinfo->cinfo, COL_INFO))
8899 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8907 lustre_fld_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8908 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8912 if (pb_type == PTL_RPC_MSG_REQUEST)
8913 offset=lustre_dissect_struct_seq(tvb, offset, pinfo, tree, hf_lustre_fld_opc);
8914 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree);
8918 g_print("error: FLD Opcode: %d unknown\n", opc);
8919 if (check_col(pinfo->cinfo, COL_INFO))
8920 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
8928 /* process lustre opcode :
8929 check if opcode is in range_opcode, and call the corresponding opcode process function */
8931 lustre_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8933 /* No more buffers to process */
8934 if (LUSTRE_BUFCOUNT == 1)
8937 if (opc <= OST_LAST_OPC) /* OST opcodes */
8938 offset=lustre_ost_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8940 if ( (opc >= MDS_FIRST_OPC) && (opc < MDS_LAST_OPC )) /* MDS opcodes */
8941 offset=lustre_mds_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8943 if ( (opc >= LDLM_FIRST_OPC) && (opc < LDLM_LAST_OPC) ) /*LDLM Opcodes*/
8944 offset=lustre_ldlm_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8946 if( (opc>= MGS_FIRST_OPC) && (opc <= MGS_LAST_OPC)) /* MGS Opcodes */
8947 offset=lustre_mgs_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8949 if( (opc>= OBD_FIRST_OPC) && (opc<=OBD_LAST_OPC)) /* ODB Opcodes */
8950 offset=lustre_odb_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8952 if( (opc>=LLOG_FIRST_OPC) && (opc<=LLOG_LAST_OPC)) /* LLOG Opcodes */
8953 offset=lustre_llog_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
8955 if( (opc >= SEQ_FIRST_OPC) && (opc <= SEQ_LAST_OPC) ) /* SEQ Opcodes */
8956 offset=lustre_seq_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
8958 if( (opc >= FLD_FIRST_OPC) && (opc <= FLD_LAST_OPC) ) /* FLD Opcodes */
8959 offset=lustre_fld_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
8964 /* ----------------------------------------------- */
8965 /* add an extra padding to be aligned to 8bytes */
8967 add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8969 guint32 padding_len;
8971 padding_len = (8- offset%8)%8;
8973 proto_tree_add_item(tree, hf_lustre_extra_padding , tvb, offset, padding_len, TRUE);
8974 offset+=padding_len;
8978 /* ----------------------------------------------- */
8981 ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8982 proto_tree * tree _U_, guint64 intent_opc _U_)
8984 /* all corresponding code is in mdc_locks.c in function mdc_enqueue() */
8985 /* if 0x0003 we have CREAT + OPEN
8987 if (intent_opc & IT_OPEN) {
8988 /* mdc_intent_open_pack(), d'où [opcode][mdc_rec_create][capa1][capa2][name][eada] */
8989 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree,
8990 hf_lustre_mdt_rec_create);
8991 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8992 hf_lustre_reint_name,
8993 LUSTRE_DLM_INTENT_REC_OFF+3);
8994 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8995 hf_lustre_mds_xattr_eadata,
8996 LUSTRE_DLM_INTENT_REC_OFF+4);
8999 if (intent_opc & IT_UNLINK){
9000 /* mdc_intent_unlink_pack(), d'où [opcode][mdt_rec_unlink][capa][name] */
9001 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree,
9002 hf_lustre_mdt_rec_unlink);
9003 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9004 LUSTRE_DLM_INTENT_REC_OFF+1);
9005 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
9006 hf_lustre_reint_name,
9007 LUSTRE_DLM_INTENT_REC_OFF+2);
9009 if (intent_opc & IT_GETATTR){
9010 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
9011 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
9012 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9013 LUSTRE_DLM_INTENT_REC_OFF+1);
9014 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
9015 LUSTRE_DLM_INTENT_REC_OFF+2);
9018 if (intent_opc & IT_LOOKUP){
9019 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
9020 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
9021 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9022 LUSTRE_DLM_INTENT_REC_OFF+1);
9023 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
9024 LUSTRE_DLM_INTENT_REC_OFF+2);
9031 /* ----------------------------------------------- */
9032 /* function to test if the packet is entirely dissected add BUG in PROTOCOL COL when it's not*/
9034 sanity_check(tvbuff_t *tvb, packet_info *pinfo, guint32 val_offset _U_)
9036 guint32 somme_buflen = 0 ;
9039 /* magic_number = tvb_get_letohl(tvb, 8); */
9041 for (i=0;i<LUSTRE_BUFCOUNT;i++)
9042 somme_buflen += tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF +
9043 4 * i ) + (8- tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4 * i)%8)%8; /* we add the
9051 if(val_offset!=somme_buflen){
9052 /*g_print("somme_buflen=%d, val_offset = %d \n",somme_buflen,val_offset);*/
9053 if (check_col(pinfo->cinfo, COL_INFO)) {
9054 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9061 /* IDL: struct lustre_msg_v1 { */
9062 /* IDL: struct lustre_handle { */
9063 /* IDL: } lm_handle; */
9064 /* IDL: uint32 lm_magic; */
9065 /* IDL: uint32 lm_type; */
9066 /* IDL: uint32 lm_version; */
9067 /* IDL: uint32 lm_opc; */
9068 /* IDL: uint64 lm_last_xid; */
9069 /* IDL: uint64 lm_last_committed; */
9070 /* IDL: uint64 lm_transno; */
9071 /* IDL: uint32 lm_status; */
9072 /* IDL: uint32 lm_flags; */
9073 /* IDL: uint32 lm_conn_cnt; */
9074 /* IDL: uint32 lm_bufcount; */
9075 /* IDL: uint32 lm_buflens[0]; */
9080 lustre_dissect_element_msg_v1_lm_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9082 /*TODO : replace with a v1 handle*/
9083 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_lustre_msg_v1_lm_handle);
9088 lustre_dissect_element_msg_v1_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9090 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_magic);
9096 lustre_dissect_element_msg_v1_lm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9098 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_type);
9104 lustre_dissect_element_msg_v1_lm_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9106 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_version);
9112 lustre_dissect_element_msg_v1_lm_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9114 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_opc);
9120 lustre_dissect_element_msg_v1_lm_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9122 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_xid);
9128 lustre_dissect_element_msg_v1_lm_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9130 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_committed);
9136 lustre_dissect_element_msg_v1_lm_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9138 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_transno);
9144 lustre_dissect_element_msg_v1_lm_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9146 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_status);
9152 lustre_dissect_element_msg_v1_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9154 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_flags);
9160 lustre_dissect_element_msg_v1_lm_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9162 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_conn_cnt);
9168 lustre_dissect_element_msg_v1_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9170 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_bufcount);
9176 lustre_dissect_element_msg_v1_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9178 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_buflens);
9184 lustre_dissect_element_msg_v1_lm_buflens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9187 gboolean extra_padding ;
9190 bufcount=tvb_get_letohl(tvb, offset-4); /* TODO : replace with a macro */
9192 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9197 for (i=0;i<bufcount;i++) {
9198 offset=lustre_dissect_element_msg_v1_lm_buflens_(tvb, offset, pinfo, tree);
9202 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9211 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_)
9213 proto_item *item = NULL;
9214 proto_tree *tree = NULL;
9216 guint32 opc ; /* opcode */
9217 guint32 pb_type; /* type : {request, reply, error} */
9223 // if (parent_tree) {
9224 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9225 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v1);
9228 offset=lustre_dissect_element_msg_v1_lm_handle(tvb, offset, pinfo, tree);
9230 offset=lustre_dissect_element_msg_v1_lm_magic(tvb, offset, pinfo, tree);
9232 pb_type = tvb_get_letohl(tvb, offset);
9233 offset=lustre_dissect_element_msg_v1_lm_type(tvb, offset, pinfo, tree);
9235 offset=lustre_dissect_element_msg_v1_lm_version(tvb, offset, pinfo, tree);
9236 opc = tvb_get_letohl(tvb, offset);
9237 offset=lustre_dissect_element_msg_v1_lm_opc(tvb, offset, pinfo, tree);
9239 offset=lustre_dissect_element_msg_v1_lm_last_xid(tvb, offset, pinfo, tree);
9241 offset=lustre_dissect_element_msg_v1_lm_last_committed(tvb, offset, pinfo, tree);
9243 offset=lustre_dissect_element_msg_v1_lm_transno(tvb, offset, pinfo, tree);
9245 offset=lustre_dissect_element_msg_v1_lm_status(tvb, offset, pinfo, tree);
9247 offset=lustre_dissect_element_msg_v1_lm_flags(tvb, offset, pinfo, tree);
9249 offset=lustre_dissect_element_msg_v1_lm_conn_cnt(tvb, offset, pinfo, tree);
9251 offset=lustre_dissect_element_msg_v1_lm_bufcount(tvb, offset, pinfo, tree);
9253 offset=lustre_dissect_element_msg_v1_lm_buflens(tvb, offset, pinfo, tree);
9256 proto_item_set_len(item, offset-old_offset);
9258 /* display some nice infos */
9259 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9260 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9262 offset=lustre_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9267 /* IDL: struct ptlrpc_body { */
9268 /* IDL: struct lustre_handle { */
9269 /* IDL: } pb_handle; */
9270 /* IDL: uint32 pb_type; */
9271 /* IDL: uint32 pb_version; */
9272 /* IDL: uint32 pb_opc; */
9273 /* IDL: uint32 pb_status; */
9274 /* IDL: uint64 pb_last_xid; */
9275 /* IDL: uint64 pb_last_seen; */
9276 /* IDL: uint64 pb_last_committed; */
9277 /* IDL: uint64 pb_transno; */
9278 /* IDL: uint32 pb_flags; */
9279 /* IDL: uint32 pb_op_flags; */
9280 /* IDL: uint32 pb_conn_cnt; */
9281 /* IDL: uint32 pb_timeout; */
9282 /* IDL: uint32 pb_service_time; */
9283 /* IDL: uint32 pb_limit; */
9284 /* IDL: uint64 pb_slv; */
9288 lustre_dissect_element_ptlrpc_body_pb_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9290 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ptlrpc_body_pb_handle);
9296 lustre_dissect_element_ptlrpc_body_pb_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9298 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_type);
9304 lustre_dissect_element_ptlrpc_body_pb_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9306 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_version);
9312 lustre_dissect_element_ptlrpc_body_pb_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9314 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_opc);
9320 lustre_dissect_element_ptlrpc_body_pb_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9322 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_status);
9328 lustre_dissect_element_ptlrpc_body_pb_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9330 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_xid);
9336 lustre_dissect_element_ptlrpc_body_pb_last_seen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9338 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_seen);
9344 lustre_dissect_element_ptlrpc_body_pb_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9346 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_committed);
9352 lustre_dissect_element_ptlrpc_body_pb_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9354 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_transno);
9360 lustre_dissect_element_ptlrpc_body_pb_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9362 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_flags);
9368 lustre_dissect_element_ptlrpc_body_pb_op_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9370 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_op_flags);
9376 lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9378 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_conn_cnt);
9384 lustre_dissect_element_ptlrpc_body_pb_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9386 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_timeout);
9392 lustre_dissect_element_ptlrpc_body_pb_service_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9394 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_service_time);
9400 lustre_dissect_element_ptlrpc_body_pb_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9402 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_limit);
9408 lustre_dissect_element_ptlrpc_body_pb_slv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9410 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_slv);
9416 lustre_dissect_element_ptlrpc_body_pb_pre_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9418 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_pre_version);
9424 lustre_dissect_element_ptlrpc_body_pb_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9426 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_padding);
9432 lustre_dissect_element_ptlrpc_body_pb_jobid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
9435 /* the lenght of the string is 32 bytes max, with \0 inside */
9436 proto_tree_add_item(parent_tree, hf_lustre_ptlrpc_body_pb_jobid, tvb, offset, 32, TRUE);
9444 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_ )
9446 proto_item *item = NULL;
9447 proto_tree *tree = NULL;
9449 guint32 opc, pb_type, pb_version;
9454 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9455 tree = proto_item_add_subtree(item, ett_lustre_ptlrpc_body);
9458 offset=lustre_dissect_element_ptlrpc_body_pb_handle(tvb, offset, pinfo, tree);
9460 pb_type = tvb_get_letohl(tvb, offset);
9461 //g_print("msg_v2_lm_type_offset = %d \n" , offset) ;
9463 offset=lustre_dissect_element_ptlrpc_body_pb_type(tvb, offset, pinfo, tree);
9465 pb_version = tvb_get_letohl(tvb, offset) & ~LUSTRE_VERSION_MASK;
9466 //g_print("msg_v2_version_offset %d : version == %d \n", offset, pb_version);
9467 offset=lustre_dissect_element_ptlrpc_body_pb_version(tvb, offset, pinfo, tree);
9469 // g_print("msg_v2_opcode_offset %d \n", offset);
9470 opc = tvb_get_letohl(tvb, offset);
9471 offset=lustre_dissect_element_ptlrpc_body_pb_opc(tvb, offset, pinfo, tree);
9473 offset=lustre_dissect_element_ptlrpc_body_pb_status(tvb, offset, pinfo, tree);
9475 offset=lustre_dissect_element_ptlrpc_body_pb_last_xid(tvb, offset, pinfo, tree);
9477 offset=lustre_dissect_element_ptlrpc_body_pb_last_seen(tvb, offset, pinfo, tree);
9479 offset=lustre_dissect_element_ptlrpc_body_pb_last_committed(tvb, offset, pinfo, tree);
9481 offset=lustre_dissect_element_ptlrpc_body_pb_transno(tvb, offset, pinfo, tree);
9483 offset=lustre_dissect_element_ptlrpc_body_pb_flags(tvb, offset, pinfo, tree);
9485 offset=lustre_dissect_element_ptlrpc_body_pb_op_flags(tvb, offset, pinfo, tree);
9487 offset=lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvb, offset, pinfo, tree);
9489 offset=lustre_dissect_element_ptlrpc_body_pb_timeout(tvb, offset, pinfo, tree);
9491 offset=lustre_dissect_element_ptlrpc_body_pb_service_time(tvb, offset, pinfo, tree);
9493 offset=lustre_dissect_element_ptlrpc_body_pb_limit(tvb, offset, pinfo, tree);
9495 offset=lustre_dissect_element_ptlrpc_body_pb_slv(tvb, offset, pinfo, tree);
9497 /* pb_pre_versions */
9498 for(i = 0; i < 4; ++i) {
9499 offset=lustre_dissect_element_ptlrpc_body_pb_pre_version(tvb, offset, pinfo, tree);
9502 for(i = 0; i < 4; ++i) {
9503 offset=lustre_dissect_element_ptlrpc_body_pb_padding(tvb, offset, pinfo, tree);
9506 if (pb_version == LUSTRE_PTLRPC_MSG_VERSION && offset-old_offset < buf_len) {
9507 offset=lustre_dissect_element_ptlrpc_body_pb_jobid(tvb, offset, pinfo, tree);
9510 if (offset-old_offset != buf_len) {
9511 g_print("ptlbody offset-old:%d buf_len:%d\n",
9512 offset-old_offset, buf_len);
9513 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9516 proto_item_set_len(item, offset-old_offset);
9518 /* display some nice infos */
9519 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9520 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9522 /* on utilise parent_tree pour bien distinguer les différents buffers (relatifs à bufcount + buflen), il s'agit d'un choix de présentation */
9523 offset=lustre_opcode_process(tvb, offset, pinfo, parent_tree, opc, pb_type);
9525 sanity_check(tvb,pinfo,offset-old_offset);
9531 /* IDL: struct lustre_msg_v2 { */
9532 /* IDL: uint32 lm_bufcount; */
9533 /* IDL: uint32 lm_secflvr; */
9534 /* IDL: uint32 lm_magic; */
9535 /* IDL: uint32 lm_repsize; */
9536 /* IDL: uint32 lm_cksum; */
9537 /* IDL: uint32 lm_flags; */
9538 /* IDL: uint32 lm_padding_2; */
9539 /* IDL: uint32 lm_padding_3; */
9540 /* IDL: uint32 lm_buflens[0]; */
9544 lustre_dissect_element_msg_v2_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9546 proto_tree_add_item(tree, hf_lustre_lustre_msg_v2_lm_bufcount, tvb, offset, 4, TRUE);
9552 lustre_dissect_element_msg_v2_lm_secflvr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9554 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_secflvr);
9560 lustre_dissect_element_msg_v2_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9562 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_magic);
9568 lustre_dissect_element_msg_v2_lm_repsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9570 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_repsize);
9576 lustre_dissect_element_msg_v2_lm_cksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9578 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_cksum);
9584 lustre_dissect_element_msg_v2_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9586 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_flags);
9592 lustre_dissect_element_msg_v2_lm_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9594 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_2);
9600 lustre_dissect_element_msg_v2_lm_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9602 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_3);
9610 lustre_dissect_element_msg_v2_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9612 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_buflens);
9618 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_)
9620 proto_item *item = NULL;
9621 proto_tree *tree = NULL;
9625 guint32 buf_len_offset;
9626 guint32 current_buf_len ;
9627 gboolean extra_padding ;
9631 /* to get a light display */
9633 // if (parent_tree) {
9634 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9635 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v2);
9638 bufcount = tvb_get_letohl(tvb,offset);
9639 offset=lustre_dissect_element_msg_v2_lm_bufcount(tvb, offset, pinfo, tree);
9641 offset=lustre_dissect_element_msg_v2_lm_secflvr(tvb, offset, pinfo, tree);
9643 offset=lustre_dissect_element_msg_v2_lm_magic(tvb, offset, pinfo, tree);
9645 offset=lustre_dissect_element_msg_v2_lm_repsize(tvb, offset, pinfo, tree);
9647 offset=lustre_dissect_element_msg_v2_lm_cksum(tvb, offset, pinfo, tree);
9649 offset=lustre_dissect_element_msg_v2_lm_flags(tvb, offset, pinfo, tree);
9651 offset=lustre_dissect_element_msg_v2_lm_padding_2(tvb, offset, pinfo, tree);
9653 offset=lustre_dissect_element_msg_v2_lm_padding_3(tvb, offset, pinfo, tree);
9657 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9662 buf_len_offset=offset ;
9663 for (i=0;i<bufcount;i++) {
9664 offset=lustre_dissect_element_msg_v2_lm_buflens_(tvb, offset, pinfo, tree);
9669 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9672 current_buf_len = tvb_get_letohl(tvb, buf_len_offset);
9673 offset=lustre_dissect_struct_ptlrpc_body(tvb,offset, pinfo, tree, hf_lustre_ptlrpc_body_pb, current_buf_len);
9675 proto_item_set_len(item, offset-old_offset);
9682 dissect_lustre(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
9684 if (check_col(pinfo->cinfo, COL_PROTOCOL))
9685 col_set_str(pinfo->cinfo, COL_PROTOCOL, "Lustre");
9688 if (check_col(pinfo->cinfo, COL_INFO))
9689 col_set_str(pinfo->cinfo, COL_INFO, "");
9690 /* guint32 magic_number ; */
9691 /* magic_number = tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET); */
9692 /* switch (magic_number)*/
9694 /* case LUSTRE_MSG_MAGIC_V1:*/
9695 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V1 ");*/
9697 /* case LUSTRE_MSG_MAGIC_V2:*/
9698 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V2 ");*/
9706 guint32 magic_number ;
9708 proto_item *ti = NULL ;
9709 proto_tree * lustre_tree = NULL ;
9711 ti = proto_tree_add_item(tree,proto_lustre,tvb,0,-1,FALSE);
9712 lustre_tree = proto_item_add_subtree(ti,ett_lustre);
9714 magic_number = tvb_get_letohl(tvb, 8);
9716 switch (magic_number){
9717 case LUSTRE_MSG_MAGIC_V1:
9718 /* put some nice info*/
9719 proto_item_append_text(lustre_tree, " V1 ");
9720 offset=lustre_dissect_struct_msg_v1(tvb, offset, pinfo, lustre_tree, proto_lustre ) ;
9722 case LUSTRE_MSG_MAGIC_V2:
9723 /* put some nice info*/
9724 proto_item_append_text(lustre_tree, " V2 ");
9725 offset=lustre_dissect_struct_msg_v2(tvb, offset, pinfo, lustre_tree, proto_lustre ) ;
9733 void proto_register_dcerpc_lustre(void)
9735 static hf_register_info hf[] = {
9736 { &hf_lustre_mdt_body,
9737 { "mdt body", "lustre.mdt_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9738 { &hf_lustre_mdt_body_fid1,
9739 { "Fid1", "lustre.mdt_body.fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9740 { &hf_lustre_mdt_body_fid2,
9741 { "Fid2", "lustre.mdt_body.fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9742 { &hf_lustre_mdt_body_handle,
9743 { "Handle", "lustre.mdt_body.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9744 { &hf_lustre_mdt_body_valid,
9745 { "Valid", "lustre.mdt_body.valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9746 { &hf_lustre_mdt_body_size,
9747 { "Size", "lustre.mdt_body.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9748 { &hf_lustre_mdt_body_mtime,
9749 { "Mtime", "lustre.mdt_body.mtime",FT_ABSOLUTE_TIME,
9750 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9751 { &hf_lustre_mdt_body_atime,
9752 { "Atime", "lustre.mdt_body.atime",FT_ABSOLUTE_TIME,
9753 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9754 { &hf_lustre_mdt_body_ctime,
9755 { "Ctime", "lustre.mdt_body.ctime",FT_ABSOLUTE_TIME,
9756 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9757 { &hf_lustre_mdt_body_blocks,
9758 { "Blocks", "lustre.mdt_body.blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9759 { &hf_lustre_mdt_body_ioepoch,
9760 { "Ioepoch", "lustre.mdt_body.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9761 { &hf_lustre_mdt_body_ino,
9762 { "Ino", "lustre.mdt_body.ino", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9763 { &hf_lustre_mdt_body_fsuid,
9764 { "Fsuid", "lustre.mdt_body.fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9765 { &hf_lustre_mdt_body_fsgid,
9766 { "Fsgid", "lustre.mdt_body.fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9767 { &hf_lustre_mdt_body_capability,
9768 { "Capability", "lustre.mdt_body.capability", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9769 { &hf_lustre_mdt_body_mode,
9770 { "Mode", "lustre.mdt_body.mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9771 { &hf_lustre_mdt_body_uid,
9772 { "Uid", "lustre.mdt_body.uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9773 { &hf_lustre_mdt_body_gid,
9774 { "Gid", "lustre.mdt_body.gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9775 { &hf_lustre_mdt_body_flags,
9776 { "Flags", "lustre.mdt_body.flags", FT_UINT32, BASE_HEX, VALS(lustre_mds_flags_vals) , 0, "", HFILL }},
9777 { &hf_lustre_mdt_body_rdev,
9778 { "Rdev", "lustre.mdt_body.rdev", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9779 { &hf_lustre_mdt_body_nlink,
9780 { "Nlink", "lustre.mdt_body.nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9781 { &hf_lustre_mdt_body_generation,
9782 { "Generation", "lustre.mdt_body.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9783 { &hf_lustre_mdt_body_suppgid,
9784 { "Suppgid", "lustre.mdt_body.suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9785 { &hf_lustre_mdt_body_eadatasize,
9786 { "Eadatasize", "lustre.mdt_body.eadatasize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9787 { &hf_lustre_mdt_body_aclsize,
9788 { "Aclsize", "lustre.mdt_body.aclsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9789 { &hf_lustre_mdt_body_max_mdsize,
9790 { "Max Mdsize", "lustre.mdt_body.max_mdsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9791 { &hf_lustre_mdt_body_max_cookiesize,
9792 { "Max Cookiesize", "lustre.mdt_body.max_cookiesize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9793 { &hf_lustre_mdt_body_uid_h,
9794 { "Uid H", "lustre.mdt_body.uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9795 { &hf_lustre_mdt_body_gid_h,
9796 { "Gid H", "lustre.mdt_body.gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9797 { &hf_lustre_mdt_body_padding_5,
9798 { "Padding 5", "lustre.mdt_body.padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9799 { &hf_lustre_mdt_body_padding_6,
9800 { "Padding 6", "lustre.mdt_body.padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9801 { &hf_lustre_mdt_body_padding_7,
9802 { "Padding 7", "lustre.mdt_body.padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9803 { &hf_lustre_mdt_body_padding_8,
9804 { "Padding 8", "lustre.mdt_body.padding_8", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9805 { &hf_lustre_mdt_body_padding_9,
9806 { "Padding 9", "lustre.mdt_body.padding_9", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9807 { &hf_lustre_mdt_body_padding_10,
9808 { "Padding 10", "lustre.mdt_body.padding_10", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9810 { &hf_lustre_mdt_rec_setattr,
9811 { "mdt rec setattr", "lustre.mdt_rec_setattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9812 { &hf_lustre_mdt_rec_setattr_sa_opcode,
9813 { "Sa Opcode", "lustre.mdt_rec_setattr.sa_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9814 { &hf_lustre_mdt_rec_setattr_sa_cap,
9815 { "Sa Cap", "lustre.mdt_rec_setattr.sa_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9816 { &hf_lustre_mdt_rec_setattr_sa_fsuid,
9817 { "Sa Fsuid", "lustre.mdt_rec_setattr.sa_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9818 { &hf_lustre_mdt_rec_setattr_sa_fsuid_h,
9819 { "Sa Fsuid H", "lustre.mdt_rec_setattr.sa_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9820 { &hf_lustre_mdt_rec_setattr_sa_fsgid,
9821 { "Sa Fsgid", "lustre.mdt_rec_setattr.sa_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9822 { &hf_lustre_mdt_rec_setattr_sa_fsgid_h,
9823 { "Sa Fsgid H", "lustre.mdt_rec_setattr.sa_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9824 { &hf_lustre_mdt_rec_setattr_sa_suppgid,
9825 { "Sa Suppgid", "lustre.mdt_rec_setattr.sa_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9826 { &hf_lustre_mdt_rec_setattr_sa_suppgid_h,
9827 { "Sa Suppgid H", "lustre.mdt_rec_setattr.sa_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9828 { &hf_lustre_mdt_rec_setattr_sa_padding_1,
9829 { "Sa Padding 1", "lustre.mdt_rec_setattr.sa_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9830 { &hf_lustre_mdt_rec_setattr_sa_padding_1_h,
9831 { "Sa Padding 1 H", "lustre.mdt_rec_setattr.sa_padding_1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9832 { &hf_lustre_mdt_rec_setattr_sa_fid,
9833 { "Sa Fid", "lustre.mdt_rec_setattr.sa_fid", FT_NONE,
9834 BASE_NONE, NULL, 0, "", HFILL } },
9835 { &hf_lustre_mdt_rec_setattr_sa_valid,
9836 { "Sa Valid", "lustre.mdt_rec_setattr.sa_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9837 { &hf_lustre_mdt_rec_setattr_sa_uid,
9838 { "Sa Uid", "lustre.mdt_rec_setattr.sa_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9839 { &hf_lustre_mdt_rec_setattr_sa_gid,
9840 { "Sa Gid", "lustre.mdt_rec_setattr.sa_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9841 { &hf_lustre_mdt_rec_setattr_sa_size,
9842 { "Sa Size", "lustre.mdt_rec_setattr.sa_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9843 { &hf_lustre_mdt_rec_setattr_sa_blocks,
9844 { "Sa Blocks", "lustre.mdt_rec_setattr.sa_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9845 { &hf_lustre_mdt_rec_setattr_sa_mtime,
9846 { "Sa Mtime", "lustre.mdt_rec_setattr.sa_mtime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9847 { &hf_lustre_mdt_rec_setattr_sa_atime,
9848 { "Sa Atime", "lustre.mdt_rec_setattr.sa_atime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9849 { &hf_lustre_mdt_rec_setattr_sa_ctime,
9850 { "Sa Ctime", "lustre.mdt_rec_setattr.sa_ctime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9851 { &hf_lustre_mdt_rec_setattr_sa_attr_flags,
9852 { "Sa Attr Flags", "lustre.mdt_rec_setattr.sa_attr_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9853 { &hf_lustre_mdt_rec_setattr_sa_mode,
9854 { "Sa Mode", "lustre.mdt_rec_setattr.sa_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9855 { &hf_lustre_mdt_rec_setattr_sa_padding_2,
9856 { "Sa Padding 2", "lustre.mdt_rec_setattr.sa_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9857 { &hf_lustre_mdt_rec_setattr_sa_padding_3,
9858 { "Sa Padding 3", "lustre.mdt_rec_setattr.sa_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9859 { &hf_lustre_mdt_rec_setattr_sa_padding_4,
9860 { "Sa Padding 4", "lustre.mdt_rec_setattr.sa_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9861 { &hf_lustre_mdt_rec_setattr_sa_padding_5,
9862 { "Sa Padding 5", "lustre.mdt_rec_setattr.sa_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9864 { &hf_lustre_mdt_rec_create,
9865 { "mdt rec create", "lustre.mdt_rec_create", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9866 { &hf_lustre_mdt_rec_create_cr_opcode,
9867 { "Cr Opcode", "lustre.mdt_rec_create.cr_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9868 { &hf_lustre_mdt_rec_create_cr_cap,
9869 { "Cr Cap", "lustre.mdt_rec_create.cr_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9870 { &hf_lustre_mdt_rec_create_cr_fsuid,
9871 { "Cr Fsuid", "lustre.mdt_rec_create.cr_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9872 { &hf_lustre_mdt_rec_create_cr_fsuid_h,
9873 { "Cr Fsuid H", "lustre.mdt_rec_create.cr_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9874 { &hf_lustre_mdt_rec_create_cr_fsgid,
9875 { "Cr Fsgid", "lustre.mdt_rec_create.cr_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9876 { &hf_lustre_mdt_rec_create_cr_fsgid_h,
9877 { "Cr Fsgid H", "lustre.mdt_rec_create.cr_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9878 { &hf_lustre_mdt_rec_create_cr_suppgid1,
9879 { "Cr Suppgid1", "lustre.mdt_rec_create.cr_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9880 { &hf_lustre_mdt_rec_create_cr_suppgid1_h,
9881 { "Cr Suppgid1 H", "lustre.mdt_rec_create.cr_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9882 { &hf_lustre_mdt_rec_create_cr_suppgid2,
9883 { "Cr Suppgid2", "lustre.mdt_rec_create.cr_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9884 { &hf_lustre_mdt_rec_create_cr_suppgid2_h,
9885 { "Cr Suppgid2 H", "lustre.mdt_rec_create.cr_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9886 { &hf_lustre_mdt_rec_create_cr_fid1,
9887 { "Cr Fid1", "lustre.mdt_rec_create.cr_fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9888 { &hf_lustre_mdt_rec_create_cr_fid2,
9889 { "Cr Fid2", "lustre.mdt_rec_create.cr_fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9890 { &hf_lustre_mdt_rec_create_cr_old_handle,
9891 { "Cr Old Handle", "lustre.mdt_rec_create.cr_old_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9892 { &hf_lustre_mdt_rec_create_cr_time,
9893 { "Cr Time", "lustre.mdt_rec_create.cr_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9894 { &hf_lustre_mdt_rec_create_cr_rdev,
9895 { "Cr Rdev", "lustre.mdt_rec_create.cr_rdev", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9896 { &hf_lustre_mdt_rec_create_cr_ioepoch,
9897 { "Cr Ioepoch", "lustre.mdt_rec_create.cr_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9898 { &hf_lustre_mdt_rec_create_cr_padding_1,
9899 { "Cr Padding 1", "lustre.mdt_rec_create.cr_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9900 { &hf_lustre_mdt_rec_create_cr_mode,
9901 { "Cr Mode", "lustre.mdt_rec_create.cr_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9902 { &hf_lustre_mdt_rec_create_cr_bias,
9903 { "Cr Bias", "lustre.mdt_rec_create.cr_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9904 { &hf_lustre_mdt_rec_create_cr_flags_l,
9905 { "Cr Flags L", "lustre.mdt_rec_create.cr_flags_l", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9906 { &hf_lustre_mdt_rec_create_cr_flags_h,
9907 { "Cr Flags H", "lustre.mdt_rec_create.cr_flags_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9908 { &hf_lustre_mdt_rec_create_cr_umask,
9909 { "Cr Umask", "lustre.mdt_rec_create.cr_umask", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9910 { &hf_lustre_mdt_rec_create_cr_padding_4,
9911 { "Cr Padding 4", "lustre.mdt_rec_create.cr_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9913 { &hf_lustre_mdt_rec_link,
9914 { "mdt rec link", "lustre.mdt_rec_link", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9915 { &hf_lustre_mdt_rec_link_lk_opcode,
9916 { "Lk Opcode", "lustre.mdt_rec_link.lk_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9917 { &hf_lustre_mdt_rec_link_lk_cap,
9918 { "Lk Cap", "lustre.mdt_rec_link.lk_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9919 { &hf_lustre_mdt_rec_link_lk_fsuid,
9920 { "Lk Fsuid", "lustre.mdt_rec_link.lk_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9921 { &hf_lustre_mdt_rec_link_lk_fsuid_h,
9922 { "Lk Fsuid H", "lustre.mdt_rec_link.lk_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9923 { &hf_lustre_mdt_rec_link_lk_fsgid,
9924 { "Lk Fsgid", "lustre.mdt_rec_link.lk_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9925 { &hf_lustre_mdt_rec_link_lk_fsgid_h,
9926 { "Lk Fsgid H", "lustre.mdt_rec_link.lk_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9927 { &hf_lustre_mdt_rec_link_lk_suppgid1,
9928 { "Lk Suppgid1", "lustre.mdt_rec_link.lk_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9929 { &hf_lustre_mdt_rec_link_lk_suppgid1_h,
9930 { "Lk Suppgid1 H", "lustre.mdt_rec_link.lk_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9931 { &hf_lustre_mdt_rec_link_lk_suppgid2,
9932 { "Lk Suppgid2", "lustre.mdt_rec_link.lk_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9933 { &hf_lustre_mdt_rec_link_lk_suppgid2_h,
9934 { "Lk Suppgid2 H", "lustre.mdt_rec_link.lk_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9935 { &hf_lustre_mdt_rec_link_lk_fid1,
9936 { "Lk Fid1", "lustre.mdt_rec_link.lk_fid1", FT_NONE,
9937 BASE_NONE, NULL, 0, "", HFILL } },
9938 { &hf_lustre_mdt_rec_link_lk_fid2,
9939 { "Lk Fid2", "lustre.mdt_rec_link.lk_fid2", FT_NONE,
9940 BASE_NONE, NULL, 0, "", HFILL } },
9941 { &hf_lustre_mdt_rec_link_lk_time,
9942 { "Lk Time", "lustre.mdt_rec_link.lk_time",FT_ABSOLUTE_TIME,
9943 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9944 { &hf_lustre_mdt_rec_link_lk_padding_1,
9945 { "Lk Padding 1", "lustre.mdt_rec_link.lk_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9946 { &hf_lustre_mdt_rec_link_lk_padding_2,
9947 { "Lk Padding 2", "lustre.mdt_rec_link.lk_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9948 { &hf_lustre_mdt_rec_link_lk_padding_3,
9949 { "Lk Padding 3", "lustre.mdt_rec_link.lk_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9950 { &hf_lustre_mdt_rec_link_lk_padding_4,
9951 { "Lk Padding 4", "lustre.mdt_rec_link.lk_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9952 { &hf_lustre_mdt_rec_link_lk_bias,
9953 { "Lk Bias", "lustre.mdt_rec_link.lk_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9954 { &hf_lustre_mdt_rec_link_lk_padding_5,
9955 { "Lk Padding 5", "lustre.mdt_rec_link.lk_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9956 { &hf_lustre_mdt_rec_link_lk_padding_6,
9957 { "Lk Padding 6", "lustre.mdt_rec_link.lk_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9958 { &hf_lustre_mdt_rec_link_lk_padding_7,
9959 { "Lk Padding 7", "lustre.mdt_rec_link.lk_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9960 { &hf_lustre_mdt_rec_link_lk_padding_8,
9961 { "Lk Padding 8", "lustre.mdt_rec_link.lk_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9962 { &hf_lustre_mdt_rec_link_lk_padding_9,
9963 { "Lk Padding 9", "lustre.mdt_rec_link.lk_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9965 { &hf_lustre_mdt_rec_unlink,
9966 { "mdt rec unlink", "lustre.mdt_rec_unlink", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9967 { &hf_lustre_mdt_rec_unlink_ul_opcode,
9968 { "Ul Opcode", "lustre.mdt_rec_unlink.ul_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
9969 { &hf_lustre_mdt_rec_unlink_ul_cap,
9970 { "Ul Cap", "lustre.mdt_rec_unlink.ul_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9971 { &hf_lustre_mdt_rec_unlink_ul_fsuid,
9972 { "Ul Fsuid", "lustre.mdt_rec_unlink.ul_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9973 { &hf_lustre_mdt_rec_unlink_ul_fsuid_h,
9974 { "Ul Fsuid H", "lustre.mdt_rec_unlink.ul_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9975 { &hf_lustre_mdt_rec_unlink_ul_fsgid,
9976 { "Ul Fsgid", "lustre.mdt_rec_unlink.ul_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9977 { &hf_lustre_mdt_rec_unlink_ul_fsgid_h,
9978 { "Ul Fsgid H", "lustre.mdt_rec_unlink.ul_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9979 { &hf_lustre_mdt_rec_unlink_ul_suppgid1,
9980 { "Ul Suppgid1", "lustre.mdt_rec_unlink.ul_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9981 { &hf_lustre_mdt_rec_unlink_ul_suppgid1_h,
9982 { "Ul Suppgid1 H", "lustre.mdt_rec_unlink.ul_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9983 { &hf_lustre_mdt_rec_unlink_ul_suppgid2,
9984 { "Ul Suppgid2", "lustre.mdt_rec_unlink.ul_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9985 { &hf_lustre_mdt_rec_unlink_ul_suppgid2_h,
9986 { "Ul Suppgid2 H", "lustre.mdt_rec_unlink.ul_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9987 { &hf_lustre_mdt_rec_unlink_ul_fid1,
9988 { "Ul Fid1", "lustre.mdt_rec_unlink.ul_fid1", FT_NONE,
9989 BASE_NONE, NULL, 0, "", HFILL } },
9990 { &hf_lustre_mdt_rec_unlink_ul_fid2,
9991 { "Ul Fid2", "lustre.mdt_rec_unlink.ul_fid2", FT_NONE,
9992 BASE_NONE, NULL, 0, "", HFILL } },
9993 { &hf_lustre_mdt_rec_unlink_ul_time,
9994 { "Ul Time", "lustre.mdt_rec_unlink.ul_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9995 { &hf_lustre_mdt_rec_unlink_ul_padding_2,
9996 { "Ul Padding 2", "lustre.mdt_rec_unlink.ul_padding_2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9997 { &hf_lustre_mdt_rec_unlink_ul_padding_3,
9998 { "Ul Padding 3", "lustre.mdt_rec_unlink.ul_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9999 { &hf_lustre_mdt_rec_unlink_ul_padding_4,
10000 { "Ul Padding 4", "lustre.mdt_rec_unlink.ul_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10001 { &hf_lustre_mdt_rec_unlink_ul_padding_5,
10002 { "Ul Padding 5", "lustre.mdt_rec_unlink.ul_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10003 { &hf_lustre_mdt_rec_unlink_ul_bias,
10004 { "Ul Bias", "lustre.mdt_rec_unlink.ul_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10005 { &hf_lustre_mdt_rec_unlink_ul_mode,
10006 { "Ul Mode", "lustre.mdt_rec_unlink.ul_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10007 { &hf_lustre_mdt_rec_unlink_ul_padding_6,
10008 { "Ul Padding 6", "lustre.mdt_rec_unlink.ul_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10009 { &hf_lustre_mdt_rec_unlink_ul_padding_7,
10010 { "Ul Padding 7", "lustre.mdt_rec_unlink.ul_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10011 { &hf_lustre_mdt_rec_unlink_ul_padding_8,
10012 { "Ul Padding 8", "lustre.mdt_rec_unlink.ul_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10013 { &hf_lustre_mdt_rec_unlink_ul_padding_9,
10014 { "Ul Padding 9", "lustre.mdt_rec_unlink.ul_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10016 { &hf_lustre_mdt_rec_rename,
10017 { "mdt rec rename", "lustre.mdt_rec_rename", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10018 { &hf_lustre_mdt_rec_rename_rn_opcode,
10019 { "Rn Opcode", "lustre.mdt_rec_rename.rn_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
10020 { &hf_lustre_mdt_rec_rename_rn_cap,
10021 { "Rn Cap", "lustre.mdt_rec_rename.rn_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10022 { &hf_lustre_mdt_rec_rename_rn_fsuid,
10023 { "Rn Fsuid", "lustre.mdt_rec_rename.rn_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10024 { &hf_lustre_mdt_rec_rename_rn_fsuid_h,
10025 { "Rn Fsuid H", "lustre.mdt_rec_rename.rn_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10026 { &hf_lustre_mdt_rec_rename_rn_fsgid,
10027 { "Rn Fsgid", "lustre.mdt_rec_rename.rn_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10028 { &hf_lustre_mdt_rec_rename_rn_fsgid_h,
10029 { "Rn Fsgid H", "lustre.mdt_rec_rename.rn_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10030 { &hf_lustre_mdt_rec_rename_rn_suppgid1,
10031 { "Rn Suppgid1", "lustre.mdt_rec_rename.rn_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10032 { &hf_lustre_mdt_rec_rename_rn_suppgid1_h,
10033 { "Rn Suppgid1 H", "lustre.mdt_rec_rename.rn_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10034 { &hf_lustre_mdt_rec_rename_rn_suppgid2,
10035 { "Rn Suppgid2", "lustre.mdt_rec_rename.rn_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10036 { &hf_lustre_mdt_rec_rename_rn_suppgid2_h,
10037 { "Rn Suppgid2 H", "lustre.mdt_rec_rename.rn_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10038 { &hf_lustre_mdt_rec_rename_rn_fid1,
10039 { "Rn Fid1", "lustre.mdt_rec_rename.rn_fid1", FT_NONE,
10040 BASE_NONE, NULL, 0, "", HFILL } },
10041 { &hf_lustre_mdt_rec_rename_rn_fid2,
10042 { "Rn Fid2", "lustre.mdt_rec_rename.rn_fid2", FT_NONE,
10043 BASE_NONE, NULL, 0, "", HFILL } },
10044 { &hf_lustre_mdt_rec_rename_rn_time,
10045 { "Rn Time", "lustre.mdt_rec_rename.rn_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10046 { &hf_lustre_mdt_rec_rename_rn_padding_1,
10047 { "Rn Padding 1", "lustre.mdt_rec_rename.rn_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10048 { &hf_lustre_mdt_rec_rename_rn_padding_2,
10049 { "Rn Padding 2", "lustre.mdt_rec_rename.rn_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10050 { &hf_lustre_mdt_rec_rename_rn_padding_3,
10051 { "Rn Padding 3", "lustre.mdt_rec_rename.rn_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10052 { &hf_lustre_mdt_rec_rename_rn_padding_4,
10053 { "Rn Padding 4", "lustre.mdt_rec_rename.rn_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10054 { &hf_lustre_mdt_rec_rename_rn_bias,
10055 { "Rn Bias", "lustre.mdt_rec_rename.rn_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10056 { &hf_lustre_mdt_rec_rename_rn_mode,
10057 { "Rn Mode", "lustre.mdt_rec_rename.rn_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10058 { &hf_lustre_mdt_rec_rename_rn_padding_5,
10059 { "Rn Padding 5", "lustre.mdt_rec_rename.rn_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10060 { &hf_lustre_mdt_rec_rename_rn_padding_6,
10061 { "Rn Padding 6", "lustre.mdt_rec_rename.rn_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10062 { &hf_lustre_mdt_rec_rename_rn_padding_7,
10063 { "Rn Padding 7", "lustre.mdt_rec_rename.rn_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10064 { &hf_lustre_mdt_rec_rename_rn_padding_8,
10065 { "Rn Padding 8", "lustre.mdt_rec_rename.rn_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10067 { &hf_lustre_mdt_rec_setxattr,
10068 { "mdt rec setxattr", "lustre.mdt_rec_setxattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10069 { &hf_lustre_mdt_rec_setxattr_sx_opcode,
10070 { "Sx Opcode", "lustre.mdt_rec_setxattr.sx_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
10071 { &hf_lustre_mdt_rec_setxattr_sx_cap,
10072 { "Sx Cap", "lustre.mdt_rec_setxattr.sx_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10073 { &hf_lustre_mdt_rec_setxattr_sx_fsuid,
10074 { "Sx Fsuid", "lustre.mdt_rec_setxattr.sx_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10075 { &hf_lustre_mdt_rec_setxattr_sx_fsuid_h,
10076 { "Sx Fsuid H", "lustre.mdt_rec_setxattr.sx_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10077 { &hf_lustre_mdt_rec_setxattr_sx_fsgid,
10078 { "Sx Fsgid", "lustre.mdt_rec_setxattr.sx_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10079 { &hf_lustre_mdt_rec_setxattr_sx_fsgid_h,
10080 { "Sx Fsgid H", "lustre.mdt_rec_setxattr.sx_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10081 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1,
10082 { "Sx Suppgid1", "lustre.mdt_rec_setxattr.sx_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10083 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1_h,
10084 { "Sx Suppgid1 H", "lustre.mdt_rec_setxattr.sx_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10085 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2,
10086 { "Sx Suppgid2", "lustre.mdt_rec_setxattr.sx_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10087 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2_h,
10088 { "Sx Suppgid2 H", "lustre.mdt_rec_setxattr.sx_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10089 { &hf_lustre_mdt_rec_setxattr_sx_fid,
10090 { "Sx Fid", "lustre.mdt_rec_setxattr.sx_fid", FT_NONE,
10091 BASE_NONE, NULL, 0, "", HFILL } },
10092 { &hf_lustre_mdt_rec_setxattr_sx_padding_1,
10093 { "Sx Padding 1", "lustre.mdt_rec_setxattr.sx_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10094 { &hf_lustre_mdt_rec_setxattr_sx_padding_2,
10095 { "Sx Padding 2", "lustre.mdt_rec_setxattr.sx_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10096 { &hf_lustre_mdt_rec_setxattr_sx_padding_3,
10097 { "Sx Padding 3", "lustre.mdt_rec_setxattr.sx_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10098 { &hf_lustre_mdt_rec_setxattr_sx_valid,
10099 { "Sx Valid", "lustre.mdt_rec_setxattr.sx_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10100 { &hf_lustre_mdt_rec_setxattr_sx_time,
10101 { "Sx Time", "lustre.mdt_rec_setxattr.sx_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10102 { &hf_lustre_mdt_rec_setxattr_sx_padding_5,
10103 { "Sx Padding 5", "lustre.mdt_rec_setxattr.sx_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10104 { &hf_lustre_mdt_rec_setxattr_sx_padding_6,
10105 { "Sx Padding 6", "lustre.mdt_rec_setxattr.sx_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10106 { &hf_lustre_mdt_rec_setxattr_sx_padding_7,
10107 { "Sx Padding 7", "lustre.mdt_rec_setxattr.sx_padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10108 { &hf_lustre_mdt_rec_setxattr_sx_size,
10109 { "Sx Size", "lustre.mdt_rec_setxattr.sx_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10110 { &hf_lustre_mdt_rec_setxattr_sx_flags,
10111 { "Sx Flags", "lustre.mdt_rec_setxattr.sx_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10112 { &hf_lustre_mdt_rec_setxattr_sx_padding_8,
10113 { "Sx Padding 8", "lustre.mdt_rec_setxattr.sx_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10114 { &hf_lustre_mdt_rec_setxattr_sx_padding_9,
10115 { "Sx Padding 9", "lustre.mdt_rec_setxattr.sx_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10116 { &hf_lustre_mdt_rec_setxattr_sx_padding_10,
10117 { "Sx Padding 10", "lustre.mdt_rec_setxattr.sx_padding_10", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10118 { &hf_lustre_mdt_rec_setxattr_sx_padding_11,
10119 { "Sx Padding 11", "lustre.mdt_rec_setxattr.sx_padding_11", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10121 { &hf_lustre_lustre_handle_cookie,
10122 { "Cookie", "lustre.lustre_handle.cookie", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10123 { &hf_lustre_ptlrpc_body_pb_last_committed,
10124 { "Pb Last Committed", "lustre.ptlrpc_body.pb_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10125 { &hf_lustre_ptlrpc_body_pb_version,
10126 { "Pb Version", "lustre.ptlrpc_body.pb_version", FT_UINT32, BASE_DEC, NULL, ~LUSTRE_VERSION_MASK, "", HFILL }},
10127 { &hf_lustre_lustre_msg_v1_lm_bufcount,
10128 { "Lm Bufcount", "lustre.lustre_msg_v1.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10129 { &hf_lustre_obd_ioobj_ioo_id,
10130 { "Ioo Id", "lustre.obd_ioobj.ioo_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10131 { &hf_lustre_ptlrpc_body_pb_slv,
10132 { "Pb Slv", "lustre.ptlrpc_body.pb_slv", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10134 { &hf_lustre_ptlrpc_body_pb_pre_version,
10135 { "Pb Pre-Version", "lustre.ptlrpc_body.pb_pre_version", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10136 { &hf_lustre_ptlrpc_body_pb_padding,
10137 { "Pb Padding", "lustre.ptlrpc_body.pb_padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10138 { &hf_lustre_ptlrpc_body_pb_jobid,
10139 { "Pb JobId", "lustre.ptlrpc_body.pb_jobid", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10141 { &hf_lustre_lustre_msg_v1_lm_handle,
10142 { "Lm Handle", "lustre.lustre_msg_v1.lm_handle", FT_NONE,
10143 BASE_NONE, NULL, 0, "", HFILL } },
10144 { &hf_lustre_ost_lvb_lvb_atime,
10145 { "Lvb Atime", "lustre.ost_lvb.lvb_atime",FT_ABSOLUTE_TIME,
10146 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10147 { &hf_lustre_ptlrpc_body_pb_timeout,
10148 { "Pb Timeout", "lustre.ptlrpc_body.pb_timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10149 { &hf_lustre_obd_statfs_os_bavail,
10150 { "Os Bavail", "lustre.obd_statfs.os_bavail", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10151 { &hf_lustre_obd_statfs_os_bsize,
10152 { "Os Bsize", "lustre.obd_statfs.os_bsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10153 { &hf_lustre_lustre_msg_v2_lm_repsize,
10154 { "Lm Repsize", "lustre.lustre_msg_v2.lm_repsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10155 { &hf_lustre_lov_mds_md_v1_lmm_stripe_size,
10156 { "Lmm Stripe Size", "lustre.lov_mds_md_v1.lmm_stripe_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10157 { &hf_lustre_lustre_msg_v1_lm_last_xid,
10158 { "Lm Last Xid", "lustre.lustre_msg_v1.lm_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10159 { &hf_lustre_ll_fid_f_type,
10160 { "F Type", "lustre.ll_fid.f_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10161 { &hf_lustre_lustre_msg_v2_lm_cksum,
10162 { "Lm Cksum", "lustre.lustre_msg_v2.lm_cksum", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10163 { &hf_lustre_lustre_msg_v2_lm_buflens,
10164 { "Lm Buflens", "lustre.lustre_msg_v2.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10165 { &hf_lustre_lustre_msg_v1_lm_status,
10166 { "Lm Status", "lustre.lustre_msg_v1.lm_status", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10167 { &hf_lustre_lustre_msg_v1_lm_type,
10168 { "Lm Type", "lustre.lustre_msg_v1.lm_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10169 { &hf_lustre_niobuf_remote_len,
10170 { "Len", "lustre.niobuf_remote.len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10171 { &hf_lustre_lov_mds_md_v1_lmm_magic,
10172 { "Lmm Magic", "lustre.lov_mds_md_v1.lmm_magic", FT_UINT32, BASE_HEX, VALS(lustre_lov_magic) , 0, "", HFILL }},
10173 { &hf_lustre_ptlrpc_body_pb_op_flags,
10174 { "Pb Op Flags", "lustre.ptlrpc_body.pb_op_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10175 { &hf_lustre_ost_lvb_lvb_ctime,
10176 { "Lvb Ctime", "lustre.ost_lvb.lvb_ctime",FT_ABSOLUTE_TIME,
10177 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10178 { &hf_lustre_ptlrpc_body_pb_type,
10179 { "Pb Type", "lustre.ptlrpc_body.pb_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10180 { &hf_lustre_obd_connect_data_ocd_nllg,
10181 { "Ocd Nllg", "lustre.obd_connect_data.ocd_nllg", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10182 { &hf_lustre_obd_connect_data_ocd_nllu,
10183 { "Ocd Nllu", "lustre.obd_connect_data.ocd_nllu", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10184 { &hf_lustre_ll_fid_generation,
10185 { "Generation", "lustre.ll_fid.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10186 { &hf_lustre_ost_lvb_lvb_mtime,
10187 { "Lvb Mtime", "lustre.ost_lvb.lvb_mtime",FT_ABSOLUTE_TIME,
10188 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10189 { &hf_lustre_obd_connect_data_ocd_ibits_known,
10190 { "Ocd Ibits Known", "lustre.obd_connect_data.ocd_ibits_known", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10191 { &hf_lustre_lustre_msg_v2_lm_padding_3,
10192 { "Lm Padding 3", "lustre.lustre_msg_v2.lm_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10193 { &hf_lustre_ptlrpc_body_pb_flags,
10194 { "Pb Flags", "lustre.ptlrpc_body.pb_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10195 { &hf_lustre_obd_statfs_os_spare4,
10196 { "Os Spare4", "lustre.obd_statfs.os_spare4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10197 { &hf_lustre_obd_connect_data_ocd_group,
10198 { "Ocd Group", "lustre.obd_connect_data.ocd_group", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10199 { &hf_lustre_lov_ost_data_v1_l_object_seq,
10200 { "L Object SEQ", "lustre.lov_ost_data_v1.l_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10201 { &hf_lustre_lov_mds_md_v1_lmm_object_seq,
10202 { "Lmm Object SEQ", "lustre.lov_mds_md_v1.lmm_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10203 { &hf_lustre_obd_connect_data_ocd_brw_size,
10204 { "Ocd Brw Size", "lustre.obd_connect_data.ocd_brw_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10205 { &hf_lustre_ptlrpc_body_pb_limit,
10206 { "Pb Limit", "lustre.ptlrpc_body.pb_limit", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10207 { &hf_lustre_obd_statfs_os_maxbytes,
10208 { "Os Maxbytes", "lustre.obd_statfs.os_maxbytes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10209 { &hf_lustre_obd_statfs_os_spare5,
10210 { "Os Spare5", "lustre.obd_statfs.os_spare5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10211 { &hf_lustre_lustre_msg_v2_lm_flags,
10212 { "Lm Flags", "lustre.lustre_msg_v2.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10213 { &hf_lustre_obd_statfs_os_ffree,
10214 { "Os Ffree", "lustre.obd_statfs.os_ffree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10215 { &hf_lustre_obd_statfs_os_files,
10216 { "Os Files", "lustre.obd_statfs.os_files", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10217 { &hf_lustre_lov_mds_md_v1_lmm_stripe_count,
10218 { "Lmm Stripe Count", "lustre.lov_mds_md_v1.lmm_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10219 { &hf_lustre_lustre_msg_v1_lm_flags,
10220 { "Lm Flags", "lustre.lustre_msg_v1.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10221 { &hf_lustre_lustre_msg_v1_lm_last_committed,
10222 { "Lm Last Committed", "lustre.lustre_msg_v1.lm_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10223 { &hf_lustre_obd_statfs_os_spare9,
10224 { "Os Spare9", "lustre.obd_statfs.os_spare9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10225 { &hf_lustre_obd_connect_data_ocd_index,
10226 { "Ocd Index", "lustre.obd_connect_data.ocd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10227 { &hf_lustre_lustre_msg_v1_lm_buflens,
10228 { "Lm Buflens", "lustre.lustre_msg_v1.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10229 { &hf_lustre_obd_statfs_os_spare1,
10230 { "Os Spare1", "lustre.obd_statfs.os_spare1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10231 { &hf_lustre_obd_statfs_os_spare8,
10232 { "Os Spare8", "lustre.obd_statfs.os_spare8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10233 { &hf_lustre_lustre_msg_v1_lm_conn_cnt,
10234 { "Lm Conn Cnt", "lustre.lustre_msg_v1.lm_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10235 { &hf_lustre_ptlrpc_body_pb_transno,
10236 { "Pb Transno", "lustre.ptlrpc_body.pb_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10237 { &hf_lustre_ptlrpc_body_pb_service_time,
10238 { "Pb Service Time", "lustre.ptlrpc_body.pb_service_time",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10239 { &hf_lustre_ptlrpc_body_pb_conn_cnt,
10240 { "Pb Conn Cnt", "lustre.ptlrpc_body.pb_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10241 { &hf_lustre_ptlrpc_body_pb_opc,
10242 { "Pb Opc", "lustre.ptlrpc_body.pb_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10243 { &hf_lustre_obd_connect_data_ocd_connect_flags,
10244 { "Ocd Connect Flags", "lustre.obd_connect_data.ocd_connect_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10245 { &hf_lustre_lov_ost_data_v1_l_object_id,
10246 { "L Object Id", "lustre.lov_ost_data_v1.l_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10247 { &hf_lustre_lov_ost_data_v1_l_ost_gen,
10248 { "L Ost Gen", "lustre.lov_ost_data_v1.l_ost_gen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10249 { &hf_lustre_obd_statfs_os_bfree,
10250 { "Os Bfree", "lustre.obd_statfs.os_bfree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10251 { &hf_lustre_obd_connect_data_ocd_version,
10252 { "Ocd Version", "lustre.obd_connect_data.ocd_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10253 { &hf_lustre_lov_mds_md_v1_lmm_objects,
10254 { "Lmm Objects", "lustre.lov_mds_md_v1.lmm_objects", FT_NONE,
10255 BASE_NONE, NULL, 0, "", HFILL } },
10256 { &hf_lustre_obd_statfs_os_namelen,
10257 { "Os Namelen", "lustre.obd_statfs.os_namelen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10258 { &hf_lustre_obd_statfs_os_blocks,
10259 { "Os Blocks", "lustre.obd_statfs.os_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10260 { &hf_lustre_lustre_msg_v2_lm_secflvr,
10261 { "Lm Secflvr", "lustre.lustre_msg_v2.lm_secflvr", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10262 { &hf_lustre_lustre_msg_v1_lm_transno,
10263 { "Lm Transno", "lustre.lustre_msg_v1.lm_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10264 { &hf_lustre_lov_mds_md_v1_lmm_pattern,
10265 { "Lmm Pattern", "lustre.lov_mds_md_v1.lmm_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10266 { &hf_lustre_lustre_msg_v1_lm_opc,
10267 { "Lm Opc", "lustre.lustre_msg_v1.lm_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10268 { &hf_lustre_obd_connect_data_ocd_grant,
10269 { "Ocd Grant", "lustre.obd_connect_data.ocd_grant", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10270 { &hf_lustre_obd_ioobj_ioo_bufcnt,
10271 { "Ioo Bufcnt", "lustre.obd_ioobj.ioo_bufcnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10272 { &hf_lustre_lustre_msg_v1_lm_version,
10273 { "Lm Version", "lustre.lustre_msg_v1.lm_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10274 { &hf_lustre_obd_statfs_os_spare7,
10275 { "Os Spare7", "lustre.obd_statfs.os_spare7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10276 { &hf_lustre_obd_statfs_os_fsid,
10277 { "Os Fsid", "lustre.obd_statfs.os_fsid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10278 { &hf_lustre_obd_connect_data_ocd_cksum_types,
10279 { "Ocd Cksum Types", "lustre.obd_connect_data.ocd_cksum_types", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10280 { &hf_lustre_ost_lvb_lvb_size,
10281 { "Lvb Size", "lustre.ost_lvb.lvb_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10282 { &hf_lustre_obd_statfs_os_type,
10283 { "Os Type", "lustre.obd_statfs.os_type", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10284 { &hf_lustre_obd_statfs_os_spare6,
10285 { "Os Spare6", "lustre.obd_statfs.os_spare6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10286 { &hf_lustre_obd_statfs_os_state,
10287 { "Os State", "lustre.obd_statfs.os_state", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10288 { &hf_lustre_obd_statfs_os_spare3,
10289 { "Os Spare3", "lustre.obd_statfs.os_spare3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10290 { &hf_lustre_lustre_msg_v2_lm_magic,
10291 { "Lm Magic", "lustre.lustre_msg_v2.lm_magic", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10292 { &hf_lustre_lov_mds_md_v1_lmm_object_id,
10293 { "Lmm Object Id", "lustre.lov_mds_md_v1.lmm_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10294 { &hf_lustre_ptlrpc_body_pb_last_seen,
10295 { "Pb Last Seen", "lustre.ptlrpc_body.pb_last_seen", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10296 { &hf_lustre_obd_ioobj_ioo_max_brw, /* TODO : create the
10297 corresponding value_string */
10298 { "Ioo Max BRW Size", "lustre.obd_ioobj.ioo_max_brw", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10299 { &hf_lustre_ptlrpc_body_pb_last_xid,
10300 { "Pb Last Xid", "lustre.ptlrpc_body.pb_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10301 { &hf_lustre_ptlrpc_body_pb_status,
10302 { "Pb Status", "lustre.ptlrpc_body.pb_status", FT_INT32, BASE_DEC, NULL, 0, "", HFILL }},
10303 { &hf_lustre_niobuf_remote_flags,
10304 { "Flags", "lustre.niobuf_remote.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10305 { &hf_lustre_ll_fid_id,
10306 { "Id", "lustre.ll_fid.id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10307 { &hf_lustre_ost_lvb_lvb_blocks,
10308 { "Lvb Blocks", "lustre.ost_lvb.lvb_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10309 { &hf_lustre_lustre_msg_v2_lm_padding_2,
10310 { "Lm Padding 2", "lustre.lustre_msg_v2.lm_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10311 { &hf_lustre_obd_connect_data_padding1,
10312 { "Padding1", "lustre.obd_connect_data.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10313 { &hf_lustre_lov_ost_data_v1_l_ost_idx,
10314 { "L Ost Idx", "lustre.lov_ost_data_v1.l_ost_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10315 { &hf_lustre_obd_connect_data_padding2,
10316 { "Padding2", "lustre.obd_connect_data.padding2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10317 { &hf_lustre_obd_ioobj_ioo_seq,
10318 { "Ioo Gr", "lustre.obd_ioobj.ioo_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10319 { &hf_lustre_niobuf_remote_offset,
10320 { "Offset", "lustre.niobuf_remote.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10321 { &hf_lustre_obd_statfs_os_spare2,
10322 { "Os Spare2", "lustre.obd_statfs.os_spare2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10323 { &hf_lustre_lustre_msg_v2_lm_bufcount,
10324 { "Lm Bufcount", "lustre.lustre_msg_v2.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10325 { &hf_lustre_ptlrpc_body_pb_handle,
10326 { "Pb Handle", "lustre.ptlrpc_body.pb_handle", FT_NONE,
10327 BASE_NONE, NULL, 0, "", HFILL } },
10328 { &hf_lustre_obd_connect_data_ocd_transno,
10329 { "Ocd Transno", "lustre.obd_connect_data.ocd_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10330 { &hf_lustre_lustre_msg_v1_lm_magic,
10331 { "Lm Magic", "lustre.lustre_msg_v1.lm_magic", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10332 { &hf_lustre_ptlrpc_body_pb,
10333 { "ptl rpc", "lustre.ptlrpc_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10335 { &hf_lustre_obd_uuid,
10336 { "obd uid name", "lustre.obd_uid", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10337 { &hf_lustre_obd_connect_data ,
10338 { "obd connect data", "lustre.obd_connect_data", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10340 { &hf_lustre_ldlm_intent,
10341 { "ldlm intent", "lustre.ldlm_intent", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10343 { &hf_lustre_obd_ioobj,
10344 { "lustre obd ioobj", "lustre.obd_ioobj", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10345 { &hf_lustre_niobuf_remote,
10346 { "lustre niobuf remote", "lustre.niobuf_remote", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10347 { &hf_lustre_ost_key,
10348 { "lustre ost key", "lustre.ost_key", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10349 { &hf_lustre_ost_val,
10350 { "lustre ost val", "lustre.ost_val", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10351 { &hf_lustre_llogd_chunk,
10352 { "lustre llogd chunk", "lustre.llogd_chunk", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10353 { &hf_lustre_llogd_keyword,
10354 { "lustre llogd keyword", "lustre.llogd_keyword", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10355 { &hf_lustre_llogd_client,
10356 { "lustre llogd client", "lustre.llogd_client", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10357 { &hf_lustre_llogd_name,
10358 { "lustre llogd name", "lustre.llogd_name", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10359 { &hf_lustre_llogd_log_hdr,
10360 { "lustre llogd log hdr", "lustre.llogd_log_hdr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10361 { &hf_lustre_llog_logid_rec,
10362 { "lustre llog logid rec", "lustre.llog_logid_rec", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10364 { &hf_lustre_llogd_body,
10365 { "lustre llogd body", "lustre.llogd_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10367 { "lustre nio", "lustre.nio", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10368 { &hf_lustre_ost_body,
10369 { "ost body", "lustre.ost_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10370 { &hf_lustre_obd_statfs,
10371 { "obd statfs", "lustre.obd_statfs", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10372 { &hf_lustre_obd_quotactl,
10373 { "obd quotactl", "lustre.obd_quotacl", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10374 { &hf_lustre_quota_adjust_qunit,
10375 { "obd quota adjust qunit", "lustre.quota_adjust_qunit", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10376 { &hf_lustre_llog_unlink_rec_lur_tail,
10377 { "Lur Tail", "lustre.llog_unlink_rec.lur_tail", FT_NONE,
10378 BASE_NONE, NULL, 0, "", HFILL } },
10379 { &hf_lustre_llog_size_change_rec_lsc_io_epoch,
10380 { "Lsc Io Epoch", "lustre.llog_size_change_rec.lsc_io_epoch", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10381 { &hf_lustre_mgs_target_info_mti_flags,
10382 { "Mti Flags", "lustre.mgs_target_info.mti_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10383 { &hf_lustre_ldlm_reply_lock_policy_res1,
10384 { "Lock Policy Res1", "lustre.ldlm_reply.lock_policy_res1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10385 { &hf_lustre_llogd_body_lgd_len,
10386 { "Lgd Len", "lustre.llogd_body.lgd_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10387 { &hf_lustre_qunit_data_old_qd_id,
10388 { "Qd Id", "lustre.qunit_data_old.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10389 { &hf_lustre_llog_logid_rec_padding1,
10390 { "Padding1", "lustre.llog_logid_rec.padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10391 { &hf_lustre_quota_adjust_qunit_padding1,
10392 { "Padding1", "lustre.quota_adjust_qunit.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10393 { &hf_lustre_llog_size_change_rec_lsc_fid,
10394 { "Lsc Fid", "lustre.llog_size_change_rec.lsc_fid", FT_NONE,
10395 BASE_NONE, NULL, 0, "", HFILL } },
10396 { &hf_lustre_llog_rec_hdr_padding,
10397 { "Padding", "lustre.llog_rec_hdr.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10398 { &hf_lustre_obdo_o_nlink,
10399 { "O Nlink", "lustre.obdo.o_nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10400 { &hf_lustre_ldlm_extent_gid,
10401 { "Gid", "lustre.ldlm_extent.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10402 { &hf_lustre_obdo_o_uid,
10403 { "O Uid", "lustre.obdo.o_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10404 { &hf_lustre_mds_xattr_name,
10405 { "mds xattr name", "lustre.mds_xattr_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10406 { &hf_lustre_lov_mds_md_v1,
10407 { "lov mds md v1", "lustre.lov_mds_md_v1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10408 { &hf_lustre_llog_cookie,
10409 { "llog cookie", "lustre.llog_cookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10410 { &hf_lustre_mds_md_data,
10411 { "mds md data", "lustre.mds_md_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10412 { &hf_lustre_mds_reint_opcode,
10413 { "mds reint opcode", "lustre.mds_reint_opcode", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10414 { &hf_lustre_mds_xattr_eadata,
10415 { "mds xattr eadata", "lustre.mds_xattr_eadata", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10416 { &hf_lustre_reint_name,
10417 { "mds reint name", "lustre.mds_reint_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10418 { &hf_lustre_reint_old_name,
10419 { "mds reint old name", "lustre.mds_reint_old_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10420 { &hf_lustre_reint_new_name,
10421 { "mds reint new name", "lustre.mds_reint_new_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10424 { &hf_lustre_obdo_o_valid,
10425 { "O Valid", "lustre.obdo.o_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10426 { &hf_lustre_ldlm_reply_lock_flags,
10427 { "Lock Flags", "lustre.ldlm_reply.lock_flags", FT_UINT32,BASE_HEX, NULL, 0, "", HFILL }},
10429 #define WSHARK_INIT_DATA
10430 #include "lustre_dlm_flags_wshark.c"
10431 #undef WSHARK_INIT_DATA
10433 { &hf_lustre_obdo_o_misc,
10434 { "O Misc", "lustre.obdo.o_misc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10435 { &hf_lustre_ldlm_request_lock_handle,
10436 { "Lock Handle", "lustre.ldlm_request.lock_handle", FT_NONE,
10437 BASE_NONE, NULL, 0, "", HFILL } },
10438 { &hf_lustre_llog_logid_lgl_oid,
10439 { "Lgl Oid", "lustre.llog_logid.lgl_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10440 { &hf_lustre_ldlm_inodebits_bits,
10441 { "Bits", "lustre.ldlm_inodebits.bits", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10442 { &hf_lustre_llog_log_hdr_llh_count,
10443 { "Llh Count", "lustre.llog_log_hdr.llh_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10444 { &hf_lustre_llog_gen_rec_lgr_tail,
10445 { "Lgr Tail", "lustre.llog_gen_rec.lgr_tail", FT_NONE,
10446 BASE_NONE, NULL, 0, "", HFILL } },
10447 { &hf_lustre_llog_catid_lci_padding3,
10448 { "Lci Padding3", "lustre.llog_catid.lci_padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10449 { &hf_lustre_qunit_data_qd_qunit,
10450 { "Qd Qunit", "lustre.qunit_data.qd_qunit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10451 { &hf_lustre_llog_setattr_rec_padding,
10452 { "Padding", "lustre.llog_setattr_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10453 { &hf_lustre_llog_cookie_lgc_lgl,
10454 { "Lgc Lgl", "lustre.llog_cookie.lgc_lgl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10455 { &hf_lustre_obd_quotactl_qc_dqinfo,
10456 { "Qc Dqinfo", "lustre.obd_quotactl.qc_dqinfo", FT_NONE,
10457 BASE_NONE, NULL, 0, "", HFILL } },
10458 { &hf_lustre_llog_log_hdr_llh_bitmap,
10459 { "Llh Bitmap", "lustre.llog_log_hdr.llh_bitmap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10460 { &hf_lustre_obd_quotactl_qc_stat,
10461 { "Qc Stat", "lustre.obd_quotactl.qc_stat", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10462 { &hf_lustre_qunit_data_old2_qd_id,
10463 { "Qd Id", "lustre.qunit_data_old2.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10464 { &hf_lustre_llog_logid_rec_padding2,
10465 { "Padding2", "lustre.llog_logid_rec.padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10466 { &hf_lustre_llog_logid_rec_padding5,
10467 { "Padding5", "lustre.llog_logid_rec.padding5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10468 /*-------------------------------------------------------------------------------------------------------------*/
10469 /*all this flags are uint64, but I don't find the way to use something like TFS() with a Uint64*/
10470 /*like TFS() with a Uint64 */
10471 { &hf_lustre_ldlm_intent_opc_open,
10472 { "open", "lustre.ldlm_intent.opc_open", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_OPEN, "", HFILL } },
10473 { &hf_lustre_ldlm_intent_opc_creat,
10474 { "creat", "lustre.ldlm_intent.opc_creat", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_CREAT , "", HFILL } },
10475 { &hf_lustre_ldlm_intent_opc_readdir,
10476 { "readdir", "lustre.ldlm_intent.opc_readdir", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_READDIR , "", HFILL } },
10477 { &hf_lustre_ldlm_intent_opc_getattr,
10478 { "getattr", "lustre.ldlm_intent.opc_getattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETATTR, "", HFILL } },
10479 { &hf_lustre_ldlm_intent_opc_lookup,
10480 { "lookup", "lustre.ldlm_intent.opc_lookup", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_LOOKUP , "", HFILL } },
10481 { &hf_lustre_ldlm_intent_opc_unlink,
10482 { "unlink", "lustre.ldlm_intent.opc_unlink", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_UNLINK , "", HFILL } },
10483 { &hf_lustre_ldlm_intent_opc_getxattr,
10484 { "getxattr", "lustre.ldlm_intent.opc_getxattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETXATTR , "", HFILL } },
10485 { &hf_lustre_ldlm_intent_opc_exec,
10486 { "exec", "lustre.ldlm_intent.opc_exec", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_EXEC , "", HFILL } },
10487 { &hf_lustre_ldlm_intent_opc_pin,
10488 { "pin", "lustre.ldlm_intent.opc_pin", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_PIN , "", HFILL } },
10489 /*-------------------------------------------------------------------*/
10490 { &hf_lustre_ldlm_intent_opc,
10491 { "intent opcode", "lustre.ldlm_intent.opc", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10492 { &hf_lustre_llog_rec_hdr_lrh_type,
10493 { "Lrh Type", "lustre.llog_rec_hdr.lrh_type", FT_UINT32, BASE_HEX, VALS(lustre_llog_op_type), 0, "", HFILL }},
10494 { &hf_lustre_llog_rec_hdr_lrh_len,
10495 { "Lrh Len", "lustre.llog_rec_hdr.lrh_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10496 { &hf_lustre_llog_setattr_rec_lsr_uid,
10497 { "Lsr Uid", "lustre.llog_setattr_rec.lsr_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10498 { &hf_lustre_lov_desc_ld_padding_1,
10499 { "Ld Padding 1", "lustre.lov_desc.ld_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10500 { &hf_lustre_obdo_o_padding_4,
10501 { "O Padding 4", "lustre.obdo.o_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10502 { &hf_lustre_mgs_target_info_padding,
10503 { "Padding", "lustre.mgs_target_info.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10504 { &hf_lustre_obd_quotactl_qc_dqblk,
10505 { "Qc Dqblk", "lustre.obd_quotactl.qc_dqblk", FT_NONE,
10506 BASE_NONE, NULL, 0, "", HFILL } },
10507 { &hf_lustre_llogd_conn_body_lgdc_gen,
10508 { "Lgdc Gen", "lustre.llogd_conn_body.lgdc_gen", FT_NONE,
10509 BASE_NONE, NULL, 0, "", HFILL } },
10510 { &hf_lustre_llog_log_hdr_llh_tail,
10511 { "Llh Tail", "lustre.llog_log_hdr.llh_tail", FT_NONE,
10512 BASE_NONE, NULL, 0, "", HFILL } },
10513 { &hf_lustre_obdo_o_size,
10514 { "O Size", "lustre.obdo.o_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10515 { &hf_lustre_ldlm_extent_start,
10516 { "Start", "lustre.ldlm_extent.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10517 { &hf_lustre_llog_size_change_rec_lsc_hdr,
10518 { "Lsc Hdr", "lustre.llog_size_change_rec.lsc_hdr", FT_NONE,
10519 BASE_NONE, NULL, 0, "", HFILL } },
10520 { &hf_lustre_llog_logid_lgl_oseq,
10521 { "Lgl SEQ", "lustre.llog_logid.lgl_oseq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10522 { &hf_lustre_llog_cookie_lgc_padding,
10523 { "Lgc Padding", "lustre.llog_cookie.lgc_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10524 { &hf_lustre_qunit_data_old_qd_type,
10525 { "Qd Type", "lustre.qunit_data_old.qd_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10526 { &hf_lustre_ldlm_flock_blocking_export,
10527 { "Blocking Export", "lustre.ldlm_flock.blocking_export", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10528 { &hf_lustre_lov_desc_ld_pattern,
10529 { "Ld Pattern", "lustre.lov_desc.ld_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10530 { &hf_lustre_qunit_data_qd_id,
10531 { "Qd Id", "lustre.qunit_data.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10532 { &hf_lustre_mgs_target_info_mti_fsname,
10533 { "Mti Fsname", "lustre.mgs_target_info.mti_fsname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10534 { &hf_lustre_ldlm_request_lock_flags,
10535 { "Lock Flags", "lustre.ldlm_request.lock_flags", FT_UINT32, BASE_HEX, NULL, 0 , "", HFILL }},
10536 { &hf_lustre_obdo_o_mode,
10537 { "O Mode", "lustre.obdo.o_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10538 { &hf_lustre_mgs_target_info_mti_svname,
10539 { "Mti Svname", "lustre.mgs_target_info.mti_svname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10540 { &hf_lustre_llogd_body_lgd_logid,
10541 { "Lgd Logid", "lustre.llogd_body.lgd_logid", FT_NONE,
10542 BASE_NONE, NULL, 0, "", HFILL } },
10543 { &hf_lustre_llog_log_hdr_llh_size,
10544 { "Llh Size", "lustre.llog_log_hdr.llh_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10545 { &hf_lustre_obdo_o_handle,
10546 { "O Handle", "lustre.obdo.o_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10547 { &hf_lustre_obdo_o_atime,
10548 { "O Atime", "lustre.obdo.o_atime",FT_ABSOLUTE_TIME,
10549 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10550 { &hf_lustre_quota_adjust_qunit_qaq_id,
10551 { "Qaq Id", "lustre.quota_adjust_qunit.qaq_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10552 { &hf_lustre_ldlm_lock_desc_l_policy_data,
10553 { "L Policy Data", "lustre.ldlm_lock_desc.l_policy_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10554 { &hf_lustre_obd_quotactl_qc_cmd,
10555 { "Qc Cmd", "lustre.obd_quotactl.qc_cmd", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10556 { &hf_lustre_qunit_data_padding,
10557 { "Padding", "lustre.qunit_data.padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10558 { &hf_lustre_quota_adjust_qunit_qaq_flags,
10559 { "Qaq Flags", "lustre.quota_adjust_qunit.qaq_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10560 { &hf_lustre_ldlm_lock_desc_l_granted_mode,
10561 { "L Granted Mode", "lustre.ldlm_lock_desc.l_granted_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10562 { &hf_lustre_obdo_o_seq,
10563 { "O SEQ", "lustre.obdo.o_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10564 { &hf_lustre_obdo_o_gid,
10565 { "O Gid", "lustre.obdo.o_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10566 { &hf_lustre_llog_catid_lci_logid,
10567 { "Lci Logid", "lustre.llog_catid.lci_logid", FT_NONE,
10568 BASE_NONE, NULL, 0, "", HFILL } },
10569 { &hf_lustre_llog_rec_tail_lrt_index,
10570 { "Lrt Index", "lustre.llog_rec_tail.lrt_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10571 { &hf_lustre_lov_desc_ld_default_stripe_count,
10572 { "Ld Default Stripe Count", "lustre.lov_desc.ld_default_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10573 { &hf_lustre_ldlm_resource_desc_lr_padding,
10574 { "Lr Padding", "lustre.ldlm_resource_desc.lr_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10575 { &hf_lustre_cfg_marker_cm_vers,
10576 { "Cm Vers", "lustre.cfg_marker.cm_vers", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10577 { &hf_lustre_llog_unlink_rec_lur_hdr,
10578 { "Lur Hdr", "lustre.llog_unlink_rec.lur_hdr", FT_NONE,
10579 BASE_NONE, NULL, 0, "", HFILL } },
10580 { &hf_lustre_llogd_body_lgd_index,
10581 { "Lgd Index", "lustre.llogd_body.lgd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10582 { &hf_lustre_cfg_marker_cm_tgtname,
10583 { "Cm Tgtname", "lustre.cfg_marker.cm_tgtname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10584 { &hf_lustre_llog_setattr_rec_lsr_ogen,
10585 { "Lsr Ogen", "lustre.llog_setattr_rec.lsr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10586 { &hf_lustre_llog_logid_rec_lid_hdr,
10587 { "Lid Hdr", "lustre.llog_logid_rec.lid_hdr", FT_NONE,
10588 BASE_NONE, NULL, 0, "", HFILL } },
10589 { &hf_lustre_obdo_o_ioepoch,
10590 { "O IOEpoch", "lustre.obdo.o_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10591 { &hf_lustre_ost_body_oa,
10592 { "Oa", "lustre.ost_body.oa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10593 { &hf_lustre_llog_logid_rec_padding3,
10594 { "Padding3", "lustre.llog_logid_rec.padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10595 { &hf_lustre_llog_log_hdr_llh_flags,
10596 { "Llh Flags", "lustre.llog_log_hdr.llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10597 {&hf_lustre_llog_hdr_llh_flag_zap_when_empty,
10598 {"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 } },
10599 {&hf_lustre_llog_hdr_llh_flag_is_cat,
10600 {"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 } },
10601 {&hf_lustre_llog_hdr_llh_flag_is_play,
10602 {"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 } },
10604 { &hf_lustre_llog_setattr_rec_lsr_oid,
10605 { "Lsr Oid", "lustre.llog_setattr_rec.lsr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10606 { &hf_lustre_llog_size_change_rec_padding,
10607 { "Padding", "lustre.llog_size_change_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10608 { &hf_lustre_mgs_target_info_mti_config_ver,
10609 { "Mti Config Ver", "lustre.mgs_target_info.mti_config_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10610 { &hf_lustre_cfg_marker_cm_createtime,
10611 { "Cm Createtime", "lustre.cfg_marker.cm_createtime",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10612 { &hf_lustre_qunit_data_old_qd_count,
10613 { "Qd Count", "lustre.qunit_data_old.qd_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10614 { &hf_lustre_llog_catid_lci_padding1,
10615 { "Lci Padding1", "lustre.llog_catid.lci_padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10616 { &hf_lustre_lov_desc_ld_active_tgt_count,
10617 { "Ld Active Tgt Count", "lustre.lov_desc.ld_active_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10618 { &hf_lustre_obdo_o_lcookie,
10619 { "O Lcookie", "lustre.obdo.o_lcookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10620 { &hf_lustre_llog_gen_rec_lgr_gen,
10621 { "Lgr Gen", "lustre.llog_gen_rec.lgr_gen", FT_NONE,
10622 BASE_NONE, NULL, 0, "", HFILL } },
10623 { &hf_lustre_obdo_o_id,
10624 { "O Id", "lustre.obdo.o_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10625 { &hf_lustre_mgs_target_info_mti_uuid,
10626 { "Mti Uuid", "lustre.mgs_target_info.mti_uuid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10627 { &hf_lustre_llog_rec_hdr_lrh_index,
10628 { "Lrh Index", "lustre.llog_rec_hdr.lrh_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10629 { &hf_lustre_llog_setattr_rec_lsr_hdr,
10630 { "Lsr Hdr", "lustre.llog_setattr_rec.lsr_hdr", FT_NONE,
10631 BASE_NONE, NULL, 0, "", HFILL } },
10632 { &hf_lustre_mgs_target_info_mti_stripe_index,
10633 { "Mti Stripe Index", "lustre.mgs_target_info.mti_stripe_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10634 { &hf_lustre_llog_gen_conn_cnt,
10635 { "Conn Cnt", "lustre.llog_gen.conn_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10636 { &hf_lustre_obdo_o_padding_6,
10637 { "O Padding 6", "lustre.obdo.o_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10638 { &hf_lustre_llog_cookie_lgc_index,
10639 { "Lgc Index", "lustre.llog_cookie.lgc_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10640 { &hf_lustre_lov_desc_ld_uuid,
10641 { "Ld Uuid", "lustre.lov_desc.ld_uuid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10642 { &hf_lustre_ldlm_reply_lock_desc,
10643 { "Lock Desc", "lustre.ldlm_reply.lock_desc", FT_NONE,
10644 BASE_NONE, NULL, 0, "", HFILL } },
10645 { &hf_lustre_lov_desc_ld_padding_0,
10646 { "Ld Padding 0", "lustre.lov_desc.ld_padding_0", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10647 { &hf_lustre_llog_unlink_rec_lur_ogen,
10648 { "Lur Ogen", "lustre.llog_unlink_rec.lur_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10649 { &hf_lustre_cfg_marker_cm_flags,
10650 { "Cm Flags", "lustre.cfg_marker.cm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10651 { &hf_lustre_obdo_o_padding_3,
10652 { "O Padding 3", "lustre.obdo.o_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10653 { &hf_lustre_ldlm_request_lock_desc,
10654 { "Lock Desc", "lustre.ldlm_request.lock_desc", FT_NONE,
10655 BASE_NONE, NULL, 0, "", HFILL } },
10656 { &hf_lustre_obdo_o_flags,
10657 { "O Flags", "lustre.obdo.o_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10658 { &hf_lustre_mgs_target_info_mti_params,
10659 { "Mti Params", "lustre.mgs_target_info.mti_params", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10660 { &hf_lustre_llog_logid_lgl_ogen,
10661 { "Lgl Ogen", "lustre.llog_logid.lgl_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10662 { &hf_lustre_cfg_marker_cm_comment,
10663 { "Cm Comment", "lustre.cfg_marker.cm_comment", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10664 { &hf_lustre_llog_unlink_rec_lur_oid,
10665 { "Lur Oid", "lustre.llog_unlink_rec.lur_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10666 { &hf_lustre_qunit_data_qd_count,
10667 { "Qd Count", "lustre.qunit_data.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10668 { &hf_lustre_obdo_o_mtime,
10669 { "O Mtime", "lustre.obdo.o_mtime",FT_ABSOLUTE_TIME,
10670 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10671 { &hf_lustre_obdo_o_blksize,
10672 { "O Blksize", "lustre.obdo.o_blksize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10673 { &hf_lustre_ldlm_res_id_name,
10674 { "Name", "lustre.ldlm_res_id.name", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10675 { &hf_lustre_ldlm_reply_lock_handle,
10676 { "Lock Handle", "lustre.ldlm_reply.lock_handle", FT_NONE,
10677 BASE_NONE, NULL, 0, "", HFILL } },
10678 { &hf_lustre_llogd_body_lgd_saved_index,
10679 { "Lgd Saved Index", "lustre.llogd_body.lgd_saved_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10680 { &hf_lustre_qunit_data_old_qd_isblk,
10681 { "Qd Isblk", "lustre.qunit_data_old.qd_isblk", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10682 { &hf_lustre_obdo_o_blocks,
10683 { "O Blocks", "lustre.obdo.o_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10684 { &hf_lustre_lov_desc_ld_padding_2,
10685 { "Ld Padding 2", "lustre.lov_desc.ld_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10686 { &hf_lustre_llog_logid_rec_lid_tail,
10687 { "Lid Tail", "lustre.llog_logid_rec.lid_tail", FT_NONE,
10688 BASE_NONE, NULL, 0, "", HFILL } },
10689 { &hf_lustre_obdo_o_grant,
10690 { "O Grant", "lustre.obdo.o_grant", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10691 { &hf_lustre_obdo_o_uid_h,
10692 { "O Uid H", "lustre.obdo.o_uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10693 { &hf_lustre_obdo_o_gid_h,
10694 { "O Gid H", "lustre.obdo.o_gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10695 { &hf_lustre_quota_adjust_qunit_qaq_iunit_sz,
10696 { "Qaq Iunit Sz", "lustre.quota_adjust_qunit.qaq_iunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10697 { &hf_lustre_llog_unlink_rec_padding,
10698 { "Padding", "lustre.llog_unlink_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10699 { &hf_lustre_ldlm_lock_desc_l_req_mode,
10700 { "L Req Mode", "lustre.ldlm_lock_desc.l_req_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_t_vals), 0, "", HFILL }},
10701 { &hf_lustre_ldlm_extent_end,
10702 { "End", "lustre.ldlm_extent.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10703 { &hf_lustre_llog_gen_rec_lgr_hdr,
10704 { "Lgr Hdr", "lustre.llog_gen_rec.lgr_hdr", FT_NONE,
10705 BASE_NONE, NULL, 0, "", HFILL } },
10706 { &hf_lustre_llogd_body_lgd_llh_flags,
10707 { "Lgd Llh Flags", "lustre.llogd_body.lgd_llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10708 { &hf_lustre_llog_log_hdr_llh_cat_idx,
10709 { "Llh Cat Idx", "lustre.llog_log_hdr.llh_cat_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10710 { &hf_lustre_llog_log_hdr_llh_bitmap_offset,
10711 { "Llh Bitmap Offset", "lustre.llog_log_hdr.llh_bitmap_offset", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10712 { &hf_lustre_ldlm_reply_lock_padding,
10713 { "Lock Padding", "lustre.ldlm_reply.lock_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10714 { &hf_lustre_obd_quotactl_qc_id,
10715 { "Qc Id", "lustre.obd_quotactl.qc_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10716 { &hf_lustre_llog_logid_rec_padding4,
10717 { "Padding4", "lustre.llog_logid_rec.padding4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10718 { &hf_lustre_llog_setattr_rec_lsr_gid,
10719 { "Lsr Gid", "lustre.llog_setattr_rec.lsr_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10720 { &hf_lustre_obd_quotactl_qc_type,
10721 { "Qc Type", "lustre.obd_quotactl.qc_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10722 { &hf_lustre_cfg_marker_padding,
10723 { "Padding", "lustre.cfg_marker.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10724 { &hf_lustre_mgs_target_info_mti_nids,
10725 { "Mti Nids", "lustre.mgs_target_info.mti_nids", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10726 { &hf_lustre_obdo_o_stripe_idx,
10727 { "O Stripe Idx", "lustre.obdo.o_stripe_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10728 { &hf_lustre_llogd_conn_body_lgdc_logid,
10729 { "Lgdc Logid", "lustre.llogd_conn_body.lgdc_logid", FT_NONE,
10730 BASE_NONE, NULL, 0, "", HFILL } },
10731 { &hf_lustre_ldlm_flock_blocking_pid,
10732 { "Blocking Pid", "lustre.ldlm_flock.blocking_pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10733 { &hf_lustre_lov_desc_ld_tgt_count,
10734 { "Ld Tgt Count", "lustre.lov_desc.ld_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10735 { &hf_lustre_llogd_body_lgd_cur_offset,
10736 { "Lgd Cur Offset", "lustre.llogd_body.lgd_cur_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10737 { &hf_lustre_qunit_data_old2_qd_count,
10738 { "Qd Count", "lustre.qunit_data_old2.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10739 { &hf_lustre_opnum,
10740 { "Operation", "lustre.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }},
10741 { &hf_lustre_qunit_data_old2_qd_flags,
10742 { "Qd Flags", "lustre.qunit_data_old2.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10743 { &hf_lustre_ldlm_flock_start,
10744 { "Start", "lustre.ldlm_flock.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10745 { &hf_lustre_quota_adjust_qunit_qaq_bunit_sz,
10746 { "Qaq Bunit Sz", "lustre.quota_adjust_qunit.qaq_bunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10747 { &hf_lustre_ldlm_flock_pid,
10748 { "Pid", "lustre.ldlm_flock.pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10749 { &hf_lustre_lov_desc_ld_default_stripe_size,
10750 { "Ld Default Stripe Size", "lustre.lov_desc.ld_default_stripe_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10751 { &hf_lustre_llog_log_hdr_llh_tgtuuid,
10752 { "Llh Tgtuuid", "lustre.llog_log_hdr.llh_tgtuuid", FT_NONE,
10753 BASE_NONE, NULL, 0, "", HFILL } },
10754 { &hf_lustre_cfg_marker_cm_step,
10755 { "Cm Step", "lustre.cfg_marker.cm_step", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10756 { &hf_lustre_mgs_send_param_mgs_param,
10757 { "Mgs Param", "lustre.mgs_send_param.mgs_param", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10758 { &hf_lustre_lov_desc_ld_default_stripe_offset,
10759 { "Ld Default Stripe Offset", "lustre.lov_desc.ld_default_stripe_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10760 { &hf_lustre_ldlm_resource_desc_lr_name,
10761 { "Lr Name", "lustre.ldlm_resource_desc.lr_name", FT_NONE,
10762 BASE_NONE, NULL, 0, "", HFILL } },
10763 { &hf_lustre_llog_rec_tail_lrt_len,
10764 { "Lrt Len", "lustre.llog_rec_tail.lrt_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10765 { &hf_lustre_llog_log_hdr_llh_timestamp,
10766 { "Llh Timestamp", "lustre.llog_log_hdr.llh_timestamp", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10767 { &hf_lustre_llog_catid_lci_padding2,
10768 { "Lci Padding2", "lustre.llog_catid.lci_padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10769 { &hf_lustre_llogd_conn_body_lgdc_ctxt_idx,
10770 { "Lgdc Ctxt Idx", "lustre.llogd_conn_body.lgdc_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10771 { &hf_lustre_cfg_marker_cm_canceltime,
10772 { "Cm Canceltime", "lustre.cfg_marker.cm_canceltime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10773 { &hf_lustre_mgs_target_info_mti_lustre_ver,
10774 { "Mti Lustre Ver", "lustre.mgs_target_info.mti_lustre_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10775 { &hf_lustre_obdo_o_parent_ver,
10776 { "O Parent VER", "lustre.obdo.o_parent_ver", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10777 { &hf_lustre_qunit_data_qd_flags,
10778 { "Qd Flags", "lustre.qunit_data.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10779 { &hf_lustre_llog_logid_rec_lid_id,
10780 { "Lid Id", "lustre.llog_logid_rec.lid_id", FT_NONE,
10781 BASE_NONE, NULL, 0, "", HFILL } },
10782 { &hf_lustre_obdo_o_parent_oid,
10783 { "O Parent OID", "lustre.obdo.o_parent_oid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10784 { &hf_lustre_llog_gen_mnt_cnt,
10785 { "Mnt Cnt", "lustre.llog_gen.mnt_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10786 { &hf_lustre_llog_size_change_rec_lsc_tail,
10787 { "Lsc Tail", "lustre.llog_size_change_rec.lsc_tail", FT_NONE,
10788 BASE_NONE, NULL, 0, "", HFILL } },
10789 { &hf_lustre_obdo_o_padding_5,
10790 { "O Padding 5", "lustre.obdo.o_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10791 { &hf_lustre_ldlm_lock_desc_l_resource,
10792 { "L Resource", "lustre.ldlm_lock_desc.l_resource", FT_NONE,
10793 BASE_NONE, NULL, 0, "", HFILL } },
10794 { &hf_lustre_obdo_o_parent_seq,
10795 { "O Parent SEQ", "lustre.obdo.o_parent_seq", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL }},
10796 { &hf_lustre_ldlm_request_lock_count,
10797 { "Lock Count", "lustre.ldlm_request.lock_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, "", HFILL }},
10798 { &hf_lustre_ldlm_flock_end,
10799 { "End", "lustre.ldlm_flock.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10800 { &hf_lustre_mgs_target_info_mti_nid_count,
10801 { "Mti Nid Count", "lustre.mgs_target_info.mti_nid_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10802 /* -------------------------------------------------------------------- */
10803 { &hf_lustre_mgs_target_info,
10804 { "mgs target info", "lustre.mgs_target_info", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10805 { &hf_lustre_mgs_send_param,
10806 { "mgs send param", "lustre.mgs_send_param", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10808 { &hf_lustre_mgs_config_body,
10809 { "mgs config body", "lustre.mgs_config_body", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10810 { &hf_lustre_mgs_config_body_name,
10811 { "mcb name", "lustre.mgs_config_body.name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10812 { &hf_lustre_mgs_config_body_offset,
10813 { "mcb offset", "lustre.mgs_config_body.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10814 { &hf_lustre_mgs_config_body_type,
10815 { "mcb type", "lustre.mgs_config_body.type", FT_UINT16, BASE_DEC, VALS(lustre_mgs_config_body_types), 0, "", HFILL }},
10816 { &hf_lustre_mgs_config_body_reserved,
10817 { "mcb reserved", "lustre.mgs_config_body.type", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10818 { &hf_lustre_mgs_config_body_bits,
10819 { "mcb bit shift", "lustre.mgs_config_body.type", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10820 { &hf_lustre_mgs_config_body_units,
10821 { "mcb units", "lustre.mgs_config_body.type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10823 { &hf_lustre_mgs_config_res,
10824 { "mgs config res", "lustre.mgs_config_res", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10825 { &hf_lustre_mgs_config_res_offset,
10826 { "mcr offset", "lustre.mgs_config_res.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10827 { &hf_lustre_mgs_config_res_size,
10828 { "mcr size", "lustre.mgs_config_res.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10830 /* -------------------------------------------------------------------- */
10831 { &hf_lustre_ost_lvb,
10832 { "ost lvb data", "lustre.ost_lvb", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10834 { &hf_lustre_obdo_o_ctime,
10835 { "O Ctime", "lustre.obdo.o_ctime",FT_ABSOLUTE_TIME,
10836 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10837 { &hf_lustre_ldlm_reply_lock_policy_res2,
10838 { "Lock Policy Res2", "lustre.ldlm_reply.lock_policy_res2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10839 { &hf_lustre_llogd_body_lgd_ctxt_idx,
10840 { "Lgd Ctxt Idx", "lustre.llogd_body.lgd_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10841 { &hf_lustre_lov_desc_ld_qos_maxage,
10842 { "Ld Qos Maxage", "lustre.lov_desc.ld_qos_maxage", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10843 { &hf_lustre_ldlm_resource_desc_lr_type,
10844 { "Lr Type", "lustre.ldlm_resource_desc.lr_type", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_type_t_vals), 0, "", HFILL }},
10845 { &hf_lustre_llog_setattr_rec_lsr_tail,
10846 { "Lsr Tail", "lustre.llog_setattr_rec.lsr_tail", FT_NONE,
10847 BASE_NONE, NULL, 0, "", HFILL } },
10848 { &hf_lustre_llog_cookie_lgc_subsys,
10849 { "Lgc Subsys", "lustre.llog_cookie.lgc_subsys", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10850 { &hf_lustre_llog_log_hdr_llh_hdr,
10851 { "Llh Hdr", "lustre.llog_log_hdr.llh_hdr", FT_NONE,
10852 BASE_NONE, NULL, 0, "", HFILL } },
10853 { &hf_lustre_llog_log_hdr_llh_reserved,
10854 { "Llh Reserved", "lustre.llog_log_hdr.llh_reserved", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10856 { &hf_lustre_extra_padding,
10857 { "extra padding", "lustre.msg_v2_extra_padding", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10858 { &hf_lustre_ldlm_reply,
10859 { "ldlm reply", "lustre.ldlm_reply", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10860 { &hf_lustre_ldlm_request,
10861 { "ldlm request", "lustre.ldlm_request", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10863 /* add for lustre_user.h */
10864 { &hf_lustre_obd_dqinfo_dqi_valid,
10865 { "Dqi Valid", "lustre.obd_dqinfo.dqi_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10866 { &hf_lustre_obd_dqblk_dqb_isoftlimit,
10867 { "Dqb Isoftlimit", "lustre.obd_dqblk.dqb_isoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10868 { &hf_lustre_obd_dqblk_dqb_bhardlimit,
10869 { "Dqb Bhardlimit", "lustre.obd_dqblk.dqb_bhardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10870 { &hf_lustre_obd_dqblk_dqb_curspace,
10871 { "Dqb Curspace", "lustre.obd_dqblk.dqb_curspace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10872 { &hf_lustre_obd_dqblk_dqb_itime,
10873 { "Dqb Itime", "lustre.obd_dqblk.dqb_itime", FT_ABSOLUTE_TIME,
10874 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10875 { &hf_lustre_obd_dqblk_dqb_valid,
10876 { "Dqb Valid", "lustre.obd_dqblk.dqb_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10877 { &hf_lustre_obd_dqinfo_dqi_igrace,
10878 { "Dqi Igrace", "lustre.obd_dqinfo.dqi_igrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10879 { &hf_lustre_obd_dqinfo_dqi_bgrace,
10880 { "Dqi Bgrace", "lustre.obd_dqinfo.dqi_bgrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10881 { &hf_lustre_obd_dqblk_padding,
10882 { "Padding", "lustre.obd_dqblk.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10883 { &hf_lustre_obd_dqblk_dqb_curinodes,
10884 { "Dqb Curinodes", "lustre.obd_dqblk.dqb_curinodes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10885 { &hf_lustre_obd_dqblk_dqb_bsoftlimit,
10886 { "Dqb Bsoftlimit", "lustre.obd_dqblk.dqb_bsoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10887 { &hf_lustre_obd_dqinfo_dqi_flags,
10888 { "Dqi Flags", "lustre.obd_dqinfo.dqi_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10889 { &hf_lustre_obd_dqblk_dqb_btime,
10890 { "Dqb Btime", "lustre.obd_dqblk.dqb_btime", FT_ABSOLUTE_TIME,
10891 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10892 { &hf_lustre_obd_dqblk_dqb_ihardlimit,
10893 { "Dqb Ihardlimit", "lustre.obd_dqblk.dqb_ihardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10896 { &hf_lustre_seq_opc,
10897 { "Seq OPC", "lustre.seq_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10898 { &hf_lustre_seq_range,
10899 { "Seq Range", "lustre.seq_range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10900 { &hf_lustre_seq_range_start,
10901 { "Seq Range Start", "lustre.seq_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10902 { &hf_lustre_seq_range_end,
10903 { "Seq Range End", "lustre.seq_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10904 { &hf_lustre_seq_range_index,
10905 { "Seq Range Index", "lustre.seq_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10906 { &hf_lustre_seq_range_flags,
10907 { "Seq Range Flags", "lustre.seq_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10910 { &hf_lustre_fld_opc,
10911 { "Fld OPC", "lustre.fld_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10912 { &hf_lustre_fld_range,
10913 { "Fld Range", "lustre.fld_range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10914 { &hf_lustre_fld_range_start,
10915 { "Fld Range Start", "lustre.fld_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10916 { &hf_lustre_fld_range_end,
10917 { "Fld Range End", "lustre.fld_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10918 { &hf_lustre_fld_range_index,
10919 { "Fld Range Index", "lustre.fld_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10920 { &hf_lustre_fld_range_flags,
10921 { "Fld Range Flags", "lustre.fld_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10923 /* struct mdt_ioepoch */
10924 { &hf_lustre_mdt_ioepoch,
10925 { "MDT ioepoch", "lustre.mdt_ioepoch", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10926 { &hf_lustre_mdt_ioepoch_handle,
10927 { "Handle", "lustre.mdt_ioepoch.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10928 { &hf_lustre_mdt_ioepoch_ioepoch,
10929 { "ioepoch", "lustre.mdt_ioepoch.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10930 { &hf_lustre_mdt_ioepoch_flags,
10931 { "flags", "lustre.mdt_ioepoch.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10932 { &hf_lustre_mdt_ioepoch_padding,
10933 { "Padding", "lustre.mdt_ioepoch.padding", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10935 /* struct lustre_capa */
10937 { "Capability", "lustre.capa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10938 { &hf_lustre_capa_fid,
10939 { "Capa fid", "lustre.capa.fid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10940 { &hf_lustre_capa_opc,
10941 { "Capa opc", "lustre.capa.opc", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10942 { &hf_lustre_capa_uid,
10943 { "Capa uid", "lustre.capa.uid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10944 { &hf_lustre_capa_gid,
10945 { "Capa gid", "lustre.capa.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10946 { &hf_lustre_capa_flags,
10947 { "Capa flags", "lustre.capa.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10948 { &hf_lustre_capa_keyid,
10949 { "Capa keyid", "lustre.capa.keyid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10950 { &hf_lustre_capa_timeout,
10951 { "Capa timeout", "lustre.capa.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10952 { &hf_lustre_capa_expiry,
10953 { "Capa expiry", "lustre.capa.expiry", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10954 { &hf_lustre_capa_hmac,
10955 { "Capa hmac", "lustre.capa.hmac", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10959 { "ACL", "lustre.acl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10963 static gint *ett[] = {
10965 &ett_lustre_lustre_handle_cookie,
10966 &ett_lustre_lustre_msg_v1,
10967 &ett_lustre_lustre_handle_v1,
10968 &ett_lustre_lustre_msg_v2,
10969 &ett_lustre_ptlrpc_body,
10970 &ett_lustre_lustre_handle_v2,
10971 &ett_lustre_obd_connect_data,
10972 &ett_lustre_lov_mds_md_v1,
10973 &ett_lustre_lov_ost_data_v1,
10974 &ett_lustre_obd_statfs,
10975 &ett_lustre_obd_ioobj,
10976 &ett_lustre_niobuf_remote,
10977 &ett_lustre_ost_lvb,
10978 &ett_lustre_ll_fid,
10979 &ett_lustre_obd_quotactl,
10980 &ett_lustre_obd_dqinfo,
10981 &ett_lustre_obd_dqblk,
10982 &ett_lustre_quota_adjust_qunit,
10983 &ett_lustre_mdt_body,
10984 &ett_lustre_mdt_rec_setattr,
10985 &ett_lustre_mdt_rec_create,
10986 &ett_lustre_mdt_rec_link,
10987 &ett_lustre_mdt_rec_unlink,
10988 &ett_lustre_mdt_rec_rename,
10989 &ett_lustre_mdt_rec_setxattr,
10990 &ett_lustre_lov_desc,
10991 &ett_lustre_obd_uuid,
10992 &ett_lustre_ldlm_res_id,
10993 &ett_lustre_ldlm_extent,
10994 &ett_lustre_ldlm_inodebits,
10995 &ett_lustre_ldlm_flock,
10996 &ett_lustre_ldlm_intent_opc,
10997 &ett_lustre_ldlm_resource_desc,
10998 &ett_lustre_ldlm_lock_desc,
10999 &ett_lustre_ldlm_request,
11000 &ett_lustre_lustre_handle,
11001 &ett_lustre_ldlm_reply,
11002 &ett_lustre_mgs_send_param,
11003 &ett_lustre_mgs_target_info,
11004 &ett_lustre_mgs_config_body,
11005 &ett_lustre_mgs_config_res,
11006 &ett_lustre_cfg_marker,
11007 &ett_lustre_llog_catid,
11008 &ett_lustre_llog_logid,
11009 &ett_lustre_lov_mds_md,
11010 &ett_lustre_llog_rec_hdr,
11011 &ett_lustre_llog_rec_tail,
11012 &ett_lustre_llog_logid_rec,
11013 &ett_lustre_llog_unlink_rec,
11014 &ett_lustre_llog_setattr_rec,
11015 &ett_lustre_llog_size_change_rec,
11016 &ett_lustre_llog_gen,
11017 &ett_lustre_llog_gen_rec,
11018 &ett_lustre_llog_log_hdr,
11019 &ett_lustre_llog_cookie,
11020 &ett_lustre_llogd_body,
11021 &ett_lustre_llogd_conn_body,
11023 &ett_lustre_ost_body,
11024 &ett_lustre_qunit_data,
11025 &ett_lustre_qunit_data_old2,
11026 &ett_lustre_qunit_data_old,
11027 &ett_lustre_ldlm_lock_flags,
11028 &ett_lustre_llog_log_llh_flags,
11029 &ett_lustre_seq_range,
11030 &ett_lustre_fld_range,
11031 &ett_lustre_mdt_ioepoch,
11036 proto_lustre = proto_register_protocol("Lustre", "lustre", "lustre");
11037 proto_register_field_array(proto_lustre, hf, array_length (hf));
11038 proto_register_subtree_array(ett, array_length(ett));
11042 void proto_reg_handoff_lustre(void)
11044 dissector_handle_t lustre_handle;
11045 lustre_handle=create_dissector_handle(dissect_lustre, proto_lustre);
11046 /* we use Lustre only if we get ptl_index = One of this code (we have removed the bulk code) */
11047 /* in LNET we test if the message is a put or not before adding an lnet.ptl_index value */
11048 dissector_add_uint("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
11049 dissector_add_uint("lnet.ptl_index", CONNMGR_REQUEST_PORTAL , lustre_handle);
11050 dissector_add_uint("lnet.ptl_index", CONNMGR_REPLY_PORTAL , lustre_handle);
11051 dissector_add_uint("lnet.ptl_index", OSC_REPLY_PORTAL , lustre_handle);
11052 dissector_add_uint("lnet.ptl_index", OST_IO_PORTAL , lustre_handle);
11053 dissector_add_uint("lnet.ptl_index", OST_CREATE_PORTAL , lustre_handle);
11054 dissector_add_uint("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
11055 dissector_add_uint("lnet.ptl_index", MDS_REQUEST_PORTAL , lustre_handle);
11056 dissector_add_uint("lnet.ptl_index", LDLM_CB_REQUEST_PORTAL , lustre_handle);
11057 dissector_add_uint("lnet.ptl_index", LDLM_CB_REPLY_PORTAL , lustre_handle);
11058 dissector_add_uint("lnet.ptl_index", LDLM_CANCEL_REQUEST_PORTAL, lustre_handle);
11059 dissector_add_uint("lnet.ptl_index", LDLM_CANCEL_REPLY_PORTAL , lustre_handle);
11060 dissector_add_uint("lnet.ptl_index", MDS_SETATTR_PORTAL , lustre_handle);
11061 dissector_add_uint("lnet.ptl_index", MDS_READPAGE_PORTAL , lustre_handle);
11062 dissector_add_uint("lnet.ptl_index", MGC_REPLY_PORTAL , lustre_handle);
11063 dissector_add_uint("lnet.ptl_index", MGS_REQUEST_PORTAL , lustre_handle);
11064 dissector_add_uint("lnet.ptl_index", MGS_REPLY_PORTAL , lustre_handle);
11065 dissector_add_uint("lnet.ptl_index", OST_REQUEST_PORTAL , lustre_handle);
11066 dissector_add_uint("lnet.ptl_index", FLD_REQUEST_PORTAL, lustre_handle);
11067 dissector_add_uint("lnet.ptl_index", SEQ_METADATA_PORTAL, lustre_handle);
11068 dissector_add_uint("lnet.ptl_index", SEQ_DATA_PORTAL, lustre_handle);
11069 dissector_add_uint("lnet.ptl_index", SEQ_CONTROLLER_PORTAL, lustre_handle);