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,
195 #define OBD_FIRST_OPC OBD_PING
197 /* must be coherent with same declaration
198 * in lustre/include/lustre/lustre_idl.h
202 MDS_GETATTR_NAME = 34,
213 MDS_DONE_WRITING = 45,
222 MDS_HSM_STATE_GET = 54,
223 MDS_HSM_STATE_SET = 55,
225 MDS_HSM_PROGRESS = 57,
226 MDS_HSM_REQUEST = 58,
227 MDS_HSM_CT_REGISTER = 59,
228 MDS_HSM_CT_UNREGISTER = 60,
229 MDS_SWAP_LAYOUTS = 61,
233 #define IT_OPEN 0x0001
234 #define IT_CREAT 0x0002
235 #define IT_READDIR 0x0004
236 #define IT_GETATTR 0x0008
237 #define IT_LOOKUP 0x0010
238 #define IT_UNLINK 0x0020
239 #define IT_GETXATTR 0x0040
240 #define IT_EXEC 0x0080
241 #define IT_PIN 0x0100
245 #define MDS_FIRST_OPC MDS_GETATTR
246 #define LDLM_FIRST_OPC LDLM_ENQUEUE
265 LDLM_BL_CALLBACK = 104,
266 LDLM_CP_CALLBACK = 105,
267 LDLM_GL_CALLBACK = 106,
270 #define LDLM_FIRST_OPC LDLM_ENQUEUE
275 SEQ_FIRST_OPC = SEQ_QUERY
281 FLD_FIRST_OPC = FLD_QUERY
284 #define LDLM_ENQUEUE (101)
285 #define LDLM_CONVERT (102)
286 #define LDLM_CANCEL (103)
287 #define LDLM_BL_CALLBACK (104)
288 #define LDLM_CP_CALLBACK (105)
289 #define LDLM_GL_CALLBACK (106)
290 #define LCK_MINMODE (0)
297 #define LCK_GROUP (64)
298 #define LDLM_PLAIN (10)
299 #define LDLM_EXTENT (11)
300 #define LDLM_FLOCK (12)
301 #define LDLM_IBITS (13)
302 //#define MGS_CONNECT (250)
303 #define OBD_PING (400)
306 * Opcodes for mountconf (mgs and mgc)
311 MGS_EXCEPTION, /* node died, etc. */
312 MGS_TARGET_REG, /* whenever target starts up */
318 #define MGS_FIRST_OPC MGS_CONNECT
322 LLOG_ORIGIN_HANDLE_CREATE = 501,
323 LLOG_ORIGIN_HANDLE_NEXT_BLOCK = 502,
324 LLOG_ORIGIN_HANDLE_READ_HEADER = 503,
325 LLOG_ORIGIN_HANDLE_WRITE_REC = 504,
326 LLOG_ORIGIN_HANDLE_CLOSE = 505,
327 LLOG_ORIGIN_CONNECT = 506,
328 LLOG_CATINFO = 507, /* for lfs catinfo */
329 LLOG_ORIGIN_HANDLE_PREV_BLOCK = 508,
330 LLOG_ORIGIN_HANDLE_DESTROY = 509, /* for destroy llog object*/
334 #define LLOG_FIRST_OPC LLOG_ORIGIN_HANDLE_CREATE
335 /*flag for the LLOG*/
336 #define LLOG_OP_MAGIC 0x10600000
337 #define LLOG_OP_MASK 0xfff00000
340 LLOG_PAD_MAGIC = LLOG_OP_MAGIC | 0x00000,
341 OST_SZ_REC = LLOG_OP_MAGIC | 0x00f00,
342 OST_RAID1_REC = LLOG_OP_MAGIC | 0x01000,
343 MDS_UNLINK_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_UNLINK,
344 MDS_SETATTR_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_SETATTR,
345 OBD_CFG_REC = LLOG_OP_MAGIC | 0x20000,
346 PTL_CFG_REC = LLOG_OP_MAGIC | 0x30000, /* obsolete */
347 LLOG_GEN_REC = LLOG_OP_MAGIC | 0x40000,
348 LLOG_JOIN_REC = LLOG_OP_MAGIC | 0x50000, /* obsolete */
349 LLOG_HDR_MAGIC = LLOG_OP_MAGIC | 0x45539,
350 LLOG_LOGID_MAGIC = LLOG_OP_MAGIC | 0x4553b,
354 /*defined in lustre/include/lustre/lustre_idl.h*/
355 #define LLOG_F_ZAP_WHEN_EMPTY 0x1
356 #define LLOG_F_IS_CAT 0x2
357 #define LLOG_F_IS_PLAIN 0x4
359 #define PTL_RPC_MSG_REQUEST 4711
360 #define PTL_RPC_MSG_ERR 4712
361 #define PTL_RPC_MSG_REPLY 4713
364 /* Ett declarations */
365 static gint ett_lustre_llog_log_llh_flags = -1 ;
366 static gint ett_lustre = -1;
367 static gint ett_lustre_lustre_handle_cookie = -1;
368 static gint ett_lustre_lustre_msg_v1 = -1;
369 static gint ett_lustre_lustre_handle_v1 = -1;
370 static gint ett_lustre_lustre_msg_v2 = -1;
371 static gint ett_lustre_ptlrpc_body = -1;
372 static gint ett_lustre_lustre_handle_v2 = -1;
373 static gint ett_lustre_obd_connect_data = -1;
374 static gint ett_lustre_lov_mds_md_v1 = -1;
375 static gint ett_lustre_lov_ost_data_v1 = -1;
376 static gint ett_lustre_obd_statfs = -1;
377 static gint ett_lustre_obd_ioobj = -1;
378 static gint ett_lustre_niobuf_remote = -1;
379 static gint ett_lustre_ost_lvb = -1;
380 static gint ett_lustre_ll_fid = -1;
381 static gint ett_lustre_mdt_body = -1;
382 static gint ett_lustre_mdt_rec_setattr = -1;
383 static gint ett_lustre_mdt_rec_create = -1;
384 static gint ett_lustre_mdt_rec_link = -1;
385 static gint ett_lustre_mdt_rec_unlink = -1;
386 static gint ett_lustre_mdt_rec_rename = -1;
387 static gint ett_lustre_mdt_rec_setxattr = -1;
388 static gint ett_lustre_obd_quotactl = -1;
389 static gint ett_lustre_obd_dqinfo = -1;
390 static gint ett_lustre_obd_dqblk = -1;
391 static gint ett_lustre_quota_adjust_qunit = -1;
392 static gint ett_lustre_lov_desc = -1;
393 static gint ett_lustre_obd_uuid = -1;
394 static gint ett_lustre_ldlm_res_id = -1;
395 static gint ett_lustre_ldlm_extent = -1;
396 static gint ett_lustre_ldlm_inodebits = -1;
397 static gint ett_lustre_ldlm_flock = -1;
398 static gint ett_lustre_ldlm_intent_opc = -1;
399 static gint ett_lustre_ldlm_resource_desc = -1;
400 static gint ett_lustre_ldlm_lock_desc = -1;
401 static gint ett_lustre_ldlm_request = -1;
402 static gint ett_lustre_lustre_handle = -1;
403 static gint ett_lustre_ldlm_reply = -1;
404 static gint ett_lustre_mgs_send_param = -1;
405 static gint ett_lustre_mgs_target_info = -1;
406 static gint ett_lustre_mgs_config_body = -1;
407 static gint ett_lustre_mgs_config_res = -1;
408 static gint ett_lustre_cfg_marker = -1;
409 static gint ett_lustre_llog_catid = -1;
410 static gint ett_lustre_llog_rec_hdr = -1;
411 static gint ett_lustre_llog_logid_rec = -1;
412 static gint ett_lustre_llog_logid = -1;
413 static gint ett_lustre_llog_rec_tail = -1;
414 static gint ett_lustre_lov_mds_md = -1;
415 static gint ett_lustre_llog_unlink_rec = -1;
416 static gint ett_lustre_llog_setattr_rec = -1;
417 static gint ett_lustre_llog_size_change_rec = -1;
418 static gint ett_lustre_llog_gen_rec = -1;
419 static gint ett_lustre_llog_log_hdr = -1;
420 static gint ett_lustre_llog_cookie = -1;
421 static gint ett_lustre_llogd_body = -1;
422 static gint ett_lustre_llogd_conn_body = -1;
423 static gint ett_lustre_llog_gen = -1;
424 static gint ett_lustre_obdo = -1;
425 static gint ett_lustre_ost_body = -1;
426 static gint ett_lustre_qunit_data = -1;
427 static gint ett_lustre_qunit_data_old2 = -1;
428 static gint ett_lustre_qunit_data_old = -1;
429 static gint ett_lustre_ldlm_lock_flags = -1 ;
430 static gint ett_lustre_seq_range = -1;
431 static gint ett_lustre_fld_range = -1;
432 static gint ett_lustre_mdt_ioepoch = -1;
433 static gint ett_lustre_capa = -1;
434 static gint ett_lustre_acl = -1;
436 /* -----------------------------------------------*/
437 /* Header field declarations */
438 static int hf_lustre_ptlrpc_body_pb = -1 ;
439 static int hf_lustre_ost_body = -1 ;
440 static int hf_lustre_obd_statfs = -1 ;
441 static int hf_lustre_obd_quotactl = -1 ;
442 static int hf_lustre_quota_adjust_qunit = -1 ;
443 static int hf_lustre_extra_padding = -1 ;
444 static int hf_lustre_ldlm_reply = -1 ;
445 static int hf_lustre_ldlm_request = -1 ;
446 static int hf_lustre_obd_uuid = -1 ;
447 static int hf_lustre_obd_connect_data = -1 ;
448 static int hf_lustre_ldlm_intent = -1;
449 static int hf_lustre_obd_ioobj = -1 ;
450 static int hf_lustre_niobuf_remote = -1 ;
451 static int hf_lustre_ost_key = -1 ;
452 static int hf_lustre_nio= -1 ;
453 static int hf_lustre_ost_val= -1;
454 static int hf_lustre_llogd_body = -1;
455 static int hf_lustre_llogd_log_hdr= -1;
456 static int hf_lustre_llog_logid_rec =-1 ;
457 static int hf_lustre_llogd_chunk= -1;
458 static int hf_lustre_llogd_keyword= -1;
459 static int hf_lustre_llogd_client= -1;
460 static int hf_lustre_llogd_name= -1;
462 static int hf_lustre_mds_xattr_name = -1;
463 static int hf_lustre_lov_mds_md_v1= -1;
464 static int hf_lustre_llog_cookie= -1;
465 static int hf_lustre_mds_md_data= -1;
466 static int hf_lustre_mds_reint_opcode= -1;
467 static int hf_lustre_mds_xattr_eadata = -1;
469 static int hf_lustre_reint_name= -1;
470 static int hf_lustre_reint_old_name= -1;
471 static int hf_lustre_reint_new_name= -1;
473 static int hf_lustre_mgs_target_info = -1 ;
474 static int hf_lustre_mgs_send_param = -1;
476 static int hf_lustre_mgs_config_body = -1;
477 static int hf_lustre_mgs_config_body_name = -1;
478 static int hf_lustre_mgs_config_body_offset = -1;
479 static int hf_lustre_mgs_config_body_type = -1;
480 static int hf_lustre_mgs_config_body_reserved = -1;
481 static int hf_lustre_mgs_config_body_bits = -1;
482 static int hf_lustre_mgs_config_body_units = -1;
484 static int hf_lustre_mgs_config_res = -1;
485 static int hf_lustre_mgs_config_res_offset = -1;
486 static int hf_lustre_mgs_config_res_size = -1;
488 static int hf_lustre_ost_lvb = -1 ;
490 #define hf_lustre_ldlm_ast_discard_data hf_lustre_ldlm_fl_ast_discard_data
492 static int hf_lustre_mdt_body = -1 ;
493 static int hf_lustre_mdt_body_fid1 = -1;
494 static int hf_lustre_mdt_body_fid2 = -1;
495 static int hf_lustre_mdt_body_handle = -1;
496 static int hf_lustre_mdt_body_valid = -1;
497 static int hf_lustre_mdt_body_size = -1;
498 static int hf_lustre_mdt_body_mtime = -1;
499 static int hf_lustre_mdt_body_atime = -1;
500 static int hf_lustre_mdt_body_ctime = -1;
501 static int hf_lustre_mdt_body_blocks = -1;
502 static int hf_lustre_mdt_body_ioepoch = -1;
503 static int hf_lustre_mdt_body_ino = -1;
504 static int hf_lustre_mdt_body_fsuid = -1;
505 static int hf_lustre_mdt_body_fsgid = -1;
506 static int hf_lustre_mdt_body_capability = -1;
507 static int hf_lustre_mdt_body_mode = -1;
508 static int hf_lustre_mdt_body_uid = -1;
509 static int hf_lustre_mdt_body_gid = -1;
510 static int hf_lustre_mdt_body_flags = -1;
511 static int hf_lustre_mdt_body_rdev = -1;
512 static int hf_lustre_mdt_body_nlink = -1;
513 static int hf_lustre_mdt_body_generation = -1;
514 static int hf_lustre_mdt_body_suppgid = -1;
515 static int hf_lustre_mdt_body_eadatasize = -1;
516 static int hf_lustre_mdt_body_aclsize = -1;
517 static int hf_lustre_mdt_body_max_mdsize = -1;
518 static int hf_lustre_mdt_body_max_cookiesize = -1;
519 static int hf_lustre_mdt_body_uid_h = -1;
520 static int hf_lustre_mdt_body_gid_h = -1;
521 static int hf_lustre_mdt_body_padding_5 = -1;
522 static int hf_lustre_mdt_body_padding_6 = -1;
523 static int hf_lustre_mdt_body_padding_7 = -1;
524 static int hf_lustre_mdt_body_padding_8 = -1;
525 static int hf_lustre_mdt_body_padding_9 = -1;
526 static int hf_lustre_mdt_body_padding_10 = -1;
528 static int hf_lustre_mdt_rec_setattr = -1 ;
529 static int hf_lustre_mdt_rec_setattr_sa_opcode = -1;
530 static int hf_lustre_mdt_rec_setattr_sa_cap = -1;
531 static int hf_lustre_mdt_rec_setattr_sa_fsuid = -1;
532 static int hf_lustre_mdt_rec_setattr_sa_fsuid_h = -1;
533 static int hf_lustre_mdt_rec_setattr_sa_fsgid = -1;
534 static int hf_lustre_mdt_rec_setattr_sa_fsgid_h = -1;
535 static int hf_lustre_mdt_rec_setattr_sa_suppgid = -1;
536 static int hf_lustre_mdt_rec_setattr_sa_suppgid_h = -1;
537 static int hf_lustre_mdt_rec_setattr_sa_padding_1 = -1;
538 static int hf_lustre_mdt_rec_setattr_sa_padding_1_h = -1;
539 static int hf_lustre_mdt_rec_setattr_sa_fid = -1;
540 static int hf_lustre_mdt_rec_setattr_sa_valid = -1;
541 static int hf_lustre_mdt_rec_setattr_sa_uid = -1;
542 static int hf_lustre_mdt_rec_setattr_sa_gid = -1;
543 static int hf_lustre_mdt_rec_setattr_sa_size = -1;
544 static int hf_lustre_mdt_rec_setattr_sa_blocks = -1;
545 static int hf_lustre_mdt_rec_setattr_sa_mtime = -1;
546 static int hf_lustre_mdt_rec_setattr_sa_atime = -1;
547 static int hf_lustre_mdt_rec_setattr_sa_ctime = -1;
548 static int hf_lustre_mdt_rec_setattr_sa_attr_flags = -1;
549 static int hf_lustre_mdt_rec_setattr_sa_mode = -1;
550 static int hf_lustre_mdt_rec_setattr_sa_padding_2 = -1;
551 static int hf_lustre_mdt_rec_setattr_sa_padding_3 = -1;
552 static int hf_lustre_mdt_rec_setattr_sa_padding_4 = -1;
553 static int hf_lustre_mdt_rec_setattr_sa_padding_5 = -1;
555 static int hf_lustre_mdt_rec_create = -1 ;
556 static int hf_lustre_mdt_rec_create_cr_opcode = -1;
557 static int hf_lustre_mdt_rec_create_cr_cap = -1;
558 static int hf_lustre_mdt_rec_create_cr_fsuid = -1;
559 static int hf_lustre_mdt_rec_create_cr_fsuid_h = -1;
560 static int hf_lustre_mdt_rec_create_cr_fsgid = -1;
561 static int hf_lustre_mdt_rec_create_cr_fsgid_h = -1;
562 static int hf_lustre_mdt_rec_create_cr_suppgid1 = -1;
563 static int hf_lustre_mdt_rec_create_cr_suppgid1_h = -1;
564 static int hf_lustre_mdt_rec_create_cr_suppgid2 = -1;
565 static int hf_lustre_mdt_rec_create_cr_suppgid2_h = -1;
566 static int hf_lustre_mdt_rec_create_cr_fid1 = -1;
567 static int hf_lustre_mdt_rec_create_cr_fid2 = -1;
568 static int hf_lustre_mdt_rec_create_cr_old_handle = -1;
569 static int hf_lustre_mdt_rec_create_cr_time = -1;
570 static int hf_lustre_mdt_rec_create_cr_rdev = -1;
571 static int hf_lustre_mdt_rec_create_cr_ioepoch = -1;
572 static int hf_lustre_mdt_rec_create_cr_padding_1 = -1;
573 static int hf_lustre_mdt_rec_create_cr_mode = -1;
574 static int hf_lustre_mdt_rec_create_cr_bias = -1;
575 static int hf_lustre_mdt_rec_create_cr_flags_l = -1;
576 static int hf_lustre_mdt_rec_create_cr_flags_h = -1;
577 static int hf_lustre_mdt_rec_create_cr_umask = -1;
578 static int hf_lustre_mdt_rec_create_cr_padding_4 = -1;
580 static int hf_lustre_mdt_rec_link = -1 ;
581 static int hf_lustre_mdt_rec_link_lk_opcode = -1;
582 static int hf_lustre_mdt_rec_link_lk_cap = -1;
583 static int hf_lustre_mdt_rec_link_lk_fsuid = -1;
584 static int hf_lustre_mdt_rec_link_lk_fsuid_h = -1;
585 static int hf_lustre_mdt_rec_link_lk_fsgid = -1;
586 static int hf_lustre_mdt_rec_link_lk_fsgid_h = -1;
587 static int hf_lustre_mdt_rec_link_lk_suppgid1 = -1;
588 static int hf_lustre_mdt_rec_link_lk_suppgid1_h = -1;
589 static int hf_lustre_mdt_rec_link_lk_suppgid2 = -1;
590 static int hf_lustre_mdt_rec_link_lk_suppgid2_h = -1;
591 static int hf_lustre_mdt_rec_link_lk_fid1 = -1;
592 static int hf_lustre_mdt_rec_link_lk_fid2 = -1;
593 static int hf_lustre_mdt_rec_link_lk_time = -1;
594 static int hf_lustre_mdt_rec_link_lk_padding_1 = -1;
595 static int hf_lustre_mdt_rec_link_lk_padding_2 = -1;
596 static int hf_lustre_mdt_rec_link_lk_padding_3 = -1;
597 static int hf_lustre_mdt_rec_link_lk_padding_4 = -1;
598 static int hf_lustre_mdt_rec_link_lk_bias = -1;
599 static int hf_lustre_mdt_rec_link_lk_padding_5 = -1;
600 static int hf_lustre_mdt_rec_link_lk_padding_6 = -1;
601 static int hf_lustre_mdt_rec_link_lk_padding_7 = -1;
602 static int hf_lustre_mdt_rec_link_lk_padding_8 = -1;
603 static int hf_lustre_mdt_rec_link_lk_padding_9 = -1;
605 static int hf_lustre_mdt_rec_unlink = -1 ;
606 static int hf_lustre_mdt_rec_unlink_ul_opcode = -1;
607 static int hf_lustre_mdt_rec_unlink_ul_cap = -1;
608 static int hf_lustre_mdt_rec_unlink_ul_fsuid = -1;
609 static int hf_lustre_mdt_rec_unlink_ul_fsuid_h = -1;
610 static int hf_lustre_mdt_rec_unlink_ul_fsgid = -1;
611 static int hf_lustre_mdt_rec_unlink_ul_fsgid_h = -1;
612 static int hf_lustre_mdt_rec_unlink_ul_suppgid1 = -1;
613 static int hf_lustre_mdt_rec_unlink_ul_suppgid1_h = -1;
614 static int hf_lustre_mdt_rec_unlink_ul_suppgid2 = -1;
615 static int hf_lustre_mdt_rec_unlink_ul_suppgid2_h = -1;
616 static int hf_lustre_mdt_rec_unlink_ul_fid1 = -1;
617 static int hf_lustre_mdt_rec_unlink_ul_fid2 = -1;
618 static int hf_lustre_mdt_rec_unlink_ul_time = -1;
619 static int hf_lustre_mdt_rec_unlink_ul_padding_2 = -1;
620 static int hf_lustre_mdt_rec_unlink_ul_padding_3 = -1;
621 static int hf_lustre_mdt_rec_unlink_ul_padding_4 = -1;
622 static int hf_lustre_mdt_rec_unlink_ul_padding_5 = -1;
623 static int hf_lustre_mdt_rec_unlink_ul_bias = -1;
624 static int hf_lustre_mdt_rec_unlink_ul_mode = -1;
625 static int hf_lustre_mdt_rec_unlink_ul_padding_6 = -1;
626 static int hf_lustre_mdt_rec_unlink_ul_padding_7 = -1;
627 static int hf_lustre_mdt_rec_unlink_ul_padding_8 = -1;
628 static int hf_lustre_mdt_rec_unlink_ul_padding_9 = -1;
630 static int hf_lustre_mdt_rec_rename = -1 ;
631 static int hf_lustre_mdt_rec_rename_rn_opcode = -1;
632 static int hf_lustre_mdt_rec_rename_rn_cap = -1;
633 static int hf_lustre_mdt_rec_rename_rn_fsuid = -1;
634 static int hf_lustre_mdt_rec_rename_rn_fsuid_h = -1;
635 static int hf_lustre_mdt_rec_rename_rn_fsgid = -1;
636 static int hf_lustre_mdt_rec_rename_rn_fsgid_h = -1;
637 static int hf_lustre_mdt_rec_rename_rn_suppgid1 = -1;
638 static int hf_lustre_mdt_rec_rename_rn_suppgid1_h = -1;
639 static int hf_lustre_mdt_rec_rename_rn_suppgid2 = -1;
640 static int hf_lustre_mdt_rec_rename_rn_suppgid2_h = -1;
641 static int hf_lustre_mdt_rec_rename_rn_fid1 = -1;
642 static int hf_lustre_mdt_rec_rename_rn_fid2 = -1;
643 static int hf_lustre_mdt_rec_rename_rn_time = -1;
644 static int hf_lustre_mdt_rec_rename_rn_padding_1 = -1;
645 static int hf_lustre_mdt_rec_rename_rn_padding_2 = -1;
646 static int hf_lustre_mdt_rec_rename_rn_padding_3 = -1;
647 static int hf_lustre_mdt_rec_rename_rn_padding_4 = -1;
648 static int hf_lustre_mdt_rec_rename_rn_bias = -1;
649 static int hf_lustre_mdt_rec_rename_rn_mode = -1;
650 static int hf_lustre_mdt_rec_rename_rn_padding_5 = -1;
651 static int hf_lustre_mdt_rec_rename_rn_padding_6 = -1;
652 static int hf_lustre_mdt_rec_rename_rn_padding_7 = -1;
653 static int hf_lustre_mdt_rec_rename_rn_padding_8 = -1;
655 static int hf_lustre_mdt_rec_setxattr = -1 ;
656 static int hf_lustre_mdt_rec_setxattr_sx_opcode = -1;
657 static int hf_lustre_mdt_rec_setxattr_sx_cap = -1;
658 static int hf_lustre_mdt_rec_setxattr_sx_fsuid = -1;
659 static int hf_lustre_mdt_rec_setxattr_sx_fsuid_h = -1;
660 static int hf_lustre_mdt_rec_setxattr_sx_fsgid = -1;
661 static int hf_lustre_mdt_rec_setxattr_sx_fsgid_h = -1;
662 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1 = -1;
663 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1_h = -1;
664 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2 = -1;
665 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2_h = -1;
666 static int hf_lustre_mdt_rec_setxattr_sx_fid = -1;
667 static int hf_lustre_mdt_rec_setxattr_sx_padding_1 = -1;
668 static int hf_lustre_mdt_rec_setxattr_sx_padding_2 = -1;
669 static int hf_lustre_mdt_rec_setxattr_sx_padding_3 = -1;
670 static int hf_lustre_mdt_rec_setxattr_sx_valid = -1;
671 static int hf_lustre_mdt_rec_setxattr_sx_time = -1;
672 static int hf_lustre_mdt_rec_setxattr_sx_padding_5 = -1;
673 static int hf_lustre_mdt_rec_setxattr_sx_padding_6 = -1;
674 static int hf_lustre_mdt_rec_setxattr_sx_padding_7 = -1;
675 static int hf_lustre_mdt_rec_setxattr_sx_size = -1;
676 static int hf_lustre_mdt_rec_setxattr_sx_flags = -1;
677 static int hf_lustre_mdt_rec_setxattr_sx_padding_8 = -1;
678 static int hf_lustre_mdt_rec_setxattr_sx_padding_9 = -1;
679 static int hf_lustre_mdt_rec_setxattr_sx_padding_10 = -1;
680 static int hf_lustre_mdt_rec_setxattr_sx_padding_11 = -1;
682 static int hf_lustre_seq_opc = -1;
683 static int hf_lustre_seq_range = -1;
684 static int hf_lustre_seq_range_start = -1;
685 static int hf_lustre_seq_range_end = -1;
686 static int hf_lustre_seq_range_index = -1;
687 static int hf_lustre_seq_range_flags = -1;
689 static int hf_lustre_fld_opc = -1;
690 static int hf_lustre_fld_range = -1;
691 static int hf_lustre_fld_range_start = -1;
692 static int hf_lustre_fld_range_end = -1;
693 static int hf_lustre_fld_range_index = -1;
694 static int hf_lustre_fld_range_flags = -1;
696 static int hf_lustre_mdt_ioepoch = -1;
697 static int hf_lustre_mdt_ioepoch_handle = -1;
698 static int hf_lustre_mdt_ioepoch_ioepoch = -1;
699 static int hf_lustre_mdt_ioepoch_flags = -1;
700 static int hf_lustre_mdt_ioepoch_padding = -1;
702 static int hf_lustre_capa = -1;
703 static int hf_lustre_capa_fid = -1;
704 static int hf_lustre_capa_opc = -1;
705 static int hf_lustre_capa_uid = -1;
706 static int hf_lustre_capa_gid = -1;
707 static int hf_lustre_capa_flags = -1;
708 static int hf_lustre_capa_keyid = -1;
709 static int hf_lustre_capa_timeout = -1;
710 static int hf_lustre_capa_expiry = -1;
711 static int hf_lustre_capa_hmac = -1;
713 static int hf_lustre_acl = -1;
715 static int hf_lustre_lustre_handle_cookie = -1;
716 static int hf_lustre_ptlrpc_body_pb_last_committed = -1;
717 static int hf_lustre_ptlrpc_body_pb_version = -1;
718 static int hf_lustre_lustre_msg_v1_lm_bufcount = -1;
719 static int hf_lustre_obd_ioobj_ioo_id = -1;
720 static int hf_lustre_ptlrpc_body_pb_slv = -1;
721 static int hf_lustre_ptlrpc_body_pb_pre_version = -1;
722 static int hf_lustre_ptlrpc_body_pb_padding = -1;
723 static int hf_lustre_ptlrpc_body_pb_jobid = -1;
724 static int hf_lustre_lustre_msg_v1_lm_handle = -1;
725 static int hf_lustre_ost_lvb_lvb_atime = -1;
726 static int hf_lustre_ptlrpc_body_pb_timeout = -1;
727 static int hf_lustre_obd_statfs_os_bavail = -1;
728 static int hf_lustre_obd_statfs_os_bsize = -1;
729 static int hf_lustre_lustre_msg_v2_lm_repsize = -1;
730 static int hf_lustre_lov_mds_md_v1_lmm_stripe_size = -1;
731 static int hf_lustre_lustre_msg_v1_lm_last_xid = -1;
732 static int hf_lustre_ll_fid_f_type = -1;
733 static int hf_lustre_lustre_msg_v2_lm_cksum = -1;
734 static int hf_lustre_lustre_msg_v2_lm_buflens = -1;
735 static int hf_lustre_lustre_msg_v1_lm_status = -1;
736 static int hf_lustre_lustre_msg_v1_lm_type = -1;
737 static int hf_lustre_niobuf_remote_len = -1;
738 static int hf_lustre_lov_mds_md_v1_lmm_magic = -1;
739 static int hf_lustre_ptlrpc_body_pb_op_flags = -1;
740 static int hf_lustre_ost_lvb_lvb_ctime = -1;
741 static int hf_lustre_ptlrpc_body_pb_type = -1;
742 static int hf_lustre_obd_connect_data_ocd_nllg = -1;
743 static int hf_lustre_obd_connect_data_ocd_nllu = -1;
744 static int hf_lustre_ll_fid_generation = -1;
745 static int hf_lustre_ost_lvb_lvb_mtime = -1;
746 static int hf_lustre_obd_connect_data_ocd_ibits_known = -1;
747 static int hf_lustre_lustre_msg_v2_lm_padding_3 = -1;
748 static int hf_lustre_ptlrpc_body_pb_flags = -1;
749 static int hf_lustre_obd_statfs_os_spare4 = -1;
750 static int hf_lustre_obd_connect_data_ocd_group = -1;
751 static int hf_lustre_lov_ost_data_v1_l_object_seq = -1;
752 static int hf_lustre_lov_mds_md_v1_lmm_object_seq = -1;
753 static int hf_lustre_obd_connect_data_ocd_brw_size = -1;
754 static int hf_lustre_ptlrpc_body_pb_limit = -1;
755 static int hf_lustre_obd_statfs_os_maxbytes = -1;
756 static int hf_lustre_obd_statfs_os_spare5 = -1;
757 static int hf_lustre_lustre_msg_v2_lm_flags = -1;
758 static int hf_lustre_obd_statfs_os_ffree = -1;
759 static int hf_lustre_obd_statfs_os_files = -1;
760 static int hf_lustre_lov_mds_md_v1_lmm_stripe_count = -1;
761 static int hf_lustre_lustre_msg_v1_lm_flags = -1;
762 static int hf_lustre_lustre_msg_v1_lm_last_committed = -1;
763 static int hf_lustre_obd_statfs_os_spare9 = -1;
764 static int hf_lustre_obd_connect_data_ocd_index = -1;
765 static int hf_lustre_opnum = -1;
766 static int hf_lustre_lustre_msg_v1_lm_buflens = -1;
767 static int hf_lustre_obd_statfs_os_spare1 = -1;
768 static int hf_lustre_obd_statfs_os_spare8 = -1;
769 static int hf_lustre_lustre_msg_v1_lm_conn_cnt = -1;
770 static int hf_lustre_ptlrpc_body_pb_transno = -1;
771 static int hf_lustre_ptlrpc_body_pb_service_time = -1;
772 static int hf_lustre_ptlrpc_body_pb_conn_cnt = -1;
773 static int hf_lustre_ptlrpc_body_pb_opc = -1;
774 static int hf_lustre_obd_connect_data_ocd_connect_flags = -1;
775 static int hf_lustre_lov_ost_data_v1_l_object_id = -1;
776 static int hf_lustre_lov_ost_data_v1_l_ost_gen = -1;
777 static int hf_lustre_obd_statfs_os_bfree = -1;
778 static int hf_lustre_obd_connect_data_ocd_version = -1;
779 static int hf_lustre_lov_mds_md_v1_lmm_objects = -1;
780 static int hf_lustre_obd_statfs_os_namelen = -1;
781 static int hf_lustre_obd_statfs_os_blocks = -1;
782 static int hf_lustre_lustre_msg_v2_lm_secflvr = -1;
783 static int hf_lustre_lustre_msg_v1_lm_transno = -1;
784 static int hf_lustre_lov_mds_md_v1_lmm_pattern = -1;
785 static int hf_lustre_lustre_msg_v1_lm_opc = -1;
786 static int hf_lustre_obd_connect_data_ocd_grant = -1;
787 static int hf_lustre_obd_ioobj_ioo_bufcnt = -1;
788 static int hf_lustre_lustre_msg_v1_lm_version = -1;
789 static int hf_lustre_obd_statfs_os_spare7 = -1;
790 static int hf_lustre_obd_statfs_os_fsid = -1;
791 static int hf_lustre_obd_connect_data_ocd_cksum_types = -1;
792 static int hf_lustre_ost_lvb_lvb_size = -1;
793 static int hf_lustre_obd_statfs_os_type = -1;
794 static int hf_lustre_obd_statfs_os_spare6 = -1;
795 static int hf_lustre_obd_statfs_os_state = -1;
796 static int hf_lustre_obd_statfs_os_spare3 = -1;
797 static int hf_lustre_lustre_msg_v2_lm_magic = -1;
798 static int hf_lustre_lov_mds_md_v1_lmm_object_id = -1;
799 static int hf_lustre_ptlrpc_body_pb_last_seen = -1;
800 static int hf_lustre_obd_ioobj_ioo_max_brw = -1;
801 static int hf_lustre_ptlrpc_body_pb_last_xid = -1;
802 static int hf_lustre_ptlrpc_body_pb_status = -1;
803 static int hf_lustre_niobuf_remote_flags = -1;
804 static int hf_lustre_ll_fid_id = -1;
805 static int hf_lustre_ost_lvb_lvb_blocks = -1;
806 static int hf_lustre_lustre_msg_v2_lm_padding_2 = -1;
807 static int hf_lustre_obd_connect_data_padding1 = -1;
808 static int hf_lustre_lov_ost_data_v1_l_ost_idx = -1;
809 static int hf_lustre_obd_connect_data_padding2 = -1;
810 static int hf_lustre_obd_ioobj_ioo_seq = -1;
811 static int hf_lustre_niobuf_remote_offset=-1;
812 static int hf_lustre_obd_statfs_os_spare2 = -1;
813 static int hf_lustre_lustre_msg_v2_lm_bufcount = -1;
814 static int hf_lustre_ptlrpc_body_pb_handle = -1;
815 static int hf_lustre_obd_connect_data_ocd_transno = -1;
816 static int hf_lustre_lustre_msg_v1_lm_magic = -1;
817 static int hf_lustre_llog_unlink_rec_lur_tail = -1;
818 static int hf_lustre_llog_size_change_rec_lsc_io_epoch = -1;
819 static int hf_lustre_mgs_target_info_mti_flags = -1;
820 static int hf_lustre_ldlm_reply_lock_policy_res1 = -1;
821 static int hf_lustre_llogd_body_lgd_len = -1;
822 static int hf_lustre_qunit_data_old_qd_id = -1;
823 static int hf_lustre_llog_logid_rec_padding1 = -1;
824 static int hf_lustre_quota_adjust_qunit_padding1 = -1;
825 static int hf_lustre_llog_size_change_rec_lsc_fid = -1;
826 static int hf_lustre_llog_rec_hdr_padding = -1;
827 static int hf_lustre_obdo_o_nlink = -1;
828 static int hf_lustre_ldlm_extent_gid = -1;
829 static int hf_lustre_obdo_o_uid = -1;
830 static int hf_lustre_obdo_o_valid = -1;
831 static int hf_lustre_ldlm_reply_lock_flags = -1;
832 static int hf_lustre_obdo_o_misc = -1;
834 static int hf_lustre_ldlm_request_lock_handle = -1;
835 static int hf_lustre_llog_logid_lgl_oid = -1;
836 static int hf_lustre_ldlm_inodebits_bits = -1;
837 static int hf_lustre_llog_log_hdr_llh_count = -1;
838 static int hf_lustre_llog_gen_rec_lgr_tail = -1;
839 static int hf_lustre_llog_catid_lci_padding3 = -1;
840 static int hf_lustre_qunit_data_qd_qunit = -1;
841 static int hf_lustre_llog_setattr_rec_padding = -1;
842 static int hf_lustre_llog_cookie_lgc_lgl = -1;
843 static int hf_lustre_obd_quotactl_qc_dqinfo = -1;
844 static int hf_lustre_llog_log_hdr_llh_bitmap = -1;
845 static int hf_lustre_obd_quotactl_qc_stat = -1;
846 static int hf_lustre_qunit_data_old2_qd_id = -1;
847 static int hf_lustre_llog_logid_rec_padding2 = -1;
848 static int hf_lustre_llog_logid_rec_padding5 = -1;
849 static int hf_lustre_ldlm_intent_opc = -1;
850 static int hf_lustre_llog_rec_hdr_lrh_type = -1;
851 static int hf_lustre_llog_rec_hdr_lrh_len = -1;
852 static int hf_lustre_llog_setattr_rec_lsr_uid = -1;
853 static int hf_lustre_lov_desc_ld_padding_1 = -1;
854 static int hf_lustre_obdo_o_padding_4 = -1;
855 static int hf_lustre_mgs_target_info_padding = -1;
856 static int hf_lustre_obd_quotactl_qc_dqblk = -1;
857 static int hf_lustre_llogd_conn_body_lgdc_gen = -1;
858 static int hf_lustre_llog_log_hdr_llh_tail = -1;
859 static int hf_lustre_obdo_o_size = -1;
860 static int hf_lustre_ldlm_extent_start = -1;
861 static int hf_lustre_llog_size_change_rec_lsc_hdr = -1;
862 static int hf_lustre_llog_logid_lgl_oseq = -1;
863 static int hf_lustre_llog_cookie_lgc_padding = -1;
864 static int hf_lustre_qunit_data_old_qd_type = -1;
865 static int hf_lustre_ldlm_flock_blocking_export = -1;
866 static int hf_lustre_lov_desc_ld_pattern = -1;
867 static int hf_lustre_qunit_data_qd_id = -1;
868 static int hf_lustre_mgs_target_info_mti_fsname = -1;
869 static int hf_lustre_ldlm_request_lock_flags = -1;
870 static int hf_lustre_obdo_o_mode = -1;
871 static int hf_lustre_mgs_target_info_mti_svname = -1;
872 static int hf_lustre_llogd_body_lgd_logid = -1;
873 static int hf_lustre_llog_log_hdr_llh_size = -1;
874 static int hf_lustre_obdo_o_handle = -1;
875 static int hf_lustre_obdo_o_atime = -1;
876 static int hf_lustre_quota_adjust_qunit_qaq_id = -1;
877 static int hf_lustre_ldlm_lock_desc_l_policy_data = -1;
878 static int hf_lustre_obd_quotactl_qc_cmd = -1;
879 static int hf_lustre_qunit_data_padding = -1;
880 static int hf_lustre_quota_adjust_qunit_qaq_flags = -1;
881 static int hf_lustre_ldlm_lock_desc_l_granted_mode = -1;
882 static int hf_lustre_obdo_o_seq = -1;
883 static int hf_lustre_obdo_o_gid = -1;
884 static int hf_lustre_llog_catid_lci_logid = -1;
885 static int hf_lustre_llog_rec_tail_lrt_index = -1;
886 static int hf_lustre_lov_desc_ld_default_stripe_count = -1;
887 static int hf_lustre_ldlm_resource_desc_lr_padding = -1;
888 static int hf_lustre_cfg_marker_cm_vers = -1;
889 static int hf_lustre_llog_unlink_rec_lur_hdr = -1;
890 static int hf_lustre_llogd_body_lgd_index = -1;
891 static int hf_lustre_cfg_marker_cm_tgtname = -1;
892 static int hf_lustre_llog_setattr_rec_lsr_ogen = -1;
893 static int hf_lustre_llog_logid_rec_lid_hdr = -1;
894 static int hf_lustre_obdo_o_ioepoch = -1;
895 static int hf_lustre_ost_body_oa = -1;
896 static int hf_lustre_llog_logid_rec_padding3 = -1;
897 static int hf_lustre_llog_log_hdr_llh_flags = -1;
898 static int hf_lustre_llog_setattr_rec_lsr_oid = -1;
899 static int hf_lustre_llog_size_change_rec_padding = -1;
900 static int hf_lustre_mgs_target_info_mti_config_ver = -1;
901 static int hf_lustre_cfg_marker_cm_createtime = -1;
902 static int hf_lustre_qunit_data_old_qd_count = -1;
903 static int hf_lustre_llog_catid_lci_padding1 = -1;
904 static int hf_lustre_lov_desc_ld_active_tgt_count = -1;
905 static int hf_lustre_obdo_o_lcookie = -1;
906 static int hf_lustre_llog_gen_rec_lgr_gen = -1;
907 static int hf_lustre_obdo_o_id = -1;
908 static int hf_lustre_mgs_target_info_mti_uuid = -1;
909 static int hf_lustre_llog_rec_hdr_lrh_index = -1;
910 static int hf_lustre_llog_setattr_rec_lsr_hdr = -1;
911 static int hf_lustre_mgs_target_info_mti_stripe_index = -1;
912 static int hf_lustre_llog_gen_conn_cnt = -1;
913 static int hf_lustre_obdo_o_padding_6 = -1;
914 static int hf_lustre_llog_cookie_lgc_index = -1;
915 static int hf_lustre_lov_desc_ld_uuid = -1;
916 static int hf_lustre_ldlm_reply_lock_desc = -1;
917 static int hf_lustre_lov_desc_ld_padding_0 = -1;
918 static int hf_lustre_llog_unlink_rec_lur_ogen = -1;
919 static int hf_lustre_cfg_marker_cm_flags = -1;
920 static int hf_lustre_obdo_o_padding_3 = -1;
921 static int hf_lustre_ldlm_request_lock_desc = -1;
922 static int hf_lustre_obdo_o_flags = -1;
923 static int hf_lustre_mgs_target_info_mti_params = -1;
924 static int hf_lustre_llog_logid_lgl_ogen = -1;
925 static int hf_lustre_cfg_marker_cm_comment = -1;
926 static int hf_lustre_llog_unlink_rec_lur_oid = -1;
927 static int hf_lustre_qunit_data_qd_count = -1;
928 static int hf_lustre_obdo_o_mtime = -1;
929 static int hf_lustre_obdo_o_blksize = -1;
930 static int hf_lustre_ldlm_res_id_name = -1;
931 static int hf_lustre_ldlm_reply_lock_handle = -1;
932 static int hf_lustre_llogd_body_lgd_saved_index = -1;
933 static int hf_lustre_qunit_data_old_qd_isblk = -1;
934 static int hf_lustre_obdo_o_blocks = -1;
935 static int hf_lustre_lov_desc_ld_padding_2 = -1;
936 static int hf_lustre_llog_logid_rec_lid_tail = -1;
937 static int hf_lustre_obdo_o_grant = -1;
938 static int hf_lustre_obdo_o_uid_h = -1;
939 static int hf_lustre_obdo_o_gid_h = -1;
940 static int hf_lustre_quota_adjust_qunit_qaq_iunit_sz = -1;
941 static int hf_lustre_llog_unlink_rec_padding = -1;
942 static int hf_lustre_ldlm_lock_desc_l_req_mode = -1;
943 static int hf_lustre_ldlm_extent_end = -1;
944 static int hf_lustre_llog_gen_rec_lgr_hdr = -1;
945 static int hf_lustre_llogd_body_lgd_llh_flags = -1;
946 static int hf_lustre_llog_log_hdr_llh_cat_idx = -1;
947 static int hf_lustre_llog_log_hdr_llh_bitmap_offset=-1;
948 static int hf_lustre_ldlm_reply_lock_padding = -1;
949 static int hf_lustre_obd_quotactl_qc_id = -1;
950 static int hf_lustre_llog_logid_rec_padding4 = -1;
951 static int hf_lustre_llog_setattr_rec_lsr_gid = -1;
952 static int hf_lustre_obd_quotactl_qc_type = -1;
953 static int hf_lustre_cfg_marker_padding = -1;
954 static int hf_lustre_mgs_target_info_mti_nids = -1;
955 static int hf_lustre_obdo_o_stripe_idx = -1;
956 static int hf_lustre_llogd_conn_body_lgdc_logid = -1;
957 static int hf_lustre_ldlm_flock_blocking_pid = -1;
958 static int hf_lustre_lov_desc_ld_tgt_count = -1;
959 static int hf_lustre_llogd_body_lgd_cur_offset=-1;
960 static int hf_lustre_qunit_data_old2_qd_count = -1;
961 static int hf_lustre_qunit_data_old2_qd_flags = -1;
962 static int hf_lustre_ldlm_flock_start = -1;
963 static int hf_lustre_quota_adjust_qunit_qaq_bunit_sz = -1;
964 static int hf_lustre_ldlm_flock_pid = -1;
965 static int hf_lustre_lov_desc_ld_default_stripe_size = -1;
966 static int hf_lustre_llog_log_hdr_llh_tgtuuid = -1;
967 static int hf_lustre_cfg_marker_cm_step = -1;
968 static int hf_lustre_mgs_send_param_mgs_param = -1;
969 static int hf_lustre_lov_desc_ld_default_stripe_offset=-1;
970 static int hf_lustre_ldlm_resource_desc_lr_name = -1;
971 static int hf_lustre_llog_rec_tail_lrt_len = -1;
972 static int hf_lustre_llog_log_hdr_llh_timestamp = -1;
973 static int hf_lustre_llog_catid_lci_padding2 = -1;
974 static int hf_lustre_llogd_conn_body_lgdc_ctxt_idx = -1;
975 static int hf_lustre_cfg_marker_cm_canceltime = -1;
976 static int hf_lustre_mgs_target_info_mti_lustre_ver = -1;
977 static int hf_lustre_obdo_o_parent_ver = -1;
978 static int hf_lustre_qunit_data_qd_flags = -1;
979 static int hf_lustre_llog_logid_rec_lid_id = -1;
980 static int hf_lustre_obdo_o_parent_oid = -1;
981 static int hf_lustre_llog_gen_mnt_cnt = -1;
982 static int hf_lustre_llog_size_change_rec_lsc_tail = -1;
983 static int hf_lustre_obdo_o_padding_5 = -1;
984 static int hf_lustre_ldlm_lock_desc_l_resource = -1;
985 static int hf_lustre_obdo_o_parent_seq = -1;
986 static int hf_lustre_ldlm_request_lock_count = -1;
987 static int hf_lustre_ldlm_flock_end = -1;
988 static int hf_lustre_mgs_target_info_mti_nid_count = -1;
989 static int hf_lustre_obdo_o_ctime = -1;
990 static int hf_lustre_ldlm_reply_lock_policy_res2 = -1;
991 static int hf_lustre_llogd_body_lgd_ctxt_idx = -1;
992 static int hf_lustre_lov_desc_ld_qos_maxage = -1;
993 static int hf_lustre_ldlm_resource_desc_lr_type = -1;
994 static int hf_lustre_llog_setattr_rec_lsr_tail = -1;
995 static int hf_lustre_llog_cookie_lgc_subsys = -1;
996 static int hf_lustre_llog_log_hdr_llh_hdr = -1;
997 static int hf_lustre_llog_log_hdr_llh_reserved = -1;
999 /* Header field declarations for field from lustre_user.h*/
1000 static int hf_lustre_obd_dqinfo_dqi_valid = -1;
1001 static int hf_lustre_obd_dqblk_dqb_isoftlimit = -1;
1002 static int hf_lustre_obd_dqblk_dqb_bhardlimit = -1;
1003 static int hf_lustre_obd_dqblk_dqb_curspace = -1;
1004 static int hf_lustre_obd_dqblk_dqb_itime = -1;
1005 static int hf_lustre_obd_dqblk_dqb_valid = -1;
1006 static int hf_lustre_obd_dqinfo_dqi_igrace = -1;
1007 static int hf_lustre_obd_dqinfo_dqi_bgrace = -1;
1008 static int hf_lustre_obd_dqblk_padding = -1;
1009 static int hf_lustre_obd_dqblk_dqb_curinodes = -1;
1010 static int hf_lustre_obd_dqblk_dqb_bsoftlimit = -1;
1011 static int hf_lustre_obd_dqinfo_dqi_flags = -1;
1012 static int hf_lustre_obd_dqblk_dqb_btime = -1;
1013 static int hf_lustre_obd_dqblk_dqb_ihardlimit = -1;
1014 static int hf_lustre_ldlm_intent_opc_open = -1 ;
1015 static int hf_lustre_ldlm_intent_opc_creat = -1;
1016 static int hf_lustre_ldlm_intent_opc_readdir = -1;
1017 static int hf_lustre_ldlm_intent_opc_getattr = -1;
1018 static int hf_lustre_ldlm_intent_opc_lookup = -1;
1019 static int hf_lustre_ldlm_intent_opc_unlink = -1;
1020 static int hf_lustre_ldlm_intent_opc_getxattr = -1;
1021 static int hf_lustre_ldlm_intent_opc_exec = -1;
1022 static int hf_lustre_ldlm_intent_opc_pin = -1;
1023 static int hf_lustre_llog_hdr_llh_flag_zap_when_empty = -1;
1024 static int hf_lustre_llog_hdr_llh_flag_is_cat = -1;
1025 static int hf_lustre_llog_hdr_llh_flag_is_play = -1;
1026 static int hf_lustre_lu_ladvise = -1;
1027 static int hf_lustre_lu_ladvise_lla_start = -1;
1028 static int hf_lustre_lu_ladvise_lla_end = -1;
1029 static int hf_lustre_lu_ladvise_lla_advice = -1;
1030 static int hf_lustre_lu_ladvise_lla_padding = -1;
1031 /* --------------------------------------------------------------------*/
1034 /* proto declaration */
1035 static gint proto_lustre = -1;
1037 typedef int (dissect_func)(
1038 tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree,
1041 static dissect_func dissect_uint64, dissect_uint32, dissect_uint16, dissect_uint8;
1044 #include "lustre_dlm_flags_wshark.c"
1047 static int ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_) ;
1048 static int add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_) ;
1051 /* ======================================================================== */
1052 /*the value_string*/
1053 const value_string lustre_ldlm_opcode[] = {
1054 { IT_OPEN , "IT_OPEN "},
1055 { IT_CREAT , "IT_CREAT "},
1056 { IT_READDIR , "IT_READDIR "},
1057 { IT_GETATTR , "IT_GETATTR "},
1058 { IT_LOOKUP , "IT_LOOKUP "},
1059 { IT_UNLINK , "IT_UNLINK "},
1060 { IT_GETXATTR, "IT_GETXATTR"},
1061 { IT_EXEC , "IT_EXEC "},
1062 { IT_PIN , "IT_PIN "},
1066 const value_string lustre_lov_magic[] = {
1067 { LOV_MAGIC_V1, "LOV_MAGIC_V1" },
1071 const value_string lustre_llog_op_type[] = {
1072 {LLOG_PAD_MAGIC ,"LLOG_PAD_MAGIC "},
1073 {OST_SZ_REC ,"OST_SZ_REC "},
1074 {OST_RAID1_REC ,"OST_RAID1_REC "},
1075 {MDS_UNLINK_REC ,"MDS_UNLINK_REC "},
1076 {MDS_SETATTR_REC ,"MDS_SETATTR_REC "},
1077 {OBD_CFG_REC ,"OBD_CFG_REC "},
1078 {PTL_CFG_REC ,"PTL_CFG_REC "},
1079 {LLOG_GEN_REC ,"LLOG_GEN_REC "},
1080 {LLOG_JOIN_REC ,"LLOG_JOIN_REC "},
1081 {LLOG_HDR_MAGIC ,"LLOG_HDR_MAGIC "},
1082 {LLOG_LOGID_MAGIC ,"LLOG_LOGID_MAGIC"},
1086 const value_string lustre_llog_hdr_llh_flags[]= {
1087 {LLOG_F_ZAP_WHEN_EMPTY , "LLOhdr_llh_G_F_ZAP_WHEN_EMPTY"},
1088 {LLOG_F_IS_CAT , "LLOhdr_llh_G_F_IS_CAT"},
1089 {LLOG_F_IS_PLAIN , "LLOG_F_IS_PLAIN"},
1093 const value_string lustre_mds_flags_vals[] = {
1094 {0x00000008, "LUSTRE_SYNC_FL "}, /* Synchronous updates */
1095 {0x00000010, "LUSTRE_IMMUTABLE_FL "}, /* Immutable file */
1096 {0x00000020, "LUSTRE_APPEND_FL "}, /* writes to file may only append */
1097 {0x00000040, "LUSTRE_NODUMP_FL "}, /* do not dump file */
1098 {0x00000080, "LUSTRE_NOATIME_FL "}, /* do not update atime */
1099 {0x00001000, "LUSTRE_INDEX_FL "}, /* hash-indexed directory */
1100 {0x00010000, "LUSTRE_DIRSYNC_FL "}, /* dirsync behaviour (dir only) */
1101 {0x00020000, "LUSTRE_TOPDIR_FL "}, /* Top of directory hierarchies */
1102 {0x00100000, "LUSTRE_DIRECTIO_FL "}, /* Use direct i/o */
1103 {0x10000000, "LUSTRE_INLINE_DATA_FL "}, /* Inode has inline data. */
1107 const value_string lustre_mgs_config_body_types[] = {
1115 const value_string lustre_LMTypes[] = {
1116 { PTL_RPC_MSG_REQUEST, "request"},
1117 { PTL_RPC_MSG_ERR , "error"},
1118 { PTL_RPC_MSG_REPLY , "reply"},
1122 const value_string lustre_mds_reint_t_vals[] = {
1123 { REINT_SETATTR, "REINT_SETATTR" },
1124 { REINT_CREATE, "REINT_CREATE" },
1125 { REINT_LINK, "REINT_LINK" },
1126 { REINT_UNLINK, "REINT_UNLINK" },
1127 { REINT_RENAME, "REINT_RENAME" },
1128 { REINT_OPEN, "REINT_OPEN" },
1129 { REINT_SETXATTR, "REINT_SETXATTR" },
1132 const value_string lustre_op_codes[] = {
1135 {1 , "OST_GETATTR"},
1136 {2 , "OST_SETATTR"},
1140 {6 , "OST_DESTROY"},
1141 {7 , "OST_GET_INFO"},
1142 {8 , "OST_CONNECT"},
1143 {9 , "OST_DISCONNECT"},
1147 {13 , "OST_STATFS"},
1148 {14 , "OST_SAN_READ(deprecated)"},
1149 {15 , "OST_SAN_WRITE(deprecated)"},
1151 {17 , "OST_SET_INFO"},
1152 {18 , "OST_QUOTACHECK"},
1153 {19 , "OST_QUOTACTL"},
1154 {20 , "OST_QUOTA_ADJUST_QUNIT"},
1155 {21 , "OST_LADVISE"},
1156 {22 , "OST_LAST_OPC"},
1158 {33 , "MDS_GETATTR"},
1159 {34 , "MDS_GETATTR_NAME"},
1162 {37 , "MDS_READPAGE"},
1163 {38 , "MDS_CONNECT"},
1164 {39 , "MDS_DISCONNECT"},
1165 {40 , "MDS_GET_ROOT"},
1166 {41 , "MDS_STATFS"},
1170 {45 , "MDS_DONE_WRITING"},
1171 {46 , "MDS_SET_INFO"},
1172 {47 , "MDS_QUOTACHECK"},
1173 {48 , "MDS_QUOTACTL"},
1174 {49 , "MDS_GETXATTR"},
1175 {50 , "MDS_SETXATTR"},
1176 {51 , "MDS_WRITEPAGE"},
1177 {52 , "MDS_IS_SUBDIR"},
1178 {53 , "MDS_GET_INFO"},
1179 {54 , "MDS_HSM_STATE_GET"},
1180 {55 , "MDS_HSM_STATE_SET"},
1181 {56 , "MDS_HSM_ACTION"},
1182 {57 , "MDS_HSM_PROGRESS"},
1183 {58 , "MDS_HSM_REQUEST"},
1184 {59 , "MDS_HSM_CT_REGISTER"},
1185 {60 , "MDS_HSM_CT_UNREGISTER"},
1186 {61 , "MDS_SWAP_LAYOUTS"},
1187 {62 , "MDS_LAST_OPC"},
1189 {101 , "LDLM_ENQUEUE"},
1190 {102 , "LDLM_CONVERT"},
1191 {103 , "LDLM_CANCEL"},
1192 {104 , "LDLM_BL_CALLBACK"},
1193 {105 , "LDLM_CP_CALLBACK"},
1194 {106 , "LDLM_GL_CALLBACK"},
1195 {107 , "LDLM_LAST_OPC"},
1197 {250 , "MGS_CONNECT"},
1198 {251 , "MGS_DISCONNECT"},
1199 {252 , "MGS_EXCEPTION"},
1200 {253 , "MGS_TARGET_REG"},
1201 {254 , "MGS_TARGET_DEL"},
1202 {255 , "MGS_SET_INFO"},
1203 {256 , "MGS_CONFIG_READ"},
1204 {257 , "MGS_LAST_OPC"},
1207 {401 , "OBD_LOG_CANCEL"},
1208 {402 , "OBD_QC_CALLBACK"},
1209 {403 , "OBD_LAST_OPC"},
1211 { 501, "LLOG_ORIGIN_HANDLE_CREATE"},
1212 { 502, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK"},
1213 { 503, "LLOG_ORIGIN_HANDLE_READ_HEADER"},
1214 { 504, "LLOG_ORIGIN_HANDLE_WRITE_REC"},
1215 { 505, "LLOG_ORIGIN_HANDLE_CLOSE"},
1216 { 506, "LLOG_ORIGIN_CONNECT"},
1217 { 507, "LLOG_CATINFO"},
1218 { 508, "LLOG_ORIGIN_HANDLE_PREV_BLOCK"},
1219 { 509, "LLOG_ORIGIN_HANDLE_DESTROY"},
1220 /* SEQ RPC opcodes */
1221 { 700, "SEQ_QUERY"},
1222 { 701, "SEQ_LAST_OPC"},
1223 /* FLD RPC opcodes */
1224 { 900, "FLD_QUERY"},
1225 { 901, "FLD_LAST_OPC"},
1228 /*const value_string lustre_ldlm_mode_vals[] = {*/
1229 /* { LCK_MINMODE, "MINMODE" },*/
1230 /* { LCK_EX, "EX" },*/
1231 /* { LCK_PW, "PW" },*/
1232 /* { LCK_PR, "PR" },*/
1233 /* { LCK_CW, "CW" },*/
1234 /* { LCK_CR, "CR" },*/
1235 /* { LCK_NL, "NL" },*/
1236 /* { LCK_GROUP, "GROUP" },*/
1240 /* detailled version the information came from : http://wiki.lustre.org/images/e/e5/LustreInternals_Architecture.pdf */
1241 const value_string lustre_ldlm_mode_vals[] = {
1242 { LCK_MINMODE, "MINMODE" },
1243 { LCK_EX, "Exclusive" },
1244 { LCK_PW, "Protected Write" },
1245 { LCK_PR, "Protected Read" },
1246 { LCK_CW, "Concurrent Write" },
1247 { LCK_CR, "Concurrent Read" },
1249 { LCK_GROUP, "GROUP" },
1253 const value_string lustre_ldlm_type_vals[] = {
1254 { LDLM_PLAIN, "LDLM_PLAIN" },
1255 { LDLM_EXTENT,"LDLM_EXTENT" },
1256 { LDLM_FLOCK, "LDLM_FLOCK" },
1257 { LDLM_IBITS, "LDLM_IBITS" },
1262 const value_string lustre_llog_cmd_t_vals[] = {
1263 { LLOG_ORIGIN_HANDLE_CREATE, "LLOG_ORIGIN_HANDLE_CREATE" },
1264 { LLOG_ORIGIN_HANDLE_NEXT_BLOCK, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK" },
1265 { LLOG_ORIGIN_HANDLE_READ_HEADER, "LLOG_ORIGIN_HANDLE_READ_HEADER" },
1266 { LLOG_ORIGIN_HANDLE_WRITE_REC, "LLOG_ORIGIN_HANDLE_WRITE_REC" },
1267 { LLOG_ORIGIN_HANDLE_CLOSE, "LLOG_ORIGIN_HANDLE_CLOSE" },
1268 { LLOG_ORIGIN_CONNECT, "LLOG_ORIGIN_CONNECT" },
1269 { LLOG_CATINFO, "LLOG_CATINFO" },
1270 { LLOG_ORIGIN_HANDLE_PREV_BLOCK, "LLOG_ORIGIN_HANDLE_PREV_BLOCK" },
1271 { LLOG_ORIGIN_HANDLE_DESTROY, "LLOG_ORIGIN_HANDLE_DESTROY" },
1275 #ifndef ENABLE_STATIC
1276 const gchar version[] = VERSION;
1278 /* Start the functions we need for the plugin stuff */
1281 plugin_register(void)
1283 extern void proto_register_dcerpc_lustre(void);
1285 proto_register_dcerpc_lustre();
1289 plugin_reg_handoff(void)
1291 extern void proto_reg_handoff_lustre(void);
1293 proto_reg_handoff_lustre();
1298 /* ------------------------------------------------------------------- */
1299 /* display functions */
1300 /* ------------------------------------------------------------------- */
1301 /* display str in left corner and in COL */
1302 /* TODO : do we need to use inline here ?*/
1303 /* @gint col : the col where we add the information */
1304 inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
1307 proto_item_append_text(pi, str);
1310 if (check_col(cinfo, col))
1311 col_append_str(cinfo, col, str);
1315 * Need to be (re)written
1317 static void display_info_fstr(proto_item *pi, column_info *cinfo, gint col, const char* format, const gchar * str){
1320 //va_start(ap, format);
1321 proto_item_append_text(pi, format, str);
1326 if (check_col(cinfo, col)){
1328 // va_start(ap, format);
1329 col_append_fstr(cinfo, col, format, str);
1336 /* ------------------------------ basic dissect functions ------------------------ */
1339 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1341 proto_tree_add_item(tree, hfindex, tvb, offset, 8, TRUE);
1347 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1349 proto_tree_add_item(tree, hfindex, tvb, offset, 4, TRUE);
1355 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1357 proto_tree_add_item(tree, hfindex, tvb, offset, 2, TRUE);
1363 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1365 proto_tree_add_item(tree, hfindex, tvb, offset, 1, TRUE);
1368 /* ------------------------------------------------------------------------- */
1370 /* dissect raw data */
1372 lustre_dissect_element_data(tvbuff_t *tvb _U_, int offset _U_,
1373 packet_info *pinfo _U_, proto_tree *parent_tree _U_,
1374 int hf_index _U_, guint32 buf_num)
1376 proto_item *item = NULL;
1381 old_offset = offset;
1383 data_len = LUSTRE_BUFFER_LEN(buf_num);
1387 proto_tree_add_item(parent_tree, hf_index, tvb, offset, data_len, TRUE);
1390 proto_item_set_len(item, offset-old_offset);
1391 offset = add_extra_padding(tvb, offset, pinfo, parent_tree);
1397 lustre_dissect_struct_hmac(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1398 proto_tree *parent_tree _U_, int hf_index _U_, int max_length)
1402 proto_item *item = NULL;
1404 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 0, TRUE);
1405 for (i=0; i < max_length; ++i) {
1406 val = tvb_get_guint8(tvb, offset+i);
1407 proto_item_append_text(item, (i) ? "%02x" : ": %#02x", val);
1410 offset += max_length;
1411 proto_item_set_len(item, max_length);
1415 /* ------------------------------------------------------------------------ */
1419 /* IDL: struct lustre_handle { */
1420 /* IDL: uint64 cookie; */
1424 lustre_dissect_element_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1426 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_handle_cookie);
1432 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_)
1434 proto_item *item = NULL;
1435 proto_tree *tree = NULL;
1441 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1442 tree = proto_item_add_subtree(item, ett_lustre_lustre_handle_cookie);
1445 offset=lustre_dissect_element_handle_cookie(tvb, offset, pinfo, tree);
1448 proto_item_set_len(item, offset-old_offset);
1453 /* IDL: struct obd_connect_data { */
1454 /* IDL: uint64 ocd_connect_flags; */
1455 /* IDL: uint32 ocd_version; */
1456 /* IDL: uint32 ocd_grant; */
1457 /* IDL: uint32 ocd_index; */
1458 /* IDL: uint32 ocd_brw_size; */
1459 /* IDL: uint64 ocd_ibits_known; */
1460 /* IDL: uint32 ocd_nllu; */
1461 /* IDL: uint32 ocd_nllg; */
1462 /* IDL: uint64 ocd_transno; */
1463 /* IDL: uint32 ocd_group; */
1464 /* IDL: uint32 ocd_cksum_types; */
1465 /* IDL: uint64 padding1; */
1466 /* IDL: uint64 padding2; */
1470 lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1472 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_connect_flags);
1478 lustre_dissect_element_obd_connect_data_ocd_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1480 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_version);
1486 lustre_dissect_element_obd_connect_data_ocd_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1488 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_grant);
1494 lustre_dissect_element_obd_connect_data_ocd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1496 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_index);
1502 lustre_dissect_element_obd_connect_data_ocd_brw_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1504 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_brw_size);
1510 lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1512 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_ibits_known);
1518 lustre_dissect_element_obd_connect_data_ocd_nllu(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1520 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllu);
1526 lustre_dissect_element_obd_connect_data_ocd_nllg(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1528 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllg);
1534 lustre_dissect_element_obd_connect_data_ocd_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1536 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_transno);
1542 lustre_dissect_element_obd_connect_data_ocd_group(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1544 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_group);
1550 lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1552 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_cksum_types);
1558 lustre_dissect_element_obd_connect_data_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1560 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding1);
1566 lustre_dissect_element_obd_connect_data_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1568 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding2);
1574 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_)
1576 proto_item *item = NULL;
1577 proto_tree *tree = NULL;
1585 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1586 tree = proto_item_add_subtree(item, ett_lustre_obd_connect_data);
1589 offset=lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvb, offset, pinfo, tree);
1591 offset=lustre_dissect_element_obd_connect_data_ocd_version(tvb, offset, pinfo, tree);
1593 offset=lustre_dissect_element_obd_connect_data_ocd_grant(tvb, offset, pinfo, tree);
1595 offset=lustre_dissect_element_obd_connect_data_ocd_index(tvb, offset, pinfo, tree);
1597 offset=lustre_dissect_element_obd_connect_data_ocd_brw_size(tvb, offset, pinfo, tree);
1599 offset=lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvb, offset, pinfo, tree);
1601 offset=lustre_dissect_element_obd_connect_data_ocd_nllu(tvb, offset, pinfo, tree);
1603 offset=lustre_dissect_element_obd_connect_data_ocd_nllg(tvb, offset, pinfo, tree);
1605 offset=lustre_dissect_element_obd_connect_data_ocd_transno(tvb, offset, pinfo, tree);
1607 offset=lustre_dissect_element_obd_connect_data_ocd_group(tvb, offset, pinfo, tree);
1609 offset=lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvb, offset, pinfo, tree);
1611 offset=lustre_dissect_element_obd_connect_data_padding1(tvb, offset, pinfo, tree);
1613 offset=lustre_dissect_element_obd_connect_data_padding2(tvb, offset, pinfo, tree);
1616 proto_item_set_len(item, offset-old_offset);
1622 /* IDL: struct lov_ost_data_v1 { */
1623 /* IDL: uint64 l_object_id; */
1624 /* IDL: uint64 l_object_seq; */
1625 /* IDL: uint32 l_ost_gen; */
1626 /* IDL: uint32 l_ost_idx; */
1630 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_)
1632 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_id);
1638 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_)
1640 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_seq);
1646 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_)
1648 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_gen);
1654 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_)
1656 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_idx);
1662 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_)
1664 proto_item *item = NULL;
1665 proto_tree *tree = NULL;
1673 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1674 tree = proto_item_add_subtree(item, ett_lustre_lov_ost_data_v1);
1677 offset=lustre_dissect_element_lov_ost_data_v1_l_object_id(tvb, offset, pinfo, tree);
1679 offset=lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvb, offset, pinfo, tree);
1681 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvb, offset, pinfo, tree);
1683 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvb, offset, pinfo, tree);
1686 proto_item_set_len(item, offset-old_offset);
1691 /* IDL: struct lov_mds_md_v1 { */
1692 /* IDL: uint32 lmm_magic; */
1693 /* IDL: uint32 lmm_pattern; */
1694 /* IDL: uint64 lmm_object_id; */
1695 /* IDL: uint64 lmm_object_seq; */
1696 /* IDL: uint32 lmm_stripe_size; */
1697 /* IDL: uint32 lmm_stripe_count; */
1698 /* IDL: struct lov_ost_data_v1 { */
1699 /* IDL: } lmm_objects[0]; <-- en fait on en a lmm_stripe_count */
1703 lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1705 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_magic);
1711 lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1713 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_pattern);
1719 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_)
1721 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_id);
1727 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_)
1729 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_seq);
1735 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_)
1737 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_size);
1743 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_)
1745 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_count);
1751 lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1753 offset=lustre_dissect_struct_lov_ost_data_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1_lmm_objects);
1758 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)
1761 /*g_print("num = %d", num);*/
1762 for (i = 0; i < num; i++){
1763 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvb, offset, pinfo, tree);
1772 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_)
1774 proto_item *item = NULL;
1775 proto_tree *tree = NULL;
1778 guint32 stripe_count ;
1784 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1785 tree = proto_item_add_subtree(item, ett_lustre_lov_mds_md_v1);
1788 offset=lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvb, offset, pinfo, tree);
1790 offset=lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvb, offset, pinfo, tree);
1792 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvb, offset, pinfo, tree);
1794 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvb, offset, pinfo, tree);
1796 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvb, offset, pinfo, tree);
1798 stripe_count = tvb_get_letohl(tvb,offset);
1799 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvb, offset, pinfo, tree);
1801 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvb, offset, pinfo, tree, stripe_count);
1804 proto_item_set_len(item, offset-old_offset);
1810 lustre_dissect_struct_lov_mds_md(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1811 proto_tree *parent_tree _U_,
1812 int hf_index _U_, int buff_num _U_)
1816 if(LUSTRE_BUFFER_LEN(buff_num) == 0)
1819 magic=tvb_get_letohl(tvb, offset); /* TODO : replace this with a macro */
1822 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,parent_tree,
1826 offset=lustre_dissect_element_data(tvb, offset, pinfo, parent_tree,
1827 hf_lustre_extra_padding, buff_num);
1836 /* IDL: struct obd_statfs { */
1837 /* IDL: uint64 os_type; */
1838 /* IDL: uint64 os_blocks; */
1839 /* IDL: uint64 os_bfree; */
1840 /* IDL: uint64 os_bavail; */
1841 /* IDL: uint64 os_files; */
1842 /* IDL: uint64 os_ffree; */
1843 /* IDL: uint8 os_fsid[40]; */
1844 /* IDL: uint32 os_bsize; */
1845 /* IDL: uint32 os_namelen; */
1846 /* IDL: uint64 os_maxbytes; */
1847 /* IDL: uint32 os_state; */
1848 /* IDL: uint32 os_spare1; */
1849 /* IDL: uint32 os_spare2; */
1850 /* IDL: uint32 os_spare3; */
1851 /* IDL: uint32 os_spare4; */
1852 /* IDL: uint32 os_spare5; */
1853 /* IDL: uint32 os_spare6; */
1854 /* IDL: uint32 os_spare7; */
1855 /* IDL: uint32 os_spare8; */
1856 /* IDL: uint32 os_spare9; */
1860 lustre_dissect_element_obd_statfs_os_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1862 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_type);
1868 lustre_dissect_element_obd_statfs_os_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1870 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_blocks);
1876 lustre_dissect_element_obd_statfs_os_bfree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1878 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bfree);
1884 lustre_dissect_element_obd_statfs_os_bavail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1886 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bavail);
1892 lustre_dissect_element_obd_statfs_os_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1894 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_files);
1900 lustre_dissect_element_obd_statfs_os_ffree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1902 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_ffree);
1908 lustre_dissect_element_obd_statfs_os_fsid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1910 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_fsid);
1916 lustre_dissect_element_obd_statfs_os_fsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1919 for (i = 0; i < 40; i++)
1920 offset=lustre_dissect_element_obd_statfs_os_fsid_(tvb, offset, pinfo, tree);
1928 lustre_dissect_element_obd_statfs_os_bsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1930 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bsize);
1936 lustre_dissect_element_obd_statfs_os_namelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1938 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_namelen);
1944 lustre_dissect_element_obd_statfs_os_maxbytes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1946 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_maxbytes);
1952 lustre_dissect_element_obd_statfs_os_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1954 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_state);
1960 lustre_dissect_element_obd_statfs_os_spare1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1962 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare1);
1968 lustre_dissect_element_obd_statfs_os_spare2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1970 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare2);
1976 lustre_dissect_element_obd_statfs_os_spare3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1978 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare3);
1984 lustre_dissect_element_obd_statfs_os_spare4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1986 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare4);
1992 lustre_dissect_element_obd_statfs_os_spare5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1994 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare5);
2000 lustre_dissect_element_obd_statfs_os_spare6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2002 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare6);
2008 lustre_dissect_element_obd_statfs_os_spare7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2010 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare7);
2016 lustre_dissect_element_obd_statfs_os_spare8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2018 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare8);
2024 lustre_dissect_element_obd_statfs_os_spare9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2026 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare9);
2032 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_)
2034 proto_item *item = NULL;
2035 proto_tree *tree = NULL;
2043 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2044 tree = proto_item_add_subtree(item, ett_lustre_obd_statfs);
2047 offset=lustre_dissect_element_obd_statfs_os_type(tvb, offset, pinfo, tree);
2049 offset=lustre_dissect_element_obd_statfs_os_blocks(tvb, offset, pinfo, tree);
2051 offset=lustre_dissect_element_obd_statfs_os_bfree(tvb, offset, pinfo, tree);
2053 offset=lustre_dissect_element_obd_statfs_os_bavail(tvb, offset, pinfo, tree);
2055 offset=lustre_dissect_element_obd_statfs_os_files(tvb, offset, pinfo, tree);
2057 offset=lustre_dissect_element_obd_statfs_os_ffree(tvb, offset, pinfo, tree);
2059 offset=lustre_dissect_element_obd_statfs_os_fsid(tvb, offset, pinfo, tree);
2061 offset=lustre_dissect_element_obd_statfs_os_bsize(tvb, offset, pinfo, tree);
2063 offset=lustre_dissect_element_obd_statfs_os_namelen(tvb, offset, pinfo, tree);
2065 offset=lustre_dissect_element_obd_statfs_os_maxbytes(tvb, offset, pinfo, tree);
2067 offset=lustre_dissect_element_obd_statfs_os_state(tvb, offset, pinfo, tree);
2069 offset=lustre_dissect_element_obd_statfs_os_spare1(tvb, offset, pinfo, tree);
2071 offset=lustre_dissect_element_obd_statfs_os_spare2(tvb, offset, pinfo, tree);
2073 offset=lustre_dissect_element_obd_statfs_os_spare3(tvb, offset, pinfo, tree);
2075 offset=lustre_dissect_element_obd_statfs_os_spare4(tvb, offset, pinfo, tree);
2077 offset=lustre_dissect_element_obd_statfs_os_spare5(tvb, offset, pinfo, tree);
2079 offset=lustre_dissect_element_obd_statfs_os_spare6(tvb, offset, pinfo, tree);
2081 offset=lustre_dissect_element_obd_statfs_os_spare7(tvb, offset, pinfo, tree);
2083 offset=lustre_dissect_element_obd_statfs_os_spare8(tvb, offset, pinfo, tree);
2085 offset=lustre_dissect_element_obd_statfs_os_spare9(tvb, offset, pinfo, tree);
2088 proto_item_set_len(item, offset-old_offset);
2093 /* IDL: struct obd_ioobj { */
2094 /* IDL: uint64 ioo_id; */
2095 /* IDL: uint64 ioo_seq; */
2096 /* IDL: uint32 ioo_max_brw; */
2097 /* IDL: uint32 ioo_bufcnt; */
2101 lustre_dissect_element_obd_ioobj_ioo_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2103 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_id);
2109 lustre_dissect_element_obd_ioobj_ioo_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2111 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_seq);
2117 lustre_dissect_element_obd_ioobj_ioo_max_brw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2119 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_max_brw);
2125 lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2127 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_bufcnt);
2133 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_)
2135 proto_item *item = NULL;
2136 proto_tree *tree = NULL;
2144 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2145 tree = proto_item_add_subtree(item, ett_lustre_obd_ioobj);
2148 offset=lustre_dissect_element_obd_ioobj_ioo_id(tvb, offset, pinfo, tree);
2150 offset=lustre_dissect_element_obd_ioobj_ioo_seq(tvb, offset, pinfo, tree);
2152 offset=lustre_dissect_element_obd_ioobj_ioo_max_brw(tvb, offset, pinfo, tree);
2154 offset=lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvb, offset, pinfo, tree);
2157 proto_item_set_len(item, offset-old_offset);
2162 /* IDL: struct niobuf_remote { */
2163 /* IDL: uint64 offset; */
2164 /* IDL: uint32 len; */
2165 /* IDL: uint32 flags; */
2169 lustre_dissect_element_niobuf_remote_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2171 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_offset);
2177 lustre_dissect_element_niobuf_remote_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2179 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_len);
2185 lustre_dissect_element_niobuf_remote_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2187 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_flags);
2193 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_)
2195 proto_item *item = NULL;
2196 proto_tree *tree = NULL;
2204 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2205 tree = proto_item_add_subtree(item, ett_lustre_niobuf_remote);
2208 offset=lustre_dissect_element_niobuf_remote_offset(tvb, offset, pinfo, tree);
2210 offset=lustre_dissect_element_niobuf_remote_len(tvb, offset, pinfo, tree);
2212 offset=lustre_dissect_element_niobuf_remote_flags(tvb, offset, pinfo, tree);
2215 proto_item_set_len(item, offset-old_offset);
2220 /* IDL: struct ost_lvb { */
2221 /* IDL: uint64 lvb_size; */
2222 /* IDL: uint64 lvb_mtime; */
2223 /* IDL: uint64 lvb_atime; */
2224 /* IDL: uint64 lvb_ctime; */
2225 /* IDL: uint64 lvb_blocks; */
2229 lustre_dissect_element_ost_lvb_lvb_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2231 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_size);
2237 lustre_dissect_element_ost_lvb_lvb_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2241 ns.secs = tvb_get_letohl(tvb,offset);
2243 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_mtime, tvb, offset, 8, &ns );
2249 lustre_dissect_element_ost_lvb_lvb_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2253 ns.secs = tvb_get_letohl(tvb,offset);
2255 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_atime, tvb, offset, 8, &ns );
2262 lustre_dissect_element_ost_lvb_lvb_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2266 ns.secs = tvb_get_letohl(tvb,offset);
2268 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_ctime, tvb, offset, 8, &ns );
2275 lustre_dissect_element_ost_lvb_lvb_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2277 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_blocks);
2283 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_)
2285 proto_item *item = NULL;
2286 proto_tree *tree = NULL;
2294 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2295 tree = proto_item_add_subtree(item, ett_lustre_ost_lvb);
2298 offset=lustre_dissect_element_ost_lvb_lvb_size(tvb, offset, pinfo, tree);
2300 offset=lustre_dissect_element_ost_lvb_lvb_mtime(tvb, offset, pinfo, tree);
2302 offset=lustre_dissect_element_ost_lvb_lvb_atime(tvb, offset, pinfo, tree);
2304 offset=lustre_dissect_element_ost_lvb_lvb_ctime(tvb, offset, pinfo, tree);
2306 offset=lustre_dissect_element_ost_lvb_lvb_blocks(tvb, offset, pinfo, tree);
2309 proto_item_set_len(item, offset-old_offset);
2315 /* IDL: struct ll_fid { */
2316 /* IDL: uint64 id; */
2317 /* IDL: uint32 generation; */
2318 /* IDL: uint32 f_type; */
2322 lustre_dissect_element_ll_fid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2324 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ll_fid_id);
2330 lustre_dissect_element_ll_fid_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2332 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_generation);
2338 lustre_dissect_element_ll_fid_f_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2340 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_f_type);
2346 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_)
2348 proto_item *item = NULL;
2349 proto_tree *tree = NULL;
2355 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2356 tree = proto_item_add_subtree(item, ett_lustre_ll_fid);
2359 offset=lustre_dissect_element_ll_fid_id(tvb, offset, pinfo, tree);
2361 offset=lustre_dissect_element_ll_fid_generation(tvb, offset, pinfo, tree);
2363 offset=lustre_dissect_element_ll_fid_f_type(tvb, offset, pinfo, tree);
2366 proto_item_set_len(item, offset-old_offset);
2371 /* IDL: struct obd_dqinfo { */
2372 /* IDL: uint64 dqi_bgrace; */
2373 /* IDL: uint64 dqi_igrace; */
2374 /* IDL: uint32 dqi_flags; */
2375 /* IDL: uint32 dqi_valid; */
2379 lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2381 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_bgrace);
2387 lustre_dissect_element_obd_dqinfo_dqi_igrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2389 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_igrace);
2395 lustre_dissect_element_obd_dqinfo_dqi_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2397 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_flags);
2403 lustre_dissect_element_obd_dqinfo_dqi_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2405 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_valid);
2411 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_)
2413 proto_item *item = NULL;
2414 proto_tree *tree = NULL;
2419 old_offset = offset;
2422 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2423 tree = proto_item_add_subtree(item, ett_lustre_obd_dqinfo);
2426 offset = lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvb, offset, pinfo, tree);
2428 offset = lustre_dissect_element_obd_dqinfo_dqi_igrace(tvb, offset, pinfo, tree);
2430 offset = lustre_dissect_element_obd_dqinfo_dqi_flags(tvb, offset, pinfo, tree);
2432 offset = lustre_dissect_element_obd_dqinfo_dqi_valid(tvb, offset, pinfo, tree);
2435 proto_item_set_len(item, offset-old_offset);
2440 /* IDL: struct obd_dqblk { */
2441 /* IDL: uint64 dqb_bhardlimit; */
2442 /* IDL: uint64 dqb_bsoftlimit; */
2443 /* IDL: uint64 dqb_curspace; */
2444 /* IDL: uint64 dqb_ihardlimit; */
2445 /* IDL: uint64 dqb_isoftlimit; */
2446 /* IDL: uint64 dqb_curinodes; */
2447 /* IDL: uint64 dqb_btime; */
2448 /* IDL: uint64 dqb_itime; */
2449 /* IDL: uint32 dqb_valid; */
2450 /* IDL: uint32 padding; */
2454 lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2456 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bhardlimit);
2462 lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2464 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bsoftlimit);
2470 lustre_dissect_element_obd_dqblk_dqb_curspace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2472 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curspace);
2478 lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2480 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_ihardlimit);
2486 lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2488 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_isoftlimit);
2494 lustre_dissect_element_obd_dqblk_dqb_curinodes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2496 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curinodes);
2502 lustre_dissect_element_obd_dqblk_dqb_btime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2507 ns.secs = tvb_get_letohl(tvb,offset);
2509 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_btime, tvb, offset, 8, &ns );
2515 lustre_dissect_element_obd_dqblk_dqb_itime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2519 ns.secs = tvb_get_letohl(tvb,offset);
2521 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_itime, tvb, offset, 8, &ns );
2528 lustre_dissect_element_obd_dqblk_dqb_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2530 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_valid);
2536 lustre_dissect_element_obd_dqblk_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2538 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_padding);
2544 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_)
2546 proto_item *item = NULL;
2547 proto_tree *tree = NULL;
2552 old_offset = offset;
2555 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2556 tree = proto_item_add_subtree(item, ett_lustre_obd_dqblk);
2559 offset = lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvb, offset, pinfo, tree);
2561 offset = lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvb, offset, pinfo, tree);
2563 offset = lustre_dissect_element_obd_dqblk_dqb_curspace(tvb, offset, pinfo, tree);
2565 offset = lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvb, offset, pinfo, tree);
2567 offset = lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvb, offset, pinfo, tree);
2569 offset = lustre_dissect_element_obd_dqblk_dqb_curinodes(tvb, offset, pinfo, tree);
2571 offset = lustre_dissect_element_obd_dqblk_dqb_btime(tvb, offset, pinfo, tree);
2573 offset = lustre_dissect_element_obd_dqblk_dqb_itime(tvb, offset, pinfo, tree);
2575 offset = lustre_dissect_element_obd_dqblk_dqb_valid(tvb, offset, pinfo, tree);
2577 offset = lustre_dissect_element_obd_dqblk_padding(tvb, offset, pinfo, tree);
2580 proto_item_set_len(item, offset-old_offset);
2586 /* IDL: struct obd_quotactl { */
2587 /* IDL: uint32 qc_cmd; */
2588 /* IDL: uint32 qc_type; */
2589 /* IDL: uint32 qc_id; */
2590 /* IDL: uint32 qc_stat; */
2591 /* IDL: struct obd_dqinfo { */
2592 /* IDL: } qc_dqinfo; */
2593 /* IDL: struct obd_dqblk { */
2594 /* IDL: } qc_dqblk; */
2598 lustre_dissect_element_obd_quotactl_qc_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2600 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_cmd);
2606 lustre_dissect_element_obd_quotactl_qc_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2608 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_type);
2614 lustre_dissect_element_obd_quotactl_qc_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2616 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_id);
2622 lustre_dissect_element_obd_quotactl_qc_stat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2624 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_stat);
2632 lustre_dissect_element_obd_quotactl_qc_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2634 offset=lustre_dissect_struct_obd_dqblk(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqblk);
2639 lustre_dissect_element_obd_quotactl_qc_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2641 offset=lustre_dissect_struct_obd_dqinfo(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqinfo);
2646 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_)
2648 proto_item *item = NULL;
2649 proto_tree *tree = NULL;
2655 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2656 tree = proto_item_add_subtree(item, ett_lustre_obd_quotactl);
2659 offset=lustre_dissect_element_obd_quotactl_qc_cmd(tvb, offset, pinfo, tree);
2661 offset=lustre_dissect_element_obd_quotactl_qc_type(tvb, offset, pinfo, tree);
2663 offset=lustre_dissect_element_obd_quotactl_qc_id(tvb, offset, pinfo, tree);
2665 offset=lustre_dissect_element_obd_quotactl_qc_stat(tvb, offset, pinfo, tree);
2667 offset=lustre_dissect_element_obd_quotactl_qc_dqinfo(tvb, offset, pinfo, tree);
2669 offset=lustre_dissect_element_obd_quotactl_qc_dqblk(tvb, offset, pinfo, tree);
2672 proto_item_set_len(item, offset-old_offset);
2678 /* IDL: struct quota_adjust_qunit { */
2679 /* IDL: uint32 qaq_flags; */
2680 /* IDL: uint32 qaq_id; */
2681 /* IDL: uint64 qaq_bunit_sz; */
2682 /* IDL: uint64 qaq_iunit_sz; */
2683 /* IDL: uint64 padding1; */
2687 lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2689 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_flags);
2695 lustre_dissect_element_quota_adjust_qunit_qaq_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2697 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_id);
2703 lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2705 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_bunit_sz);
2711 lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2713 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_iunit_sz);
2719 lustre_dissect_element_quota_adjust_qunit_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2721 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_padding1);
2727 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_)
2729 proto_item *item = NULL;
2730 proto_tree *tree = NULL;
2738 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2739 tree = proto_item_add_subtree(item, ett_lustre_quota_adjust_qunit);
2742 offset=lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvb, offset, pinfo, tree);
2744 offset=lustre_dissect_element_quota_adjust_qunit_qaq_id(tvb, offset, pinfo, tree);
2746 offset=lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvb, offset, pinfo, tree);
2748 offset=lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvb, offset, pinfo, tree);
2750 offset=lustre_dissect_element_quota_adjust_qunit_padding1(tvb, offset, pinfo, tree);
2753 proto_item_set_len(item, offset-old_offset);
2758 /* IDL: struct mdt_body { */
2759 /* IDL: struct lu_fid { */
2761 /* IDL: struct lu_fid { */
2763 /* IDL: struct lustre_handle { */
2764 /* IDL: } handle; */
2765 /* IDL: uint64 valid; */
2766 /* IDL: uint64 size; */
2767 /* IDL: uint64 mtime; */
2768 /* IDL: uint64 atime; */
2769 /* IDL: uint64 ctime; */
2770 /* IDL: uint64 blocks; */
2771 /* IDL: uint64 ioepoch; */
2772 /* IDL: uint64 ino; */
2773 /* IDL: uint32 fsuid; */
2774 /* IDL: uint32 fsgid; */
2775 /* IDL: uint32 capability; */
2776 /* IDL: uint32 mode; */
2777 /* IDL: uint32 uid; */
2778 /* IDL: uint32 gid; */
2779 /* IDL: uint32 flags; */
2780 /* IDL: uint32 rdev; */
2781 /* IDL: uint32 nlink; */
2782 /* IDL: uint32 generation; */
2783 /* IDL: uint32 suppgid; */
2784 /* IDL: uint32 eadatasize; */
2785 /* IDL: uint32 aclsize; */
2786 /* IDL: uint32 max_mdsize; */
2787 /* IDL: uint32 max_cookiesize; */
2788 /* IDL: uint32 uid_h; */
2789 /* IDL: uint32 gid_h; */
2790 /* IDL: uint32 padding_5; */
2791 /* IDL: uint64 padding_6; */
2792 /* IDL: uint64 padding_7; */
2793 /* IDL: uint64 padding_8; */
2794 /* IDL: uint64 padding_9; */
2795 /* IDL: uint64 padding_10; */
2799 lustre_dissect_element_mdt_body_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2801 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid1);
2806 lustre_dissect_element_mdt_body_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2808 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid2);
2813 lustre_dissect_element_mdt_body_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2815 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
2821 lustre_dissect_element_mdt_body_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2823 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_valid);
2829 lustre_dissect_element_mdt_body_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2831 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_size);
2837 lustre_dissect_element_mdt_body_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2841 ns.secs = tvb_get_letohl(tvb,offset);
2843 proto_tree_add_time(tree, hf_lustre_mdt_body_mtime, tvb, offset, 8, &ns );
2849 lustre_dissect_element_mdt_body_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2853 ns.secs = tvb_get_letohl(tvb,offset);
2855 proto_tree_add_time(tree, hf_lustre_mdt_body_atime, tvb, offset, 8, &ns );
2862 lustre_dissect_element_mdt_body_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2866 ns.secs = tvb_get_letohl(tvb,offset);
2868 proto_tree_add_time(tree, hf_lustre_mdt_body_ctime, tvb, offset, 8, &ns );
2874 lustre_dissect_element_mdt_body_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2876 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_blocks);
2882 lustre_dissect_element_mdt_body_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2884 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ioepoch);
2890 lustre_dissect_element_mdt_body_ino(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2892 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ino);
2898 lustre_dissect_element_mdt_body_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2900 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsuid);
2906 lustre_dissect_element_mdt_body_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2908 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsgid);
2914 lustre_dissect_element_mdt_body_capability(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2916 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_capability);
2922 lustre_dissect_element_mdt_body_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2924 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_mode);
2930 lustre_dissect_element_mdt_body_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2932 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid);
2938 lustre_dissect_element_mdt_body_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2940 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid);
2946 lustre_dissect_element_mdt_body_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2948 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_flags);
2954 lustre_dissect_element_mdt_body_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2956 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_rdev);
2962 lustre_dissect_element_mdt_body_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2964 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_nlink);
2970 lustre_dissect_element_mdt_body_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2972 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_generation);
2978 lustre_dissect_element_mdt_body_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2980 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_suppgid);
2986 lustre_dissect_element_mdt_body_eadatasize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2988 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_eadatasize);
2994 lustre_dissect_element_mdt_body_aclsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2996 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_aclsize);
3002 lustre_dissect_element_mdt_body_max_mdsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3004 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_mdsize);
3010 lustre_dissect_element_mdt_body_max_cookiesize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3012 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_cookiesize);
3018 lustre_dissect_element_mdt_body_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3020 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid_h);
3026 lustre_dissect_element_mdt_body_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3028 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid_h);
3034 lustre_dissect_element_mdt_body_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3036 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_5);
3042 lustre_dissect_element_mdt_body_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3044 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_6);
3050 lustre_dissect_element_mdt_body_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3052 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_7);
3058 lustre_dissect_element_mdt_body_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3060 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_8);
3066 lustre_dissect_element_mdt_body_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3068 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_9);
3074 lustre_dissect_element_mdt_body_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3076 offset= dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_10);
3082 lustre_dissect_struct_mdt_body(tvbuff_t *tvb _U_, int offset _U_,
3083 packet_info *pinfo _U_,
3084 proto_tree *parent_tree _U_,
3087 proto_item *item = NULL;
3088 proto_tree *tree = NULL;
3095 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3096 tree = proto_item_add_subtree(item, ett_lustre_mdt_body);
3099 offset=lustre_dissect_element_mdt_body_fid1(tvb, offset, pinfo, tree);
3101 offset=lustre_dissect_element_mdt_body_fid2(tvb, offset, pinfo, tree);
3103 offset=lustre_dissect_element_mdt_body_handle(tvb, offset, pinfo, tree);
3105 offset=lustre_dissect_element_mdt_body_valid(tvb, offset, pinfo, tree);
3107 offset=lustre_dissect_element_mdt_body_size(tvb, offset, pinfo, tree);
3109 offset=lustre_dissect_element_mdt_body_mtime(tvb, offset, pinfo, tree);
3111 offset=lustre_dissect_element_mdt_body_atime(tvb, offset, pinfo, tree);
3113 offset=lustre_dissect_element_mdt_body_ctime(tvb, offset, pinfo, tree);
3115 offset=lustre_dissect_element_mdt_body_blocks(tvb, offset, pinfo, tree);
3117 offset=lustre_dissect_element_mdt_body_ioepoch(tvb, offset, pinfo, tree);
3119 offset=lustre_dissect_element_mdt_body_ino(tvb, offset, pinfo, tree);
3121 offset=lustre_dissect_element_mdt_body_fsuid(tvb, offset, pinfo, tree);
3123 offset=lustre_dissect_element_mdt_body_fsgid(tvb, offset, pinfo, tree);
3125 offset=lustre_dissect_element_mdt_body_capability(tvb, offset, pinfo, tree);
3127 offset=lustre_dissect_element_mdt_body_mode(tvb, offset, pinfo, tree);
3129 offset=lustre_dissect_element_mdt_body_uid(tvb, offset, pinfo, tree);
3131 offset=lustre_dissect_element_mdt_body_gid(tvb, offset, pinfo, tree);
3133 offset=lustre_dissect_element_mdt_body_flags(tvb, offset, pinfo, tree);
3135 offset=lustre_dissect_element_mdt_body_rdev(tvb, offset, pinfo, tree);
3137 offset=lustre_dissect_element_mdt_body_nlink(tvb, offset, pinfo, tree);
3139 offset=lustre_dissect_element_mdt_body_generation(tvb, offset, pinfo, tree);
3141 offset=lustre_dissect_element_mdt_body_suppgid(tvb, offset, pinfo, tree);
3143 offset=lustre_dissect_element_mdt_body_eadatasize(tvb, offset, pinfo, tree);
3145 offset=lustre_dissect_element_mdt_body_aclsize(tvb, offset, pinfo, tree);
3147 offset=lustre_dissect_element_mdt_body_max_mdsize(tvb, offset, pinfo, tree);
3149 offset=lustre_dissect_element_mdt_body_max_cookiesize(tvb, offset, pinfo, tree);
3151 offset=lustre_dissect_element_mdt_body_uid_h(tvb, offset, pinfo, tree);
3153 offset=lustre_dissect_element_mdt_body_gid_h(tvb, offset, pinfo, tree);
3155 offset=lustre_dissect_element_mdt_body_padding_5(tvb, offset, pinfo, tree);
3157 offset=lustre_dissect_element_mdt_body_padding_6(tvb, offset, pinfo, tree);
3159 offset=lustre_dissect_element_mdt_body_padding_7(tvb, offset, pinfo, tree);
3161 offset=lustre_dissect_element_mdt_body_padding_8(tvb, offset, pinfo, tree);
3163 offset=lustre_dissect_element_mdt_body_padding_9(tvb, offset, pinfo, tree);
3165 offset=lustre_dissect_element_mdt_body_padding_10(tvb, offset, pinfo, tree);
3168 proto_item_set_len(item, offset-old_offset);
3173 /* I don't find where this struct appear on wire.. need to search mdc_setattr_pack() */
3174 /* IDL: struct mdt_rec_setattr { */
3175 /* IDL: uint32 sa_opcode; */
3176 /* IDL: uint32 sa_cap; */
3177 /* IDL: uint32 sa_fsuid; */
3178 /* IDL: uint32 sa_fsuid_h; */
3179 /* IDL: uint32 sa_fsgid; */
3180 /* IDL: uint32 sa_fsgid_h; */
3181 /* IDL: uint32 sa_suppgid; */
3182 /* IDL: uint32 sa_suppgid_h; */
3183 /* IDL: uint32 sa_padding_1; */
3184 /* IDL: uint32 sa_padding_1_h; */
3185 /* IDL: struct lu_fid { */
3186 /* IDL: } sa_fid; */
3187 /* IDL: uint64 sa_valid; */
3188 /* IDL: uint32 sa_uid; */
3189 /* IDL: uint32 sa_gid; */
3190 /* IDL: uint64 sa_size; */
3191 /* IDL: uint64 sa_blocks; */
3192 /* IDL: uint64 sa_mtime; */
3193 /* IDL: uint64 sa_atime; */
3194 /* IDL: uint64 sa_ctime; */
3195 /* IDL: uint32 sa_attr_flags; */
3196 /* IDL: uint32 sa_mode; */
3197 /* IDL: uint32 sa_padding_2; */
3198 /* IDL: uint32 sa_padding_3; */
3199 /* IDL: uint32 sa_padding_4; */
3200 /* IDL: uint32 sa_padding_5; */
3204 lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3206 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_opcode);
3212 lustre_dissect_element_mdt_rec_setattr_sa_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3214 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_cap);
3220 lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3222 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid);
3228 lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3230 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid_h);
3236 lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3238 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid);
3244 lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3246 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid_h);
3252 lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3254 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid);
3260 lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3262 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid_h);
3268 lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3270 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1);
3276 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_)
3278 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1_h);
3284 lustre_dissect_element_mdt_rec_setattr_sa_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3286 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setattr_sa_fid);
3292 lustre_dissect_element_mdt_rec_setattr_sa_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3294 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_valid);
3300 lustre_dissect_element_mdt_rec_setattr_sa_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3302 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_uid);
3308 lustre_dissect_element_mdt_rec_setattr_sa_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3310 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_gid);
3316 lustre_dissect_element_mdt_rec_setattr_sa_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3318 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_size);
3324 lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3326 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_blocks);
3332 lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3337 ns.secs = tvb_get_letohl(tvb,offset);
3339 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_mtime, tvb, offset, 8, &ns );
3345 lustre_dissect_element_mdt_rec_setattr_sa_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3349 ns.secs = tvb_get_letohl(tvb,offset);
3351 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_atime, tvb, offset, 8, &ns );
3357 lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3361 ns.secs = tvb_get_letohl(tvb,offset);
3363 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_ctime, tvb, offset, 8, &ns );
3369 lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3371 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_attr_flags);
3377 lustre_dissect_element_mdt_rec_setattr_sa_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3379 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_mode);
3385 lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3387 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_2);
3393 lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3395 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_3);
3401 lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3403 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_4);
3409 lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3411 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_5);
3417 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_)
3419 proto_item *item = NULL;
3420 proto_tree *tree = NULL;
3429 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3430 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setattr);
3432 sa_opcode=tvb_get_letohl(tvb,offset);
3433 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sa_opcode, lustre_mds_reint_t_vals, "Unknown sa_opc"));
3435 offset=lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvb, offset, pinfo, tree);
3437 offset=lustre_dissect_element_mdt_rec_setattr_sa_cap(tvb, offset, pinfo, tree);
3439 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvb, offset, pinfo, tree);
3441 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvb, offset, pinfo, tree);
3443 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvb, offset, pinfo, tree);
3445 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvb, offset, pinfo, tree);
3447 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvb, offset, pinfo, tree);
3449 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvb, offset, pinfo, tree);
3451 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvb, offset, pinfo, tree);
3453 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvb, offset, pinfo, tree);
3455 offset=lustre_dissect_element_mdt_rec_setattr_sa_fid(tvb, offset, pinfo, tree);
3457 offset=lustre_dissect_element_mdt_rec_setattr_sa_valid(tvb, offset, pinfo, tree);
3459 offset=lustre_dissect_element_mdt_rec_setattr_sa_uid(tvb, offset, pinfo, tree);
3461 offset=lustre_dissect_element_mdt_rec_setattr_sa_gid(tvb, offset, pinfo, tree);
3463 offset=lustre_dissect_element_mdt_rec_setattr_sa_size(tvb, offset, pinfo, tree);
3465 offset=lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvb, offset, pinfo, tree);
3467 offset=lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvb, offset, pinfo, tree);
3469 offset=lustre_dissect_element_mdt_rec_setattr_sa_atime(tvb, offset, pinfo, tree);
3471 offset=lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvb, offset, pinfo, tree);
3473 offset=lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvb, offset, pinfo, tree);
3475 offset=lustre_dissect_element_mdt_rec_setattr_sa_mode(tvb, offset, pinfo, tree);
3477 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvb, offset, pinfo, tree);
3479 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvb, offset, pinfo, tree);
3481 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvb, offset, pinfo, tree);
3483 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvb, offset, pinfo, tree);
3486 proto_item_set_len(item, offset-old_offset);
3491 /* IDL: struct mdt_rec_create { */
3492 /* IDL: uint32 cr_opcode; */
3493 /* IDL: uint32 cr_cap; */
3494 /* IDL: uint32 cr_fsuid; */
3495 /* IDL: uint32 cr_fsuid_h; */
3496 /* IDL: uint32 cr_fsgid; */
3497 /* IDL: uint32 cr_fsgid_h; */
3498 /* IDL: uint32 cr_suppgid1; */
3499 /* IDL: uint32 cr_suppgid1_h; */
3500 /* IDL: uint32 cr_suppgid2; */
3501 /* IDL: uint32 cr_suppgid2_h; */
3502 /* IDL: struct lu_fid { */
3503 /* IDL: } cr_fid1; */
3504 /* IDL: struct lu_fid { */
3505 /* IDL: } cr_fid2; */
3506 /* IDL: struct lustre_handle { */
3507 /* IDL: } cr_old_handle; */
3508 /* IDL: uint64 cr_time; */
3509 /* IDL: uint64 cr_rdev; */
3510 /* IDL: uint64 cr_ioepoch; */
3511 /* IDL: uint64 cr_padding_1; */
3512 /* IDL: uint32 cr_mode; */
3513 /* IDL: uint32 cr_bias; */
3514 /* IDL: uint32 cr_flags_l; */
3515 /* IDL: uint32 cr_flags_h; */
3516 /* IDL: uint32 cr_umask; */
3517 /* IDL: uint32 cr_padding_4; */
3521 lustre_dissect_element_mdt_rec_create_cr_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3523 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_opcode);
3529 lustre_dissect_element_mdt_rec_create_cr_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3531 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_cap);
3537 lustre_dissect_element_mdt_rec_create_cr_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3539 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid);
3545 lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3547 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid_h);
3553 lustre_dissect_element_mdt_rec_create_cr_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3555 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid);
3561 lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3563 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid_h);
3569 lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3571 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1);
3577 lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3579 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1_h);
3585 lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3587 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2);
3593 lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3595 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2_h);
3601 lustre_dissect_element_mdt_rec_create_cr_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3603 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid1);
3608 lustre_dissect_element_mdt_rec_create_cr_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3610 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid2);
3615 lustre_dissect_element_mdt_rec_create_cr_old_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3617 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_old_handle);
3622 lustre_dissect_element_mdt_rec_create_cr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3626 ns.secs = tvb_get_letohl(tvb,offset);
3628 proto_tree_add_time(tree, hf_lustre_mdt_rec_create_cr_time, tvb, offset, 8, &ns );
3635 lustre_dissect_element_mdt_rec_create_cr_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3637 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_rdev);
3643 lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3645 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_ioepoch);
3651 lustre_dissect_element_mdt_rec_create_cr_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3653 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_1);
3659 lustre_dissect_element_mdt_rec_create_cr_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3661 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_mode);
3667 lustre_dissect_element_mdt_rec_create_cr_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3669 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_bias);
3675 lustre_dissect_element_mdt_rec_create_cr_flags_l(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3677 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_l);
3683 lustre_dissect_element_mdt_rec_create_cr_flags_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3685 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_h);
3691 lustre_dissect_element_mdt_rec_create_cr_umask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3693 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_umask);
3699 lustre_dissect_element_mdt_rec_create_cr_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3701 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_4);
3707 lustre_dissect_struct_mdt_rec_create(tvbuff_t *tvb _U_, int offset _U_,
3708 packet_info *pinfo _U_,
3709 proto_tree *parent_tree _U_,
3712 proto_item *item = NULL;
3713 proto_tree *tree = NULL;
3720 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3721 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_create);
3723 cr_opcode=tvb_get_letohl(tvb,offset);
3724 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(cr_opcode, lustre_mds_reint_t_vals, "Unknown cr_opc"));
3726 offset=lustre_dissect_element_mdt_rec_create_cr_opcode(tvb, offset, pinfo, tree);
3728 offset=lustre_dissect_element_mdt_rec_create_cr_cap(tvb, offset, pinfo, tree);
3730 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid(tvb, offset, pinfo, tree);
3732 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvb, offset, pinfo, tree);
3734 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid(tvb, offset, pinfo, tree);
3736 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvb, offset, pinfo, tree);
3738 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvb, offset, pinfo, tree);
3740 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvb, offset, pinfo, tree);
3742 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvb, offset, pinfo, tree);
3744 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvb, offset, pinfo, tree);
3746 offset=lustre_dissect_element_mdt_rec_create_cr_fid1(tvb, offset, pinfo, tree);
3748 offset=lustre_dissect_element_mdt_rec_create_cr_fid2(tvb, offset, pinfo, tree);
3750 offset=lustre_dissect_element_mdt_rec_create_cr_old_handle(tvb, offset, pinfo, tree);
3752 offset=lustre_dissect_element_mdt_rec_create_cr_time(tvb, offset, pinfo, tree);
3754 offset=lustre_dissect_element_mdt_rec_create_cr_rdev(tvb, offset, pinfo, tree);
3756 offset=lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvb, offset, pinfo, tree);
3758 offset=lustre_dissect_element_mdt_rec_create_cr_padding_1(tvb, offset, pinfo, tree);
3760 offset=lustre_dissect_element_mdt_rec_create_cr_mode(tvb, offset, pinfo, tree);
3762 offset=lustre_dissect_element_mdt_rec_create_cr_bias(tvb, offset, pinfo, tree);
3764 offset=lustre_dissect_element_mdt_rec_create_cr_flags_l(tvb, offset, pinfo, tree);
3766 offset=lustre_dissect_element_mdt_rec_create_cr_flags_h(tvb, offset, pinfo, tree);
3768 offset=lustre_dissect_element_mdt_rec_create_cr_umask(tvb, offset, pinfo, tree);
3770 offset=lustre_dissect_element_mdt_rec_create_cr_padding_4(tvb, offset, pinfo, tree);
3772 proto_item_set_len(item, offset-old_offset);
3777 /* TODO : find where this structure appear ! */
3778 /* IDL: struct mdt_rec_link { */
3779 /* IDL: uint32 lk_opcode; */
3780 /* IDL: uint32 lk_cap; */
3781 /* IDL: uint32 lk_fsuid; */
3782 /* IDL: uint32 lk_fsuid_h; */
3783 /* IDL: uint32 lk_fsgid; */
3784 /* IDL: uint32 lk_fsgid_h; */
3785 /* IDL: uint32 lk_suppgid1; */
3786 /* IDL: uint32 lk_suppgid1_h; */
3787 /* IDL: uint32 lk_suppgid2; */
3788 /* IDL: uint32 lk_suppgid2_h; */
3789 /* IDL: struct lu_fid { */
3790 /* IDL: } lk_fid1; */
3791 /* IDL: struct lu_fid { */
3792 /* IDL: } lk_fid2; */
3793 /* IDL: uint64 lk_time; */
3794 /* IDL: uint64 lk_padding_1; */
3795 /* IDL: uint64 lk_padding_2; */
3796 /* IDL: uint64 lk_padding_3; */
3797 /* IDL: uint64 lk_padding_4; */
3798 /* IDL: uint32 lk_bias; */
3799 /* IDL: uint32 lk_padding_5; */
3800 /* IDL: uint32 lk_padding_6; */
3801 /* IDL: uint32 lk_padding_7; */
3802 /* IDL: uint32 lk_padding_8; */
3803 /* IDL: uint32 lk_padding_9; */
3807 lustre_dissect_element_mdt_rec_link_lk_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3809 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_opcode);
3815 lustre_dissect_element_mdt_rec_link_lk_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3817 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_cap);
3823 lustre_dissect_element_mdt_rec_link_lk_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3825 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid);
3831 lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3833 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid_h);
3839 lustre_dissect_element_mdt_rec_link_lk_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3841 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid);
3847 lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3849 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid_h);
3855 lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3857 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1);
3863 lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3865 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1_h);
3871 lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3873 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2);
3879 lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3881 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2_h);
3887 lustre_dissect_element_mdt_rec_link_lk_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3889 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid1);
3894 lustre_dissect_element_mdt_rec_link_lk_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3896 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid2);
3901 lustre_dissect_element_mdt_rec_link_lk_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3905 ns.secs = tvb_get_letohl(tvb,offset);
3907 proto_tree_add_time(tree, hf_lustre_mdt_rec_link_lk_time, tvb, offset, 8, &ns );
3913 lustre_dissect_element_mdt_rec_link_lk_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3915 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_1);
3921 lustre_dissect_element_mdt_rec_link_lk_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3923 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_2);
3929 lustre_dissect_element_mdt_rec_link_lk_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3931 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_3);
3937 lustre_dissect_element_mdt_rec_link_lk_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3939 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_4);
3945 lustre_dissect_element_mdt_rec_link_lk_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3947 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_bias);
3953 lustre_dissect_element_mdt_rec_link_lk_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3955 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_5);
3961 lustre_dissect_element_mdt_rec_link_lk_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3963 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_6);
3969 lustre_dissect_element_mdt_rec_link_lk_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3971 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_7);
3977 lustre_dissect_element_mdt_rec_link_lk_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3979 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_8);
3985 lustre_dissect_element_mdt_rec_link_lk_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3987 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_9);
3993 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_)
3995 proto_item *item = NULL;
3996 proto_tree *tree = NULL;
4005 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4006 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_link);
4008 lk_opcode=tvb_get_letohl(tvb,offset);
4009 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lk_opcode, lustre_mds_reint_t_vals, "Unknown lk_opc"));
4011 offset=lustre_dissect_element_mdt_rec_link_lk_opcode(tvb, offset, pinfo, tree);
4013 offset=lustre_dissect_element_mdt_rec_link_lk_cap(tvb, offset, pinfo, tree);
4015 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid(tvb, offset, pinfo, tree);
4017 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvb, offset, pinfo, tree);
4019 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid(tvb, offset, pinfo, tree);
4021 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvb, offset, pinfo, tree);
4023 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvb, offset, pinfo, tree);
4025 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvb, offset, pinfo, tree);
4027 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvb, offset, pinfo, tree);
4029 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvb, offset, pinfo, tree);
4031 offset=lustre_dissect_element_mdt_rec_link_lk_fid1(tvb, offset, pinfo, tree);
4033 offset=lustre_dissect_element_mdt_rec_link_lk_fid2(tvb, offset, pinfo, tree);
4035 offset=lustre_dissect_element_mdt_rec_link_lk_time(tvb, offset, pinfo, tree);
4037 offset=lustre_dissect_element_mdt_rec_link_lk_padding_1(tvb, offset, pinfo, tree);
4039 offset=lustre_dissect_element_mdt_rec_link_lk_padding_2(tvb, offset, pinfo, tree);
4041 offset=lustre_dissect_element_mdt_rec_link_lk_padding_3(tvb, offset, pinfo, tree);
4043 offset=lustre_dissect_element_mdt_rec_link_lk_padding_4(tvb, offset, pinfo, tree);
4045 offset=lustre_dissect_element_mdt_rec_link_lk_bias(tvb, offset, pinfo, tree);
4047 offset=lustre_dissect_element_mdt_rec_link_lk_padding_5(tvb, offset, pinfo, tree);
4049 offset=lustre_dissect_element_mdt_rec_link_lk_padding_6(tvb, offset, pinfo, tree);
4051 offset=lustre_dissect_element_mdt_rec_link_lk_padding_7(tvb, offset, pinfo, tree);
4053 offset=lustre_dissect_element_mdt_rec_link_lk_padding_8(tvb, offset, pinfo, tree);
4055 offset=lustre_dissect_element_mdt_rec_link_lk_padding_9(tvb, offset, pinfo, tree);
4058 proto_item_set_len(item, offset-old_offset);
4063 /* IDL: struct mdt_rec_unlink { */
4064 /* IDL: uint32 ul_opcode; */
4065 /* IDL: uint32 ul_cap; */
4066 /* IDL: uint32 ul_fsuid; */
4067 /* IDL: uint32 ul_fsuid_h; */
4068 /* IDL: uint32 ul_fsgid; */
4069 /* IDL: uint32 ul_fsgid_h; */
4070 /* IDL: uint32 ul_suppgid1; */
4071 /* IDL: uint32 ul_suppgid1_h; */
4072 /* IDL: uint32 ul_suppgid2; */
4073 /* IDL: uint32 ul_suppgid2_h; */
4074 /* IDL: struct lu_fid { */
4075 /* IDL: } ul_fid1; */
4076 /* IDL: struct lu_fid { */
4077 /* IDL: } ul_fid2; */
4078 /* IDL: uint64 ul_time; */
4079 /* IDL: uint64 ul_padding_2; */
4080 /* IDL: uint64 ul_padding_3; */
4081 /* IDL: uint64 ul_padding_4; */
4082 /* IDL: uint64 ul_padding_5; */
4083 /* IDL: uint32 ul_bias; */
4084 /* IDL: uint32 ul_mode; */
4085 /* IDL: uint32 ul_padding_6; */
4086 /* IDL: uint32 ul_padding_7; */
4087 /* IDL: uint32 ul_padding_8; */
4088 /* IDL: uint32 ul_padding_9; */
4092 lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4094 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_opcode);
4100 lustre_dissect_element_mdt_rec_unlink_ul_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4102 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_cap);
4108 lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4110 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid);
4116 lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4118 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid_h);
4124 lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4126 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid);
4132 lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4134 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid_h);
4140 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4142 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1);
4148 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4150 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1_h);
4156 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4158 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2);
4164 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4166 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2_h);
4172 lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4174 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid1);
4179 lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4181 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid2);
4186 lustre_dissect_element_mdt_rec_unlink_ul_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4190 ns.secs = tvb_get_letohl(tvb,offset);
4192 proto_tree_add_time(tree,hf_lustre_mdt_rec_unlink_ul_time , tvb, offset, 8, &ns );
4198 lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4200 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_2);
4206 lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4208 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_3);
4214 lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4216 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_4);
4222 lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4224 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_5);
4230 lustre_dissect_element_mdt_rec_unlink_ul_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4232 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_bias);
4238 lustre_dissect_element_mdt_rec_unlink_ul_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4240 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_mode);
4246 lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4248 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_6);
4254 lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4256 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_7);
4262 lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4264 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_8);
4270 lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4272 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_9);
4278 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_)
4280 proto_item *item = NULL;
4281 proto_tree *tree = NULL;
4290 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4291 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_unlink);
4294 ul_opcode=tvb_get_letohl(tvb,offset);
4295 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(ul_opcode, lustre_mds_reint_t_vals, "Unknown ul_opc"));
4297 offset=lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvb, offset, pinfo, tree);
4299 offset=lustre_dissect_element_mdt_rec_unlink_ul_cap(tvb, offset, pinfo, tree);
4301 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvb, offset, pinfo, tree);
4303 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvb, offset, pinfo, tree);
4305 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvb, offset, pinfo, tree);
4307 offset=lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvb, offset, pinfo, tree);
4309 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvb, offset, pinfo, tree);
4311 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvb, offset, pinfo, tree);
4313 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvb, offset, pinfo, tree);
4315 offset=lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvb, offset, pinfo, tree);
4317 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvb, offset, pinfo, tree);
4319 offset=lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvb, offset, pinfo, tree);
4321 offset=lustre_dissect_element_mdt_rec_unlink_ul_time(tvb, offset, pinfo, tree);
4323 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvb, offset, pinfo, tree);
4325 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvb, offset, pinfo, tree);
4327 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvb, offset, pinfo, tree);
4329 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvb, offset, pinfo, tree);
4331 offset=lustre_dissect_element_mdt_rec_unlink_ul_bias(tvb, offset, pinfo, tree);
4333 offset=lustre_dissect_element_mdt_rec_unlink_ul_mode(tvb, offset, pinfo, tree);
4335 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvb, offset, pinfo, tree);
4337 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvb, offset, pinfo, tree);
4339 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvb, offset, pinfo, tree);
4341 offset=lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvb, offset, pinfo, tree);
4344 proto_item_set_len(item, offset-old_offset);
4349 /* IDL: struct mdt_rec_rename { */
4350 /* IDL: uint32 rn_opcode; */
4351 /* IDL: uint32 rn_fsuid; */
4352 /* IDL: uint32 rn_fsgid; */
4353 /* IDL: uint32 rn_cap; */
4354 /* IDL: uint32 rn_suppgid1; */
4355 /* IDL: uint32 rn_suppgid2; */
4356 /* IDL: struct ll_fid { */
4357 /* IDL: } rn_fid1; */
4358 /* IDL: struct ll_fid { */
4359 /* IDL: } rn_fid2; */
4360 /* IDL: uint64 rn_time; */
4361 /* IDL: uint32 rn_padding_1; */
4362 /* IDL: uint32 rn_padding_2; */
4363 /* IDL: uint32 rn_padding_3; */
4364 /* IDL: uint32 rn_padding_4; */
4368 lustre_dissect_element_mdt_rec_rename_rn_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4370 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_opcode);
4376 lustre_dissect_element_mdt_rec_rename_rn_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4378 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_cap);
4384 lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4386 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid);
4392 lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4394 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsuid_h);
4400 lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4402 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid);
4408 lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4410 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_fsgid_h);
4416 lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4418 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1);
4424 lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4426 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid1_h);
4432 lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4434 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2);
4440 lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4442 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_suppgid2_h);
4448 lustre_dissect_element_mdt_rec_rename_rn_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4450 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid1);
4455 lustre_dissect_element_mdt_rec_rename_rn_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4457 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_rename_rn_fid2);
4462 lustre_dissect_element_mdt_rec_rename_rn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4466 ns.secs = tvb_get_letohl(tvb,offset);
4468 proto_tree_add_time(tree, hf_lustre_mdt_rec_rename_rn_time, tvb, offset, 8, &ns );
4474 lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4476 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_1);
4482 lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4484 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_2);
4490 lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4492 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_3);
4498 lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4500 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_4);
4506 lustre_dissect_element_mdt_rec_rename_rn_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4508 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_bias);
4514 lustre_dissect_element_mdt_rec_rename_rn_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4516 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_mode);
4522 lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4524 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_5);
4530 lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4532 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_6);
4538 lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4540 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_7);
4546 lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4548 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename_rn_padding_8);
4554 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_)
4556 proto_item *item = NULL;
4557 proto_tree *tree = NULL;
4566 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4567 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_rename);
4570 rn_opcode=tvb_get_letohl(tvb,offset);
4571 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(rn_opcode, lustre_mds_reint_t_vals, "Unknown rn_opc"));
4573 offset=lustre_dissect_element_mdt_rec_rename_rn_opcode(tvb, offset, pinfo, tree);
4575 offset=lustre_dissect_element_mdt_rec_rename_rn_cap(tvb, offset, pinfo, tree);
4577 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid(tvb, offset, pinfo, tree);
4579 offset=lustre_dissect_element_mdt_rec_rename_rn_fsuid_h(tvb, offset, pinfo, tree);
4581 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid(tvb, offset, pinfo, tree);
4583 offset=lustre_dissect_element_mdt_rec_rename_rn_fsgid_h(tvb, offset, pinfo, tree);
4585 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1(tvb, offset, pinfo, tree);
4587 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid1_h(tvb, offset, pinfo, tree);
4589 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2(tvb, offset, pinfo, tree);
4591 offset=lustre_dissect_element_mdt_rec_rename_rn_suppgid2_h(tvb, offset, pinfo, tree);
4593 offset=lustre_dissect_element_mdt_rec_rename_rn_fid1(tvb, offset, pinfo, tree);
4595 offset=lustre_dissect_element_mdt_rec_rename_rn_fid2(tvb, offset, pinfo, tree);
4597 offset=lustre_dissect_element_mdt_rec_rename_rn_time(tvb, offset, pinfo, tree);
4599 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_1(tvb, offset, pinfo, tree);
4601 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_2(tvb, offset, pinfo, tree);
4603 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_3(tvb, offset, pinfo, tree);
4605 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_4(tvb, offset, pinfo, tree);
4607 offset=lustre_dissect_element_mdt_rec_rename_rn_bias(tvb, offset, pinfo, tree);
4609 offset=lustre_dissect_element_mdt_rec_rename_rn_mode(tvb, offset, pinfo, tree);
4611 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_5(tvb, offset, pinfo, tree);
4613 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_6(tvb, offset, pinfo, tree);
4615 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_7(tvb, offset, pinfo, tree);
4617 offset=lustre_dissect_element_mdt_rec_rename_rn_padding_8(tvb, offset, pinfo, tree);
4620 proto_item_set_len(item, offset-old_offset);
4625 /* I don't find where this struct appear on wire.. need to search mdc_setxattr_pack() */
4626 /* IDL: struct mdt_rec_setxattr { */
4627 /* IDL: uint32 sx_opcode; */
4628 /* IDL: uint32 sx_cap; */
4629 /* IDL: uint32 sx_fsuid; */
4630 /* IDL: uint32 sx_fsuid_h; */
4631 /* IDL: uint32 sx_fsgid; */
4632 /* IDL: uint32 sx_fsgid_h; */
4633 /* IDL: uint32 sx_suppgid1; */
4634 /* IDL: uint32 sx_suppgid1_h; */
4635 /* IDL: uint32 sx_suppgid2; */
4636 /* IDL: uint32 sx_suppgid2_h; */
4637 /* IDL: struct lu_fid { */
4638 /* IDL: } sx_fid; */
4639 /* IDL: uint64 sx_padding_1; */
4640 /* IDL: uint32 sx_padding_2; */
4641 /* IDL: uint32 sx_padding_3; */
4642 /* IDL: uint64 sx_valid; */
4643 /* IDL: uint64 sx_time; */
4644 /* IDL: uint64 sx_padding_5; */
4645 /* IDL: uint64 sx_padding_6; */
4646 /* IDL: uint64 sx_padding_7; */
4647 /* IDL: uint32 sx_size; */
4648 /* IDL: uint32 sx_flags; */
4649 /* IDL: uint32 sx_padding_8; */
4650 /* IDL: uint32 sx_padding_9; */
4651 /* IDL: uint32 sx_padding_10; */
4652 /* IDL: uint32 sx_padding_11; */
4656 lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4658 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_opcode);
4664 lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4666 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_cap);
4672 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4674 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid);
4680 lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4682 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsuid_h);
4688 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4690 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid);
4696 lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4698 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_fsgid_h);
4704 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4706 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1);
4712 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4714 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid1_h);
4720 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4722 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2);
4728 lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4730 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_suppgid2_h);
4736 lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4738 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setxattr_sx_fid);
4744 lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4746 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_1);
4752 lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4754 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_2);
4760 lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4762 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_3);
4768 lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4770 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_valid);
4776 lustre_dissect_element_mdt_rec_setxattr_sx_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4781 ns.secs = tvb_get_letohl(tvb,offset);
4783 proto_tree_add_time(tree, hf_lustre_mdt_rec_setxattr_sx_time, tvb, offset, 8, &ns );
4789 lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4791 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_5);
4797 lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4799 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_6);
4805 lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4807 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_7);
4813 lustre_dissect_element_mdt_rec_setxattr_sx_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4815 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_size);
4821 lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4823 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_flags);
4829 lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4831 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_8);
4837 lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4839 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_9);
4845 lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4847 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_10);
4853 lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4855 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr_sx_padding_11);
4861 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_)
4863 proto_item *item = NULL;
4864 proto_tree *tree = NULL;
4873 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4874 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setxattr);
4876 sx_opcode=tvb_get_letohl(tvb,offset);
4877 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sx_opcode, lustre_mds_reint_t_vals, "Unknown sx_opc"));
4879 offset=lustre_dissect_element_mdt_rec_setxattr_sx_opcode(tvb, offset, pinfo, tree);
4881 offset=lustre_dissect_element_mdt_rec_setxattr_sx_cap(tvb, offset, pinfo, tree);
4883 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid(tvb, offset, pinfo, tree);
4885 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsuid_h(tvb, offset, pinfo, tree);
4887 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid(tvb, offset, pinfo, tree);
4889 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fsgid_h(tvb, offset, pinfo, tree);
4891 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1(tvb, offset, pinfo, tree);
4893 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid1_h(tvb, offset, pinfo, tree);
4895 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2(tvb, offset, pinfo, tree);
4897 offset=lustre_dissect_element_mdt_rec_setxattr_sx_suppgid2_h(tvb, offset, pinfo, tree);
4899 offset=lustre_dissect_element_mdt_rec_setxattr_sx_fid(tvb, offset, pinfo, tree);
4901 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_1(tvb, offset, pinfo, tree);
4903 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_2(tvb, offset, pinfo, tree);
4905 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_3(tvb, offset, pinfo, tree);
4907 offset=lustre_dissect_element_mdt_rec_setxattr_sx_valid(tvb, offset, pinfo, tree);
4909 offset=lustre_dissect_element_mdt_rec_setxattr_sx_time(tvb, offset, pinfo, tree);
4911 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_5(tvb, offset, pinfo, tree);
4913 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_6(tvb, offset, pinfo, tree);
4915 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_7(tvb, offset, pinfo, tree);
4917 offset=lustre_dissect_element_mdt_rec_setxattr_sx_size(tvb, offset, pinfo, tree);
4919 offset=lustre_dissect_element_mdt_rec_setxattr_sx_flags(tvb, offset, pinfo, tree);
4921 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_8(tvb, offset, pinfo, tree);
4923 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_9(tvb, offset, pinfo, tree);
4925 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_10(tvb, offset, pinfo, tree);
4927 offset=lustre_dissect_element_mdt_rec_setxattr_sx_padding_11(tvb, offset, pinfo, tree);
4930 proto_item_set_len(item, offset-old_offset);
4936 /* TODO : find where this structure appear */
4938 /* IDL: struct lov_desc { */
4939 /* IDL: uint32 ld_tgt_count; */
4940 /* IDL: uint32 ld_active_tgt_count; */
4941 /* IDL: uint32 ld_default_stripe_count; */
4942 /* IDL: uint32 ld_pattern; */
4943 /* IDL: uint64 ld_default_stripe_size; */
4944 /* IDL: uint64 ld_default_stripe_offset; */
4945 /* IDL: uint32 ld_padding_0; */
4946 /* IDL: uint32 ld_qos_maxage; */
4947 /* IDL: uint32 ld_padding_1; */
4948 /* IDL: uint32 ld_padding_2; */
4949 /* IDL: struct obd_uuid { */
4950 /* IDL: } ld_uuid; */
4954 lustre_dissect_element_lov_desc_ld_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4956 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_tgt_count);
4962 lustre_dissect_element_lov_desc_ld_active_tgt_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4964 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_active_tgt_count);
4970 lustre_dissect_element_lov_desc_ld_default_stripe_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4972 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_count);
4978 lustre_dissect_element_lov_desc_ld_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4980 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_pattern);
4986 lustre_dissect_element_lov_desc_ld_default_stripe_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4988 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_size);
4994 lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4996 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_default_stripe_offset);
5002 lustre_dissect_element_lov_desc_ld_padding_0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5004 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_0);
5010 lustre_dissect_element_lov_desc_ld_qos_maxage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5012 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_qos_maxage);
5018 lustre_dissect_element_lov_desc_ld_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5020 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_1);
5026 lustre_dissect_element_lov_desc_ld_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5028 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_desc_ld_padding_2);
5034 lustre_dissect_element_lov_desc_ld_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5036 //offset=lustre_dissect_struct_HASH(0x85bade8)(tvb,offset,pinfo,tree,hf_lustre_lov_desc_ld_uuid);
5041 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_)
5043 proto_item *item = NULL;
5044 proto_tree *tree = NULL;
5052 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5053 tree = proto_item_add_subtree(item, ett_lustre_lov_desc);
5056 offset=lustre_dissect_element_lov_desc_ld_tgt_count(tvb, offset, pinfo, tree);
5058 offset=lustre_dissect_element_lov_desc_ld_active_tgt_count(tvb, offset, pinfo, tree);
5060 offset=lustre_dissect_element_lov_desc_ld_default_stripe_count(tvb, offset, pinfo, tree);
5062 offset=lustre_dissect_element_lov_desc_ld_pattern(tvb, offset, pinfo, tree);
5064 offset=lustre_dissect_element_lov_desc_ld_default_stripe_size(tvb, offset, pinfo, tree);
5066 offset=lustre_dissect_element_lov_desc_ld_default_stripe_offset(tvb, offset, pinfo, tree);
5068 offset=lustre_dissect_element_lov_desc_ld_padding_0(tvb, offset, pinfo, tree);
5070 offset=lustre_dissect_element_lov_desc_ld_qos_maxage(tvb, offset, pinfo, tree);
5072 offset=lustre_dissect_element_lov_desc_ld_padding_1(tvb, offset, pinfo, tree);
5074 offset=lustre_dissect_element_lov_desc_ld_padding_2(tvb, offset, pinfo, tree);
5076 offset=lustre_dissect_element_lov_desc_ld_uuid(tvb, offset, pinfo, tree);
5079 proto_item_set_len(item, offset-old_offset);
5084 /* IDL: struct obd_uuid { */
5085 /* char uuid[40]; */
5089 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_)
5091 /* the lenght of the string is 40 bytes max, with \0 inside */
5092 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 40, TRUE);
5100 /* IDL: struct ldlm_res_id { */
5101 /* IDL: uint64 name[4]; */
5105 lustre_dissect_element_ldlm_res_id_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5107 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_res_id_name);
5113 lustre_dissect_element_ldlm_res_id_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5116 for (i = 0; i < 4; i++)
5117 offset=lustre_dissect_element_ldlm_res_id_name_(tvb, offset, pinfo, tree);
5125 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_)
5127 proto_item *item = NULL;
5128 proto_tree *tree = NULL;
5136 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5137 tree = proto_item_add_subtree(item, ett_lustre_ldlm_res_id);
5140 offset=lustre_dissect_element_ldlm_res_id_name(tvb, offset, pinfo, tree);
5143 proto_item_set_len(item, offset-old_offset);
5150 /* IDL: LCK_MINMODE=0, */
5151 /* IDL: LCK_EX=1, */
5152 /* IDL: LCK_PW=2, */
5153 /* IDL: LCK_PR=4, */
5154 /* IDL: LCK_CW=8, */
5155 /* IDL: LCK_CR=16, */
5156 /* IDL: LCK_NL=32, */
5157 /* IDL: LCK_GROUP=64, */
5158 /* IDL: LCK_MAXMODE, */
5162 lustre_dissect_enum_ldlm_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
5164 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_index);
5170 /* IDL: LDLM_PLAIN=10, */
5171 /* IDL: LDLM_EXTENT=11, */
5172 /* IDL: LDLM_FLOCK=12, */
5173 /* IDL: LDLM_IBITS=13, */
5174 /* IDL: LDLM_MAX_TYPE, */
5178 lustre_dissect_enum_ldlm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_)
5180 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type );
5184 /* IDL: struct ldlm_extent { */
5185 /* IDL: uint64 start; */
5186 /* IDL: uint64 end; */
5187 /* IDL: uint64 gid; */
5191 lustre_dissect_element_ldlm_extent_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5193 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_start);
5199 lustre_dissect_element_ldlm_extent_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5201 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_end);
5207 lustre_dissect_element_ldlm_extent_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5209 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_extent_gid);
5215 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_)
5217 proto_item *item = NULL;
5218 proto_tree *tree = NULL;
5226 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5227 tree = proto_item_add_subtree(item, ett_lustre_ldlm_extent);
5230 offset=lustre_dissect_element_ldlm_extent_start(tvb, offset, pinfo, tree);
5232 offset=lustre_dissect_element_ldlm_extent_end(tvb, offset, pinfo, tree);
5234 offset=lustre_dissect_element_ldlm_extent_gid(tvb, offset, pinfo, tree);
5237 proto_item_set_len(item, offset-old_offset);
5242 /* IDL: struct ldlm_inodebits { */
5243 /* IDL: uint64 bits; */
5247 lustre_dissect_element_ldlm_inodebits_bits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5249 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_inodebits_bits);
5255 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_)
5257 proto_item *item = NULL;
5258 proto_tree *tree = NULL;
5266 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5267 tree = proto_item_add_subtree(item, ett_lustre_ldlm_inodebits);
5270 offset=lustre_dissect_element_ldlm_inodebits_bits(tvb, offset, pinfo, tree);
5273 proto_item_set_len(item, offset-old_offset);
5278 /* IDL: struct ldlm_flock { */
5279 /* IDL: uint64 start; */
5280 /* IDL: uint64 end; */
5281 /* IDL: uint64 blocking_export; */
5282 /* IDL: uint32 blocking_pid; */
5283 /* IDL: uint32 pid; */
5287 lustre_dissect_element_ldlm_flock_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5289 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_start);
5295 lustre_dissect_element_ldlm_flock_end(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5297 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_end);
5303 lustre_dissect_element_ldlm_flock_blocking_export(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5305 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_export);
5311 lustre_dissect_element_ldlm_flock_blocking_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5313 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_blocking_pid);
5319 lustre_dissect_element_ldlm_flock_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5321 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_flock_pid);
5327 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_)
5329 proto_item *item = NULL;
5330 proto_tree *tree = NULL;
5338 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5339 tree = proto_item_add_subtree(item, ett_lustre_ldlm_flock);
5342 offset=lustre_dissect_element_ldlm_flock_start(tvb, offset, pinfo, tree);
5344 offset=lustre_dissect_element_ldlm_flock_end(tvb, offset, pinfo, tree);
5346 offset=lustre_dissect_element_ldlm_flock_blocking_export(tvb, offset, pinfo, tree);
5348 offset=lustre_dissect_element_ldlm_flock_blocking_pid(tvb, offset, pinfo, tree);
5350 offset=lustre_dissect_element_ldlm_flock_pid(tvb, offset, pinfo, tree);
5353 proto_item_set_len(item, offset-old_offset);
5358 /* IDL: struct ldlm_intent { */
5359 /* IDL: uint64 opc; */
5363 lustre_dissect_element_ldlm_intent_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5366 /* this opcode is like a flag*/
5367 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_open );
5368 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_creat );
5369 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_readdir );
5370 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getattr );
5371 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_lookup );
5372 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_unlink );
5373 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_getxattr);
5374 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_exec );
5375 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_intent_opc_pin );
5376 opcode = tvb_get_letohl(tvb,offset);
5378 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, "[ intent :");
5379 if(opcode & IT_OPEN ){
5380 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " open");
5381 proto_item_append_text(tree, " open" );
5383 if(opcode & IT_CREAT ){
5384 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " create");
5385 proto_item_append_text(tree, " create" );
5387 if(opcode & IT_READDIR ){
5388 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " readdir");
5389 proto_item_append_text(tree, " readdir" );
5391 if(opcode & IT_GETATTR ){
5392 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getattr");
5393 proto_item_append_text(tree, " getattr" );
5395 if(opcode & IT_LOOKUP ){
5396 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " lookup");
5397 proto_item_append_text(tree, " lookup" );
5399 if(opcode & IT_UNLINK ){
5400 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " unlink");
5401 proto_item_append_text(tree, " unlink" );
5403 if(opcode & IT_GETXATTR){
5404 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " getxattr");
5405 proto_item_append_text(tree, " getxattr" );
5407 if(opcode & IT_EXEC ){
5408 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " exec");
5409 proto_item_append_text(tree, " exec" );
5411 if(opcode & IT_PIN ){
5412 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " pin");
5413 proto_item_append_text(tree, " pin" );
5416 display_info_str(tree->parent, pinfo->cinfo, COL_INFO, " ]");
5422 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_)
5425 proto_item * opcode_item = NULL;
5426 proto_tree * opcode_tree = NULL;
5428 intent_opc = tvb_get_letoh64(tvb,offset);
5430 opcode_item = proto_tree_add_item(parent_tree, hf_lustre_ldlm_intent_opc, tvb, offset, 8, TRUE);
5431 opcode_tree = proto_item_add_subtree(opcode_item, ett_lustre_ldlm_intent_opc);
5434 offset=lustre_dissect_element_ldlm_intent_opc(tvb, offset, pinfo, opcode_tree);
5436 offset=ldlm_opcode_process(tvb, offset, pinfo, parent_tree, intent_opc);
5441 /* IDL: struct ldlm_resource_desc { */
5442 /* IDL: enum ldlm_type lr_type; */
5443 /* IDL: uint32 lr_padding; */
5444 /* IDL: struct ldlm_res_id { */
5445 /* IDL: } lr_name; */
5449 lustre_dissect_element_ldlm_resource_desc_lr_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5451 /* offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);*/
5452 offset=lustre_dissect_enum_ldlm_type(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_type);
5457 lustre_dissect_element_ldlm_resource_desc_lr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5459 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_resource_desc_lr_padding);
5465 lustre_dissect_element_ldlm_resource_desc_lr_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5467 offset=lustre_dissect_struct_ldlm_res_id(tvb,offset,pinfo,tree,hf_lustre_ldlm_resource_desc_lr_name);
5472 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_)
5474 proto_item *item = NULL;
5475 proto_tree *tree = NULL;
5483 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5484 tree = proto_item_add_subtree(item, ett_lustre_ldlm_resource_desc);
5487 offset=lustre_dissect_element_ldlm_resource_desc_lr_type(tvb, offset, pinfo, tree);
5489 offset=lustre_dissect_element_ldlm_resource_desc_lr_padding(tvb, offset, pinfo, tree);
5491 offset=lustre_dissect_element_ldlm_resource_desc_lr_name(tvb, offset, pinfo, tree);
5494 proto_item_set_len(item, offset-old_offset);
5500 /* IDL: struct ldlm_lock_desc { */
5501 /* IDL: struct ldlm_resource_desc { */
5502 /* IDL: } l_resource; */
5503 /* IDL: enum ldlm_mode l_req_mode; */
5504 /* IDL: enum ldlm_mode l_granted_mode; */
5505 /* IDL: union ldlm_policy_data l_policy_data; */
5509 lustre_dissect_element_ldlm_lock_desc_l_resource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5511 offset=lustre_dissect_struct_ldlm_resource_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_resource);
5516 lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5518 offset=lustre_dissect_enum_ldlm_mode(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_req_mode);
5524 lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5526 offset=lustre_dissect_enum_ldlm_mode(tvb, offset, pinfo, tree, hf_lustre_ldlm_lock_desc_l_granted_mode);
5532 lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5535 guint32 lr_type; /* type of the lock */
5537 lr_type = tvb_get_letohl(tvb,offset - 48 ); /* TODO : find another way that using -48 */
5539 /* this section must be check with lustre code, possible mistake here */
5543 offset=lustre_dissect_struct_ldlm_flock(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5546 offset= lustre_dissect_struct_ldlm_extent(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5547 /* add an extra padding 8 bytes */
5548 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5551 offset=lustre_dissect_struct_ldlm_inodebits(tvb,offset,pinfo,tree,hf_lustre_ldlm_lock_desc_l_policy_data);
5552 /* add an extra padding 24 bytes */
5553 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5554 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5555 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5558 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5559 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5560 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5561 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
5568 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_)
5570 proto_item *item = NULL;
5571 proto_tree *tree = NULL;
5574 guint32 lock_req_mode;
5580 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5581 tree = proto_item_add_subtree(item, ett_lustre_ldlm_lock_desc);
5584 offset=lustre_dissect_element_ldlm_lock_desc_l_resource(tvb, offset, pinfo, tree);
5586 lock_req_mode = tvb_get_letohl(tvb,offset);
5588 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lock_req_mode, lustre_ldlm_mode_vals, "Unknown lock"));
5590 offset=lustre_dissect_element_ldlm_lock_desc_l_req_mode(tvb, offset, pinfo, tree);
5592 offset=lustre_dissect_element_ldlm_lock_desc_l_granted_mode(tvb, offset, pinfo, tree);
5594 offset=lustre_dissect_element_ldlm_lock_desc_l_policy_data(tvb, offset, pinfo, tree);
5597 proto_item_set_len(item, offset-old_offset);
5603 /* IDL: struct ldlm_request { */
5604 /* IDL: uint32 lock_flags; */
5605 /* IDL: uint32 lock_count; */
5606 /* IDL: struct ldlm_lock_desc { */
5607 /* IDL: } lock_desc; */
5608 /* IDL: struct lustre_handle { */
5609 /* IDL: } lock_handle[2]; */
5615 lustre_dissect_element_ldlm_request_lock_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5617 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_request_lock_count);
5623 lustre_dissect_element_ldlm_request_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5625 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_desc);
5632 lustre_dissect_element_ldlm_request_lock_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5634 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5635 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5637 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_request_lock_handle);
5642 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_)
5647 for (i = 0; i < num_locks; i++)
5648 offset=lustre_dissect_element_ldlm_request_lock_handle_(tvb, offset, pinfo, tree);
5654 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_)
5656 proto_item *item = NULL;
5657 proto_tree *tree = NULL;
5659 /* guint32 lock_flag; */
5660 /* guint32 ldlm_type; */
5661 guint32 num_locks = 2;
5666 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5667 tree = proto_item_add_subtree(item, ett_lustre_ldlm_request);
5670 /* lock_flag = tvb_get_letohl(tvb,offset); */
5671 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree,
5672 hf_lustre_ldlm_request_lock_flags);
5674 num_locks = tvb_get_letohl(tvb,offset);
5675 offset=lustre_dissect_element_ldlm_request_lock_count(tvb, offset, pinfo, tree);
5677 /* ldlm_type = (EXTENT, PLAIN, ou IBITS) */
5678 /* ldlm_type = tvb_get_letohl(tvb,offset); */
5679 offset=lustre_dissect_element_ldlm_request_lock_desc(tvb, offset, pinfo, tree);
5680 offset=lustre_dissect_element_ldlm_request_lock_handle(tvb, offset, pinfo, tree, num_locks);
5682 proto_item_set_len(item, offset-old_offset);
5688 lustre_dissect_element_ldlm_reply_lock_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5690 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_padding);
5696 lustre_dissect_element_ldlm_reply_lock_desc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5698 offset=lustre_dissect_struct_ldlm_lock_desc(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_desc);
5703 lustre_dissect_element_ldlm_reply_lock_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5705 /*if (check_col(pinfo->cinfo, COL_INFO)) */
5706 /* col_append_fstr(pinfo->cinfo, COL_INFO, " ldlm cookie : %" G_GINT64_MODIFIER "u", tvb_get_letoh64(tvb,offset) );*/
5708 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ldlm_reply_lock_handle);
5713 lustre_dissect_element_ldlm_reply_lock_policy_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5715 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res1);
5721 lustre_dissect_element_ldlm_reply_lock_policy_res2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5723 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_policy_res2);
5729 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_ )
5731 proto_item *item = NULL;
5732 proto_tree *tree = NULL;
5734 /* guint32 lock_flag; */
5739 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5740 tree = proto_item_add_subtree(item, ett_lustre_ldlm_reply);
5743 /* lock_flag = tvb_get_letohl(tvb,offset); */
5744 offset=lustre_dissect_element_ldlm_lock_flags(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply_lock_flags);
5746 offset=lustre_dissect_element_ldlm_reply_lock_padding(tvb, offset, pinfo, tree);
5748 if (ldlm_type != NULL)
5749 *ldlm_type = tvb_get_letohl(tvb,offset);
5750 offset=lustre_dissect_element_ldlm_reply_lock_desc(tvb, offset, pinfo, tree);
5752 offset=lustre_dissect_element_ldlm_reply_lock_handle(tvb, offset, pinfo, tree);
5754 offset=lustre_dissect_element_ldlm_reply_lock_policy_res1(tvb, offset, pinfo, tree);
5756 offset=lustre_dissect_element_ldlm_reply_lock_policy_res2(tvb, offset, pinfo, tree);
5758 proto_item_set_len(item, offset-old_offset);
5766 /* IDL: struct mgs_send_param { */
5767 /* IDL: uint8 mgs_param[1024]; */
5773 lustre_dissect_element_mgs_send_param_mgs_param_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5775 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_send_param_mgs_param);
5781 lustre_dissect_element_mgs_send_param_mgs_param(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5784 for (i = 0; i < 1024; i++)
5785 offset=lustre_dissect_element_mgs_send_param_mgs_param_(tvb, offset, pinfo, tree);
5791 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_)
5793 proto_item *item = NULL;
5794 proto_tree *tree = NULL;
5801 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5802 tree = proto_item_add_subtree(item, ett_lustre_mgs_send_param);
5805 offset=lustre_dissect_element_mgs_send_param_mgs_param(tvb, offset, pinfo, tree);
5808 proto_item_set_len(item, offset-old_offset);
5813 /* IDL: struct mgs_config_body {
5814 * IDL: char mcb_name[64];
5815 * IDL: __u64 mcb_offset;
5816 * IDL: __u16 mcb_type;
5817 * IDL: __u8 mcb_reserved;
5818 * IDL: __u8 mcb_bits;
5819 * IDL: __u32 mcb_units;
5823 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_)
5825 int string_len = 64;
5826 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
5827 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " name : %s",
5828 (const gchar *) tvb_get_string(tvb,offset,string_len) );
5835 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_)
5837 proto_item *item = NULL;
5838 proto_tree *tree = NULL;
5845 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5846 tree = proto_item_add_subtree(item, ett_lustre_mgs_config_body);
5849 offset=lustre_dissect_element_mgs_config_body_name(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_name);
5851 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_offset);
5852 offset=dissect_uint16(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_type);
5853 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_reserved);
5854 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_bits);
5855 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_config_body_units);
5857 proto_item_set_len(item, offset-old_offset);
5862 /* IDL: struct mgs_config_res {
5863 * IDL: __u64 mcr_offset;
5864 * IDL: __u64 mcr_size;
5868 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_)
5870 proto_item *item = NULL;
5871 proto_tree *tree = NULL;
5877 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5878 tree = proto_item_add_subtree(item, ett_lustre_mgs_config_res);
5881 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_res_offset);
5882 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_config_res_size);
5884 proto_item_set_len(item, offset-old_offset);
5890 /* IDL: struct mgs_target_info { */
5891 /* IDL: uint32 mti_lustre_ver; */
5892 /* IDL: uint32 mti_stripe_index; */
5893 /* IDL: uint32 mti_config_ver; */
5894 /* IDL: uint32 mti_flags; */
5895 /* IDL: uint32 mti_nid_count; */
5896 /* IDL: uint32 padding; */
5897 /* IDL: uint8 mti_fsname[64]; */
5898 /* IDL: uint8 mti_svname[64]; */
5899 /* IDL: uint8 mti_uuid[40]; */
5900 /* IDL: uint64 mti_nids[32]; */
5901 /* IDL: uint8 mti_params[4096]; */
5905 lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5907 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_lustre_ver);
5913 lustre_dissect_element_mgs_target_info_mti_stripe_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5915 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_stripe_index);
5921 lustre_dissect_element_mgs_target_info_mti_config_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5923 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_config_ver);
5929 lustre_dissect_element_mgs_target_info_mti_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5931 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_flags);
5937 lustre_dissect_element_mgs_target_info_mti_nid_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5939 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nid_count);
5945 lustre_dissect_element_mgs_target_info_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5947 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_padding);
5953 lustre_dissect_element_mgs_target_info_mti_fsname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5955 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_fsname);
5961 lustre_dissect_element_mgs_target_info_mti_fsname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5964 for (i = 0; i < 64; i++)
5965 offset=lustre_dissect_element_mgs_target_info_mti_fsname_(tvb, offset, pinfo, tree);
5975 lustre_dissect_element_mgs_target_info_mti_svname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5977 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_svname);
5983 lustre_dissect_element_mgs_target_info_mti_svname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5986 for (i = 0; i < 64; i++)
5987 offset=lustre_dissect_element_mgs_target_info_mti_svname_(tvb, offset, pinfo, tree);
5993 lustre_dissect_element_mgs_target_info_mti_uuid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
5995 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_uuid);
6001 lustre_dissect_element_mgs_target_info_mti_uuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6004 for (i = 0; i < 40; i++)
6005 offset=lustre_dissect_element_mgs_target_info_mti_uuid_(tvb, offset, pinfo, tree);
6015 lustre_dissect_element_mgs_target_info_mti_nids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6017 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_nids);
6023 lustre_dissect_element_mgs_target_info_mti_nids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6026 for (i = 0; i < 32; i++)
6027 offset=lustre_dissect_element_mgs_target_info_mti_nids_(tvb, offset, pinfo, tree);
6035 lustre_dissect_element_mgs_target_info_mti_params_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6037 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info_mti_params);
6043 lustre_dissect_element_mgs_target_info_mti_params(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6046 for (i = 0; i < 4096; i++)
6047 offset=lustre_dissect_element_mgs_target_info_mti_params_(tvb, offset, pinfo, tree);
6053 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_)
6055 proto_item *item = NULL;
6056 proto_tree *tree = NULL;
6064 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6065 tree = proto_item_add_subtree(item, ett_lustre_mgs_target_info);
6068 offset=lustre_dissect_element_mgs_target_info_mti_lustre_ver(tvb, offset, pinfo, tree);
6070 offset=lustre_dissect_element_mgs_target_info_mti_stripe_index(tvb, offset, pinfo, tree);
6072 offset=lustre_dissect_element_mgs_target_info_mti_config_ver(tvb, offset, pinfo, tree);
6074 offset=lustre_dissect_element_mgs_target_info_mti_flags(tvb, offset, pinfo, tree);
6076 offset=lustre_dissect_element_mgs_target_info_mti_nid_count(tvb, offset, pinfo, tree);
6078 offset=lustre_dissect_element_mgs_target_info_padding(tvb, offset, pinfo, tree);
6080 offset=lustre_dissect_element_mgs_target_info_mti_fsname(tvb, offset, pinfo, tree);
6082 offset=lustre_dissect_element_mgs_target_info_mti_svname(tvb, offset, pinfo, tree);
6084 offset=lustre_dissect_element_mgs_target_info_mti_uuid(tvb, offset, pinfo, tree);
6086 offset=lustre_dissect_element_mgs_target_info_mti_nids(tvb, offset, pinfo, tree);
6088 offset=lustre_dissect_element_mgs_target_info_mti_params(tvb, offset, pinfo, tree);
6091 proto_item_set_len(item, offset-old_offset);
6096 /* IDL: struct cfg_marker { */
6097 /* IDL: uint32 cm_step; */
6098 /* IDL: uint32 cm_flags; */
6099 /* IDL: uint32 cm_vers; */
6100 /* IDL: uint32 padding; */
6101 /* IDL: time_t cm_createtime; */
6102 /* IDL: time_t cm_canceltime; */
6103 /* IDL: uint8 cm_tgtname[64]; */
6104 /* IDL: uint8 cm_comment[64]; */
6108 lustre_dissect_element_cfg_marker_cm_step(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6110 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_step);
6116 lustre_dissect_element_cfg_marker_cm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6118 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_flags);
6124 lustre_dissect_element_cfg_marker_cm_vers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6126 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_vers);
6132 lustre_dissect_element_cfg_marker_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6134 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_padding);
6140 lustre_dissect_element_cfg_marker_cm_createtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6142 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_createtime );
6143 /*g_print("function lustre_dissect_element_cfg_marker_cm_createtime don't work\n");*/
6148 lustre_dissect_element_cfg_marker_cm_canceltime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6150 //offset=dissect_ndr_time_t(tvb, offset, pinfo,tree, hf_lustre_cfg_marker_cm_canceltime);
6152 /*g_print("element_cfg_marker_cm_canceltime\n");*/
6159 lustre_dissect_element_cfg_marker_cm_tgtname_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6161 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_tgtname);
6167 lustre_dissect_element_cfg_marker_cm_tgtname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6170 for (i = 0; i < 64; i++)
6171 offset=lustre_dissect_element_cfg_marker_cm_tgtname_(tvb, offset, pinfo, tree);
6179 lustre_dissect_element_cfg_marker_cm_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6181 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_cfg_marker_cm_comment);
6187 lustre_dissect_element_cfg_marker_cm_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6190 for (i = 0; i < 64; i++)
6191 offset=lustre_dissect_element_cfg_marker_cm_comment_(tvb, offset, pinfo, tree);
6197 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_)
6199 proto_item *item = NULL;
6200 proto_tree *tree = NULL;
6208 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6209 tree = proto_item_add_subtree(item, ett_lustre_cfg_marker);
6212 offset=lustre_dissect_element_cfg_marker_cm_step(tvb, offset, pinfo, tree);
6214 offset=lustre_dissect_element_cfg_marker_cm_flags(tvb, offset, pinfo, tree);
6216 offset=lustre_dissect_element_cfg_marker_cm_vers(tvb, offset, pinfo, tree);
6218 offset=lustre_dissect_element_cfg_marker_padding(tvb, offset, pinfo, tree);
6220 offset=lustre_dissect_element_cfg_marker_cm_createtime(tvb, offset, pinfo, tree);
6222 offset=lustre_dissect_element_cfg_marker_cm_canceltime(tvb, offset, pinfo, tree);
6224 offset=lustre_dissect_element_cfg_marker_cm_tgtname(tvb, offset, pinfo, tree);
6226 offset=lustre_dissect_element_cfg_marker_cm_comment(tvb, offset, pinfo, tree);
6229 proto_item_set_len(item, offset-old_offset);
6236 /* IDL: struct llog_logid { */
6237 /* IDL: uint64 lgl_oid; */
6238 /* IDL: uint64 lgl_oseq; */
6239 /* IDL: uint32 lgl_ogen; */
6243 lustre_dissect_element_llog_logid_lgl_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6245 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oid);
6251 lustre_dissect_element_llog_logid_lgl_oseq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6253 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_oseq);
6259 lustre_dissect_element_llog_logid_lgl_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6261 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_lgl_ogen);
6267 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_)
6269 proto_item *item = NULL;
6270 proto_tree *tree = NULL;
6278 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6279 tree = proto_item_add_subtree(item, ett_lustre_llog_logid);
6282 offset=lustre_dissect_element_llog_logid_lgl_oid(tvb, offset, pinfo, tree);
6284 offset=lustre_dissect_element_llog_logid_lgl_oseq(tvb, offset, pinfo, tree);
6286 offset=lustre_dissect_element_llog_logid_lgl_ogen(tvb, offset, pinfo, tree);
6289 proto_item_set_len(item, offset-old_offset);
6294 /* I don't know when this structure is used on network */
6295 /* IDL: struct llog_catid { */
6296 /* IDL: struct llog_logid { */
6297 /* IDL: } lci_logid; */
6298 /* IDL: uint32 lci_padding1; */
6299 /* IDL: uint32 lci_padding2; */
6300 /* IDL: uint32 lci_padding3; */
6304 lustre_dissect_element_llog_catid_lci_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6306 //offset=lustre_dissect_struct_HASH(0x85cc76c)(tvb,offset,pinfo,tree,hf_lustre_llog_catid_lci_logid);
6308 /*g_print("llog_catid_lci_logid bug\n");*/
6313 lustre_dissect_element_llog_catid_lci_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6315 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding1);
6321 lustre_dissect_element_llog_catid_lci_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6323 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding2);
6329 lustre_dissect_element_llog_catid_lci_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6331 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_catid_lci_padding3);
6337 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_)
6339 proto_item *item = NULL;
6340 proto_tree *tree = NULL;
6348 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6349 tree = proto_item_add_subtree(item, ett_lustre_llog_catid);
6352 offset=lustre_dissect_element_llog_catid_lci_logid(tvb, offset, pinfo, tree);
6354 offset=lustre_dissect_element_llog_catid_lci_padding1(tvb, offset, pinfo, tree);
6356 offset=lustre_dissect_element_llog_catid_lci_padding2(tvb, offset, pinfo, tree);
6358 offset=lustre_dissect_element_llog_catid_lci_padding3(tvb, offset, pinfo, tree);
6361 proto_item_set_len(item, offset-old_offset);
6366 /* IDL: struct llog_rec_hdr { */
6367 /* IDL: uint32 lrh_len; */
6368 /* IDL: uint32 lrh_index; */
6369 /* IDL: uint32 lrh_type; */
6370 /* IDL: uint32 padding; */
6374 lustre_dissect_element_llog_rec_hdr_lrh_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6376 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_len);
6382 lustre_dissect_element_llog_rec_hdr_lrh_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6384 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_index);
6390 lustre_dissect_element_llog_rec_hdr_lrh_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6392 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_lrh_type);
6398 lustre_dissect_element_llog_rec_hdr_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6400 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_hdr_padding);
6406 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_)
6408 proto_item *item = NULL;
6409 proto_tree *tree = NULL;
6417 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6418 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_hdr);
6421 offset=lustre_dissect_element_llog_rec_hdr_lrh_len(tvb, offset, pinfo, tree);
6423 offset=lustre_dissect_element_llog_rec_hdr_lrh_index(tvb, offset, pinfo, tree);
6425 offset=lustre_dissect_element_llog_rec_hdr_lrh_type(tvb, offset, pinfo, tree);
6427 offset=lustre_dissect_element_llog_rec_hdr_padding(tvb, offset, pinfo, tree);
6430 proto_item_set_len(item, offset-old_offset);
6435 /* IDL: struct llog_rec_tail { */
6436 /* IDL: uint32 lrt_len; */
6437 /* IDL: uint32 lrt_index; */
6441 lustre_dissect_element_llog_rec_tail_lrt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6443 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_len);
6449 lustre_dissect_element_llog_rec_tail_lrt_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6451 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_rec_tail_lrt_index);
6457 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_)
6459 proto_item *item = NULL;
6460 proto_tree *tree = NULL;
6468 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6469 tree = proto_item_add_subtree(item, ett_lustre_llog_rec_tail);
6472 offset=lustre_dissect_element_llog_rec_tail_lrt_len(tvb, offset, pinfo, tree);
6474 offset=lustre_dissect_element_llog_rec_tail_lrt_index(tvb, offset, pinfo, tree);
6477 proto_item_set_len(item, offset-old_offset);
6482 /* IDL: struct llog_logid_rec { */
6483 /* IDL: struct llog_rec_hdr { */
6484 /* IDL: } lid_hdr; */
6485 /* IDL: struct llog_logid { */
6486 /* IDL: } lid_id; */
6487 /* IDL: uint32 padding1; */
6488 /* IDL: uint32 padding2; */
6489 /* IDL: uint32 padding3; */
6490 /* IDL: uint32 padding4; */
6491 /* IDL: uint32 padding5; */
6492 /* IDL: struct llog_rec_tail { */
6493 /* IDL: } lid_tail; */
6497 lustre_dissect_element_llog_logid_rec_lid_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6499 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_hdr);
6504 lustre_dissect_element_llog_logid_rec_lid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6506 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_id);
6511 lustre_dissect_element_llog_logid_rec_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6513 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding1);
6519 lustre_dissect_element_llog_logid_rec_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6521 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding2);
6527 lustre_dissect_element_llog_logid_rec_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6529 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding3);
6535 lustre_dissect_element_llog_logid_rec_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6537 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding4);
6543 lustre_dissect_element_llog_logid_rec_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6545 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_logid_rec_padding5);
6551 lustre_dissect_element_llog_logid_rec_lid_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6553 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_logid_rec_lid_tail);
6558 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_)
6560 proto_item *item = NULL;
6561 proto_tree *tree = NULL;
6569 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6570 tree = proto_item_add_subtree(item, ett_lustre_llog_logid_rec);
6573 offset=lustre_dissect_element_llog_logid_rec_lid_hdr(tvb, offset, pinfo, tree);
6575 offset=lustre_dissect_element_llog_logid_rec_lid_id(tvb, offset, pinfo, tree);
6577 offset=lustre_dissect_element_llog_logid_rec_padding1(tvb, offset, pinfo, tree);
6579 offset=lustre_dissect_element_llog_logid_rec_padding2(tvb, offset, pinfo, tree);
6581 offset=lustre_dissect_element_llog_logid_rec_padding3(tvb, offset, pinfo, tree);
6583 offset=lustre_dissect_element_llog_logid_rec_padding4(tvb, offset, pinfo, tree);
6585 offset=lustre_dissect_element_llog_logid_rec_padding5(tvb, offset, pinfo, tree);
6587 offset=lustre_dissect_element_llog_logid_rec_lid_tail(tvb, offset, pinfo, tree);
6590 proto_item_set_len(item, offset-old_offset);
6598 /* IDL: struct llog_unlink_rec { */
6599 /* IDL: struct llog_rec_hdr { */
6600 /* IDL: } lur_hdr; */
6601 /* IDL: uint64 lur_oid; */
6602 /* IDL: uint32 lur_ogen; */
6603 /* IDL: uint32 padding; */
6604 /* IDL: struct llog_rec_tail { */
6605 /* IDL: } lur_tail; */
6609 lustre_dissect_element_llog_unlink_rec_lur_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6611 //offset=lustre_dissect_struct_HASH(0x85d8730)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_hdr);
6616 lustre_dissect_element_llog_unlink_rec_lur_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6618 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_oid);
6624 lustre_dissect_element_llog_unlink_rec_lur_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6626 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_lur_ogen);
6632 lustre_dissect_element_llog_unlink_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6634 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_unlink_rec_padding);
6640 lustre_dissect_element_llog_unlink_rec_lur_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6642 //offset=lustre_dissect_struct_HASH(0x85d9664)(tvb,offset,pinfo,tree,hf_lustre_llog_unlink_rec_lur_tail);
6647 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_)
6649 proto_item *item = NULL;
6650 proto_tree *tree = NULL;
6658 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6659 tree = proto_item_add_subtree(item, ett_lustre_llog_unlink_rec);
6662 offset=lustre_dissect_element_llog_unlink_rec_lur_hdr(tvb, offset, pinfo, tree);
6664 offset=lustre_dissect_element_llog_unlink_rec_lur_oid(tvb, offset, pinfo, tree);
6666 offset=lustre_dissect_element_llog_unlink_rec_lur_ogen(tvb, offset, pinfo, tree);
6668 offset=lustre_dissect_element_llog_unlink_rec_padding(tvb, offset, pinfo, tree);
6670 offset=lustre_dissect_element_llog_unlink_rec_lur_tail(tvb, offset, pinfo, tree);
6673 proto_item_set_len(item, offset-old_offset);
6680 /* IDL: struct llog_setattr_rec { */
6681 /* IDL: struct llog_rec_hdr { */
6682 /* IDL: } lsr_hdr; */
6683 /* IDL: uint64 lsr_oid; */
6684 /* IDL: uint32 lsr_ogen; */
6685 /* IDL: uint32 lsr_uid; */
6686 /* IDL: uint32 lsr_gid; */
6687 /* IDL: uint32 padding; */
6688 /* IDL: struct llog_rec_tail { */
6689 /* IDL: } lsr_tail; */
6693 lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6695 //offset=lustre_dissect_struct_HASH(0x85da2f0)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_hdr);
6700 lustre_dissect_element_llog_setattr_rec_lsr_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6702 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_oid);
6708 lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6710 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_ogen);
6716 lustre_dissect_element_llog_setattr_rec_lsr_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6718 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_uid);
6724 lustre_dissect_element_llog_setattr_rec_lsr_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6726 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_lsr_gid);
6732 lustre_dissect_element_llog_setattr_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6734 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_setattr_rec_padding);
6740 lustre_dissect_element_llog_setattr_rec_lsr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6742 //offset=lustre_dissect_struct_HASH(0x85db3d4)(tvb,offset,pinfo,tree,hf_lustre_llog_setattr_rec_lsr_tail);
6747 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_)
6749 proto_item *item = NULL;
6750 proto_tree *tree = NULL;
6758 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6759 tree = proto_item_add_subtree(item, ett_lustre_llog_setattr_rec);
6762 offset=lustre_dissect_element_llog_setattr_rec_lsr_hdr(tvb, offset, pinfo, tree);
6764 offset=lustre_dissect_element_llog_setattr_rec_lsr_oid(tvb, offset, pinfo, tree);
6766 offset=lustre_dissect_element_llog_setattr_rec_lsr_ogen(tvb, offset, pinfo, tree);
6768 offset=lustre_dissect_element_llog_setattr_rec_lsr_uid(tvb, offset, pinfo, tree);
6770 offset=lustre_dissect_element_llog_setattr_rec_lsr_gid(tvb, offset, pinfo, tree);
6772 offset=lustre_dissect_element_llog_setattr_rec_padding(tvb, offset, pinfo, tree);
6774 offset=lustre_dissect_element_llog_setattr_rec_lsr_tail(tvb, offset, pinfo, tree);
6777 proto_item_set_len(item, offset-old_offset);
6785 /* IDL: struct llog_size_change_rec { */
6786 /* IDL: struct llog_rec_hdr { */
6787 /* IDL: } lsc_hdr; */
6788 /* IDL: struct ll_fid { */
6789 /* IDL: } lsc_fid; */
6790 /* IDL: uint32 lsc_io_epoch; */
6791 /* IDL: uint32 padding; */
6792 /* IDL: struct llog_rec_tail { */
6793 /* IDL: } lsc_tail; */
6797 lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6799 //offset=lustre_dissect_struct_HASH(0x85dc458)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_hdr);
6804 lustre_dissect_element_llog_size_change_rec_lsc_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6806 //offset=lustre_dissect_struct_HASH(0x85dc5a8)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_fid);
6811 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_)
6813 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_lsc_io_epoch);
6819 lustre_dissect_element_llog_size_change_rec_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6821 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_size_change_rec_padding);
6827 lustre_dissect_element_llog_size_change_rec_lsc_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6829 //offset=lustre_dissect_struct_HASH(0x85dd384)(tvb,offset,pinfo,tree,hf_lustre_llog_size_change_rec_lsc_tail);
6830 // TODO: to be corrected !
6835 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_)
6837 proto_item *item = NULL;
6838 proto_tree *tree = NULL;
6846 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6847 tree = proto_item_add_subtree(item, ett_lustre_llog_size_change_rec);
6850 offset=lustre_dissect_element_llog_size_change_rec_lsc_hdr(tvb, offset, pinfo, tree);
6852 offset=lustre_dissect_element_llog_size_change_rec_lsc_fid(tvb, offset, pinfo, tree);
6854 offset=lustre_dissect_element_llog_size_change_rec_lsc_io_epoch(tvb, offset, pinfo, tree);
6856 offset=lustre_dissect_element_llog_size_change_rec_padding(tvb, offset, pinfo, tree);
6858 offset=lustre_dissect_element_llog_size_change_rec_lsc_tail(tvb, offset, pinfo, tree);
6861 proto_item_set_len(item, offset-old_offset);
6869 /* IDL: struct llog_gen { */
6870 /* IDL: uint64 mnt_cnt; */
6871 /* IDL: uint64 conn_cnt; */
6875 lustre_dissect_element_llog_gen_mnt_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6877 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_mnt_cnt);
6883 lustre_dissect_element_llog_gen_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6885 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llog_gen_conn_cnt);
6891 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_)
6893 proto_item *item = NULL;
6894 proto_tree *tree = NULL;
6902 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6903 tree = proto_item_add_subtree(item, ett_lustre_llog_gen);
6906 offset=lustre_dissect_element_llog_gen_mnt_cnt(tvb, offset, pinfo, tree);
6908 offset=lustre_dissect_element_llog_gen_conn_cnt(tvb, offset, pinfo, tree);
6911 proto_item_set_len(item, offset-old_offset);
6916 /* IDL: struct llog_gen_rec { */
6917 /* IDL: struct llog_rec_hdr { */
6918 /* IDL: } lgr_hdr; */
6919 /* IDL: struct llog_gen { */
6920 /* IDL: } lgr_gen; */
6921 /* IDL: struct llog_rec_tail { */
6922 /* IDL: } lgr_tail; */
6926 lustre_dissect_element_llog_gen_rec_lgr_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6928 //offset=lustre_dissect_struct_HASH(0x85de2e4)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_hdr);
6929 // TODO: to be corrected !
6934 lustre_dissect_element_llog_gen_rec_lgr_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6936 //offset=lustre_dissect_struct_HASH(0x85de434)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_gen);
6937 // TODO: to be corrected !
6942 lustre_dissect_element_llog_gen_rec_lgr_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
6944 //offset=lustre_dissect_struct_HASH(0x85df3f8)(tvb,offset,pinfo,tree,hf_lustre_llog_gen_rec_lgr_tail);
6945 // TODO: to be corrected !
6950 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_)
6952 proto_item *item = NULL;
6953 proto_tree *tree = NULL;
6961 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6962 tree = proto_item_add_subtree(item, ett_lustre_llog_gen_rec);
6965 offset=lustre_dissect_element_llog_gen_rec_lgr_hdr(tvb, offset, pinfo, tree);
6967 offset=lustre_dissect_element_llog_gen_rec_lgr_gen(tvb, offset, pinfo, tree);
6969 offset=lustre_dissect_element_llog_gen_rec_lgr_tail(tvb, offset, pinfo, tree);
6972 proto_item_set_len(item, offset-old_offset);
6980 /* IDL: struct llog_log_hdr { */
6981 /* IDL: struct llog_rec_hdr { */
6982 /* IDL: } llh_hdr; */
6983 /* IDL: uint64 llh_timestamp; */
6984 /* IDL: uint32 llh_count; */
6985 /* IDL: uint32 llh_bitmap_offset; */
6986 /* IDL: uint32 llh_size; */
6987 /* IDL: uint32 llh_flags; */
6988 /* IDL: uint32 llh_cat_idx; */
6989 /* IDL: struct obd_uuid { */
6990 /* IDL: } llh_tgtuuid; */
6991 /* IDL: uint32 llh_reserved[1]; */
6992 /* IDL: uint32 llh_bitmap[2024]; */
6993 /* IDL: struct llog_rec_tail { */
6994 /* IDL: } llh_tail; */
6998 lustre_dissect_element_llog_log_hdr_llh_hdr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7000 offset=lustre_dissect_struct_llog_rec_hdr(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_hdr);
7005 lustre_dissect_element_llog_log_hdr_llh_timestamp(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7008 ns.secs = tvb_get_letohl(tvb,offset);
7010 proto_tree_add_time(tree, hf_lustre_llog_log_hdr_llh_timestamp, tvb, offset, 8, &ns );
7016 lustre_dissect_element_llog_log_hdr_llh_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7018 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_count);
7024 lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7026 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap_offset);
7032 lustre_dissect_element_llog_log_hdr_llh_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7034 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_size);
7042 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_)
7044 proto_item *item = NULL;
7045 proto_tree *tree = NULL;
7048 item = proto_tree_add_item(parent_tree,hf_index, tvb, offset, 4, TRUE);
7049 tree = proto_item_add_subtree(item, ett_lustre_llog_log_llh_flags);
7051 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_zap_when_empty);
7052 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_cat);
7053 dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_hdr_llh_flag_is_play);
7060 lustre_dissect_element_llog_log_hdr_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7062 // offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7063 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_flags);
7068 lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7070 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_cat_idx);
7076 lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7078 offset=lustre_dissect_struct_obd_uuid(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tgtuuid);
7083 lustre_dissect_element_llog_log_hdr_llh_reserved_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7085 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_reserved);
7091 lustre_dissect_element_llog_log_hdr_llh_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7094 for (i = 0; i < 1; i++)
7095 offset=lustre_dissect_element_llog_log_hdr_llh_reserved_(tvb, offset, pinfo, tree);
7101 lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7103 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_log_hdr_llh_bitmap);
7110 lustre_dissect_element_llog_log_hdr_llh_bitmap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7113 for (i = 0; i < 2024; i++)
7114 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_(tvb, offset, pinfo, tree);
7122 lustre_dissect_element_llog_log_hdr_llh_tail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7124 offset=lustre_dissect_struct_llog_rec_tail(tvb,offset,pinfo,tree,hf_lustre_llog_log_hdr_llh_tail);
7129 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_)
7131 proto_item *item = NULL;
7132 proto_tree *tree = NULL;
7140 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7141 tree = proto_item_add_subtree(item, ett_lustre_llog_log_hdr);
7144 offset=lustre_dissect_element_llog_log_hdr_llh_hdr(tvb, offset, pinfo, tree);
7146 offset=lustre_dissect_element_llog_log_hdr_llh_timestamp(tvb, offset, pinfo, tree);
7148 offset=lustre_dissect_element_llog_log_hdr_llh_count(tvb, offset, pinfo, tree);
7150 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap_offset(tvb, offset, pinfo, tree);
7152 offset=lustre_dissect_element_llog_log_hdr_llh_size(tvb, offset, pinfo, tree);
7154 offset=lustre_dissect_element_llog_log_hdr_llh_flags(tvb, offset, pinfo, tree);
7156 offset=lustre_dissect_element_llog_log_hdr_llh_cat_idx(tvb, offset, pinfo, tree);
7158 offset=lustre_dissect_element_llog_log_hdr_llh_tgtuuid(tvb, offset, pinfo, tree);
7160 offset=lustre_dissect_element_llog_log_hdr_llh_reserved(tvb, offset, pinfo, tree);
7162 offset=lustre_dissect_element_llog_log_hdr_llh_bitmap(tvb, offset, pinfo, tree);
7164 offset=lustre_dissect_element_llog_log_hdr_llh_tail(tvb, offset, pinfo, tree);
7167 proto_item_set_len(item, offset-old_offset);
7175 /* IDL: struct llog_cookie { */
7176 /* IDL: struct llog_logid { */
7177 /* IDL: } lgc_lgl; */
7178 /* IDL: uint32 lgc_subsys; */
7179 /* IDL: uint32 lgc_index; */
7180 /* IDL: uint32 lgc_padding; */
7184 lustre_dissect_element_llog_cookie_lgc_lgl(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7186 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llog_cookie_lgc_lgl);
7191 lustre_dissect_element_llog_cookie_lgc_subsys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7193 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_subsys);
7199 lustre_dissect_element_llog_cookie_lgc_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7201 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_index);
7207 lustre_dissect_element_llog_cookie_lgc_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7209 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llog_cookie_lgc_padding);
7215 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_)
7217 proto_item *item = NULL;
7218 proto_tree *tree = NULL;
7226 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7227 tree = proto_item_add_subtree(item, ett_lustre_llog_cookie);
7230 offset=lustre_dissect_element_llog_cookie_lgc_lgl(tvb, offset, pinfo, tree);
7232 offset=lustre_dissect_element_llog_cookie_lgc_subsys(tvb, offset, pinfo, tree);
7234 offset=lustre_dissect_element_llog_cookie_lgc_index(tvb, offset, pinfo, tree);
7236 offset=lustre_dissect_element_llog_cookie_lgc_padding(tvb, offset, pinfo, tree);
7239 proto_item_set_len(item, offset-old_offset);
7246 /* IDL: struct llogd_body { */
7247 /* IDL: struct llog_logid { */
7248 /* IDL: } lgd_logid; */
7249 /* IDL: uint32 lgd_ctxt_idx; */
7250 /* IDL: uint32 lgd_llh_flags; */
7251 /* IDL: uint32 lgd_index; */
7252 /* IDL: uint32 lgd_saved_index; */
7253 /* IDL: uint32 lgd_len; */
7254 /* IDL: uint64 lgd_cur_offset; */
7258 lustre_dissect_element_llogd_body_lgd_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7260 offset=lustre_dissect_struct_llog_logid(tvb,offset,pinfo,tree,hf_lustre_llogd_body_lgd_logid);
7265 lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7267 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_ctxt_idx);
7273 lustre_dissect_element_llogd_body_lgd_llh_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7275 //offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7277 offset=lustre_dissect_element_llog_log_llh_flags(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_llh_flags);
7283 lustre_dissect_element_llogd_body_lgd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7285 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_index);
7291 lustre_dissect_element_llogd_body_lgd_saved_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7293 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_saved_index);
7299 lustre_dissect_element_llogd_body_lgd_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7301 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_len);
7307 lustre_dissect_element_llogd_body_lgd_cur_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7309 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_llogd_body_lgd_cur_offset);
7315 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_)
7317 proto_item *item = NULL;
7318 proto_tree *tree = NULL;
7326 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7327 tree = proto_item_add_subtree(item, ett_lustre_llogd_body);
7330 offset=lustre_dissect_element_llogd_body_lgd_logid(tvb, offset, pinfo, tree);
7332 offset=lustre_dissect_element_llogd_body_lgd_ctxt_idx(tvb, offset, pinfo, tree);
7334 offset=lustre_dissect_element_llogd_body_lgd_llh_flags(tvb, offset, pinfo, tree);
7336 offset=lustre_dissect_element_llogd_body_lgd_index(tvb, offset, pinfo, tree);
7338 offset=lustre_dissect_element_llogd_body_lgd_saved_index(tvb, offset, pinfo, tree);
7340 offset=lustre_dissect_element_llogd_body_lgd_len(tvb, offset, pinfo, tree);
7342 offset=lustre_dissect_element_llogd_body_lgd_cur_offset(tvb, offset, pinfo, tree);
7345 proto_item_set_len(item, offset-old_offset);
7351 /* TODO : find when this Structure appear on the wire */
7352 /* IDL: struct llogd_conn_body { */
7353 /* IDL: struct llog_gen { */
7354 /* IDL: } lgdc_gen; */
7355 /* IDL: struct llog_logid { */
7356 /* IDL: } lgdc_logid; */
7357 /* IDL: uint32 lgdc_ctxt_idx; */
7361 lustre_dissect_element_llogd_conn_body_lgdc_gen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7363 //offset=lustre_dissect_struct_HASH(0x85e6038)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_gen);
7368 lustre_dissect_element_llogd_conn_body_lgdc_logid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7370 //offset=lustre_dissect_struct_HASH(0x85e6188)(tvb,offset,pinfo,tree,hf_lustre_llogd_conn_body_lgdc_logid);
7375 lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7377 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_llogd_conn_body_lgdc_ctxt_idx);
7383 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_)
7385 proto_item *item = NULL;
7386 proto_tree *tree = NULL;
7394 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7395 tree = proto_item_add_subtree(item, ett_lustre_llogd_conn_body);
7398 offset=lustre_dissect_element_llogd_conn_body_lgdc_gen(tvb, offset, pinfo, tree);
7400 offset=lustre_dissect_element_llogd_conn_body_lgdc_logid(tvb, offset, pinfo, tree);
7402 offset=lustre_dissect_element_llogd_conn_body_lgdc_ctxt_idx(tvb, offset, pinfo, tree);
7405 proto_item_set_len(item, offset-old_offset);
7410 /* IDL: struct obdo { */
7411 /* IDL: uint64 o_valid; */
7412 /* IDL: uint64 o_id; */
7413 /* IDL: uint64 o_seq; */
7414 /* IDL: uint64 o_parent_seq; */
7415 /* IDL: uint64 o_size; */
7416 /* IDL: uint64 o_mtime; */
7417 /* IDL: uint64 o_atime; */
7418 /* IDL: uint64 o_ctime; */
7419 /* IDL: uint64 o_blocks; */
7420 /* IDL: uint64 o_grant; */
7421 /* IDL: uint32 o_blksize; */
7422 /* IDL: uint32 o_mode; */
7423 /* IDL: uint32 o_uid; */
7424 /* IDL: uint32 o_gid; */
7425 /* IDL: uint32 o_flags; */
7426 /* IDL: uint32 o_nlink; */
7427 /* IDL: uint32 o_parent_oid; */
7428 /* IDL: uint32 o_misc; */
7429 /* IDL: uint64 o_ioepoch; */
7430 /* IDL: uint32 o_stripe_idx; */
7431 /* IDL: uint32 o_parent_ver; */
7432 /* IDL: struct lustre_handle { */
7433 /* IDL: } o_handle; */
7434 /* IDL: struct llog_cookie { */
7435 /* IDL: } o_lcookie; */
7436 /* IDL: uint32 o_uid_h; */
7437 /* IDL: uint32 o_gid_h; */
7438 /* IDL: uint64 o_padding_3; */
7439 /* IDL: uint64 o_padding_4; */
7440 /* IDL: uint64 o_padding_5; */
7441 /* IDL: uint64 o_padding_6; */
7445 lustre_dissect_element_obdo_o_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7447 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_valid);
7453 lustre_dissect_element_obdo_o_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7455 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_id);
7461 lustre_dissect_element_obdo_o_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7463 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_seq);
7469 lustre_dissect_element_obdo_o_parent_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7471 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_seq);
7477 lustre_dissect_element_obdo_o_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7479 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_size);
7485 lustre_dissect_element_obdo_o_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7489 ns.secs = tvb_get_letohl(tvb,offset);
7491 proto_tree_add_time(tree, hf_lustre_obdo_o_mtime, tvb, offset, 8, &ns );
7497 lustre_dissect_element_obdo_o_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7501 ns.secs = tvb_get_letohl(tvb,offset);
7503 proto_tree_add_time(tree, hf_lustre_obdo_o_atime, tvb, offset, 8, &ns );
7510 lustre_dissect_element_obdo_o_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7514 ns.secs = tvb_get_letohl(tvb,offset);
7516 proto_tree_add_time(tree, hf_lustre_obdo_o_ctime, tvb, offset, 8, &ns );
7522 lustre_dissect_element_obdo_o_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7524 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blocks);
7530 lustre_dissect_element_obdo_o_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7532 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_grant);
7538 lustre_dissect_element_obdo_o_blksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7540 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_blksize);
7546 lustre_dissect_element_obdo_o_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7548 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_mode);
7554 lustre_dissect_element_obdo_o_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7556 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid);
7562 lustre_dissect_element_obdo_o_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7564 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid);
7570 lustre_dissect_element_obdo_o_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7572 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_flags);
7573 /* TODO rajouter ça , faire une fonction générique qui s'occupe de tous les flags d'un tableau. */
7575 /*0x00000001 : "OBD_FL_INLINEDATA",*/
7576 /*0x00000002 : "OBD_FL_OBDMDEXISTS",*/
7577 /*0x00000004 : "OBD_FL_DELORPHAN",*/
7578 /*0x00000008 : "OBD_FL_NORPC",*/
7579 /*0x00000010 : "OBD_FL_IDONLY",*/
7580 /*0x00000020 : "OBD_FL_RECREATE_OBJS",*/
7581 /*0x00000040 : "OBD_FL_DEBUG_CHECK",*/
7582 /*0x00000100 : "OBD_FL_NO_USRQUOTA",*/
7583 /*0x00000200 : "OBD_FL_NO_GRPQUOTA",*/
7584 /*0x00000400 : "OBD_FL_CREATE_CROW",*/
7585 /*0x00000800 : "OBD_FL_SRVLOCK",*/
7591 lustre_dissect_element_obdo_o_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7593 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_nlink);
7599 lustre_dissect_element_obdo_o_parent_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7601 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_oid);
7607 lustre_dissect_element_obdo_o_misc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7609 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_misc);
7615 lustre_dissect_element_obdo_o_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7617 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_ioepoch);
7623 lustre_dissect_element_obdo_o_stripe_idx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7625 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_stripe_idx);
7631 lustre_dissect_element_obdo_o_parent_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7633 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_parent_ver);
7639 lustre_dissect_element_obdo_o_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7641 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_handle);
7646 lustre_dissect_element_obdo_o_lcookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7648 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_obdo_o_lcookie);
7653 lustre_dissect_element_obdo_o_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7655 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_uid_h);
7661 lustre_dissect_element_obdo_o_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7663 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obdo_o_gid_h);
7669 lustre_dissect_element_obdo_o_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7671 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_3);
7677 lustre_dissect_element_obdo_o_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7679 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_4);
7685 lustre_dissect_element_obdo_o_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7687 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_5);
7693 lustre_dissect_element_obdo_o_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7695 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obdo_o_padding_6);
7701 lustre_dissect_struct_obdo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_)
7703 proto_item *item = NULL;
7704 proto_tree *tree = NULL;
7711 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7712 tree = proto_item_add_subtree(item, ett_lustre_obdo);
7715 offset=lustre_dissect_element_obdo_o_valid(tvb, offset, pinfo, tree);
7717 offset=lustre_dissect_element_obdo_o_id(tvb, offset, pinfo, tree);
7719 offset=lustre_dissect_element_obdo_o_seq(tvb, offset, pinfo, tree);
7721 offset=lustre_dissect_element_obdo_o_parent_seq(tvb, offset, pinfo, tree);
7723 offset=lustre_dissect_element_obdo_o_size(tvb, offset, pinfo, tree);
7725 offset=lustre_dissect_element_obdo_o_mtime(tvb, offset, pinfo, tree);
7727 offset=lustre_dissect_element_obdo_o_atime(tvb, offset, pinfo, tree);
7729 offset=lustre_dissect_element_obdo_o_ctime(tvb, offset, pinfo, tree);
7731 offset=lustre_dissect_element_obdo_o_blocks(tvb, offset, pinfo, tree);
7733 offset=lustre_dissect_element_obdo_o_grant(tvb, offset, pinfo, tree);
7735 offset=lustre_dissect_element_obdo_o_blksize(tvb, offset, pinfo, tree);
7737 offset=lustre_dissect_element_obdo_o_mode(tvb, offset, pinfo, tree);
7739 offset=lustre_dissect_element_obdo_o_uid(tvb, offset, pinfo, tree);
7741 offset=lustre_dissect_element_obdo_o_gid(tvb, offset, pinfo, tree);
7743 offset=lustre_dissect_element_obdo_o_flags(tvb, offset, pinfo, tree);
7745 offset=lustre_dissect_element_obdo_o_nlink(tvb, offset, pinfo, tree);
7747 offset=lustre_dissect_element_obdo_o_parent_oid(tvb, offset, pinfo, tree);
7749 offset=lustre_dissect_element_obdo_o_misc(tvb, offset, pinfo, tree);
7751 offset=lustre_dissect_element_obdo_o_ioepoch(tvb, offset, pinfo, tree);
7753 offset=lustre_dissect_element_obdo_o_stripe_idx(tvb, offset, pinfo, tree);
7755 offset=lustre_dissect_element_obdo_o_parent_ver(tvb, offset, pinfo, tree);
7757 offset=lustre_dissect_element_obdo_o_handle(tvb, offset, pinfo, tree);
7759 offset=lustre_dissect_element_obdo_o_lcookie(tvb, offset, pinfo, tree);
7761 offset=lustre_dissect_element_obdo_o_uid_h(tvb, offset, pinfo, tree);
7763 offset=lustre_dissect_element_obdo_o_gid_h(tvb, offset, pinfo, tree);
7765 offset=lustre_dissect_element_obdo_o_padding_3(tvb, offset, pinfo, tree);
7767 offset=lustre_dissect_element_obdo_o_padding_4(tvb, offset, pinfo, tree);
7769 offset=lustre_dissect_element_obdo_o_padding_5(tvb, offset, pinfo, tree);
7771 offset=lustre_dissect_element_obdo_o_padding_6(tvb, offset, pinfo, tree);
7774 proto_item_set_len(item, offset-old_offset);
7781 /* IDL: struct ost_body { */
7782 /* IDL: struct obdo { */
7787 lustre_dissect_element_ost_body_oa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7789 offset=lustre_dissect_struct_obdo(tvb,offset,pinfo,tree,hf_lustre_ost_body_oa);
7794 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_)
7796 proto_item *item = NULL;
7797 proto_tree *tree = NULL;
7803 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7804 tree = proto_item_add_subtree(item, ett_lustre_ost_body);
7807 offset=lustre_dissect_element_ost_body_oa(tvb, offset, pinfo, tree);
7809 proto_item_set_len(item, offset-old_offset);
7815 /* TODO : find when this Structure appear on the wire */
7816 /* IDL: struct qunit_data { */
7817 /* IDL: uint32 qd_id; */
7818 /* IDL: uint32 qd_flags; */
7819 /* IDL: uint64 qd_count; */
7820 /* IDL: uint64 qd_qunit; */
7821 /* IDL: uint64 padding; */
7825 lustre_dissect_element_qunit_data_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7827 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_id);
7833 lustre_dissect_element_qunit_data_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7835 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_flags);
7841 lustre_dissect_element_qunit_data_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7843 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_count);
7849 lustre_dissect_element_qunit_data_qd_qunit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7851 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_qd_qunit);
7857 lustre_dissect_element_qunit_data_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7859 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_padding);
7865 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_)
7867 proto_item *item = NULL;
7868 proto_tree *tree = NULL;
7876 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7877 tree = proto_item_add_subtree(item, ett_lustre_qunit_data);
7880 offset=lustre_dissect_element_qunit_data_qd_id(tvb, offset, pinfo, tree);
7882 offset=lustre_dissect_element_qunit_data_qd_flags(tvb, offset, pinfo, tree);
7884 offset=lustre_dissect_element_qunit_data_qd_count(tvb, offset, pinfo, tree);
7886 offset=lustre_dissect_element_qunit_data_qd_qunit(tvb, offset, pinfo, tree);
7888 offset=lustre_dissect_element_qunit_data_padding(tvb, offset, pinfo, tree);
7891 proto_item_set_len(item, offset-old_offset);
7896 /* TODO : find when this Structure appear on the wire */
7897 /* IDL: struct qunit_data_old2 { */
7898 /* IDL: uint32 qd_id; */
7899 /* IDL: uint32 qd_flags; */
7900 /* IDL: uint64 qd_count; */
7904 lustre_dissect_element_qunit_data_old2_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7906 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_id);
7912 lustre_dissect_element_qunit_data_old2_qd_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7914 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_flags);
7920 lustre_dissect_element_qunit_data_old2_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7922 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old2_qd_count);
7928 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_)
7930 proto_item *item = NULL;
7931 proto_tree *tree = NULL;
7939 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7940 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old2);
7943 offset=lustre_dissect_element_qunit_data_old2_qd_id(tvb, offset, pinfo, tree);
7945 offset=lustre_dissect_element_qunit_data_old2_qd_flags(tvb, offset, pinfo, tree);
7947 offset=lustre_dissect_element_qunit_data_old2_qd_count(tvb, offset, pinfo, tree);
7950 proto_item_set_len(item, offset-old_offset);
7955 /* TODO : find when this Structure appear on the wire */
7956 /* IDL: struct qunit_data_old { */
7957 /* IDL: uint32 qd_id; */
7958 /* IDL: uint32 qd_type; */
7959 /* IDL: uint32 qd_count; */
7960 /* IDL: uint32 qd_isblk; */
7964 lustre_dissect_element_qunit_data_old_qd_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7966 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_id);
7972 lustre_dissect_element_qunit_data_old_qd_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7974 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_type);
7980 lustre_dissect_element_qunit_data_old_qd_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7982 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_count);
7988 lustre_dissect_element_qunit_data_old_qd_isblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
7990 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_qunit_data_old_qd_isblk);
7996 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_)
7998 proto_item *item = NULL;
7999 proto_tree *tree = NULL;
8007 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8008 tree = proto_item_add_subtree(item, ett_lustre_qunit_data_old);
8011 offset=lustre_dissect_element_qunit_data_old_qd_id(tvb, offset, pinfo, tree);
8013 offset=lustre_dissect_element_qunit_data_old_qd_type(tvb, offset, pinfo, tree);
8015 offset=lustre_dissect_element_qunit_data_old_qd_count(tvb, offset, pinfo, tree);
8017 offset=lustre_dissect_element_qunit_data_old_qd_isblk(tvb, offset, pinfo, tree);
8020 proto_item_set_len(item, offset-old_offset);
8026 lustre_dissect_struct_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_ )
8028 offset=dissect_uint32(tvb, offset, pinfo, parent_tree, hf_index);
8029 /* Pad out to 8 bytes */
8030 offset=add_extra_padding(tvb,offset,pinfo,parent_tree);
8036 lustre_dissect_struct_seq_range(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8038 proto_item *item = NULL;
8039 proto_tree *tree = NULL;
8045 item = proto_tree_add_item(parent_tree, hf_lustre_seq_range, tvb, offset, -1, TRUE);
8046 tree = proto_item_add_subtree(item, ett_lustre_seq_range);
8049 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_start);
8050 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_seq_range_end);
8051 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_index);
8052 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_seq_range_flags);
8055 proto_item_set_len(item, offset-old_offset);
8061 lustre_dissect_struct_fld_range(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8063 proto_item *item = NULL;
8064 proto_tree *tree = NULL;
8070 item = proto_tree_add_item(parent_tree, hf_lustre_fld_range, tvb, offset, -1, TRUE);
8071 tree = proto_item_add_subtree(item, ett_lustre_fld_range);
8074 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_fld_range_start);
8075 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_fld_range_end);
8076 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_fld_range_index);
8077 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_fld_range_flags);
8080 proto_item_set_len(item, offset-old_offset);
8086 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_)
8088 proto_item *item = NULL;
8089 proto_tree *tree = NULL;
8095 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8096 tree = proto_item_add_subtree(item, ett_lustre_mdt_ioepoch);
8099 offset=lustre_dissect_struct_handle_cookie(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_handle);
8100 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_ioepoch);
8101 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_flags);
8102 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch_padding);
8105 proto_item_set_len(item, offset-old_offset);
8109 /* IDL: struct lustre_capa {
8110 * IDL: struct lu_fid lc_fid;
8111 * IDL: __u64 lc_opc;
8112 * IDL: __u64 lc_uid;
8113 * IDL: __u64 lc_gid;
8114 * IDL: __u32 lc_flags;
8115 * IDL: __u32 lc_keyid;
8116 * IDL: __u32 lc_timeout;
8117 * IDL: __u32 lc_expiry;
8118 * IDL: __u8 lc_hmac[64];
8119 * IDL: } __attribute__((packed));
8122 /** lustre_capa::lc_opc */
8124 /* CAPA_OPC_BODY_WRITE = 1<<0, **< write object data */
8125 /* CAPA_OPC_BODY_READ = 1<<1, **< read object data */
8126 /* CAPA_OPC_INDEX_LOOKUP = 1<<2, **< lookup object fid */
8127 /* CAPA_OPC_INDEX_INSERT = 1<<3, **< insert object fid */
8128 /* CAPA_OPC_INDEX_DELETE = 1<<4, **< delete object fid */
8129 /* CAPA_OPC_OSS_WRITE = 1<<5, **< write oss object data */
8130 /* CAPA_OPC_OSS_READ = 1<<6, **< read oss object data */
8131 /* CAPA_OPC_OSS_TRUNC = 1<<7, **< truncate oss object */
8132 /* CAPA_OPC_OSS_DESTROY = 1<<8, **< destroy oss object */
8133 /* CAPA_OPC_META_WRITE = 1<<9, **< write object meta data */
8134 /* CAPA_OPC_META_READ = 1<<10, **< read object meta data */
8138 lustre_dissect_element_capa_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8140 /* TODO - pick apart bits */
8141 offset = dissect_uint64(tvb, offset, pinfo, parent_tree, hf_lustre_capa_opc);
8146 lustre_dissect_element_capa_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
8148 /* TODO - pick apart flags */
8149 offset=dissect_uint32(tvb,offset,pinfo,parent_tree,hf_lustre_capa_flags);
8154 lustre_dissect_struct_capa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8155 proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8157 proto_item *item = NULL;
8158 proto_tree *tree = NULL;
8164 data_len = LUSTRE_BUFFER_LEN(buf_num);
8169 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8170 tree = proto_item_add_subtree(item, ett_lustre_capa);
8173 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_capa_fid);
8175 offset=lustre_dissect_element_capa_opc(tvb,offset,pinfo,tree);
8177 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_uid);
8179 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_gid);
8181 offset=lustre_dissect_element_capa_flags(tvb,offset,pinfo,tree);
8183 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_keyid);
8185 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_timeout);
8187 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_expiry);
8189 offset=lustre_dissect_struct_hmac(tvb,offset,pinfo,tree, hf_lustre_capa_hmac, 64);
8192 proto_item_set_len(item, offset-old_offset);
8198 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)
8200 proto_item *item = NULL;
8201 proto_tree *tree = NULL;
8207 data_len = LUSTRE_BUFFER_LEN(buf_num);
8212 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8213 tree = proto_item_add_subtree(item, ett_lustre_acl);
8216 proto_tree_add_item(tree, hf_index, tvb, offset, data_len, TRUE);
8220 offset=add_extra_padding(tvb,offset,pinfo,tree);
8223 proto_item_set_len(item, offset-old_offset);
8229 /* ------------------------------------------------------------------------- */
8231 * the length of the string is the current buflen
8232 * @tvb the packet buff
8233 * @offset the current offset
8236 * @hf_index : the corresponding header field
8237 * @buf_num : the corresponding bufnumber of the string (we use it to
8238 * determine the string length), must respect : 0<bufnum<=bufmax_in_paquet
8241 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)
8243 proto_item *item = NULL;
8249 /* if (parent_tree) {
8250 * item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8251 * tree = proto_item_add_subtree(item, ett_lustre);
8255 string_len = LUSTRE_BUFFER_LEN(buf_num);
8259 /* g_print("buf_num:%d (max:%d) BUFLEN_OFF:%#x strlen:%d\n",
8260 buf_num, LUSTRE_BUFCOUNT,
8261 LUSTRE_BUFLEN_OFF, string_len);*/
8263 proto_tree_add_item(parent_tree, hf_index, tvb, offset, string_len, TRUE);
8265 display_info_fstr(parent_tree, pinfo->cinfo, COL_INFO, " filename : %s",
8266 (const gchar *) tvb_get_string(tvb,offset,string_len) );
8269 proto_item_set_len(item, offset-old_offset);
8270 offset=add_extra_padding(tvb,offset,pinfo,parent_tree); /* after a string we must be aligned to 8 bytes. */
8275 /* ------------------------------------------------------------------------- */
8278 /* Process REINT opcode requests */
8279 static int reint_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
8283 opcode = tvb_get_letohl(tvb,offset);
8287 /* 2.x+ [rec_setattr][capa1][mdt_epoch][eadata][cookie_data][ldlm_request] */
8288 /* old? [rec_setattr][ldlm_request] */
8289 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree,
8290 hf_lustre_mdt_rec_setattr);
8291 if (LUSTRE_BUFCOUNT > 2) {
8292 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8293 hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8294 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+2) > 0)
8295 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree,
8296 hf_lustre_mdt_ioepoch);
8297 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8298 hf_lustre_mds_xattr_eadata,
8299 LUSTRE_REQ_REC_OFF+3);
8300 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8301 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8303 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8304 hf_lustre_ldlm_request);
8307 /* [rec_create][filename][tgt.. Ã 0 pour l'instant][ldlm_request] */
8308 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8309 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8310 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8311 /* REINT_CREATE_SLAVE / SYM / RMT_ACL */
8312 if (LUSTRE_BUFCOUNT > 4) {
8313 /* for CREATE_SYM this is actually name of target - encoded in mdt_rec_create.cr_mode */
8314 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+3);
8315 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8316 hf_lustre_ldlm_request);
8320 /*[mdt_rec_link][filename][ldlm_req] */
8321 offset=lustre_dissect_struct_mdt_rec_link(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link);
8322 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8323 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8324 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+3);
8325 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8326 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8329 /* reint_unlink_client: [mdt_rec_unlink][capa1][filename][ldlm_req] */
8330 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink);
8331 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8332 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+2) == 112) {
8333 /* TODO : ugly .. but for now we have to do this */
8334 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8337 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+2);
8338 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8341 case REINT_RENAME: /*mds_rename_unpack : [mdt_rec_rename][filename source][filename target_name][ldlm_request] */
8342 offset=lustre_dissect_struct_mdt_rec_rename(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_rename);
8343 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8344 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8345 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_old_name, LUSTRE_REQ_REC_OFF+3);
8346 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_new_name, LUSTRE_REQ_REC_OFF+4);
8347 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+5) > 0)
8348 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8350 case REINT_OPEN: /* [rec_create][filename][eadata] */
8351 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create);
8352 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name, LUSTRE_REQ_REC_OFF+1);
8353 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+2);
8355 case REINT_SETXATTR:
8356 /* 2.x+ [rec_setxattr][capa1][name][eadata] */
8357 /* old? [rec_setxattr][ldlm_request] */
8358 offset=lustre_dissect_struct_mdt_rec_setxattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setxattr);
8359 if (LUSTRE_BUFCOUNT > 2) {
8360 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8361 hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8362 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+2);
8363 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata,
8364 LUSTRE_REQ_REC_OFF+3);
8365 if (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+4) > 0)
8366 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8367 } else if (LUSTRE_BUFCOUNT == 2)
8368 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8369 hf_lustre_ldlm_request);
8380 /* dissect a connect message */
8382 lustre_dissect_generic_connect(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
8384 /*TODO : add a cuuid and target uid */
8385 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8386 offset=lustre_dissect_struct_obd_uuid(tvb, offset, pinfo, tree, hf_lustre_obd_uuid);
8387 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
8388 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8393 lustre_dissect_struct_capa(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8394 proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8396 proto_item *item = NULL;
8397 proto_tree *tree = NULL;
8403 data_len = LUSTRE_BUFFER_LEN(buf_num);
8408 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8409 tree = proto_item_add_subtree(item, ett_lustre_capa);
8412 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_capa_fid);
8414 offset=lustre_dissect_element_capa_opc(tvb,offset,pinfo,tree);
8416 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_uid);
8418 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_capa_gid);
8420 offset=lustre_dissect_element_capa_flags(tvb,offset,pinfo,tree);
8422 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_keyid);
8424 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_timeout);
8426 offset=dissect_uint32(tvb,offset,pinfo,tree,hf_lustre_capa_expiry);
8428 offset=lustre_dissect_struct_hmac(tvb,offset,pinfo,tree, hf_lustre_capa_hmac, 64);
8431 proto_item_set_len(item, offset-old_offset);
8437 lustre_dissect_struct_lu_ladvise(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8438 proto_tree *parent_tree _U_, int hf_index _U_, guint32 buf_num)
8440 proto_item *item = NULL;
8441 proto_tree *tree = NULL;
8447 data_len = LUSTRE_BUFFER_LEN(buf_num);
8452 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
8453 tree = proto_item_add_subtree(item, ett_lustre_ladvise);
8456 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_start);
8458 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_end);
8460 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_advice);
8462 offset=dissect_uint64(tvb,offset,pinfo,tree,hf_lustre_lu_ladvise_lla_padding);
8465 proto_item_set_len(item, offset-old_offset);
8470 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)
8475 case OST_REPLY: /* obsolete so nothing */
8478 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8479 if (pb_type == PTL_RPC_MSG_REQUEST)
8480 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8483 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8484 if (pb_type == PTL_RPC_MSG_REQUEST)
8485 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8487 case OST_READ: /* [OST_BODY][obd_ioobj][niobuf_remote] for request, [OST_BODY] for reply */
8488 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8489 if(pb_type==PTL_RPC_MSG_REQUEST){
8490 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8491 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_niobuf_remote);
8495 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree,
8496 hf_lustre_ost_body);
8497 if(pb_type==PTL_RPC_MSG_REQUEST) {
8498 for (i = 0; i < (LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+1))/24; i++)
8499 offset=lustre_dissect_struct_obd_ioobj(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj);
8500 offset=lustre_dissect_struct_niobuf_remote(tvb,offset,pinfo, tree, hf_lustre_obd_ioobj);
8502 if(pb_type==PTL_RPC_MSG_REPLY) { /* niocount *[uint32], but niocount is in request message, so
8503 we use the bufcount */
8504 for (i = 0; i < LUSTRE_BUFCOUNT-2; i++) /* -2 because we have already dissect 2 buffers : ptl + ost */
8505 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_nio);
8506 offset=add_extra_padding(tvb, offset, pinfo, tree);
8510 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8511 if (pb_type == PTL_RPC_MSG_REQUEST)
8512 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8515 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8516 if(pb_type==PTL_RPC_MSG_REQUEST) {/* [ost_body][ldlm_req][capa] */
8517 if ( LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF +1) != 0)
8518 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request);
8519 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+2);
8523 if(pb_type==PTL_RPC_MSG_REQUEST) /* [key] */
8524 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF);
8525 if (pb_type==PTL_RPC_MSG_REPLY)
8526 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF); /* val */
8529 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8530 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8531 if (pb_type==PTL_RPC_MSG_REPLY)
8532 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8534 case OST_DISCONNECT: /* [nothing] */
8536 case OST_PUNCH: /* [ost_body] */
8537 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8538 if (pb_type == PTL_RPC_MSG_REQUEST)
8539 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8541 case OST_OPEN: /* [nothing] in the code maybee obsolete */
8543 case OST_CLOSE: /* [nothing] in the code maybee obsolete */
8545 case OST_STATFS: /* [obd_statfs] */
8546 if (pb_type==PTL_RPC_MSG_REPLY)
8547 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8550 /*[ost_body] in both case */
8551 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8552 if (pb_type == PTL_RPC_MSG_REQUEST)
8553 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8556 if(pb_type==PTL_RPC_MSG_REQUEST)
8558 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key, LUSTRE_REQ_REC_OFF); /* key */
8559 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8561 /* if Key = "evict_by_nid" --> need to be process.. TODO */
8563 case OST_QUOTACHECK:
8564 if(pb_type==PTL_RPC_MSG_REQUEST)
8565 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8566 /* nothing in reply */
8569 /*[obd_quotactl in both case]*/
8570 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8571 case OST_QUOTA_ADJUST_QUNIT:
8572 /* [quota_adjust_qunit] in both case ? */
8573 offset=lustre_dissect_struct_quota_adjust_qunit(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit) ;
8575 /*[ost_body] in both case */
8576 offset=lustre_dissect_struct_ost_body(tvb, offset, pinfo, tree, hf_lustre_ost_body) ;
8577 if (pb_type == PTL_RPC_MSG_REQUEST) {
8578 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+1);
8579 offset=lustre_dissect_struct_lu_ladvise(tvb, offset, pinfo, tree, hf_lustre_lu_ladvise, LUSTRE_REQ_REC_OFF+2);
8587 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)
8590 case MDS_DISCONNECT:
8594 /*request: [mds body]*/
8595 /*reply: [mds body][capa] */
8596 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8597 if (pb_type == PTL_RPC_MSG_REPLY)
8598 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+1);
8601 if(pb_type==PTL_RPC_MSG_REQUEST)
8603 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8604 /*if(reply) : [nothing]*/
8607 /*request: [mds body][capa][xattr name]*/
8608 /*reply: [mds body][eadata] - ommited on error */
8609 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8610 if(pb_type==PTL_RPC_MSG_REQUEST) {
8611 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+1);
8612 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_name, LUSTRE_REQ_REC_OFF+2);
8614 if (pb_type == PTL_RPC_MSG_REPLY)
8615 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_mds_xattr_eadata, LUSTRE_REQ_REC_OFF+1);
8618 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
8619 if (pb_type == PTL_RPC_MSG_REPLY) { /* [mdt_md][acl][capa1][capa2] */
8620 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
8621 hf_lustre_mds_md_data,
8622 LUSTRE_REPLY_REC_OFF+1);
8623 offset=lustre_dissect_struct_acl(tvb, offset, pinfo, tree,
8624 hf_lustre_acl, LUSTRE_REPLY_REC_OFF+3);
8625 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8627 LUSTRE_REPLY_REC_OFF+4);
8628 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8630 LUSTRE_REPLY_REC_OFF+5);
8633 case MDS_GETATTR_NAME:
8634 if(pb_type==PTL_RPC_MSG_REQUEST)
8636 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8637 /*[nothing in reply]*/
8639 case MDS_DONE_WRITING:
8641 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8643 case MDS_PIN: /* repbody.. */
8645 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8649 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8653 if(pb_type==PTL_RPC_MSG_REQUEST)
8654 { /* [mdt_ioepoch][rec_reint][capa1] */
8655 offset=lustre_dissect_struct_mdt_ioepoch(tvb, offset, pinfo, tree, hf_lustre_mdt_ioepoch);
8657 if(LUSTRE_BUFFER_LEN(LUSTRE_REQ_REC_OFF+1) > 0)
8658 offset=lustre_dissect_struct_mdt_rec_setattr(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr);
8660 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+2);
8662 if(pb_type==PTL_RPC_MSG_REPLY)
8663 { /* [mdt_body][md][cookie][capa1][capa2] */
8664 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8665 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_mds_md_data, LUSTRE_REPLY_REC_OFF+1);
8666 if(LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF+2) > 0)
8667 offset=lustre_dissect_struct_llog_cookie(tvb,offset,pinfo,tree,hf_lustre_llog_cookie);
8668 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+3);
8669 offset=lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REQ_REC_OFF+4);
8674 if(pb_type==PTL_RPC_MSG_REPLY)
8676 offset=lustre_dissect_struct_obd_statfs(tvb, offset, pinfo, tree, hf_lustre_obd_statfs) ;
8677 /*in request : [nothing]*/
8681 /* [mdt_body] but with some different interpration, need to modify the hf : TODO */
8682 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8686 /* the structure depend on the intent_opcode */
8687 if(pb_type==PTL_RPC_MSG_REQUEST)
8688 offset=reint_opcode_process(tvb, offset, pinfo, tree);
8690 if(pb_type==PTL_RPC_MSG_REPLY) {
8691 /* [mdt_body][mdt_md][??][capa1][capa2] */
8692 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
8694 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1, LUSTRE_REPLY_REC_OFF+1);
8696 if(LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF+2) > 0)
8697 /* open : ...[ACL]...
8698 * unlink, rename : ...[log_cookies]... */
8699 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
8700 hf_lustre_mds_xattr_eadata,
8701 LUSTRE_REPLY_REC_OFF+2);
8703 lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+3);
8704 lustre_dissect_struct_capa(tvb,offset,pinfo,tree, hf_lustre_capa, LUSTRE_REPLY_REC_OFF+4);
8708 if(pb_type==PTL_RPC_MSG_REQUEST){
8710 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_key,LUSTRE_REQ_REC_OFF); /* key */
8711 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_ost_val, LUSTRE_REQ_REC_OFF+1); /* val */
8712 //offset=add_extra_padding(tvb,offset,pinfo,tree);
8714 /*nothing en reply*/
8716 case MDS_QUOTACHECK:
8717 /* [obd_quotactl] */
8718 if(pb_type==PTL_RPC_MSG_REQUEST)
8719 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8722 /* [obd_quotactl] in both case*/
8723 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl) ;
8726 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8727 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8728 if (pb_type==PTL_RPC_MSG_REPLY || pb_type == PTL_RPC_MSG_ERR) /*[obd_connect_data]*/
8729 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8741 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)
8745 /* [ldlm_request] if we have one more buffer it's
8746 * [intent_opcode] and the opcode give us the corresponding
8747 * intent structure [intent] */
8748 if (pb_type==PTL_RPC_MSG_REQUEST) {
8749 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree,
8750 hf_lustre_ldlm_request);
8751 if (LUSTRE_BUFCOUNT>=3)
8752 offset=lustre_dissect_struct_ldlm_intent(tvb, offset, pinfo, tree,
8753 hf_lustre_ldlm_intent);
8755 if (pb_type==PTL_RPC_MSG_REPLY) {
8758 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree,
8759 hf_lustre_ldlm_reply,
8761 /* check if we're done processing */
8762 if (LUSTRE_BUFCOUNT <= 2)
8765 if (LUSTRE_BUFFER_LEN(LUSTRE_REPLY_REC_OFF) == 40)
8766 /* TODO :this code need to be check and test, the
8767 * lustre corresponding code isn't explicit, so not
8768 * sure to have this buffer, but in example it works
8771 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree,
8774 else if (ldlm_type == LDLM_EXTENT) {
8775 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1,
8776 LUSTRE_DLM_REPLY_REC_OFF);
8780 if (LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8781 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree,
8782 hf_lustre_mdt_body);
8783 offset=lustre_dissect_struct_lov_mds_md(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1,
8784 LUSTRE_DLM_INTENT_REC_OFF);
8786 /* ldlm_intent_server : ACL */
8787 offset=lustre_dissect_struct_acl(tvb, offset, pinfo, tree,
8788 hf_lustre_acl, LUSTRE_DLM_INTENT_REC_OFF+1);
8790 /* ldlm_intent_open_server : [capa1][capa2] */
8791 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8792 hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+2);
8793 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree,
8794 hf_lustre_capa, LUSTRE_DLM_INTENT_REC_OFF+3);
8799 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8800 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8801 if(pb_type==PTL_RPC_MSG_REPLY) /*[ldlm_reply]*/
8802 offset=lustre_dissect_struct_ldlm_reply(tvb, offset, pinfo, tree, hf_lustre_ldlm_reply, NULL) ;
8806 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8807 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8810 case LDLM_BL_CALLBACK:
8811 if(pb_type==PTL_RPC_MSG_REQUEST) /*[ldlm_request]*/
8812 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8815 case LDLM_CP_CALLBACK:
8816 if(pb_type==PTL_RPC_MSG_REQUEST){
8817 /*[ldlm_request] if the third buffer exist we have [lvb data] so it's [ost_lvb] : TODO :
8819 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8820 if(LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8821 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8823 /*reply : [nothing] */
8826 case LDLM_GL_CALLBACK:
8827 if(pb_type==PTL_RPC_MSG_REQUEST) { /*[ldlm_request] [lvb (for gl_desc)]*/
8828 offset=lustre_dissect_struct_ldlm_request(tvb, offset, pinfo, tree, hf_lustre_ldlm_request) ;
8829 if(LUSTRE_BUFFER_LEN(LUSTRE_DLM_REPLY_REC_OFF) > 0)
8830 offset=lustre_dissect_struct_ost_lvb(tvb,offset,pinfo,tree,hf_lustre_ost_lvb);
8832 if(pb_type==PTL_RPC_MSG_REPLY) /* [ost_lvb] */
8833 offset=lustre_dissect_struct_ost_lvb(tvb, offset, pinfo, tree, hf_lustre_ost_lvb);
8843 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)
8847 if (pb_type==PTL_RPC_MSG_REQUEST) /* [targetuuid][clientuuid][lustre_handle][obd_connect_data] */
8848 offset=lustre_dissect_generic_connect(tvb,offset,pinfo,tree);
8849 if (pb_type==PTL_RPC_MSG_REPLY) /*[obd_connect_data]*/
8850 offset=lustre_dissect_struct_obd_connect_data(tvb,offset,pinfo,tree,hf_lustre_obd_connect_data);
8852 case MGS_DISCONNECT :
8855 case MGS_EXCEPTION : /* node died, etc. */
8858 case MGS_TARGET_REG:
8859 /*[mgs_target_info], mgs_handler.c mgs_handle_target_reg() called whenever a target startup*/
8860 offset=lustre_dissect_struct_mgs_target_info(tvb, offset, pinfo, tree, hf_lustre_mgs_target_info);
8862 case MGS_TARGET_DEL:
8866 /*[mgs_send_param], mgs_set_info_rpc()*/
8867 offset=lustre_dissect_struct_mgs_send_param(tvb,offset,pinfo,tree,hf_lustre_mgs_send_param);
8869 case MGS_CONFIG_READ:
8870 if (pb_type==PTL_RPC_MSG_REQUEST) /* [config_body] */
8871 offset=lustre_dissect_struct_mgs_config_body(tvb,offset,pinfo,tree,hf_lustre_mgs_config_body);
8872 if (pb_type==PTL_RPC_MSG_REPLY) /* [config_res] */
8873 offset=lustre_dissect_struct_mgs_config_res(tvb,offset,pinfo,tree,hf_lustre_mgs_config_res);
8882 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)
8888 case OBD_LOG_CANCEL:
8891 case OBD_QC_CALLBACK:
8892 if(pb_type==PTL_RPC_MSG_REQUEST)
8893 offset=lustre_dissect_struct_obd_quotactl(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl);
8894 /*if (request) : [nothing]*/
8903 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)
8906 case LLOG_ORIGIN_HANDLE_CREATE : /* in handler.c */
8907 /*[llogd_body] (reply and request)*/
8908 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8909 if(pb_type==PTL_RPC_MSG_REQUEST) /* [filename] */
8910 if (LUSTRE_BUFCOUNT>2)
8911 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_name,
8912 LUSTRE_REQ_REC_OFF+1);
8914 case LLOG_ORIGIN_HANDLE_NEXT_BLOCK :/* in handler.c */
8915 /* [llogd_body][eadata]
8916 * the size of second buf is LLOG_CHKUNK_SIZE, so it's maybee only bulk data */
8917 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8918 if(pb_type==PTL_RPC_MSG_REPLY)
8919 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8920 LUSTRE_REPLY_REC_OFF+1);
8922 case LLOG_ORIGIN_HANDLE_READ_HEADER:/* in handler.c */
8923 if(pb_type==PTL_RPC_MSG_REQUEST){
8924 /* [llogd_body][llog_log_hdr] */
8925 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8926 if(LUSTRE_BUFCOUNT>2)
8927 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8928 hf_lustre_llogd_log_hdr);
8930 if(pb_type==PTL_RPC_MSG_REPLY) /* [llog_log_hdr] */
8931 offset=lustre_dissect_struct_llog_log_hdr(tvb, offset, pinfo, tree,
8932 hf_lustre_llogd_log_hdr);
8934 case LLOG_ORIGIN_HANDLE_WRITE_REC : /* I think this is obsolete */
8937 case LLOG_ORIGIN_HANDLE_CLOSE :/* handler.c */
8940 case LLOG_ORIGIN_CONNECT : /* ost_handler.c */
8942 case LLOG_CATINFO : /*in handler.c */
8943 if(pb_type==PTL_RPC_MSG_REQUEST){
8944 /* [keyword][if keyword=config [char*] else [nothing]] */
8945 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_keyword,
8946 LUSTRE_REQ_REC_OFF);
8947 if (strcmp((const char *)tvb_get_string(tvb, LUSTRE_REQ_REC_OFF,
8949 LUSTRE_BUFLEN_OFF + 4 *
8950 LUSTRE_REQ_REC_OFF)),
8952 /* if(keyword == "config") */
8953 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_llogd_client,
8954 LUSTRE_REQ_REC_OFF+1);
8956 if(pb_type==PTL_RPC_MSG_REPLY)
8957 /*[buf] sizeof = llog_chunk_size*/
8958 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8959 LUSTRE_REPLY_REC_OFF + 1 );
8960 /* TODO TODO : check if it's note a catid */
8962 case LLOG_ORIGIN_HANDLE_PREV_BLOCK : /* in handler.c */
8963 /* [llogd_body] in both case */
8964 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8965 if(pb_type==PTL_RPC_MSG_REPLY)
8966 /*[buf] size of llog_chunk_size*/
8967 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree, hf_lustre_llogd_chunk,
8968 LUSTRE_REPLY_REC_OFF + 1 );
8970 case LLOG_ORIGIN_HANDLE_DESTROY : /* in handler.c */
8971 /*[llogd_body] in both case*/
8972 offset=lustre_dissect_struct_llogd_body(tvb, offset, pinfo, tree, hf_lustre_llogd_body);
8982 lustre_seq_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
8983 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
8987 if (pb_type == PTL_RPC_MSG_REQUEST)
8988 offset=lustre_dissect_struct_seq(tvb, offset, pinfo, tree, hf_lustre_seq_opc);
8989 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree);
8993 g_print("error: SEQ Opcode: %d unknown\n", opc);
8994 if (check_col(pinfo->cinfo, COL_INFO))
8995 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9003 lustre_fld_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
9004 proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
9008 if (pb_type == PTL_RPC_MSG_REQUEST)
9009 offset=lustre_dissect_struct_seq(tvb, offset, pinfo, tree, hf_lustre_fld_opc);
9010 offset=lustre_dissect_struct_seq_range(tvb, offset, pinfo, tree);
9014 g_print("error: FLD Opcode: %d unknown\n", opc);
9015 if (check_col(pinfo->cinfo, COL_INFO))
9016 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9024 /* process lustre opcode :
9025 check if opcode is in range_opcode, and call the corresponding opcode process function */
9027 lustre_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint32 opc _U_, guint32 pb_type)
9029 /* No more buffers to process */
9030 if (LUSTRE_BUFCOUNT == 1)
9033 if (opc <= OST_LAST_OPC) /* OST opcodes */
9034 offset=lustre_ost_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9036 if ( (opc >= MDS_FIRST_OPC) && (opc < MDS_LAST_OPC )) /* MDS opcodes */
9037 offset=lustre_mds_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9039 if ( (opc >= LDLM_FIRST_OPC) && (opc < LDLM_LAST_OPC) ) /*LDLM Opcodes*/
9040 offset=lustre_ldlm_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9042 if( (opc>= MGS_FIRST_OPC) && (opc <= MGS_LAST_OPC)) /* MGS Opcodes */
9043 offset=lustre_mgs_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9045 if( (opc>= OBD_FIRST_OPC) && (opc<=OBD_LAST_OPC)) /* ODB Opcodes */
9046 offset=lustre_odb_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9048 if( (opc>=LLOG_FIRST_OPC) && (opc<=LLOG_LAST_OPC)) /* LLOG Opcodes */
9049 offset=lustre_llog_opcode_process( tvb , offset ,pinfo , tree , opc , pb_type) ;
9051 if( (opc >= SEQ_FIRST_OPC) && (opc <= SEQ_LAST_OPC) ) /* SEQ Opcodes */
9052 offset=lustre_seq_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9054 if( (opc >= FLD_FIRST_OPC) && (opc <= FLD_LAST_OPC) ) /* FLD Opcodes */
9055 offset=lustre_fld_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9060 /* ----------------------------------------------- */
9061 /* add an extra padding to be aligned to 8bytes */
9063 add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_)
9065 guint32 padding_len;
9067 padding_len = (8- offset%8)%8;
9069 proto_tree_add_item(tree, hf_lustre_extra_padding , tvb, offset, padding_len, TRUE);
9070 offset+=padding_len;
9074 /* ----------------------------------------------- */
9077 ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
9078 proto_tree * tree _U_, guint64 intent_opc _U_)
9080 /* all corresponding code is in mdc_locks.c in function mdc_enqueue() */
9081 /* if 0x0003 we have CREAT + OPEN
9083 if (intent_opc & IT_OPEN) {
9084 /* mdc_intent_open_pack(), d'où [opcode][mdc_rec_create][capa1][capa2][name][eada] */
9085 offset=lustre_dissect_struct_mdt_rec_create(tvb, offset, pinfo, tree,
9086 hf_lustre_mdt_rec_create);
9087 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
9088 hf_lustre_reint_name,
9089 LUSTRE_DLM_INTENT_REC_OFF+3);
9090 offset=lustre_dissect_element_data(tvb, offset, pinfo, tree,
9091 hf_lustre_mds_xattr_eadata,
9092 LUSTRE_DLM_INTENT_REC_OFF+4);
9095 if (intent_opc & IT_UNLINK){
9096 /* mdc_intent_unlink_pack(), d'où [opcode][mdt_rec_unlink][capa][name] */
9097 offset=lustre_dissect_struct_mdt_rec_unlink(tvb, offset, pinfo, tree,
9098 hf_lustre_mdt_rec_unlink);
9099 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9100 LUSTRE_DLM_INTENT_REC_OFF+1);
9101 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree,
9102 hf_lustre_reint_name,
9103 LUSTRE_DLM_INTENT_REC_OFF+2);
9105 if (intent_opc & IT_GETATTR){
9106 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
9107 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body) ;
9108 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9109 LUSTRE_DLM_INTENT_REC_OFF+1);
9110 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
9111 LUSTRE_DLM_INTENT_REC_OFF+2);
9114 if (intent_opc & IT_LOOKUP){
9115 /* mdc_intent_lookup_pack, d'où [mdt_body][capa][name] */
9116 offset=lustre_dissect_struct_mdt_body(tvb, offset, pinfo, tree, hf_lustre_mdt_body);
9117 offset=lustre_dissect_struct_capa(tvb, offset, pinfo, tree, hf_lustre_capa,
9118 LUSTRE_DLM_INTENT_REC_OFF+1);
9119 offset=lustre_dissect_element_string(tvb, offset, pinfo, tree, hf_lustre_reint_name,
9120 LUSTRE_DLM_INTENT_REC_OFF+2);
9127 /* ----------------------------------------------- */
9128 /* function to test if the packet is entirely dissected add BUG in PROTOCOL COL when it's not*/
9130 sanity_check(tvbuff_t *tvb, packet_info *pinfo, guint32 val_offset _U_)
9132 guint32 somme_buflen = 0 ;
9135 /* magic_number = tvb_get_letohl(tvb, 8); */
9137 for (i=0;i<LUSTRE_BUFCOUNT;i++)
9138 somme_buflen += tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF +
9139 4 * i ) + (8- tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+4 * i)%8)%8; /* we add the
9147 if(val_offset!=somme_buflen){
9148 /*g_print("somme_buflen=%d, val_offset = %d \n",somme_buflen,val_offset);*/
9149 if (check_col(pinfo->cinfo, COL_INFO)) {
9150 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9157 /* IDL: struct lustre_msg_v1 { */
9158 /* IDL: struct lustre_handle { */
9159 /* IDL: } lm_handle; */
9160 /* IDL: uint32 lm_magic; */
9161 /* IDL: uint32 lm_type; */
9162 /* IDL: uint32 lm_version; */
9163 /* IDL: uint32 lm_opc; */
9164 /* IDL: uint64 lm_last_xid; */
9165 /* IDL: uint64 lm_last_committed; */
9166 /* IDL: uint64 lm_transno; */
9167 /* IDL: uint32 lm_status; */
9168 /* IDL: uint32 lm_flags; */
9169 /* IDL: uint32 lm_conn_cnt; */
9170 /* IDL: uint32 lm_bufcount; */
9171 /* IDL: uint32 lm_buflens[0]; */
9176 lustre_dissect_element_msg_v1_lm_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9178 /*TODO : replace with a v1 handle*/
9179 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_lustre_msg_v1_lm_handle);
9184 lustre_dissect_element_msg_v1_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9186 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_magic);
9192 lustre_dissect_element_msg_v1_lm_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9194 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_type);
9200 lustre_dissect_element_msg_v1_lm_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9202 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_version);
9208 lustre_dissect_element_msg_v1_lm_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9210 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_opc);
9216 lustre_dissect_element_msg_v1_lm_last_xid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9218 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_xid);
9224 lustre_dissect_element_msg_v1_lm_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9226 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_last_committed);
9232 lustre_dissect_element_msg_v1_lm_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9234 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_transno);
9240 lustre_dissect_element_msg_v1_lm_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9242 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_status);
9248 lustre_dissect_element_msg_v1_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9250 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_flags);
9256 lustre_dissect_element_msg_v1_lm_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9258 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_conn_cnt);
9264 lustre_dissect_element_msg_v1_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9266 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_bufcount);
9272 lustre_dissect_element_msg_v1_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9274 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v1_lm_buflens);
9280 lustre_dissect_element_msg_v1_lm_buflens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9283 gboolean extra_padding ;
9286 bufcount=tvb_get_letohl(tvb, offset-4); /* TODO : replace with a macro */
9288 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9293 for (i=0;i<bufcount;i++) {
9294 offset=lustre_dissect_element_msg_v1_lm_buflens_(tvb, offset, pinfo, tree);
9298 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9307 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_)
9309 proto_item *item = NULL;
9310 proto_tree *tree = NULL;
9312 guint32 opc ; /* opcode */
9313 guint32 pb_type; /* type : {request, reply, error} */
9319 // if (parent_tree) {
9320 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9321 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v1);
9324 offset=lustre_dissect_element_msg_v1_lm_handle(tvb, offset, pinfo, tree);
9326 offset=lustre_dissect_element_msg_v1_lm_magic(tvb, offset, pinfo, tree);
9328 pb_type = tvb_get_letohl(tvb, offset);
9329 offset=lustre_dissect_element_msg_v1_lm_type(tvb, offset, pinfo, tree);
9331 offset=lustre_dissect_element_msg_v1_lm_version(tvb, offset, pinfo, tree);
9332 opc = tvb_get_letohl(tvb, offset);
9333 offset=lustre_dissect_element_msg_v1_lm_opc(tvb, offset, pinfo, tree);
9335 offset=lustre_dissect_element_msg_v1_lm_last_xid(tvb, offset, pinfo, tree);
9337 offset=lustre_dissect_element_msg_v1_lm_last_committed(tvb, offset, pinfo, tree);
9339 offset=lustre_dissect_element_msg_v1_lm_transno(tvb, offset, pinfo, tree);
9341 offset=lustre_dissect_element_msg_v1_lm_status(tvb, offset, pinfo, tree);
9343 offset=lustre_dissect_element_msg_v1_lm_flags(tvb, offset, pinfo, tree);
9345 offset=lustre_dissect_element_msg_v1_lm_conn_cnt(tvb, offset, pinfo, tree);
9347 offset=lustre_dissect_element_msg_v1_lm_bufcount(tvb, offset, pinfo, tree);
9349 offset=lustre_dissect_element_msg_v1_lm_buflens(tvb, offset, pinfo, tree);
9352 proto_item_set_len(item, offset-old_offset);
9354 /* display some nice infos */
9355 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9356 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9358 offset=lustre_opcode_process(tvb, offset, pinfo, tree, opc, pb_type);
9363 /* IDL: struct ptlrpc_body { */
9364 /* IDL: struct lustre_handle { */
9365 /* IDL: } pb_handle; */
9366 /* IDL: uint32 pb_type; */
9367 /* IDL: uint32 pb_version; */
9368 /* IDL: uint32 pb_opc; */
9369 /* IDL: uint32 pb_status; */
9370 /* IDL: uint64 pb_last_xid; */
9371 /* IDL: uint64 pb_last_seen; */
9372 /* IDL: uint64 pb_last_committed; */
9373 /* IDL: uint64 pb_transno; */
9374 /* IDL: uint32 pb_flags; */
9375 /* IDL: uint32 pb_op_flags; */
9376 /* IDL: uint32 pb_conn_cnt; */
9377 /* IDL: uint32 pb_timeout; */
9378 /* IDL: uint32 pb_service_time; */
9379 /* IDL: uint32 pb_limit; */
9380 /* IDL: uint64 pb_slv; */
9384 lustre_dissect_element_ptlrpc_body_pb_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9386 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_ptlrpc_body_pb_handle);
9392 lustre_dissect_element_ptlrpc_body_pb_type(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_type);
9400 lustre_dissect_element_ptlrpc_body_pb_version(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_version);
9408 lustre_dissect_element_ptlrpc_body_pb_opc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9410 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_opc);
9416 lustre_dissect_element_ptlrpc_body_pb_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9418 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_status);
9424 lustre_dissect_element_ptlrpc_body_pb_last_xid(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_last_xid);
9432 lustre_dissect_element_ptlrpc_body_pb_last_seen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9434 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_seen);
9440 lustre_dissect_element_ptlrpc_body_pb_last_committed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9442 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_last_committed);
9448 lustre_dissect_element_ptlrpc_body_pb_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9450 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_transno);
9456 lustre_dissect_element_ptlrpc_body_pb_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9458 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_flags);
9464 lustre_dissect_element_ptlrpc_body_pb_op_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9466 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_op_flags);
9472 lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9474 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_conn_cnt);
9480 lustre_dissect_element_ptlrpc_body_pb_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9482 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_timeout);
9488 lustre_dissect_element_ptlrpc_body_pb_service_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9490 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_service_time);
9496 lustre_dissect_element_ptlrpc_body_pb_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9498 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_limit);
9504 lustre_dissect_element_ptlrpc_body_pb_slv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9506 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_slv);
9512 lustre_dissect_element_ptlrpc_body_pb_pre_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9514 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_pre_version);
9520 lustre_dissect_element_ptlrpc_body_pb_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9522 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ptlrpc_body_pb_padding);
9528 lustre_dissect_element_ptlrpc_body_pb_jobid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
9531 /* the lenght of the string is 32 bytes max, with \0 inside */
9532 proto_tree_add_item(parent_tree, hf_lustre_ptlrpc_body_pb_jobid, tvb, offset, 32, TRUE);
9540 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_ )
9542 proto_item *item = NULL;
9543 proto_tree *tree = NULL;
9545 guint32 opc, pb_type, pb_version;
9550 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9551 tree = proto_item_add_subtree(item, ett_lustre_ptlrpc_body);
9554 offset=lustre_dissect_element_ptlrpc_body_pb_handle(tvb, offset, pinfo, tree);
9556 pb_type = tvb_get_letohl(tvb, offset);
9557 //g_print("msg_v2_lm_type_offset = %d \n" , offset) ;
9559 offset=lustre_dissect_element_ptlrpc_body_pb_type(tvb, offset, pinfo, tree);
9561 pb_version = tvb_get_letohl(tvb, offset) & ~LUSTRE_VERSION_MASK;
9562 //g_print("msg_v2_version_offset %d : version == %d \n", offset, pb_version);
9563 offset=lustre_dissect_element_ptlrpc_body_pb_version(tvb, offset, pinfo, tree);
9565 // g_print("msg_v2_opcode_offset %d \n", offset);
9566 opc = tvb_get_letohl(tvb, offset);
9567 offset=lustre_dissect_element_ptlrpc_body_pb_opc(tvb, offset, pinfo, tree);
9569 offset=lustre_dissect_element_ptlrpc_body_pb_status(tvb, offset, pinfo, tree);
9571 offset=lustre_dissect_element_ptlrpc_body_pb_last_xid(tvb, offset, pinfo, tree);
9573 offset=lustre_dissect_element_ptlrpc_body_pb_last_seen(tvb, offset, pinfo, tree);
9575 offset=lustre_dissect_element_ptlrpc_body_pb_last_committed(tvb, offset, pinfo, tree);
9577 offset=lustre_dissect_element_ptlrpc_body_pb_transno(tvb, offset, pinfo, tree);
9579 offset=lustre_dissect_element_ptlrpc_body_pb_flags(tvb, offset, pinfo, tree);
9581 offset=lustre_dissect_element_ptlrpc_body_pb_op_flags(tvb, offset, pinfo, tree);
9583 offset=lustre_dissect_element_ptlrpc_body_pb_conn_cnt(tvb, offset, pinfo, tree);
9585 offset=lustre_dissect_element_ptlrpc_body_pb_timeout(tvb, offset, pinfo, tree);
9587 offset=lustre_dissect_element_ptlrpc_body_pb_service_time(tvb, offset, pinfo, tree);
9589 offset=lustre_dissect_element_ptlrpc_body_pb_limit(tvb, offset, pinfo, tree);
9591 offset=lustre_dissect_element_ptlrpc_body_pb_slv(tvb, offset, pinfo, tree);
9593 /* pb_pre_versions */
9594 for(i = 0; i < 4; ++i) {
9595 offset=lustre_dissect_element_ptlrpc_body_pb_pre_version(tvb, offset, pinfo, tree);
9598 for(i = 0; i < 4; ++i) {
9599 offset=lustre_dissect_element_ptlrpc_body_pb_padding(tvb, offset, pinfo, tree);
9602 if (pb_version == LUSTRE_PTLRPC_MSG_VERSION && offset-old_offset < buf_len) {
9603 offset=lustre_dissect_element_ptlrpc_body_pb_jobid(tvb, offset, pinfo, tree);
9606 if (offset-old_offset != buf_len) {
9607 g_print("ptlbody offset-old:%d buf_len:%d\n",
9608 offset-old_offset, buf_len);
9609 col_append_str(pinfo->cinfo, COL_PROTOCOL, "BUG");
9612 proto_item_set_len(item, offset-old_offset);
9614 /* display some nice infos */
9615 display_info_str(parent_tree, pinfo->cinfo, COL_INFO, val_to_str(opc, lustre_op_codes, "Unknown"));
9616 display_info_fstr(parent_tree, pinfo->cinfo,COL_INFO, " %s ", val_to_str(pb_type, lustre_LMTypes, "Unknown"));
9618 /* on utilise parent_tree pour bien distinguer les différents buffers (relatifs à bufcount + buflen), il s'agit d'un choix de présentation */
9619 offset=lustre_opcode_process(tvb, offset, pinfo, parent_tree, opc, pb_type);
9621 sanity_check(tvb,pinfo,offset-old_offset);
9627 /* IDL: struct lustre_msg_v2 { */
9628 /* IDL: uint32 lm_bufcount; */
9629 /* IDL: uint32 lm_secflvr; */
9630 /* IDL: uint32 lm_magic; */
9631 /* IDL: uint32 lm_repsize; */
9632 /* IDL: uint32 lm_cksum; */
9633 /* IDL: uint32 lm_flags; */
9634 /* IDL: uint32 lm_padding_2; */
9635 /* IDL: uint32 lm_padding_3; */
9636 /* IDL: uint32 lm_buflens[0]; */
9640 lustre_dissect_element_msg_v2_lm_bufcount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9642 proto_tree_add_item(tree, hf_lustre_lustre_msg_v2_lm_bufcount, tvb, offset, 4, TRUE);
9648 lustre_dissect_element_msg_v2_lm_secflvr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9650 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_secflvr);
9656 lustre_dissect_element_msg_v2_lm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9658 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_magic);
9664 lustre_dissect_element_msg_v2_lm_repsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9666 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_repsize);
9672 lustre_dissect_element_msg_v2_lm_cksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9674 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_cksum);
9680 lustre_dissect_element_msg_v2_lm_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9682 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_flags);
9688 lustre_dissect_element_msg_v2_lm_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9690 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_2);
9696 lustre_dissect_element_msg_v2_lm_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9698 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_padding_3);
9706 lustre_dissect_element_msg_v2_lm_buflens_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
9708 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lustre_msg_v2_lm_buflens);
9714 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_)
9716 proto_item *item = NULL;
9717 proto_tree *tree = NULL;
9721 guint32 buf_len_offset;
9722 guint32 current_buf_len ;
9723 gboolean extra_padding ;
9727 /* to get a light display */
9729 // if (parent_tree) {
9730 // item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
9731 // tree = proto_item_add_subtree(item, ett_lustre_lustre_msg_v2);
9734 bufcount = tvb_get_letohl(tvb,offset);
9735 offset=lustre_dissect_element_msg_v2_lm_bufcount(tvb, offset, pinfo, tree);
9737 offset=lustre_dissect_element_msg_v2_lm_secflvr(tvb, offset, pinfo, tree);
9739 offset=lustre_dissect_element_msg_v2_lm_magic(tvb, offset, pinfo, tree);
9741 offset=lustre_dissect_element_msg_v2_lm_repsize(tvb, offset, pinfo, tree);
9743 offset=lustre_dissect_element_msg_v2_lm_cksum(tvb, offset, pinfo, tree);
9745 offset=lustre_dissect_element_msg_v2_lm_flags(tvb, offset, pinfo, tree);
9747 offset=lustre_dissect_element_msg_v2_lm_padding_2(tvb, offset, pinfo, tree);
9749 offset=lustre_dissect_element_msg_v2_lm_padding_3(tvb, offset, pinfo, tree);
9753 if (bufcount & 1) /* we add an extra padding if bufcount is odd */
9758 buf_len_offset=offset ;
9759 for (i=0;i<bufcount;i++) {
9760 offset=lustre_dissect_element_msg_v2_lm_buflens_(tvb, offset, pinfo, tree);
9765 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_extra_padding);
9768 current_buf_len = tvb_get_letohl(tvb, buf_len_offset);
9769 offset=lustre_dissect_struct_ptlrpc_body(tvb,offset, pinfo, tree, hf_lustre_ptlrpc_body_pb, current_buf_len);
9771 proto_item_set_len(item, offset-old_offset);
9778 dissect_lustre(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
9780 if (check_col(pinfo->cinfo, COL_PROTOCOL))
9781 col_set_str(pinfo->cinfo, COL_PROTOCOL, "Lustre");
9784 if (check_col(pinfo->cinfo, COL_INFO))
9785 col_set_str(pinfo->cinfo, COL_INFO, "");
9786 /* guint32 magic_number ; */
9787 /* magic_number = tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET); */
9788 /* switch (magic_number)*/
9790 /* case LUSTRE_MSG_MAGIC_V1:*/
9791 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V1 ");*/
9793 /* case LUSTRE_MSG_MAGIC_V2:*/
9794 /* col_append_fstr(pinfo->cinfo, COL_INFO, " V2 ");*/
9802 guint32 magic_number ;
9804 proto_item *ti = NULL ;
9805 proto_tree * lustre_tree = NULL ;
9807 ti = proto_tree_add_item(tree,proto_lustre,tvb,0,-1,FALSE);
9808 lustre_tree = proto_item_add_subtree(ti,ett_lustre);
9810 magic_number = tvb_get_letohl(tvb, 8);
9812 switch (magic_number){
9813 case LUSTRE_MSG_MAGIC_V1:
9814 /* put some nice info*/
9815 proto_item_append_text(lustre_tree, " V1 ");
9816 offset=lustre_dissect_struct_msg_v1(tvb, offset, pinfo, lustre_tree, proto_lustre ) ;
9818 case LUSTRE_MSG_MAGIC_V2:
9819 /* put some nice info*/
9820 proto_item_append_text(lustre_tree, " V2 ");
9821 offset=lustre_dissect_struct_msg_v2(tvb, offset, pinfo, lustre_tree, proto_lustre ) ;
9829 void proto_register_dcerpc_lustre(void)
9831 static hf_register_info hf[] = {
9832 { &hf_lustre_mdt_body,
9833 { "mdt body", "lustre.mdt_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
9834 { &hf_lustre_mdt_body_fid1,
9835 { "Fid1", "lustre.mdt_body.fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9836 { &hf_lustre_mdt_body_fid2,
9837 { "Fid2", "lustre.mdt_body.fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9838 { &hf_lustre_mdt_body_handle,
9839 { "Handle", "lustre.mdt_body.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9840 { &hf_lustre_mdt_body_valid,
9841 { "Valid", "lustre.mdt_body.valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9842 { &hf_lustre_mdt_body_size,
9843 { "Size", "lustre.mdt_body.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9844 { &hf_lustre_mdt_body_mtime,
9845 { "Mtime", "lustre.mdt_body.mtime",FT_ABSOLUTE_TIME,
9846 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9847 { &hf_lustre_mdt_body_atime,
9848 { "Atime", "lustre.mdt_body.atime",FT_ABSOLUTE_TIME,
9849 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9850 { &hf_lustre_mdt_body_ctime,
9851 { "Ctime", "lustre.mdt_body.ctime",FT_ABSOLUTE_TIME,
9852 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9853 { &hf_lustre_mdt_body_blocks,
9854 { "Blocks", "lustre.mdt_body.blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9855 { &hf_lustre_mdt_body_ioepoch,
9856 { "Ioepoch", "lustre.mdt_body.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9857 { &hf_lustre_mdt_body_ino,
9858 { "Ino", "lustre.mdt_body.ino", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9859 { &hf_lustre_mdt_body_fsuid,
9860 { "Fsuid", "lustre.mdt_body.fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9861 { &hf_lustre_mdt_body_fsgid,
9862 { "Fsgid", "lustre.mdt_body.fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9863 { &hf_lustre_mdt_body_capability,
9864 { "Capability", "lustre.mdt_body.capability", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9865 { &hf_lustre_mdt_body_mode,
9866 { "Mode", "lustre.mdt_body.mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9867 { &hf_lustre_mdt_body_uid,
9868 { "Uid", "lustre.mdt_body.uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9869 { &hf_lustre_mdt_body_gid,
9870 { "Gid", "lustre.mdt_body.gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9871 { &hf_lustre_mdt_body_flags,
9872 { "Flags", "lustre.mdt_body.flags", FT_UINT32, BASE_HEX, VALS(lustre_mds_flags_vals) , 0, "", HFILL }},
9873 { &hf_lustre_mdt_body_rdev,
9874 { "Rdev", "lustre.mdt_body.rdev", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9875 { &hf_lustre_mdt_body_nlink,
9876 { "Nlink", "lustre.mdt_body.nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9877 { &hf_lustre_mdt_body_generation,
9878 { "Generation", "lustre.mdt_body.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9879 { &hf_lustre_mdt_body_suppgid,
9880 { "Suppgid", "lustre.mdt_body.suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9881 { &hf_lustre_mdt_body_eadatasize,
9882 { "Eadatasize", "lustre.mdt_body.eadatasize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9883 { &hf_lustre_mdt_body_aclsize,
9884 { "Aclsize", "lustre.mdt_body.aclsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9885 { &hf_lustre_mdt_body_max_mdsize,
9886 { "Max Mdsize", "lustre.mdt_body.max_mdsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9887 { &hf_lustre_mdt_body_max_cookiesize,
9888 { "Max Cookiesize", "lustre.mdt_body.max_cookiesize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9889 { &hf_lustre_mdt_body_uid_h,
9890 { "Uid H", "lustre.mdt_body.uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9891 { &hf_lustre_mdt_body_gid_h,
9892 { "Gid H", "lustre.mdt_body.gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9893 { &hf_lustre_mdt_body_padding_5,
9894 { "Padding 5", "lustre.mdt_body.padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9895 { &hf_lustre_mdt_body_padding_6,
9896 { "Padding 6", "lustre.mdt_body.padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9897 { &hf_lustre_mdt_body_padding_7,
9898 { "Padding 7", "lustre.mdt_body.padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9899 { &hf_lustre_mdt_body_padding_8,
9900 { "Padding 8", "lustre.mdt_body.padding_8", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9901 { &hf_lustre_mdt_body_padding_9,
9902 { "Padding 9", "lustre.mdt_body.padding_9", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9903 { &hf_lustre_mdt_body_padding_10,
9904 { "Padding 10", "lustre.mdt_body.padding_10", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9906 { &hf_lustre_mdt_rec_setattr,
9907 { "mdt rec setattr", "lustre.mdt_rec_setattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9908 { &hf_lustre_mdt_rec_setattr_sa_opcode,
9909 { "Sa Opcode", "lustre.mdt_rec_setattr.sa_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9910 { &hf_lustre_mdt_rec_setattr_sa_cap,
9911 { "Sa Cap", "lustre.mdt_rec_setattr.sa_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9912 { &hf_lustre_mdt_rec_setattr_sa_fsuid,
9913 { "Sa Fsuid", "lustre.mdt_rec_setattr.sa_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9914 { &hf_lustre_mdt_rec_setattr_sa_fsuid_h,
9915 { "Sa Fsuid H", "lustre.mdt_rec_setattr.sa_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9916 { &hf_lustre_mdt_rec_setattr_sa_fsgid,
9917 { "Sa Fsgid", "lustre.mdt_rec_setattr.sa_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9918 { &hf_lustre_mdt_rec_setattr_sa_fsgid_h,
9919 { "Sa Fsgid H", "lustre.mdt_rec_setattr.sa_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9920 { &hf_lustre_mdt_rec_setattr_sa_suppgid,
9921 { "Sa Suppgid", "lustre.mdt_rec_setattr.sa_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9922 { &hf_lustre_mdt_rec_setattr_sa_suppgid_h,
9923 { "Sa Suppgid H", "lustre.mdt_rec_setattr.sa_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9924 { &hf_lustre_mdt_rec_setattr_sa_padding_1,
9925 { "Sa Padding 1", "lustre.mdt_rec_setattr.sa_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9926 { &hf_lustre_mdt_rec_setattr_sa_padding_1_h,
9927 { "Sa Padding 1 H", "lustre.mdt_rec_setattr.sa_padding_1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9928 { &hf_lustre_mdt_rec_setattr_sa_fid,
9929 { "Sa Fid", "lustre.mdt_rec_setattr.sa_fid", FT_NONE,
9930 BASE_NONE, NULL, 0, "", HFILL } },
9931 { &hf_lustre_mdt_rec_setattr_sa_valid,
9932 { "Sa Valid", "lustre.mdt_rec_setattr.sa_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9933 { &hf_lustre_mdt_rec_setattr_sa_uid,
9934 { "Sa Uid", "lustre.mdt_rec_setattr.sa_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9935 { &hf_lustre_mdt_rec_setattr_sa_gid,
9936 { "Sa Gid", "lustre.mdt_rec_setattr.sa_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9937 { &hf_lustre_mdt_rec_setattr_sa_size,
9938 { "Sa Size", "lustre.mdt_rec_setattr.sa_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9939 { &hf_lustre_mdt_rec_setattr_sa_blocks,
9940 { "Sa Blocks", "lustre.mdt_rec_setattr.sa_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9941 { &hf_lustre_mdt_rec_setattr_sa_mtime,
9942 { "Sa Mtime", "lustre.mdt_rec_setattr.sa_mtime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9943 { &hf_lustre_mdt_rec_setattr_sa_atime,
9944 { "Sa Atime", "lustre.mdt_rec_setattr.sa_atime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9945 { &hf_lustre_mdt_rec_setattr_sa_ctime,
9946 { "Sa Ctime", "lustre.mdt_rec_setattr.sa_ctime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9947 { &hf_lustre_mdt_rec_setattr_sa_attr_flags,
9948 { "Sa Attr Flags", "lustre.mdt_rec_setattr.sa_attr_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9949 { &hf_lustre_mdt_rec_setattr_sa_mode,
9950 { "Sa Mode", "lustre.mdt_rec_setattr.sa_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9951 { &hf_lustre_mdt_rec_setattr_sa_padding_2,
9952 { "Sa Padding 2", "lustre.mdt_rec_setattr.sa_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9953 { &hf_lustre_mdt_rec_setattr_sa_padding_3,
9954 { "Sa Padding 3", "lustre.mdt_rec_setattr.sa_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9955 { &hf_lustre_mdt_rec_setattr_sa_padding_4,
9956 { "Sa Padding 4", "lustre.mdt_rec_setattr.sa_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9957 { &hf_lustre_mdt_rec_setattr_sa_padding_5,
9958 { "Sa Padding 5", "lustre.mdt_rec_setattr.sa_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9960 { &hf_lustre_mdt_rec_create,
9961 { "mdt rec create", "lustre.mdt_rec_create", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
9962 { &hf_lustre_mdt_rec_create_cr_opcode,
9963 { "Cr Opcode", "lustre.mdt_rec_create.cr_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
9964 { &hf_lustre_mdt_rec_create_cr_cap,
9965 { "Cr Cap", "lustre.mdt_rec_create.cr_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9966 { &hf_lustre_mdt_rec_create_cr_fsuid,
9967 { "Cr Fsuid", "lustre.mdt_rec_create.cr_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9968 { &hf_lustre_mdt_rec_create_cr_fsuid_h,
9969 { "Cr Fsuid H", "lustre.mdt_rec_create.cr_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9970 { &hf_lustre_mdt_rec_create_cr_fsgid,
9971 { "Cr Fsgid", "lustre.mdt_rec_create.cr_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9972 { &hf_lustre_mdt_rec_create_cr_fsgid_h,
9973 { "Cr Fsgid H", "lustre.mdt_rec_create.cr_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9974 { &hf_lustre_mdt_rec_create_cr_suppgid1,
9975 { "Cr Suppgid1", "lustre.mdt_rec_create.cr_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9976 { &hf_lustre_mdt_rec_create_cr_suppgid1_h,
9977 { "Cr Suppgid1 H", "lustre.mdt_rec_create.cr_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9978 { &hf_lustre_mdt_rec_create_cr_suppgid2,
9979 { "Cr Suppgid2", "lustre.mdt_rec_create.cr_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9980 { &hf_lustre_mdt_rec_create_cr_suppgid2_h,
9981 { "Cr Suppgid2 H", "lustre.mdt_rec_create.cr_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
9982 { &hf_lustre_mdt_rec_create_cr_fid1,
9983 { "Cr Fid1", "lustre.mdt_rec_create.cr_fid1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9984 { &hf_lustre_mdt_rec_create_cr_fid2,
9985 { "Cr Fid2", "lustre.mdt_rec_create.cr_fid2", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9986 { &hf_lustre_mdt_rec_create_cr_old_handle,
9987 { "Cr Old Handle", "lustre.mdt_rec_create.cr_old_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
9988 { &hf_lustre_mdt_rec_create_cr_time,
9989 { "Cr Time", "lustre.mdt_rec_create.cr_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
9990 { &hf_lustre_mdt_rec_create_cr_rdev,
9991 { "Cr Rdev", "lustre.mdt_rec_create.cr_rdev", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9992 { &hf_lustre_mdt_rec_create_cr_ioepoch,
9993 { "Cr Ioepoch", "lustre.mdt_rec_create.cr_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9994 { &hf_lustre_mdt_rec_create_cr_padding_1,
9995 { "Cr Padding 1", "lustre.mdt_rec_create.cr_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
9996 { &hf_lustre_mdt_rec_create_cr_mode,
9997 { "Cr Mode", "lustre.mdt_rec_create.cr_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
9998 { &hf_lustre_mdt_rec_create_cr_bias,
9999 { "Cr Bias", "lustre.mdt_rec_create.cr_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10000 { &hf_lustre_mdt_rec_create_cr_flags_l,
10001 { "Cr Flags L", "lustre.mdt_rec_create.cr_flags_l", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10002 { &hf_lustre_mdt_rec_create_cr_flags_h,
10003 { "Cr Flags H", "lustre.mdt_rec_create.cr_flags_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10004 { &hf_lustre_mdt_rec_create_cr_umask,
10005 { "Cr Umask", "lustre.mdt_rec_create.cr_umask", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10006 { &hf_lustre_mdt_rec_create_cr_padding_4,
10007 { "Cr Padding 4", "lustre.mdt_rec_create.cr_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10009 { &hf_lustre_mdt_rec_link,
10010 { "mdt rec link", "lustre.mdt_rec_link", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10011 { &hf_lustre_mdt_rec_link_lk_opcode,
10012 { "Lk Opcode", "lustre.mdt_rec_link.lk_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
10013 { &hf_lustre_mdt_rec_link_lk_cap,
10014 { "Lk Cap", "lustre.mdt_rec_link.lk_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10015 { &hf_lustre_mdt_rec_link_lk_fsuid,
10016 { "Lk Fsuid", "lustre.mdt_rec_link.lk_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10017 { &hf_lustre_mdt_rec_link_lk_fsuid_h,
10018 { "Lk Fsuid H", "lustre.mdt_rec_link.lk_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10019 { &hf_lustre_mdt_rec_link_lk_fsgid,
10020 { "Lk Fsgid", "lustre.mdt_rec_link.lk_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10021 { &hf_lustre_mdt_rec_link_lk_fsgid_h,
10022 { "Lk Fsgid H", "lustre.mdt_rec_link.lk_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10023 { &hf_lustre_mdt_rec_link_lk_suppgid1,
10024 { "Lk Suppgid1", "lustre.mdt_rec_link.lk_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10025 { &hf_lustre_mdt_rec_link_lk_suppgid1_h,
10026 { "Lk Suppgid1 H", "lustre.mdt_rec_link.lk_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10027 { &hf_lustre_mdt_rec_link_lk_suppgid2,
10028 { "Lk Suppgid2", "lustre.mdt_rec_link.lk_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10029 { &hf_lustre_mdt_rec_link_lk_suppgid2_h,
10030 { "Lk Suppgid2 H", "lustre.mdt_rec_link.lk_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10031 { &hf_lustre_mdt_rec_link_lk_fid1,
10032 { "Lk Fid1", "lustre.mdt_rec_link.lk_fid1", FT_NONE,
10033 BASE_NONE, NULL, 0, "", HFILL } },
10034 { &hf_lustre_mdt_rec_link_lk_fid2,
10035 { "Lk Fid2", "lustre.mdt_rec_link.lk_fid2", FT_NONE,
10036 BASE_NONE, NULL, 0, "", HFILL } },
10037 { &hf_lustre_mdt_rec_link_lk_time,
10038 { "Lk Time", "lustre.mdt_rec_link.lk_time",FT_ABSOLUTE_TIME,
10039 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10040 { &hf_lustre_mdt_rec_link_lk_padding_1,
10041 { "Lk Padding 1", "lustre.mdt_rec_link.lk_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10042 { &hf_lustre_mdt_rec_link_lk_padding_2,
10043 { "Lk Padding 2", "lustre.mdt_rec_link.lk_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10044 { &hf_lustre_mdt_rec_link_lk_padding_3,
10045 { "Lk Padding 3", "lustre.mdt_rec_link.lk_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10046 { &hf_lustre_mdt_rec_link_lk_padding_4,
10047 { "Lk Padding 4", "lustre.mdt_rec_link.lk_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10048 { &hf_lustre_mdt_rec_link_lk_bias,
10049 { "Lk Bias", "lustre.mdt_rec_link.lk_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10050 { &hf_lustre_mdt_rec_link_lk_padding_5,
10051 { "Lk Padding 5", "lustre.mdt_rec_link.lk_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10052 { &hf_lustre_mdt_rec_link_lk_padding_6,
10053 { "Lk Padding 6", "lustre.mdt_rec_link.lk_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10054 { &hf_lustre_mdt_rec_link_lk_padding_7,
10055 { "Lk Padding 7", "lustre.mdt_rec_link.lk_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10056 { &hf_lustre_mdt_rec_link_lk_padding_8,
10057 { "Lk Padding 8", "lustre.mdt_rec_link.lk_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10058 { &hf_lustre_mdt_rec_link_lk_padding_9,
10059 { "Lk Padding 9", "lustre.mdt_rec_link.lk_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10061 { &hf_lustre_mdt_rec_unlink,
10062 { "mdt rec unlink", "lustre.mdt_rec_unlink", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10063 { &hf_lustre_mdt_rec_unlink_ul_opcode,
10064 { "Ul Opcode", "lustre.mdt_rec_unlink.ul_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
10065 { &hf_lustre_mdt_rec_unlink_ul_cap,
10066 { "Ul Cap", "lustre.mdt_rec_unlink.ul_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10067 { &hf_lustre_mdt_rec_unlink_ul_fsuid,
10068 { "Ul Fsuid", "lustre.mdt_rec_unlink.ul_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10069 { &hf_lustre_mdt_rec_unlink_ul_fsuid_h,
10070 { "Ul Fsuid H", "lustre.mdt_rec_unlink.ul_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10071 { &hf_lustre_mdt_rec_unlink_ul_fsgid,
10072 { "Ul Fsgid", "lustre.mdt_rec_unlink.ul_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10073 { &hf_lustre_mdt_rec_unlink_ul_fsgid_h,
10074 { "Ul Fsgid H", "lustre.mdt_rec_unlink.ul_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10075 { &hf_lustre_mdt_rec_unlink_ul_suppgid1,
10076 { "Ul Suppgid1", "lustre.mdt_rec_unlink.ul_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10077 { &hf_lustre_mdt_rec_unlink_ul_suppgid1_h,
10078 { "Ul Suppgid1 H", "lustre.mdt_rec_unlink.ul_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10079 { &hf_lustre_mdt_rec_unlink_ul_suppgid2,
10080 { "Ul Suppgid2", "lustre.mdt_rec_unlink.ul_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10081 { &hf_lustre_mdt_rec_unlink_ul_suppgid2_h,
10082 { "Ul Suppgid2 H", "lustre.mdt_rec_unlink.ul_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10083 { &hf_lustre_mdt_rec_unlink_ul_fid1,
10084 { "Ul Fid1", "lustre.mdt_rec_unlink.ul_fid1", FT_NONE,
10085 BASE_NONE, NULL, 0, "", HFILL } },
10086 { &hf_lustre_mdt_rec_unlink_ul_fid2,
10087 { "Ul Fid2", "lustre.mdt_rec_unlink.ul_fid2", FT_NONE,
10088 BASE_NONE, NULL, 0, "", HFILL } },
10089 { &hf_lustre_mdt_rec_unlink_ul_time,
10090 { "Ul Time", "lustre.mdt_rec_unlink.ul_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10091 { &hf_lustre_mdt_rec_unlink_ul_padding_2,
10092 { "Ul Padding 2", "lustre.mdt_rec_unlink.ul_padding_2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10093 { &hf_lustre_mdt_rec_unlink_ul_padding_3,
10094 { "Ul Padding 3", "lustre.mdt_rec_unlink.ul_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10095 { &hf_lustre_mdt_rec_unlink_ul_padding_4,
10096 { "Ul Padding 4", "lustre.mdt_rec_unlink.ul_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10097 { &hf_lustre_mdt_rec_unlink_ul_padding_5,
10098 { "Ul Padding 5", "lustre.mdt_rec_unlink.ul_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10099 { &hf_lustre_mdt_rec_unlink_ul_bias,
10100 { "Ul Bias", "lustre.mdt_rec_unlink.ul_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10101 { &hf_lustre_mdt_rec_unlink_ul_mode,
10102 { "Ul Mode", "lustre.mdt_rec_unlink.ul_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10103 { &hf_lustre_mdt_rec_unlink_ul_padding_6,
10104 { "Ul Padding 6", "lustre.mdt_rec_unlink.ul_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10105 { &hf_lustre_mdt_rec_unlink_ul_padding_7,
10106 { "Ul Padding 7", "lustre.mdt_rec_unlink.ul_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10107 { &hf_lustre_mdt_rec_unlink_ul_padding_8,
10108 { "Ul Padding 8", "lustre.mdt_rec_unlink.ul_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10109 { &hf_lustre_mdt_rec_unlink_ul_padding_9,
10110 { "Ul Padding 9", "lustre.mdt_rec_unlink.ul_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10112 { &hf_lustre_mdt_rec_rename,
10113 { "mdt rec rename", "lustre.mdt_rec_rename", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10114 { &hf_lustre_mdt_rec_rename_rn_opcode,
10115 { "Rn Opcode", "lustre.mdt_rec_rename.rn_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals) , 0, "", HFILL }},
10116 { &hf_lustre_mdt_rec_rename_rn_cap,
10117 { "Rn Cap", "lustre.mdt_rec_rename.rn_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10118 { &hf_lustre_mdt_rec_rename_rn_fsuid,
10119 { "Rn Fsuid", "lustre.mdt_rec_rename.rn_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10120 { &hf_lustre_mdt_rec_rename_rn_fsuid_h,
10121 { "Rn Fsuid H", "lustre.mdt_rec_rename.rn_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10122 { &hf_lustre_mdt_rec_rename_rn_fsgid,
10123 { "Rn Fsgid", "lustre.mdt_rec_rename.rn_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10124 { &hf_lustre_mdt_rec_rename_rn_fsgid_h,
10125 { "Rn Fsgid H", "lustre.mdt_rec_rename.rn_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10126 { &hf_lustre_mdt_rec_rename_rn_suppgid1,
10127 { "Rn Suppgid1", "lustre.mdt_rec_rename.rn_suppgid1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10128 { &hf_lustre_mdt_rec_rename_rn_suppgid1_h,
10129 { "Rn Suppgid1 H", "lustre.mdt_rec_rename.rn_suppgid1_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10130 { &hf_lustre_mdt_rec_rename_rn_suppgid2,
10131 { "Rn Suppgid2", "lustre.mdt_rec_rename.rn_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10132 { &hf_lustre_mdt_rec_rename_rn_suppgid2_h,
10133 { "Rn Suppgid2 H", "lustre.mdt_rec_rename.rn_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10134 { &hf_lustre_mdt_rec_rename_rn_fid1,
10135 { "Rn Fid1", "lustre.mdt_rec_rename.rn_fid1", FT_NONE,
10136 BASE_NONE, NULL, 0, "", HFILL } },
10137 { &hf_lustre_mdt_rec_rename_rn_fid2,
10138 { "Rn Fid2", "lustre.mdt_rec_rename.rn_fid2", FT_NONE,
10139 BASE_NONE, NULL, 0, "", HFILL } },
10140 { &hf_lustre_mdt_rec_rename_rn_time,
10141 { "Rn Time", "lustre.mdt_rec_rename.rn_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10142 { &hf_lustre_mdt_rec_rename_rn_padding_1,
10143 { "Rn Padding 1", "lustre.mdt_rec_rename.rn_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10144 { &hf_lustre_mdt_rec_rename_rn_padding_2,
10145 { "Rn Padding 2", "lustre.mdt_rec_rename.rn_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10146 { &hf_lustre_mdt_rec_rename_rn_padding_3,
10147 { "Rn Padding 3", "lustre.mdt_rec_rename.rn_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10148 { &hf_lustre_mdt_rec_rename_rn_padding_4,
10149 { "Rn Padding 4", "lustre.mdt_rec_rename.rn_padding_4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10150 { &hf_lustre_mdt_rec_rename_rn_bias,
10151 { "Rn Bias", "lustre.mdt_rec_rename.rn_bias", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10152 { &hf_lustre_mdt_rec_rename_rn_mode,
10153 { "Rn Mode", "lustre.mdt_rec_rename.rn_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10154 { &hf_lustre_mdt_rec_rename_rn_padding_5,
10155 { "Rn Padding 5", "lustre.mdt_rec_rename.rn_padding_5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10156 { &hf_lustre_mdt_rec_rename_rn_padding_6,
10157 { "Rn Padding 6", "lustre.mdt_rec_rename.rn_padding_6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10158 { &hf_lustre_mdt_rec_rename_rn_padding_7,
10159 { "Rn Padding 7", "lustre.mdt_rec_rename.rn_padding_7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10160 { &hf_lustre_mdt_rec_rename_rn_padding_8,
10161 { "Rn Padding 8", "lustre.mdt_rec_rename.rn_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10163 { &hf_lustre_mdt_rec_setxattr,
10164 { "mdt rec setxattr", "lustre.mdt_rec_setxattr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10165 { &hf_lustre_mdt_rec_setxattr_sx_opcode,
10166 { "Sx Opcode", "lustre.mdt_rec_setxattr.sx_opcode", FT_UINT32, BASE_DEC, VALS(lustre_mds_reint_t_vals), 0, "", HFILL }},
10167 { &hf_lustre_mdt_rec_setxattr_sx_cap,
10168 { "Sx Cap", "lustre.mdt_rec_setxattr.sx_cap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10169 { &hf_lustre_mdt_rec_setxattr_sx_fsuid,
10170 { "Sx Fsuid", "lustre.mdt_rec_setxattr.sx_fsuid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10171 { &hf_lustre_mdt_rec_setxattr_sx_fsuid_h,
10172 { "Sx Fsuid H", "lustre.mdt_rec_setxattr.sx_fsuid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10173 { &hf_lustre_mdt_rec_setxattr_sx_fsgid,
10174 { "Sx Fsgid", "lustre.mdt_rec_setxattr.sx_fsgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10175 { &hf_lustre_mdt_rec_setxattr_sx_fsgid_h,
10176 { "Sx Fsgid H", "lustre.mdt_rec_setxattr.sx_fsgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10177 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1,
10178 { "Sx Suppgid1", "lustre.mdt_rec_setxattr.sx_suppgid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10179 { &hf_lustre_mdt_rec_setxattr_sx_suppgid1_h,
10180 { "Sx Suppgid1 H", "lustre.mdt_rec_setxattr.sx_suppgid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10181 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2,
10182 { "Sx Suppgid2", "lustre.mdt_rec_setxattr.sx_suppgid2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10183 { &hf_lustre_mdt_rec_setxattr_sx_suppgid2_h,
10184 { "Sx Suppgid2 H", "lustre.mdt_rec_setxattr.sx_suppgid2_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10185 { &hf_lustre_mdt_rec_setxattr_sx_fid,
10186 { "Sx Fid", "lustre.mdt_rec_setxattr.sx_fid", FT_NONE,
10187 BASE_NONE, NULL, 0, "", HFILL } },
10188 { &hf_lustre_mdt_rec_setxattr_sx_padding_1,
10189 { "Sx Padding 1", "lustre.mdt_rec_setxattr.sx_padding_1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10190 { &hf_lustre_mdt_rec_setxattr_sx_padding_2,
10191 { "Sx Padding 2", "lustre.mdt_rec_setxattr.sx_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10192 { &hf_lustre_mdt_rec_setxattr_sx_padding_3,
10193 { "Sx Padding 3", "lustre.mdt_rec_setxattr.sx_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10194 { &hf_lustre_mdt_rec_setxattr_sx_valid,
10195 { "Sx Valid", "lustre.mdt_rec_setxattr.sx_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10196 { &hf_lustre_mdt_rec_setxattr_sx_time,
10197 { "Sx Time", "lustre.mdt_rec_setxattr.sx_time",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10198 { &hf_lustre_mdt_rec_setxattr_sx_padding_5,
10199 { "Sx Padding 5", "lustre.mdt_rec_setxattr.sx_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10200 { &hf_lustre_mdt_rec_setxattr_sx_padding_6,
10201 { "Sx Padding 6", "lustre.mdt_rec_setxattr.sx_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10202 { &hf_lustre_mdt_rec_setxattr_sx_padding_7,
10203 { "Sx Padding 7", "lustre.mdt_rec_setxattr.sx_padding_7", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10204 { &hf_lustre_mdt_rec_setxattr_sx_size,
10205 { "Sx Size", "lustre.mdt_rec_setxattr.sx_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10206 { &hf_lustre_mdt_rec_setxattr_sx_flags,
10207 { "Sx Flags", "lustre.mdt_rec_setxattr.sx_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10208 { &hf_lustre_mdt_rec_setxattr_sx_padding_8,
10209 { "Sx Padding 8", "lustre.mdt_rec_setxattr.sx_padding_8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10210 { &hf_lustre_mdt_rec_setxattr_sx_padding_9,
10211 { "Sx Padding 9", "lustre.mdt_rec_setxattr.sx_padding_9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10212 { &hf_lustre_mdt_rec_setxattr_sx_padding_10,
10213 { "Sx Padding 10", "lustre.mdt_rec_setxattr.sx_padding_10", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10214 { &hf_lustre_mdt_rec_setxattr_sx_padding_11,
10215 { "Sx Padding 11", "lustre.mdt_rec_setxattr.sx_padding_11", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10217 { &hf_lustre_lustre_handle_cookie,
10218 { "Cookie", "lustre.lustre_handle.cookie", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10219 { &hf_lustre_ptlrpc_body_pb_last_committed,
10220 { "Pb Last Committed", "lustre.ptlrpc_body.pb_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10221 { &hf_lustre_ptlrpc_body_pb_version,
10222 { "Pb Version", "lustre.ptlrpc_body.pb_version", FT_UINT32, BASE_DEC, NULL, ~LUSTRE_VERSION_MASK, "", HFILL }},
10223 { &hf_lustre_lustre_msg_v1_lm_bufcount,
10224 { "Lm Bufcount", "lustre.lustre_msg_v1.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10225 { &hf_lustre_obd_ioobj_ioo_id,
10226 { "Ioo Id", "lustre.obd_ioobj.ioo_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10227 { &hf_lustre_ptlrpc_body_pb_slv,
10228 { "Pb Slv", "lustre.ptlrpc_body.pb_slv", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10230 { &hf_lustre_ptlrpc_body_pb_pre_version,
10231 { "Pb Pre-Version", "lustre.ptlrpc_body.pb_pre_version", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10232 { &hf_lustre_ptlrpc_body_pb_padding,
10233 { "Pb Padding", "lustre.ptlrpc_body.pb_padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10234 { &hf_lustre_ptlrpc_body_pb_jobid,
10235 { "Pb JobId", "lustre.ptlrpc_body.pb_jobid", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10237 { &hf_lustre_lustre_msg_v1_lm_handle,
10238 { "Lm Handle", "lustre.lustre_msg_v1.lm_handle", FT_NONE,
10239 BASE_NONE, NULL, 0, "", HFILL } },
10240 { &hf_lustre_ost_lvb_lvb_atime,
10241 { "Lvb Atime", "lustre.ost_lvb.lvb_atime",FT_ABSOLUTE_TIME,
10242 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10243 { &hf_lustre_ptlrpc_body_pb_timeout,
10244 { "Pb Timeout", "lustre.ptlrpc_body.pb_timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10245 { &hf_lustre_obd_statfs_os_bavail,
10246 { "Os Bavail", "lustre.obd_statfs.os_bavail", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10247 { &hf_lustre_obd_statfs_os_bsize,
10248 { "Os Bsize", "lustre.obd_statfs.os_bsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10249 { &hf_lustre_lustre_msg_v2_lm_repsize,
10250 { "Lm Repsize", "lustre.lustre_msg_v2.lm_repsize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10251 { &hf_lustre_lov_mds_md_v1_lmm_stripe_size,
10252 { "Lmm Stripe Size", "lustre.lov_mds_md_v1.lmm_stripe_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10253 { &hf_lustre_lustre_msg_v1_lm_last_xid,
10254 { "Lm Last Xid", "lustre.lustre_msg_v1.lm_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10255 { &hf_lustre_ll_fid_f_type,
10256 { "F Type", "lustre.ll_fid.f_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10257 { &hf_lustre_lustre_msg_v2_lm_cksum,
10258 { "Lm Cksum", "lustre.lustre_msg_v2.lm_cksum", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10259 { &hf_lustre_lustre_msg_v2_lm_buflens,
10260 { "Lm Buflens", "lustre.lustre_msg_v2.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10261 { &hf_lustre_lustre_msg_v1_lm_status,
10262 { "Lm Status", "lustre.lustre_msg_v1.lm_status", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10263 { &hf_lustre_lustre_msg_v1_lm_type,
10264 { "Lm Type", "lustre.lustre_msg_v1.lm_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10265 { &hf_lustre_niobuf_remote_len,
10266 { "Len", "lustre.niobuf_remote.len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10267 { &hf_lustre_lov_mds_md_v1_lmm_magic,
10268 { "Lmm Magic", "lustre.lov_mds_md_v1.lmm_magic", FT_UINT32, BASE_HEX, VALS(lustre_lov_magic) , 0, "", HFILL }},
10269 { &hf_lustre_ptlrpc_body_pb_op_flags,
10270 { "Pb Op Flags", "lustre.ptlrpc_body.pb_op_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10271 { &hf_lustre_ost_lvb_lvb_ctime,
10272 { "Lvb Ctime", "lustre.ost_lvb.lvb_ctime",FT_ABSOLUTE_TIME,
10273 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10274 { &hf_lustre_ptlrpc_body_pb_type,
10275 { "Pb Type", "lustre.ptlrpc_body.pb_type", FT_UINT32, BASE_DEC, VALS(lustre_LMTypes), 0, "", HFILL }},
10276 { &hf_lustre_obd_connect_data_ocd_nllg,
10277 { "Ocd Nllg", "lustre.obd_connect_data.ocd_nllg", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10278 { &hf_lustre_obd_connect_data_ocd_nllu,
10279 { "Ocd Nllu", "lustre.obd_connect_data.ocd_nllu", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10280 { &hf_lustre_ll_fid_generation,
10281 { "Generation", "lustre.ll_fid.generation", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10282 { &hf_lustre_ost_lvb_lvb_mtime,
10283 { "Lvb Mtime", "lustre.ost_lvb.lvb_mtime",FT_ABSOLUTE_TIME,
10284 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10285 { &hf_lustre_obd_connect_data_ocd_ibits_known,
10286 { "Ocd Ibits Known", "lustre.obd_connect_data.ocd_ibits_known", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10287 { &hf_lustre_lustre_msg_v2_lm_padding_3,
10288 { "Lm Padding 3", "lustre.lustre_msg_v2.lm_padding_3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10289 { &hf_lustre_ptlrpc_body_pb_flags,
10290 { "Pb Flags", "lustre.ptlrpc_body.pb_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10291 { &hf_lustre_obd_statfs_os_spare4,
10292 { "Os Spare4", "lustre.obd_statfs.os_spare4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10293 { &hf_lustre_obd_connect_data_ocd_group,
10294 { "Ocd Group", "lustre.obd_connect_data.ocd_group", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10295 { &hf_lustre_lov_ost_data_v1_l_object_seq,
10296 { "L Object SEQ", "lustre.lov_ost_data_v1.l_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10297 { &hf_lustre_lov_mds_md_v1_lmm_object_seq,
10298 { "Lmm Object SEQ", "lustre.lov_mds_md_v1.lmm_object_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10299 { &hf_lustre_obd_connect_data_ocd_brw_size,
10300 { "Ocd Brw Size", "lustre.obd_connect_data.ocd_brw_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10301 { &hf_lustre_ptlrpc_body_pb_limit,
10302 { "Pb Limit", "lustre.ptlrpc_body.pb_limit", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10303 { &hf_lustre_obd_statfs_os_maxbytes,
10304 { "Os Maxbytes", "lustre.obd_statfs.os_maxbytes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10305 { &hf_lustre_obd_statfs_os_spare5,
10306 { "Os Spare5", "lustre.obd_statfs.os_spare5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10307 { &hf_lustre_lustre_msg_v2_lm_flags,
10308 { "Lm Flags", "lustre.lustre_msg_v2.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10309 { &hf_lustre_obd_statfs_os_ffree,
10310 { "Os Ffree", "lustre.obd_statfs.os_ffree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10311 { &hf_lustre_obd_statfs_os_files,
10312 { "Os Files", "lustre.obd_statfs.os_files", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10313 { &hf_lustre_lov_mds_md_v1_lmm_stripe_count,
10314 { "Lmm Stripe Count", "lustre.lov_mds_md_v1.lmm_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10315 { &hf_lustre_lustre_msg_v1_lm_flags,
10316 { "Lm Flags", "lustre.lustre_msg_v1.lm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10317 { &hf_lustre_lustre_msg_v1_lm_last_committed,
10318 { "Lm Last Committed", "lustre.lustre_msg_v1.lm_last_committed", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10319 { &hf_lustre_obd_statfs_os_spare9,
10320 { "Os Spare9", "lustre.obd_statfs.os_spare9", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10321 { &hf_lustre_obd_connect_data_ocd_index,
10322 { "Ocd Index", "lustre.obd_connect_data.ocd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10323 { &hf_lustre_lustre_msg_v1_lm_buflens,
10324 { "Lm Buflens", "lustre.lustre_msg_v1.lm_buflens", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10325 { &hf_lustre_obd_statfs_os_spare1,
10326 { "Os Spare1", "lustre.obd_statfs.os_spare1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10327 { &hf_lustre_obd_statfs_os_spare8,
10328 { "Os Spare8", "lustre.obd_statfs.os_spare8", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10329 { &hf_lustre_lustre_msg_v1_lm_conn_cnt,
10330 { "Lm Conn Cnt", "lustre.lustre_msg_v1.lm_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10331 { &hf_lustre_ptlrpc_body_pb_transno,
10332 { "Pb Transno", "lustre.ptlrpc_body.pb_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10333 { &hf_lustre_ptlrpc_body_pb_service_time,
10334 { "Pb Service Time", "lustre.ptlrpc_body.pb_service_time",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10335 { &hf_lustre_ptlrpc_body_pb_conn_cnt,
10336 { "Pb Conn Cnt", "lustre.ptlrpc_body.pb_conn_cnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10337 { &hf_lustre_ptlrpc_body_pb_opc,
10338 { "Pb Opc", "lustre.ptlrpc_body.pb_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10339 { &hf_lustre_obd_connect_data_ocd_connect_flags,
10340 { "Ocd Connect Flags", "lustre.obd_connect_data.ocd_connect_flags", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10341 { &hf_lustre_lov_ost_data_v1_l_object_id,
10342 { "L Object Id", "lustre.lov_ost_data_v1.l_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10343 { &hf_lustre_lov_ost_data_v1_l_ost_gen,
10344 { "L Ost Gen", "lustre.lov_ost_data_v1.l_ost_gen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10345 { &hf_lustre_obd_statfs_os_bfree,
10346 { "Os Bfree", "lustre.obd_statfs.os_bfree", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10347 { &hf_lustre_obd_connect_data_ocd_version,
10348 { "Ocd Version", "lustre.obd_connect_data.ocd_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10349 { &hf_lustre_lov_mds_md_v1_lmm_objects,
10350 { "Lmm Objects", "lustre.lov_mds_md_v1.lmm_objects", FT_NONE,
10351 BASE_NONE, NULL, 0, "", HFILL } },
10352 { &hf_lustre_obd_statfs_os_namelen,
10353 { "Os Namelen", "lustre.obd_statfs.os_namelen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10354 { &hf_lustre_obd_statfs_os_blocks,
10355 { "Os Blocks", "lustre.obd_statfs.os_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10356 { &hf_lustre_lustre_msg_v2_lm_secflvr,
10357 { "Lm Secflvr", "lustre.lustre_msg_v2.lm_secflvr", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10358 { &hf_lustre_lustre_msg_v1_lm_transno,
10359 { "Lm Transno", "lustre.lustre_msg_v1.lm_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10360 { &hf_lustre_lov_mds_md_v1_lmm_pattern,
10361 { "Lmm Pattern", "lustre.lov_mds_md_v1.lmm_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10362 { &hf_lustre_lustre_msg_v1_lm_opc,
10363 { "Lm Opc", "lustre.lustre_msg_v1.lm_opc", FT_UINT32, BASE_DEC, VALS(lustre_op_codes), 0, "", HFILL }},
10364 { &hf_lustre_obd_connect_data_ocd_grant,
10365 { "Ocd Grant", "lustre.obd_connect_data.ocd_grant", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10366 { &hf_lustre_obd_ioobj_ioo_bufcnt,
10367 { "Ioo Bufcnt", "lustre.obd_ioobj.ioo_bufcnt", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10368 { &hf_lustre_lustre_msg_v1_lm_version,
10369 { "Lm Version", "lustre.lustre_msg_v1.lm_version", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10370 { &hf_lustre_obd_statfs_os_spare7,
10371 { "Os Spare7", "lustre.obd_statfs.os_spare7", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10372 { &hf_lustre_obd_statfs_os_fsid,
10373 { "Os Fsid", "lustre.obd_statfs.os_fsid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10374 { &hf_lustre_obd_connect_data_ocd_cksum_types,
10375 { "Ocd Cksum Types", "lustre.obd_connect_data.ocd_cksum_types", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10376 { &hf_lustre_ost_lvb_lvb_size,
10377 { "Lvb Size", "lustre.ost_lvb.lvb_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10378 { &hf_lustre_obd_statfs_os_type,
10379 { "Os Type", "lustre.obd_statfs.os_type", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10380 { &hf_lustre_obd_statfs_os_spare6,
10381 { "Os Spare6", "lustre.obd_statfs.os_spare6", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10382 { &hf_lustre_obd_statfs_os_state,
10383 { "Os State", "lustre.obd_statfs.os_state", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10384 { &hf_lustre_obd_statfs_os_spare3,
10385 { "Os Spare3", "lustre.obd_statfs.os_spare3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10386 { &hf_lustre_lustre_msg_v2_lm_magic,
10387 { "Lm Magic", "lustre.lustre_msg_v2.lm_magic", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10388 { &hf_lustre_lov_mds_md_v1_lmm_object_id,
10389 { "Lmm Object Id", "lustre.lov_mds_md_v1.lmm_object_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10390 { &hf_lustre_ptlrpc_body_pb_last_seen,
10391 { "Pb Last Seen", "lustre.ptlrpc_body.pb_last_seen", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10392 { &hf_lustre_obd_ioobj_ioo_max_brw, /* TODO : create the
10393 corresponding value_string */
10394 { "Ioo Max BRW Size", "lustre.obd_ioobj.ioo_max_brw", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
10395 { &hf_lustre_ptlrpc_body_pb_last_xid,
10396 { "Pb Last Xid", "lustre.ptlrpc_body.pb_last_xid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10397 { &hf_lustre_ptlrpc_body_pb_status,
10398 { "Pb Status", "lustre.ptlrpc_body.pb_status", FT_INT32, BASE_DEC, NULL, 0, "", HFILL }},
10399 { &hf_lustre_niobuf_remote_flags,
10400 { "Flags", "lustre.niobuf_remote.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10401 { &hf_lustre_ll_fid_id,
10402 { "Id", "lustre.ll_fid.id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10403 { &hf_lustre_ost_lvb_lvb_blocks,
10404 { "Lvb Blocks", "lustre.ost_lvb.lvb_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10405 { &hf_lustre_lustre_msg_v2_lm_padding_2,
10406 { "Lm Padding 2", "lustre.lustre_msg_v2.lm_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10407 { &hf_lustre_obd_connect_data_padding1,
10408 { "Padding1", "lustre.obd_connect_data.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10409 { &hf_lustre_lov_ost_data_v1_l_ost_idx,
10410 { "L Ost Idx", "lustre.lov_ost_data_v1.l_ost_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10411 { &hf_lustre_obd_connect_data_padding2,
10412 { "Padding2", "lustre.obd_connect_data.padding2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10413 { &hf_lustre_obd_ioobj_ioo_seq,
10414 { "Ioo Gr", "lustre.obd_ioobj.ioo_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10415 { &hf_lustre_niobuf_remote_offset,
10416 { "Offset", "lustre.niobuf_remote.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10417 { &hf_lustre_obd_statfs_os_spare2,
10418 { "Os Spare2", "lustre.obd_statfs.os_spare2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10419 { &hf_lustre_lustre_msg_v2_lm_bufcount,
10420 { "Lm Bufcount", "lustre.lustre_msg_v2.lm_bufcount", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10421 { &hf_lustre_ptlrpc_body_pb_handle,
10422 { "Pb Handle", "lustre.ptlrpc_body.pb_handle", FT_NONE,
10423 BASE_NONE, NULL, 0, "", HFILL } },
10424 { &hf_lustre_obd_connect_data_ocd_transno,
10425 { "Ocd Transno", "lustre.obd_connect_data.ocd_transno", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10426 { &hf_lustre_lustre_msg_v1_lm_magic,
10427 { "Lm Magic", "lustre.lustre_msg_v1.lm_magic", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10428 { &hf_lustre_ptlrpc_body_pb,
10429 { "ptl rpc", "lustre.ptlrpc_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10431 { &hf_lustre_obd_uuid,
10432 { "obd uid name", "lustre.obd_uid", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10433 { &hf_lustre_obd_connect_data ,
10434 { "obd connect data", "lustre.obd_connect_data", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10436 { &hf_lustre_ldlm_intent,
10437 { "ldlm intent", "lustre.ldlm_intent", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10439 { &hf_lustre_obd_ioobj,
10440 { "lustre obd ioobj", "lustre.obd_ioobj", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10441 { &hf_lustre_niobuf_remote,
10442 { "lustre niobuf remote", "lustre.niobuf_remote", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10443 { &hf_lustre_ost_key,
10444 { "lustre ost key", "lustre.ost_key", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10445 { &hf_lustre_ost_val,
10446 { "lustre ost val", "lustre.ost_val", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10447 { &hf_lustre_llogd_chunk,
10448 { "lustre llogd chunk", "lustre.llogd_chunk", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10449 { &hf_lustre_llogd_keyword,
10450 { "lustre llogd keyword", "lustre.llogd_keyword", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10451 { &hf_lustre_llogd_client,
10452 { "lustre llogd client", "lustre.llogd_client", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10453 { &hf_lustre_llogd_name,
10454 { "lustre llogd name", "lustre.llogd_name", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10455 { &hf_lustre_llogd_log_hdr,
10456 { "lustre llogd log hdr", "lustre.llogd_log_hdr", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10457 { &hf_lustre_llog_logid_rec,
10458 { "lustre llog logid rec", "lustre.llog_logid_rec", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10460 { &hf_lustre_llogd_body,
10461 { "lustre llogd body", "lustre.llogd_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL}},
10463 { "lustre nio", "lustre.nio", FT_STRING, BASE_NONE, NULL , 0 , "", HFILL}},
10464 { &hf_lustre_ost_body,
10465 { "ost body", "lustre.ost_body", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10466 { &hf_lustre_obd_statfs,
10467 { "obd statfs", "lustre.obd_statfs", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10468 { &hf_lustre_obd_quotactl,
10469 { "obd quotactl", "lustre.obd_quotacl", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10470 { &hf_lustre_quota_adjust_qunit,
10471 { "obd quota adjust qunit", "lustre.quota_adjust_qunit", FT_NONE, BASE_NONE, NULL , 0 , "", HFILL }},
10472 { &hf_lustre_llog_unlink_rec_lur_tail,
10473 { "Lur Tail", "lustre.llog_unlink_rec.lur_tail", FT_NONE,
10474 BASE_NONE, NULL, 0, "", HFILL } },
10475 { &hf_lustre_llog_size_change_rec_lsc_io_epoch,
10476 { "Lsc Io Epoch", "lustre.llog_size_change_rec.lsc_io_epoch", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10477 { &hf_lustre_mgs_target_info_mti_flags,
10478 { "Mti Flags", "lustre.mgs_target_info.mti_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10479 { &hf_lustre_ldlm_reply_lock_policy_res1,
10480 { "Lock Policy Res1", "lustre.ldlm_reply.lock_policy_res1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10481 { &hf_lustre_llogd_body_lgd_len,
10482 { "Lgd Len", "lustre.llogd_body.lgd_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10483 { &hf_lustre_qunit_data_old_qd_id,
10484 { "Qd Id", "lustre.qunit_data_old.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10485 { &hf_lustre_llog_logid_rec_padding1,
10486 { "Padding1", "lustre.llog_logid_rec.padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10487 { &hf_lustre_quota_adjust_qunit_padding1,
10488 { "Padding1", "lustre.quota_adjust_qunit.padding1", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10489 { &hf_lustre_llog_size_change_rec_lsc_fid,
10490 { "Lsc Fid", "lustre.llog_size_change_rec.lsc_fid", FT_NONE,
10491 BASE_NONE, NULL, 0, "", HFILL } },
10492 { &hf_lustre_llog_rec_hdr_padding,
10493 { "Padding", "lustre.llog_rec_hdr.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10494 { &hf_lustre_obdo_o_nlink,
10495 { "O Nlink", "lustre.obdo.o_nlink", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10496 { &hf_lustre_ldlm_extent_gid,
10497 { "Gid", "lustre.ldlm_extent.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10498 { &hf_lustre_obdo_o_uid,
10499 { "O Uid", "lustre.obdo.o_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10500 { &hf_lustre_mds_xattr_name,
10501 { "mds xattr name", "lustre.mds_xattr_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10502 { &hf_lustre_lov_mds_md_v1,
10503 { "lov mds md v1", "lustre.lov_mds_md_v1", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10504 { &hf_lustre_llog_cookie,
10505 { "llog cookie", "lustre.llog_cookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10506 { &hf_lustre_mds_md_data,
10507 { "mds md data", "lustre.mds_md_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10508 { &hf_lustre_mds_reint_opcode,
10509 { "mds reint opcode", "lustre.mds_reint_opcode", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10510 { &hf_lustre_mds_xattr_eadata,
10511 { "mds xattr eadata", "lustre.mds_xattr_eadata", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10512 { &hf_lustre_reint_name,
10513 { "mds reint name", "lustre.mds_reint_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10514 { &hf_lustre_reint_old_name,
10515 { "mds reint old name", "lustre.mds_reint_old_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10516 { &hf_lustre_reint_new_name,
10517 { "mds reint new name", "lustre.mds_reint_new_name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10520 { &hf_lustre_obdo_o_valid,
10521 { "O Valid", "lustre.obdo.o_valid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10522 { &hf_lustre_ldlm_reply_lock_flags,
10523 { "Lock Flags", "lustre.ldlm_reply.lock_flags", FT_UINT32,BASE_HEX, NULL, 0, "", HFILL }},
10525 #define WSHARK_INIT_DATA
10526 #include "lustre_dlm_flags_wshark.c"
10527 #undef WSHARK_INIT_DATA
10529 { &hf_lustre_obdo_o_misc,
10530 { "O Misc", "lustre.obdo.o_misc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10531 { &hf_lustre_ldlm_request_lock_handle,
10532 { "Lock Handle", "lustre.ldlm_request.lock_handle", FT_NONE,
10533 BASE_NONE, NULL, 0, "", HFILL } },
10534 { &hf_lustre_llog_logid_lgl_oid,
10535 { "Lgl Oid", "lustre.llog_logid.lgl_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10536 { &hf_lustre_ldlm_inodebits_bits,
10537 { "Bits", "lustre.ldlm_inodebits.bits", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10538 { &hf_lustre_llog_log_hdr_llh_count,
10539 { "Llh Count", "lustre.llog_log_hdr.llh_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10540 { &hf_lustre_llog_gen_rec_lgr_tail,
10541 { "Lgr Tail", "lustre.llog_gen_rec.lgr_tail", FT_NONE,
10542 BASE_NONE, NULL, 0, "", HFILL } },
10543 { &hf_lustre_llog_catid_lci_padding3,
10544 { "Lci Padding3", "lustre.llog_catid.lci_padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10545 { &hf_lustre_qunit_data_qd_qunit,
10546 { "Qd Qunit", "lustre.qunit_data.qd_qunit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10547 { &hf_lustre_llog_setattr_rec_padding,
10548 { "Padding", "lustre.llog_setattr_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10549 { &hf_lustre_llog_cookie_lgc_lgl,
10550 { "Lgc Lgl", "lustre.llog_cookie.lgc_lgl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10551 { &hf_lustre_obd_quotactl_qc_dqinfo,
10552 { "Qc Dqinfo", "lustre.obd_quotactl.qc_dqinfo", FT_NONE,
10553 BASE_NONE, NULL, 0, "", HFILL } },
10554 { &hf_lustre_llog_log_hdr_llh_bitmap,
10555 { "Llh Bitmap", "lustre.llog_log_hdr.llh_bitmap", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10556 { &hf_lustre_obd_quotactl_qc_stat,
10557 { "Qc Stat", "lustre.obd_quotactl.qc_stat", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10558 { &hf_lustre_qunit_data_old2_qd_id,
10559 { "Qd Id", "lustre.qunit_data_old2.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10560 { &hf_lustre_llog_logid_rec_padding2,
10561 { "Padding2", "lustre.llog_logid_rec.padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10562 { &hf_lustre_llog_logid_rec_padding5,
10563 { "Padding5", "lustre.llog_logid_rec.padding5", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10564 /*-------------------------------------------------------------------------------------------------------------*/
10565 /*all this flags are uint64, but I don't find the way to use something like TFS() with a Uint64*/
10566 /*like TFS() with a Uint64 */
10567 { &hf_lustre_ldlm_intent_opc_open,
10568 { "open", "lustre.ldlm_intent.opc_open", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_OPEN, "", HFILL } },
10569 { &hf_lustre_ldlm_intent_opc_creat,
10570 { "creat", "lustre.ldlm_intent.opc_creat", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_CREAT , "", HFILL } },
10571 { &hf_lustre_ldlm_intent_opc_readdir,
10572 { "readdir", "lustre.ldlm_intent.opc_readdir", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_READDIR , "", HFILL } },
10573 { &hf_lustre_ldlm_intent_opc_getattr,
10574 { "getattr", "lustre.ldlm_intent.opc_getattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETATTR, "", HFILL } },
10575 { &hf_lustre_ldlm_intent_opc_lookup,
10576 { "lookup", "lustre.ldlm_intent.opc_lookup", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_LOOKUP , "", HFILL } },
10577 { &hf_lustre_ldlm_intent_opc_unlink,
10578 { "unlink", "lustre.ldlm_intent.opc_unlink", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_UNLINK , "", HFILL } },
10579 { &hf_lustre_ldlm_intent_opc_getxattr,
10580 { "getxattr", "lustre.ldlm_intent.opc_getxattr", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_GETXATTR , "", HFILL } },
10581 { &hf_lustre_ldlm_intent_opc_exec,
10582 { "exec", "lustre.ldlm_intent.opc_exec", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_EXEC , "", HFILL } },
10583 { &hf_lustre_ldlm_intent_opc_pin,
10584 { "pin", "lustre.ldlm_intent.opc_pin", FT_BOOLEAN, 32, TFS(&lnet_flags_set_truth), IT_PIN , "", HFILL } },
10585 /*-------------------------------------------------------------------*/
10586 { &hf_lustre_ldlm_intent_opc,
10587 { "intent opcode", "lustre.ldlm_intent.opc", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10588 { &hf_lustre_llog_rec_hdr_lrh_type,
10589 { "Lrh Type", "lustre.llog_rec_hdr.lrh_type", FT_UINT32, BASE_HEX, VALS(lustre_llog_op_type), 0, "", HFILL }},
10590 { &hf_lustre_llog_rec_hdr_lrh_len,
10591 { "Lrh Len", "lustre.llog_rec_hdr.lrh_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10592 { &hf_lustre_llog_setattr_rec_lsr_uid,
10593 { "Lsr Uid", "lustre.llog_setattr_rec.lsr_uid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10594 { &hf_lustre_lov_desc_ld_padding_1,
10595 { "Ld Padding 1", "lustre.lov_desc.ld_padding_1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10596 { &hf_lustre_obdo_o_padding_4,
10597 { "O Padding 4", "lustre.obdo.o_padding_4", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10598 { &hf_lustre_mgs_target_info_padding,
10599 { "Padding", "lustre.mgs_target_info.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10600 { &hf_lustre_obd_quotactl_qc_dqblk,
10601 { "Qc Dqblk", "lustre.obd_quotactl.qc_dqblk", FT_NONE,
10602 BASE_NONE, NULL, 0, "", HFILL } },
10603 { &hf_lustre_llogd_conn_body_lgdc_gen,
10604 { "Lgdc Gen", "lustre.llogd_conn_body.lgdc_gen", FT_NONE,
10605 BASE_NONE, NULL, 0, "", HFILL } },
10606 { &hf_lustre_llog_log_hdr_llh_tail,
10607 { "Llh Tail", "lustre.llog_log_hdr.llh_tail", FT_NONE,
10608 BASE_NONE, NULL, 0, "", HFILL } },
10609 { &hf_lustre_obdo_o_size,
10610 { "O Size", "lustre.obdo.o_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10611 { &hf_lustre_ldlm_extent_start,
10612 { "Start", "lustre.ldlm_extent.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10613 { &hf_lustre_llog_size_change_rec_lsc_hdr,
10614 { "Lsc Hdr", "lustre.llog_size_change_rec.lsc_hdr", FT_NONE,
10615 BASE_NONE, NULL, 0, "", HFILL } },
10616 { &hf_lustre_llog_logid_lgl_oseq,
10617 { "Lgl SEQ", "lustre.llog_logid.lgl_oseq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10618 { &hf_lustre_llog_cookie_lgc_padding,
10619 { "Lgc Padding", "lustre.llog_cookie.lgc_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10620 { &hf_lustre_qunit_data_old_qd_type,
10621 { "Qd Type", "lustre.qunit_data_old.qd_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10622 { &hf_lustre_ldlm_flock_blocking_export,
10623 { "Blocking Export", "lustre.ldlm_flock.blocking_export", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10624 { &hf_lustre_lov_desc_ld_pattern,
10625 { "Ld Pattern", "lustre.lov_desc.ld_pattern", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10626 { &hf_lustre_qunit_data_qd_id,
10627 { "Qd Id", "lustre.qunit_data.qd_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10628 { &hf_lustre_mgs_target_info_mti_fsname,
10629 { "Mti Fsname", "lustre.mgs_target_info.mti_fsname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10630 { &hf_lustre_ldlm_request_lock_flags,
10631 { "Lock Flags", "lustre.ldlm_request.lock_flags", FT_UINT32, BASE_HEX, NULL, 0 , "", HFILL }},
10632 { &hf_lustre_obdo_o_mode,
10633 { "O Mode", "lustre.obdo.o_mode", FT_UINT32, BASE_OCT, NULL, 0, "", HFILL }},
10634 { &hf_lustre_mgs_target_info_mti_svname,
10635 { "Mti Svname", "lustre.mgs_target_info.mti_svname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10636 { &hf_lustre_llogd_body_lgd_logid,
10637 { "Lgd Logid", "lustre.llogd_body.lgd_logid", FT_NONE,
10638 BASE_NONE, NULL, 0, "", HFILL } },
10639 { &hf_lustre_llog_log_hdr_llh_size,
10640 { "Llh Size", "lustre.llog_log_hdr.llh_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10641 { &hf_lustre_obdo_o_handle,
10642 { "O Handle", "lustre.obdo.o_handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10643 { &hf_lustre_obdo_o_atime,
10644 { "O Atime", "lustre.obdo.o_atime",FT_ABSOLUTE_TIME,
10645 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10646 { &hf_lustre_quota_adjust_qunit_qaq_id,
10647 { "Qaq Id", "lustre.quota_adjust_qunit.qaq_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10648 { &hf_lustre_ldlm_lock_desc_l_policy_data,
10649 { "L Policy Data", "lustre.ldlm_lock_desc.l_policy_data", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10650 { &hf_lustre_obd_quotactl_qc_cmd,
10651 { "Qc Cmd", "lustre.obd_quotactl.qc_cmd", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10652 { &hf_lustre_qunit_data_padding,
10653 { "Padding", "lustre.qunit_data.padding", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10654 { &hf_lustre_quota_adjust_qunit_qaq_flags,
10655 { "Qaq Flags", "lustre.quota_adjust_qunit.qaq_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10656 { &hf_lustre_ldlm_lock_desc_l_granted_mode,
10657 { "L Granted Mode", "lustre.ldlm_lock_desc.l_granted_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_vals), 0, "", HFILL }},
10658 { &hf_lustre_obdo_o_seq,
10659 { "O SEQ", "lustre.obdo.o_seq", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10660 { &hf_lustre_obdo_o_gid,
10661 { "O Gid", "lustre.obdo.o_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10662 { &hf_lustre_llog_catid_lci_logid,
10663 { "Lci Logid", "lustre.llog_catid.lci_logid", FT_NONE,
10664 BASE_NONE, NULL, 0, "", HFILL } },
10665 { &hf_lustre_llog_rec_tail_lrt_index,
10666 { "Lrt Index", "lustre.llog_rec_tail.lrt_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10667 { &hf_lustre_lov_desc_ld_default_stripe_count,
10668 { "Ld Default Stripe Count", "lustre.lov_desc.ld_default_stripe_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10669 { &hf_lustre_ldlm_resource_desc_lr_padding,
10670 { "Lr Padding", "lustre.ldlm_resource_desc.lr_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10671 { &hf_lustre_cfg_marker_cm_vers,
10672 { "Cm Vers", "lustre.cfg_marker.cm_vers", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10673 { &hf_lustre_llog_unlink_rec_lur_hdr,
10674 { "Lur Hdr", "lustre.llog_unlink_rec.lur_hdr", FT_NONE,
10675 BASE_NONE, NULL, 0, "", HFILL } },
10676 { &hf_lustre_llogd_body_lgd_index,
10677 { "Lgd Index", "lustre.llogd_body.lgd_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10678 { &hf_lustre_cfg_marker_cm_tgtname,
10679 { "Cm Tgtname", "lustre.cfg_marker.cm_tgtname", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10680 { &hf_lustre_llog_setattr_rec_lsr_ogen,
10681 { "Lsr Ogen", "lustre.llog_setattr_rec.lsr_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10682 { &hf_lustre_llog_logid_rec_lid_hdr,
10683 { "Lid Hdr", "lustre.llog_logid_rec.lid_hdr", FT_NONE,
10684 BASE_NONE, NULL, 0, "", HFILL } },
10685 { &hf_lustre_obdo_o_ioepoch,
10686 { "O IOEpoch", "lustre.obdo.o_ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10687 { &hf_lustre_ost_body_oa,
10688 { "Oa", "lustre.ost_body.oa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10689 { &hf_lustre_llog_logid_rec_padding3,
10690 { "Padding3", "lustre.llog_logid_rec.padding3", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10691 { &hf_lustre_llog_log_hdr_llh_flags,
10692 { "Llh Flags", "lustre.llog_log_hdr.llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10693 {&hf_lustre_llog_hdr_llh_flag_zap_when_empty,
10694 {"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 } },
10695 {&hf_lustre_llog_hdr_llh_flag_is_cat,
10696 {"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 } },
10697 {&hf_lustre_llog_hdr_llh_flag_is_play,
10698 {"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 } },
10700 { &hf_lustre_llog_setattr_rec_lsr_oid,
10701 { "Lsr Oid", "lustre.llog_setattr_rec.lsr_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10702 { &hf_lustre_llog_size_change_rec_padding,
10703 { "Padding", "lustre.llog_size_change_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10704 { &hf_lustre_mgs_target_info_mti_config_ver,
10705 { "Mti Config Ver", "lustre.mgs_target_info.mti_config_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10706 { &hf_lustre_cfg_marker_cm_createtime,
10707 { "Cm Createtime", "lustre.cfg_marker.cm_createtime",FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10708 { &hf_lustre_qunit_data_old_qd_count,
10709 { "Qd Count", "lustre.qunit_data_old.qd_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10710 { &hf_lustre_llog_catid_lci_padding1,
10711 { "Lci Padding1", "lustre.llog_catid.lci_padding1", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10712 { &hf_lustre_lov_desc_ld_active_tgt_count,
10713 { "Ld Active Tgt Count", "lustre.lov_desc.ld_active_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10714 { &hf_lustre_obdo_o_lcookie,
10715 { "O Lcookie", "lustre.obdo.o_lcookie", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10716 { &hf_lustre_llog_gen_rec_lgr_gen,
10717 { "Lgr Gen", "lustre.llog_gen_rec.lgr_gen", FT_NONE,
10718 BASE_NONE, NULL, 0, "", HFILL } },
10719 { &hf_lustre_obdo_o_id,
10720 { "O Id", "lustre.obdo.o_id", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10721 { &hf_lustre_mgs_target_info_mti_uuid,
10722 { "Mti Uuid", "lustre.mgs_target_info.mti_uuid", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10723 { &hf_lustre_llog_rec_hdr_lrh_index,
10724 { "Lrh Index", "lustre.llog_rec_hdr.lrh_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10725 { &hf_lustre_llog_setattr_rec_lsr_hdr,
10726 { "Lsr Hdr", "lustre.llog_setattr_rec.lsr_hdr", FT_NONE,
10727 BASE_NONE, NULL, 0, "", HFILL } },
10728 { &hf_lustre_mgs_target_info_mti_stripe_index,
10729 { "Mti Stripe Index", "lustre.mgs_target_info.mti_stripe_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10730 { &hf_lustre_llog_gen_conn_cnt,
10731 { "Conn Cnt", "lustre.llog_gen.conn_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10732 { &hf_lustre_obdo_o_padding_6,
10733 { "O Padding 6", "lustre.obdo.o_padding_6", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10734 { &hf_lustre_llog_cookie_lgc_index,
10735 { "Lgc Index", "lustre.llog_cookie.lgc_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10736 { &hf_lustre_lov_desc_ld_uuid,
10737 { "Ld Uuid", "lustre.lov_desc.ld_uuid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10738 { &hf_lustre_ldlm_reply_lock_desc,
10739 { "Lock Desc", "lustre.ldlm_reply.lock_desc", FT_NONE,
10740 BASE_NONE, NULL, 0, "", HFILL } },
10741 { &hf_lustre_lov_desc_ld_padding_0,
10742 { "Ld Padding 0", "lustre.lov_desc.ld_padding_0", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10743 { &hf_lustre_llog_unlink_rec_lur_ogen,
10744 { "Lur Ogen", "lustre.llog_unlink_rec.lur_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10745 { &hf_lustre_cfg_marker_cm_flags,
10746 { "Cm Flags", "lustre.cfg_marker.cm_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10747 { &hf_lustre_obdo_o_padding_3,
10748 { "O Padding 3", "lustre.obdo.o_padding_3", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10749 { &hf_lustre_ldlm_request_lock_desc,
10750 { "Lock Desc", "lustre.ldlm_request.lock_desc", FT_NONE,
10751 BASE_NONE, NULL, 0, "", HFILL } },
10752 { &hf_lustre_obdo_o_flags,
10753 { "O Flags", "lustre.obdo.o_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10754 { &hf_lustre_mgs_target_info_mti_params,
10755 { "Mti Params", "lustre.mgs_target_info.mti_params", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10756 { &hf_lustre_llog_logid_lgl_ogen,
10757 { "Lgl Ogen", "lustre.llog_logid.lgl_ogen", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10758 { &hf_lustre_cfg_marker_cm_comment,
10759 { "Cm Comment", "lustre.cfg_marker.cm_comment", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10760 { &hf_lustre_llog_unlink_rec_lur_oid,
10761 { "Lur Oid", "lustre.llog_unlink_rec.lur_oid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10762 { &hf_lustre_qunit_data_qd_count,
10763 { "Qd Count", "lustre.qunit_data.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10764 { &hf_lustre_obdo_o_mtime,
10765 { "O Mtime", "lustre.obdo.o_mtime",FT_ABSOLUTE_TIME,
10766 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10767 { &hf_lustre_obdo_o_blksize,
10768 { "O Blksize", "lustre.obdo.o_blksize", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10769 { &hf_lustre_ldlm_res_id_name,
10770 { "Name", "lustre.ldlm_res_id.name", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10771 { &hf_lustre_ldlm_reply_lock_handle,
10772 { "Lock Handle", "lustre.ldlm_reply.lock_handle", FT_NONE,
10773 BASE_NONE, NULL, 0, "", HFILL } },
10774 { &hf_lustre_llogd_body_lgd_saved_index,
10775 { "Lgd Saved Index", "lustre.llogd_body.lgd_saved_index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10776 { &hf_lustre_qunit_data_old_qd_isblk,
10777 { "Qd Isblk", "lustre.qunit_data_old.qd_isblk", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10778 { &hf_lustre_obdo_o_blocks,
10779 { "O Blocks", "lustre.obdo.o_blocks", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10780 { &hf_lustre_lov_desc_ld_padding_2,
10781 { "Ld Padding 2", "lustre.lov_desc.ld_padding_2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10782 { &hf_lustre_llog_logid_rec_lid_tail,
10783 { "Lid Tail", "lustre.llog_logid_rec.lid_tail", FT_NONE,
10784 BASE_NONE, NULL, 0, "", HFILL } },
10785 { &hf_lustre_obdo_o_grant,
10786 { "O Grant", "lustre.obdo.o_grant", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10787 { &hf_lustre_obdo_o_uid_h,
10788 { "O Uid H", "lustre.obdo.o_uid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10789 { &hf_lustre_obdo_o_gid_h,
10790 { "O Gid H", "lustre.obdo.o_gid_h", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10791 { &hf_lustre_quota_adjust_qunit_qaq_iunit_sz,
10792 { "Qaq Iunit Sz", "lustre.quota_adjust_qunit.qaq_iunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10793 { &hf_lustre_llog_unlink_rec_padding,
10794 { "Padding", "lustre.llog_unlink_rec.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10795 { &hf_lustre_ldlm_lock_desc_l_req_mode,
10796 { "L Req Mode", "lustre.ldlm_lock_desc.l_req_mode", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_mode_vals), 0, "", HFILL }},
10797 { &hf_lustre_ldlm_extent_end,
10798 { "End", "lustre.ldlm_extent.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10799 { &hf_lustre_llog_gen_rec_lgr_hdr,
10800 { "Lgr Hdr", "lustre.llog_gen_rec.lgr_hdr", FT_NONE,
10801 BASE_NONE, NULL, 0, "", HFILL } },
10802 { &hf_lustre_llogd_body_lgd_llh_flags,
10803 { "Lgd Llh Flags", "lustre.llogd_body.lgd_llh_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10804 { &hf_lustre_llog_log_hdr_llh_cat_idx,
10805 { "Llh Cat Idx", "lustre.llog_log_hdr.llh_cat_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10806 { &hf_lustre_llog_log_hdr_llh_bitmap_offset,
10807 { "Llh Bitmap Offset", "lustre.llog_log_hdr.llh_bitmap_offset", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10808 { &hf_lustre_ldlm_reply_lock_padding,
10809 { "Lock Padding", "lustre.ldlm_reply.lock_padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10810 { &hf_lustre_obd_quotactl_qc_id,
10811 { "Qc Id", "lustre.obd_quotactl.qc_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10812 { &hf_lustre_llog_logid_rec_padding4,
10813 { "Padding4", "lustre.llog_logid_rec.padding4", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10814 { &hf_lustre_llog_setattr_rec_lsr_gid,
10815 { "Lsr Gid", "lustre.llog_setattr_rec.lsr_gid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10816 { &hf_lustre_obd_quotactl_qc_type,
10817 { "Qc Type", "lustre.obd_quotactl.qc_type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10818 { &hf_lustre_cfg_marker_padding,
10819 { "Padding", "lustre.cfg_marker.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10820 { &hf_lustre_mgs_target_info_mti_nids,
10821 { "Mti Nids", "lustre.mgs_target_info.mti_nids", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10822 { &hf_lustre_obdo_o_stripe_idx,
10823 { "O Stripe Idx", "lustre.obdo.o_stripe_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10824 { &hf_lustre_llogd_conn_body_lgdc_logid,
10825 { "Lgdc Logid", "lustre.llogd_conn_body.lgdc_logid", FT_NONE,
10826 BASE_NONE, NULL, 0, "", HFILL } },
10827 { &hf_lustre_ldlm_flock_blocking_pid,
10828 { "Blocking Pid", "lustre.ldlm_flock.blocking_pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10829 { &hf_lustre_lov_desc_ld_tgt_count,
10830 { "Ld Tgt Count", "lustre.lov_desc.ld_tgt_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10831 { &hf_lustre_llogd_body_lgd_cur_offset,
10832 { "Lgd Cur Offset", "lustre.llogd_body.lgd_cur_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10833 { &hf_lustre_qunit_data_old2_qd_count,
10834 { "Qd Count", "lustre.qunit_data_old2.qd_count", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10835 { &hf_lustre_opnum,
10836 { "Operation", "lustre.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }},
10837 { &hf_lustre_qunit_data_old2_qd_flags,
10838 { "Qd Flags", "lustre.qunit_data_old2.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10839 { &hf_lustre_ldlm_flock_start,
10840 { "Start", "lustre.ldlm_flock.start", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10841 { &hf_lustre_quota_adjust_qunit_qaq_bunit_sz,
10842 { "Qaq Bunit Sz", "lustre.quota_adjust_qunit.qaq_bunit_sz", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10843 { &hf_lustre_ldlm_flock_pid,
10844 { "Pid", "lustre.ldlm_flock.pid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10845 { &hf_lustre_lov_desc_ld_default_stripe_size,
10846 { "Ld Default Stripe Size", "lustre.lov_desc.ld_default_stripe_size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10847 { &hf_lustre_llog_log_hdr_llh_tgtuuid,
10848 { "Llh Tgtuuid", "lustre.llog_log_hdr.llh_tgtuuid", FT_NONE,
10849 BASE_NONE, NULL, 0, "", HFILL } },
10850 { &hf_lustre_cfg_marker_cm_step,
10851 { "Cm Step", "lustre.cfg_marker.cm_step", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10852 { &hf_lustre_mgs_send_param_mgs_param,
10853 { "Mgs Param", "lustre.mgs_send_param.mgs_param", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10854 { &hf_lustre_lov_desc_ld_default_stripe_offset,
10855 { "Ld Default Stripe Offset", "lustre.lov_desc.ld_default_stripe_offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10856 { &hf_lustre_ldlm_resource_desc_lr_name,
10857 { "Lr Name", "lustre.ldlm_resource_desc.lr_name", FT_NONE,
10858 BASE_NONE, NULL, 0, "", HFILL } },
10859 { &hf_lustre_llog_rec_tail_lrt_len,
10860 { "Lrt Len", "lustre.llog_rec_tail.lrt_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10861 { &hf_lustre_llog_log_hdr_llh_timestamp,
10862 { "Llh Timestamp", "lustre.llog_log_hdr.llh_timestamp", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10863 { &hf_lustre_llog_catid_lci_padding2,
10864 { "Lci Padding2", "lustre.llog_catid.lci_padding2", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10865 { &hf_lustre_llogd_conn_body_lgdc_ctxt_idx,
10866 { "Lgdc Ctxt Idx", "lustre.llogd_conn_body.lgdc_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10867 { &hf_lustre_cfg_marker_cm_canceltime,
10868 { "Cm Canceltime", "lustre.cfg_marker.cm_canceltime",FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10869 { &hf_lustre_mgs_target_info_mti_lustre_ver,
10870 { "Mti Lustre Ver", "lustre.mgs_target_info.mti_lustre_ver", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10871 { &hf_lustre_obdo_o_parent_ver,
10872 { "O Parent VER", "lustre.obdo.o_parent_ver", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10873 { &hf_lustre_qunit_data_qd_flags,
10874 { "Qd Flags", "lustre.qunit_data.qd_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10875 { &hf_lustre_llog_logid_rec_lid_id,
10876 { "Lid Id", "lustre.llog_logid_rec.lid_id", FT_NONE,
10877 BASE_NONE, NULL, 0, "", HFILL } },
10878 { &hf_lustre_obdo_o_parent_oid,
10879 { "O Parent OID", "lustre.obdo.o_parent_oid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }},
10880 { &hf_lustre_llog_gen_mnt_cnt,
10881 { "Mnt Cnt", "lustre.llog_gen.mnt_cnt", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10882 { &hf_lustre_llog_size_change_rec_lsc_tail,
10883 { "Lsc Tail", "lustre.llog_size_change_rec.lsc_tail", FT_NONE,
10884 BASE_NONE, NULL, 0, "", HFILL } },
10885 { &hf_lustre_obdo_o_padding_5,
10886 { "O Padding 5", "lustre.obdo.o_padding_5", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10887 { &hf_lustre_ldlm_lock_desc_l_resource,
10888 { "L Resource", "lustre.ldlm_lock_desc.l_resource", FT_NONE,
10889 BASE_NONE, NULL, 0, "", HFILL } },
10890 { &hf_lustre_obdo_o_parent_seq,
10891 { "O Parent SEQ", "lustre.obdo.o_parent_seq", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL }},
10892 { &hf_lustre_ldlm_request_lock_count,
10893 { "Lock Count", "lustre.ldlm_request.lock_count", FT_UINT32, BASE_HEX_DEC, NULL, 0, "", HFILL }},
10894 { &hf_lustre_ldlm_flock_end,
10895 { "End", "lustre.ldlm_flock.end", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10896 { &hf_lustre_mgs_target_info_mti_nid_count,
10897 { "Mti Nid Count", "lustre.mgs_target_info.mti_nid_count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10898 /* -------------------------------------------------------------------- */
10899 { &hf_lustre_mgs_target_info,
10900 { "mgs target info", "lustre.mgs_target_info", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10901 { &hf_lustre_mgs_send_param,
10902 { "mgs send param", "lustre.mgs_send_param", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10904 { &hf_lustre_mgs_config_body,
10905 { "mgs config body", "lustre.mgs_config_body", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10906 { &hf_lustre_mgs_config_body_name,
10907 { "mcb name", "lustre.mgs_config_body.name", FT_STRING, BASE_NONE, NULL, 0, "", HFILL }},
10908 { &hf_lustre_mgs_config_body_offset,
10909 { "mcb offset", "lustre.mgs_config_body.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10910 { &hf_lustre_mgs_config_body_type,
10911 { "mcb type", "lustre.mgs_config_body.type", FT_UINT16, BASE_DEC, VALS(lustre_mgs_config_body_types), 0, "", HFILL }},
10912 { &hf_lustre_mgs_config_body_reserved,
10913 { "mcb reserved", "lustre.mgs_config_body.type", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10914 { &hf_lustre_mgs_config_body_bits,
10915 { "mcb bit shift", "lustre.mgs_config_body.type", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }},
10916 { &hf_lustre_mgs_config_body_units,
10917 { "mcb units", "lustre.mgs_config_body.type", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10919 { &hf_lustre_mgs_config_res,
10920 { "mgs config res", "lustre.mgs_config_res", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10921 { &hf_lustre_mgs_config_res_offset,
10922 { "mcr offset", "lustre.mgs_config_res.offset", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10923 { &hf_lustre_mgs_config_res_size,
10924 { "mcr size", "lustre.mgs_config_res.size", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10926 /* -------------------------------------------------------------------- */
10927 { &hf_lustre_ost_lvb,
10928 { "ost lvb data", "lustre.ost_lvb", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }},
10930 { &hf_lustre_obdo_o_ctime,
10931 { "O Ctime", "lustre.obdo.o_ctime",FT_ABSOLUTE_TIME,
10932 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10933 { &hf_lustre_ldlm_reply_lock_policy_res2,
10934 { "Lock Policy Res2", "lustre.ldlm_reply.lock_policy_res2", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10935 { &hf_lustre_llogd_body_lgd_ctxt_idx,
10936 { "Lgd Ctxt Idx", "lustre.llogd_body.lgd_ctxt_idx", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10937 { &hf_lustre_lov_desc_ld_qos_maxage,
10938 { "Ld Qos Maxage", "lustre.lov_desc.ld_qos_maxage", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10939 { &hf_lustre_ldlm_resource_desc_lr_type,
10940 { "Lr Type", "lustre.ldlm_resource_desc.lr_type", FT_UINT16, BASE_DEC, VALS(lustre_ldlm_type_vals), 0, "", HFILL }},
10941 { &hf_lustre_llog_setattr_rec_lsr_tail,
10942 { "Lsr Tail", "lustre.llog_setattr_rec.lsr_tail", FT_NONE,
10943 BASE_NONE, NULL, 0, "", HFILL } },
10944 { &hf_lustre_llog_cookie_lgc_subsys,
10945 { "Lgc Subsys", "lustre.llog_cookie.lgc_subsys", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10946 { &hf_lustre_llog_log_hdr_llh_hdr,
10947 { "Llh Hdr", "lustre.llog_log_hdr.llh_hdr", FT_NONE,
10948 BASE_NONE, NULL, 0, "", HFILL } },
10949 { &hf_lustre_llog_log_hdr_llh_reserved,
10950 { "Llh Reserved", "lustre.llog_log_hdr.llh_reserved", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10952 { &hf_lustre_extra_padding,
10953 { "extra padding", "lustre.msg_v2_extra_padding", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10954 { &hf_lustre_ldlm_reply,
10955 { "ldlm reply", "lustre.ldlm_reply", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10956 { &hf_lustre_ldlm_request,
10957 { "ldlm request", "lustre.ldlm_request", FT_NONE, BASE_NONE, NULL, 0, "", HFILL}},
10959 /* add for lustre_user.h */
10960 { &hf_lustre_obd_dqinfo_dqi_valid,
10961 { "Dqi Valid", "lustre.obd_dqinfo.dqi_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10962 { &hf_lustre_obd_dqblk_dqb_isoftlimit,
10963 { "Dqb Isoftlimit", "lustre.obd_dqblk.dqb_isoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10964 { &hf_lustre_obd_dqblk_dqb_bhardlimit,
10965 { "Dqb Bhardlimit", "lustre.obd_dqblk.dqb_bhardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10966 { &hf_lustre_obd_dqblk_dqb_curspace,
10967 { "Dqb Curspace", "lustre.obd_dqblk.dqb_curspace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10968 { &hf_lustre_obd_dqblk_dqb_itime,
10969 { "Dqb Itime", "lustre.obd_dqblk.dqb_itime", FT_ABSOLUTE_TIME,
10970 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10971 { &hf_lustre_obd_dqblk_dqb_valid,
10972 { "Dqb Valid", "lustre.obd_dqblk.dqb_valid", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10973 { &hf_lustre_obd_dqinfo_dqi_igrace,
10974 { "Dqi Igrace", "lustre.obd_dqinfo.dqi_igrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10975 { &hf_lustre_obd_dqinfo_dqi_bgrace,
10976 { "Dqi Bgrace", "lustre.obd_dqinfo.dqi_bgrace", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10977 { &hf_lustre_obd_dqblk_padding,
10978 { "Padding", "lustre.obd_dqblk.padding", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10979 { &hf_lustre_obd_dqblk_dqb_curinodes,
10980 { "Dqb Curinodes", "lustre.obd_dqblk.dqb_curinodes", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10981 { &hf_lustre_obd_dqblk_dqb_bsoftlimit,
10982 { "Dqb Bsoftlimit", "lustre.obd_dqblk.dqb_bsoftlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL }},
10983 { &hf_lustre_obd_dqinfo_dqi_flags,
10984 { "Dqi Flags", "lustre.obd_dqinfo.dqi_flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
10985 { &hf_lustre_obd_dqblk_dqb_btime,
10986 { "Dqb Btime", "lustre.obd_dqblk.dqb_btime", FT_ABSOLUTE_TIME,
10987 ABSOLUTE_TIME_LOCAL, NULL, 0, "", HFILL } },
10988 { &hf_lustre_obd_dqblk_dqb_ihardlimit,
10989 { "Dqb Ihardlimit", "lustre.obd_dqblk.dqb_ihardlimit", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
10992 { &hf_lustre_seq_opc,
10993 { "Seq OPC", "lustre.seq_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
10994 { &hf_lustre_seq_range,
10995 { "Seq Range", "lustre.seq_range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
10996 { &hf_lustre_seq_range_start,
10997 { "Seq Range Start", "lustre.seq_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
10998 { &hf_lustre_seq_range_end,
10999 { "Seq Range End", "lustre.seq_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
11000 { &hf_lustre_seq_range_index,
11001 { "Seq Range Index", "lustre.seq_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11002 { &hf_lustre_seq_range_flags,
11003 { "Seq Range Flags", "lustre.seq_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
11006 { &hf_lustre_fld_opc,
11007 { "Fld OPC", "lustre.fld_opc", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11008 { &hf_lustre_fld_range,
11009 { "Fld Range", "lustre.fld_range", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11010 { &hf_lustre_fld_range_start,
11011 { "Fld Range Start", "lustre.fld_range.start", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
11012 { &hf_lustre_fld_range_end,
11013 { "Fld Range End", "lustre.fld_range.end", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
11014 { &hf_lustre_fld_range_index,
11015 { "Fld Range Index", "lustre.fld_range.index", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11016 { &hf_lustre_fld_range_flags,
11017 { "Fld Range Flags", "lustre.fld_range.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
11019 /* struct mdt_ioepoch */
11020 { &hf_lustre_mdt_ioepoch,
11021 { "MDT ioepoch", "lustre.mdt_ioepoch", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11022 { &hf_lustre_mdt_ioepoch_handle,
11023 { "Handle", "lustre.mdt_ioepoch.handle", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11024 { &hf_lustre_mdt_ioepoch_ioepoch,
11025 { "ioepoch", "lustre.mdt_ioepoch.ioepoch", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
11026 { &hf_lustre_mdt_ioepoch_flags,
11027 { "flags", "lustre.mdt_ioepoch.flags", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11028 { &hf_lustre_mdt_ioepoch_padding,
11029 { "Padding", "lustre.mdt_ioepoch.padding", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
11031 /* struct lustre_capa */
11033 { "Capability", "lustre.capa", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11034 { &hf_lustre_capa_fid,
11035 { "Capa fid", "lustre.capa.fid", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11036 { &hf_lustre_capa_opc,
11037 { "Capa opc", "lustre.capa.opc", FT_UINT64, BASE_HEX, NULL, 0, "", HFILL } },
11038 { &hf_lustre_capa_uid,
11039 { "Capa uid", "lustre.capa.uid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
11040 { &hf_lustre_capa_gid,
11041 { "Capa gid", "lustre.capa.gid", FT_UINT64, BASE_DEC, NULL, 0, "", HFILL } },
11042 { &hf_lustre_capa_flags,
11043 { "Capa flags", "lustre.capa.flags", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
11044 { &hf_lustre_capa_keyid,
11045 { "Capa keyid", "lustre.capa.keyid", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL } },
11046 { &hf_lustre_capa_timeout,
11047 { "Capa timeout", "lustre.capa.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11048 { &hf_lustre_capa_expiry,
11049 { "Capa expiry", "lustre.capa.expiry", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL } },
11050 { &hf_lustre_capa_hmac,
11051 { "Capa hmac", "lustre.capa.hmac", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11055 { "ACL", "lustre.acl", FT_NONE, BASE_NONE, NULL, 0, "", HFILL } },
11059 static gint *ett[] = {
11061 &ett_lustre_lustre_handle_cookie,
11062 &ett_lustre_lustre_msg_v1,
11063 &ett_lustre_lustre_handle_v1,
11064 &ett_lustre_lustre_msg_v2,
11065 &ett_lustre_ptlrpc_body,
11066 &ett_lustre_lustre_handle_v2,
11067 &ett_lustre_obd_connect_data,
11068 &ett_lustre_lov_mds_md_v1,
11069 &ett_lustre_lov_ost_data_v1,
11070 &ett_lustre_obd_statfs,
11071 &ett_lustre_obd_ioobj,
11072 &ett_lustre_niobuf_remote,
11073 &ett_lustre_ost_lvb,
11074 &ett_lustre_ll_fid,
11075 &ett_lustre_obd_quotactl,
11076 &ett_lustre_obd_dqinfo,
11077 &ett_lustre_obd_dqblk,
11078 &ett_lustre_quota_adjust_qunit,
11079 &ett_lustre_mdt_body,
11080 &ett_lustre_mdt_rec_setattr,
11081 &ett_lustre_mdt_rec_create,
11082 &ett_lustre_mdt_rec_link,
11083 &ett_lustre_mdt_rec_unlink,
11084 &ett_lustre_mdt_rec_rename,
11085 &ett_lustre_mdt_rec_setxattr,
11086 &ett_lustre_lov_desc,
11087 &ett_lustre_obd_uuid,
11088 &ett_lustre_ldlm_res_id,
11089 &ett_lustre_ldlm_extent,
11090 &ett_lustre_ldlm_inodebits,
11091 &ett_lustre_ldlm_flock,
11092 &ett_lustre_ldlm_intent_opc,
11093 &ett_lustre_ldlm_resource_desc,
11094 &ett_lustre_ldlm_lock_desc,
11095 &ett_lustre_ldlm_request,
11096 &ett_lustre_lustre_handle,
11097 &ett_lustre_ldlm_reply,
11098 &ett_lustre_mgs_send_param,
11099 &ett_lustre_mgs_target_info,
11100 &ett_lustre_mgs_config_body,
11101 &ett_lustre_mgs_config_res,
11102 &ett_lustre_cfg_marker,
11103 &ett_lustre_llog_catid,
11104 &ett_lustre_llog_logid,
11105 &ett_lustre_lov_mds_md,
11106 &ett_lustre_llog_rec_hdr,
11107 &ett_lustre_llog_rec_tail,
11108 &ett_lustre_llog_logid_rec,
11109 &ett_lustre_llog_unlink_rec,
11110 &ett_lustre_llog_setattr_rec,
11111 &ett_lustre_llog_size_change_rec,
11112 &ett_lustre_llog_gen,
11113 &ett_lustre_llog_gen_rec,
11114 &ett_lustre_llog_log_hdr,
11115 &ett_lustre_llog_cookie,
11116 &ett_lustre_llogd_body,
11117 &ett_lustre_llogd_conn_body,
11119 &ett_lustre_ost_body,
11120 &ett_lustre_qunit_data,
11121 &ett_lustre_qunit_data_old2,
11122 &ett_lustre_qunit_data_old,
11123 &ett_lustre_ldlm_lock_flags,
11124 &ett_lustre_llog_log_llh_flags,
11125 &ett_lustre_seq_range,
11126 &ett_lustre_fld_range,
11127 &ett_lustre_mdt_ioepoch,
11130 &ett_lustre_ladvise,
11133 proto_lustre = proto_register_protocol("Lustre", "lustre", "lustre");
11134 proto_register_field_array(proto_lustre, hf, array_length (hf));
11135 proto_register_subtree_array(ett, array_length(ett));
11139 void proto_reg_handoff_lustre(void)
11141 dissector_handle_t lustre_handle;
11142 lustre_handle=create_dissector_handle(dissect_lustre, proto_lustre);
11143 /* we use Lustre only if we get ptl_index = One of this code (we have removed the bulk code) */
11144 /* in LNET we test if the message is a put or not before adding an lnet.ptl_index value */
11145 dissector_add_uint("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
11146 dissector_add_uint("lnet.ptl_index", CONNMGR_REQUEST_PORTAL , lustre_handle);
11147 dissector_add_uint("lnet.ptl_index", CONNMGR_REPLY_PORTAL , lustre_handle);
11148 dissector_add_uint("lnet.ptl_index", OSC_REPLY_PORTAL , lustre_handle);
11149 dissector_add_uint("lnet.ptl_index", OST_IO_PORTAL , lustre_handle);
11150 dissector_add_uint("lnet.ptl_index", OST_CREATE_PORTAL , lustre_handle);
11151 dissector_add_uint("lnet.ptl_index", MDC_REPLY_PORTAL , lustre_handle);
11152 dissector_add_uint("lnet.ptl_index", MDS_REQUEST_PORTAL , lustre_handle);
11153 dissector_add_uint("lnet.ptl_index", LDLM_CB_REQUEST_PORTAL , lustre_handle);
11154 dissector_add_uint("lnet.ptl_index", LDLM_CB_REPLY_PORTAL , lustre_handle);
11155 dissector_add_uint("lnet.ptl_index", LDLM_CANCEL_REQUEST_PORTAL, lustre_handle);
11156 dissector_add_uint("lnet.ptl_index", LDLM_CANCEL_REPLY_PORTAL , lustre_handle);
11157 dissector_add_uint("lnet.ptl_index", MDS_SETATTR_PORTAL , lustre_handle);
11158 dissector_add_uint("lnet.ptl_index", MDS_READPAGE_PORTAL , lustre_handle);
11159 dissector_add_uint("lnet.ptl_index", MGC_REPLY_PORTAL , lustre_handle);
11160 dissector_add_uint("lnet.ptl_index", MGS_REQUEST_PORTAL , lustre_handle);
11161 dissector_add_uint("lnet.ptl_index", MGS_REPLY_PORTAL , lustre_handle);
11162 dissector_add_uint("lnet.ptl_index", OST_REQUEST_PORTAL , lustre_handle);
11163 dissector_add_uint("lnet.ptl_index", FLD_REQUEST_PORTAL, lustre_handle);
11164 dissector_add_uint("lnet.ptl_index", SEQ_METADATA_PORTAL, lustre_handle);
11165 dissector_add_uint("lnet.ptl_index", SEQ_DATA_PORTAL, lustre_handle);
11166 dissector_add_uint("lnet.ptl_index", SEQ_CONTROLLER_PORTAL, lustre_handle);