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>
41 const true_false_string lnet_flags_set_truth = { "Set", "Unset" };
43 /* --------------------------------------------------------------------------------------- */
44 /* def and macro to know where we are the the lustre payload */
45 #define LUSTRE_MAGIC_OFFSET 8
46 #define LUSTRE_MSG_MAGIC_V1 0x0BD00BD0
47 #define LUSTRE_MSG_MAGIC_V2 0x0BD00BD3
49 #define LUSTRE_BUFCOUNT_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 0 : 60)
50 #define LUSTRE_BUFCOUNT ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) \
51 ? (tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF)) : ((tvb_get_letohl(tvb, LUSTRE_BUFCOUNT_OFF))) )
52 /* remark : BUFLENOFF don't have the same meaning if it's for v1 or v2
53 * v1 : LUSTRE_BUFLEN_OFF = offset buflen[0] - 4 bytes.
54 * v2 : LUSTRE_BUFLEN_OFF = offset buflen[0]
56 #define LUSTRE_BUFLEN_OFF ((tvb_get_letohl(tvb, LUSTRE_MAGIC_OFFSET)== LUSTRE_MSG_MAGIC_V2) ? 32 : 60)
58 /* LUSTRE_BUFFER_LEN(buffnum) */
59 #define LUSTRE_BUFFER_LEN(_n) (LUSTRE_BUFCOUNT <= (_n) ? 0 \
60 : tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+\
61 sizeof(guint32)*(_n)))
63 #define LUSTRE_REQ_REC_OFF 1 /* normal request record offset */
64 #define LUSTRE_REPLY_REC_OFF 1 /* normal reply record offset */
66 #define LUSTRE_DLM_INTENT_IT_OFF 2 /* intent lock it offset */
67 #define LUSTRE_DLM_INTENT_REC_OFF 3 /* intent lock record offset */
68 #define LUSTRE_DLM_LOCKREPLY_OFF 1 /* lockrep offset */
69 #define LUSTRE_DLM_REPLY_REC_OFF 2 /* reply record offset */
70 /* --------------------------------------------------------------------------------------- */
73 #define LUSTRE_PTLRPC_MSG_VERSION 0x00000003
74 #define LUSTRE_VERSION_MASK 0xffff0000
75 #define LUSTRE_OBD_VERSION 0x00010000
76 #define LUSTRE_MDS_VERSION 0x00020000
77 #define LUSTRE_OST_VERSION 0x00030000
78 #define LUSTRE_DLM_VERSION 0x00040000
79 #define LUSTRE_LOG_VERSION 0x00050000
80 #define LUSTRE_MGS_VERSION 0x00060000
84 #define LOV_MAGIC_V1 0x0BD10BD0
85 #define LOV_MAGIC LOV_MAGIC_V1
86 #define LOV_MAGIC_JOIN_V1 0x0BD20BD0
88 /* defined in lustre/include/lustre/lustre_idl.h */
90 CONNMGR_REQUEST_PORTAL = 1,
91 CONNMGR_REPLY_PORTAL = 2,
92 OSC_REQUEST_PORTAL = 3,
96 OST_CREATE_PORTAL = 7,
98 MDC_REQUEST_PORTAL = 9,
99 MDC_REPLY_PORTAL = 10,
100 MDC_BULK_PORTAL = 11,
101 MDS_REQUEST_PORTAL = 12,
102 MDS_REPLY_PORTAL = 13,
103 MDS_BULK_PORTAL = 14,
104 LDLM_CB_REQUEST_PORTAL = 15,
105 LDLM_CB_REPLY_PORTAL = 16,
106 LDLM_CANCEL_REQUEST_PORTAL = 17,
107 LDLM_CANCEL_REPLY_PORTAL = 18,
108 PTLBD_REQUEST_PORTAL = 19,
109 PTLBD_REPLY_PORTAL = 20,
110 PTLBD_BULK_PORTAL = 21,
111 MDS_SETATTR_PORTAL = 22,
112 MDS_READPAGE_PORTAL = 23,
114 MGC_REPLY_PORTAL = 25,
115 MGS_REQUEST_PORTAL = 26,
116 MGS_REPLY_PORTAL = 27,
117 OST_REQUEST_PORTAL = 28,
118 FLD_REQUEST_PORTAL = 29,
119 SEQ_METADATA_PORTAL = 30,
120 SEQ_DATA_PORTAL = 31,
121 SEQ_CONTROLLER_PORTAL = 32,
125 static const value_string portal_indices[] = {
126 { CONNMGR_REQUEST_PORTAL, "CONNMGR_REQUEST_PORTAL"},
127 { CONNMGR_REPLY_PORTAL , "CONNMGR_REPLY_PORTAL"},
128 { OSC_REQUEST_PORTAL , "OSC_REQUEST_PORTAL(obsolete)"},
129 { OSC_REPLY_PORTAL , "OSC_REPLY_PORTAL"},
130 { OSC_BULK_PORTAL , "OSC_BULK_PORTAL(obsolete)"},
131 { OST_IO_PORTAL , "OST_IO_PORTAL"},
132 { OST_CREATE_PORTAL , "OST_CREATE_PORTAL"},
133 { OST_BULK_PORTAL , "OST_BULK_PORTAL"},
134 { MDC_REQUEST_PORTAL , "MDC_REQUEST_PORTAL(obsolete)"},
135 { MDC_REPLY_PORTAL , "MDC_REPLY_PORTAL"},
136 { MDC_BULK_PORTAL , "MDC_BULK_PORTAL(obsolete)"},
137 { MDS_REQUEST_PORTAL , "MDS_REQUEST_PORTAL"},
138 { MDS_REPLY_PORTAL , "MDS_REPLY_PORTAL(obsolete)"},
139 { MDS_BULK_PORTAL , "MDS_BULK_PORTAL"},
140 { LDLM_CB_REQUEST_PORTAL , "LDLM_CB_REQUEST_PORTAL"},
141 { LDLM_CB_REPLY_PORTAL , "LDLM_CB_REPLY_PORTAL"},
142 { LDLM_CANCEL_REQUEST_PORTAL , "LDLM_CANCEL_REQUEST_PORTAL"},
143 { LDLM_CANCEL_REPLY_PORTAL , "LDLM_CANCEL_REPLY_PORTAL"},
144 { PTLBD_REQUEST_PORTAL , "PTLBD_REQUEST_PORTAL(obsolete)"},
145 { PTLBD_REPLY_PORTAL , "PTLBD_REPLY_PORTAL(obsolete)"},
146 { PTLBD_BULK_PORTAL , "PTLBD_BULK_PORTAL(obsolete)"},
147 { MDS_SETATTR_PORTAL , "MDS_SETATTR_PORTAL"},
148 { MDS_READPAGE_PORTAL , "MDS_READPAGE_PORTAL"},
149 { MDS_MDS_PORTAL, "MDS_MDS_PORTAL"},
150 { MGC_REPLY_PORTAL , "MGC_REPLY_PORTAL"},
151 { MGS_REQUEST_PORTAL , "MGS_REQUEST_PORTAL"},
152 { MGS_REPLY_PORTAL , "MGS_REPLY_PORTAL"},
153 { OST_REQUEST_PORTAL , "OST_REQUEST_PORTAL"},
154 { FLD_REQUEST_PORTAL , "FLD_REQUEST_PORTAL"},
155 { SEQ_METADATA_PORTAL, "SEQ_METADATA_PORTAL"},
156 { SEQ_DATA_PORTAL, "SEQ_DATA_PORTAL"},
157 { SEQ_CONTROLLER_PORTAL, "SEQ_CONTROLLER_PORTAL"},
158 { MGS_BULK_PORTAL, "MGS_BULK_PORTAL"}
162 OST_REPLY = 0, /* reply ? */
176 /* OST_SAN_READ = 14, deprecated */
177 /* OST_SAN_WRITE = 15, deprecated */
182 OST_QUOTA_ADJUST_QUNIT = 20,
193 #define OBD_FIRST_OPC OBD_PING
195 /* must be coherent with same declaration
196 * in lustre/include/lustre/lustre_idl.h
200 MDS_GETATTR_NAME = 34,
211 MDS_DONE_WRITING = 45,
223 #define IT_OPEN 0x0001
224 #define IT_CREAT 0x0002
225 #define IT_READDIR 0x0004
226 #define IT_GETATTR 0x0008
227 #define IT_LOOKUP 0x0010
228 #define IT_UNLINK 0x0020
229 #define IT_GETXATTR 0x0040
230 #define IT_EXEC 0x0080
231 #define IT_PIN 0x0100
235 #define MDS_FIRST_OPC MDS_GETATTR
236 #define LDLM_FIRST_OPC LDLM_ENQUEUE
255 LDLM_BL_CALLBACK = 104,
256 LDLM_CP_CALLBACK = 105,
257 LDLM_GL_CALLBACK = 106,
260 #define LDLM_FIRST_OPC LDLM_ENQUEUE
265 SEQ_FIRST_OPC = SEQ_QUERY
271 FLD_FIRST_OPC = FLD_QUERY
274 #define WIRESHARK_COMPILE
275 #include "lustre_dlm_flags.h"
277 #define LDLM_ENQUEUE (101)
278 #define LDLM_CONVERT (102)
279 #define LDLM_CANCEL (103)
280 #define LDLM_BL_CALLBACK (104)
281 #define LDLM_CP_CALLBACK (105)
282 #define LDLM_GL_CALLBACK (106)
283 #define LCK_MINMODE (0)
290 #define LCK_GROUP (64)
291 #define LDLM_PLAIN (10)
292 #define LDLM_EXTENT (11)
293 #define LDLM_FLOCK (12)
294 #define LDLM_IBITS (13)
295 //#define MGS_CONNECT (250)
296 #define OBD_PING (400)
299 * Opcodes for mountconf (mgs and mgc)
304 MGS_EXCEPTION, /* node died, etc. */
305 MGS_TARGET_REG, /* whenever target starts up */
311 #define MGS_FIRST_OPC MGS_CONNECT
315 LLOG_ORIGIN_HANDLE_CREATE = 501,
316 LLOG_ORIGIN_HANDLE_NEXT_BLOCK = 502,
317 LLOG_ORIGIN_HANDLE_READ_HEADER = 503,
318 LLOG_ORIGIN_HANDLE_WRITE_REC = 504,
319 LLOG_ORIGIN_HANDLE_CLOSE = 505,
320 LLOG_ORIGIN_CONNECT = 506,
321 LLOG_CATINFO = 507, /* for lfs catinfo */
322 LLOG_ORIGIN_HANDLE_PREV_BLOCK = 508,
323 LLOG_ORIGIN_HANDLE_DESTROY = 509, /* for destroy llog object*/
327 #define LLOG_FIRST_OPC LLOG_ORIGIN_HANDLE_CREATE
328 /*flag for the LLOG*/
329 #define LLOG_OP_MAGIC 0x10600000
330 #define LLOG_OP_MASK 0xfff00000
333 LLOG_PAD_MAGIC = LLOG_OP_MAGIC | 0x00000,
334 OST_SZ_REC = LLOG_OP_MAGIC | 0x00f00,
335 OST_RAID1_REC = LLOG_OP_MAGIC | 0x01000,
336 MDS_UNLINK_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_UNLINK,
337 MDS_SETATTR_REC = LLOG_OP_MAGIC | 0x10000 | (MDS_REINT << 8) | REINT_SETATTR,
338 OBD_CFG_REC = LLOG_OP_MAGIC | 0x20000,
339 PTL_CFG_REC = LLOG_OP_MAGIC | 0x30000, /* obsolete */
340 LLOG_GEN_REC = LLOG_OP_MAGIC | 0x40000,
341 LLOG_JOIN_REC = LLOG_OP_MAGIC | 0x50000, /* obsolete */
342 LLOG_HDR_MAGIC = LLOG_OP_MAGIC | 0x45539,
343 LLOG_LOGID_MAGIC = LLOG_OP_MAGIC | 0x4553b,
347 /*defined in lustre/include/lustre/lustre_idl.h*/
348 #define LLOG_F_ZAP_WHEN_EMPTY 0x1
349 #define LLOG_F_IS_CAT 0x2
350 #define LLOG_F_IS_PLAIN 0x4
352 #define PTL_RPC_MSG_REQUEST 4711
353 #define PTL_RPC_MSG_ERR 4712
354 #define PTL_RPC_MSG_REPLY 4713
357 /* Ett declarations */
358 static gint ett_lustre_llog_log_llh_flags = -1 ;
359 static gint ett_lustre = -1;
360 static gint ett_lustre_lustre_handle_cookie = -1;
361 static gint ett_lustre_lustre_msg_v1 = -1;
362 static gint ett_lustre_lustre_handle_v1 = -1;
363 static gint ett_lustre_lustre_msg_v2 = -1;
364 static gint ett_lustre_ptlrpc_body = -1;
365 static gint ett_lustre_lustre_handle_v2 = -1;
366 static gint ett_lustre_obd_connect_data = -1;
367 static gint ett_lustre_lov_mds_md_v1 = -1;
368 static gint ett_lustre_lov_ost_data_v1 = -1;
369 static gint ett_lustre_obd_statfs = -1;
370 static gint ett_lustre_obd_ioobj = -1;
371 static gint ett_lustre_niobuf_remote = -1;
372 static gint ett_lustre_ost_lvb = -1;
373 static gint ett_lustre_ll_fid = -1;
374 static gint ett_lustre_mdt_body = -1;
375 static gint ett_lustre_mdt_rec_setattr = -1;
376 static gint ett_lustre_mdt_rec_create = -1;
377 static gint ett_lustre_mdt_rec_link = -1;
378 static gint ett_lustre_mdt_rec_unlink = -1;
379 static gint ett_lustre_mdt_rec_rename = -1;
380 static gint ett_lustre_mdt_rec_setxattr = -1;
381 static gint ett_lustre_obd_quotactl = -1;
382 static gint ett_lustre_obd_dqinfo = -1;
383 static gint ett_lustre_obd_dqblk = -1;
384 static gint ett_lustre_quota_adjust_qunit = -1;
385 static gint ett_lustre_lov_desc = -1;
386 static gint ett_lustre_obd_uuid = -1;
387 static gint ett_lustre_ldlm_res_id = -1;
388 static gint ett_lustre_ldlm_extent = -1;
389 static gint ett_lustre_ldlm_inodebits = -1;
390 static gint ett_lustre_ldlm_flock = -1;
391 static gint ett_lustre_ldlm_intent_opc = -1;
392 static gint ett_lustre_ldlm_resource_desc = -1;
393 static gint ett_lustre_ldlm_lock_desc = -1;
394 static gint ett_lustre_ldlm_request = -1;
395 static gint ett_lustre_lustre_handle = -1;
396 static gint ett_lustre_ldlm_reply = -1;
397 static gint ett_lustre_mgs_send_param = -1;
398 static gint ett_lustre_mgs_target_info = -1;
399 static gint ett_lustre_mgs_config_body = -1;
400 static gint ett_lustre_mgs_config_res = -1;
401 static gint ett_lustre_cfg_marker = -1;
402 static gint ett_lustre_llog_catid = -1;
403 static gint ett_lustre_llog_rec_hdr = -1;
404 static gint ett_lustre_llog_logid_rec = -1;
405 static gint ett_lustre_llog_logid = -1;
406 static gint ett_lustre_llog_rec_tail = -1;
407 static gint ett_lustre_lov_mds_md = -1;
408 static gint ett_lustre_llog_unlink_rec = -1;
409 static gint ett_lustre_llog_setattr_rec = -1;
410 static gint ett_lustre_llog_size_change_rec = -1;
411 static gint ett_lustre_llog_gen_rec = -1;
412 static gint ett_lustre_llog_log_hdr = -1;
413 static gint ett_lustre_llog_cookie = -1;
414 static gint ett_lustre_llogd_body = -1;
415 static gint ett_lustre_llogd_conn_body = -1;
416 static gint ett_lustre_llog_gen = -1;
417 static gint ett_lustre_obdo = -1;
418 static gint ett_lustre_ost_body = -1;
419 static gint ett_lustre_qunit_data = -1;
420 static gint ett_lustre_qunit_data_old2 = -1;
421 static gint ett_lustre_qunit_data_old = -1;
422 static gint ett_lustre_ldlm_lock_flags = -1 ;
423 static gint ett_lustre_seq_range = -1;
424 static gint ett_lustre_fld_range = -1;
425 static gint ett_lustre_mdt_ioepoch = -1;
426 static gint ett_lustre_capa = -1;
427 static gint ett_lustre_acl = -1;
429 /* -----------------------------------------------*/
430 /* Header field declarations */
431 static int hf_lustre_ptlrpc_body_pb = -1 ;
432 static int hf_lustre_ost_body = -1 ;
433 static int hf_lustre_obd_statfs = -1 ;
434 static int hf_lustre_obd_quotactl = -1 ;
435 static int hf_lustre_quota_adjust_qunit = -1 ;
436 static int hf_lustre_extra_padding = -1 ;
437 static int hf_lustre_ldlm_reply = -1 ;
438 static int hf_lustre_ldlm_request = -1 ;
439 static int hf_lustre_obd_uuid = -1 ;
440 static int hf_lustre_obd_connect_data = -1 ;
441 static int hf_lustre_ldlm_intent = -1;
442 static int hf_lustre_obd_ioobj = -1 ;
443 static int hf_lustre_niobuf_remote = -1 ;
444 static int hf_lustre_ost_key = -1 ;
445 static int hf_lustre_nio= -1 ;
446 static int hf_lustre_ost_val= -1;
447 static int hf_lustre_llogd_body = -1;
448 static int hf_lustre_llogd_log_hdr= -1;
449 static int hf_lustre_llog_logid_rec =-1 ;
450 static int hf_lustre_llogd_chunk= -1;
451 static int hf_lustre_llogd_keyword= -1;
452 static int hf_lustre_llogd_client= -1;
453 static int hf_lustre_llogd_name= -1;
455 static int hf_lustre_mds_xattr_name = -1;
456 static int hf_lustre_lov_mds_md_v1= -1;
457 static int hf_lustre_llog_cookie= -1;
458 static int hf_lustre_mds_md_data= -1;
459 static int hf_lustre_mds_reint_opcode= -1;
460 static int hf_lustre_mds_xattr_eadata = -1;
462 static int hf_lustre_reint_name= -1;
463 static int hf_lustre_reint_old_name= -1;
464 static int hf_lustre_reint_new_name= -1;
466 static int hf_lustre_mgs_target_info = -1 ;
467 static int hf_lustre_mgs_send_param = -1;
469 static int hf_lustre_mgs_config_body = -1;
470 static int hf_lustre_mgs_config_body_name = -1;
471 static int hf_lustre_mgs_config_body_offset = -1;
472 static int hf_lustre_mgs_config_body_type = -1;
473 static int hf_lustre_mgs_config_body_reserved = -1;
474 static int hf_lustre_mgs_config_body_bits = -1;
475 static int hf_lustre_mgs_config_body_units = -1;
477 static int hf_lustre_mgs_config_res = -1;
478 static int hf_lustre_mgs_config_res_offset = -1;
479 static int hf_lustre_mgs_config_res_size = -1;
481 static int hf_lustre_ost_lvb = -1 ;
483 #define hf_lustre_ldlm_ast_discard_data hf_lustre_ldlm_fl_ast_discard_data
485 static int hf_lustre_mdt_body = -1 ;
486 static int hf_lustre_mdt_body_fid1 = -1;
487 static int hf_lustre_mdt_body_fid2 = -1;
488 static int hf_lustre_mdt_body_handle = -1;
489 static int hf_lustre_mdt_body_valid = -1;
490 static int hf_lustre_mdt_body_size = -1;
491 static int hf_lustre_mdt_body_mtime = -1;
492 static int hf_lustre_mdt_body_atime = -1;
493 static int hf_lustre_mdt_body_ctime = -1;
494 static int hf_lustre_mdt_body_blocks = -1;
495 static int hf_lustre_mdt_body_ioepoch = -1;
496 static int hf_lustre_mdt_body_ino = -1;
497 static int hf_lustre_mdt_body_fsuid = -1;
498 static int hf_lustre_mdt_body_fsgid = -1;
499 static int hf_lustre_mdt_body_capability = -1;
500 static int hf_lustre_mdt_body_mode = -1;
501 static int hf_lustre_mdt_body_uid = -1;
502 static int hf_lustre_mdt_body_gid = -1;
503 static int hf_lustre_mdt_body_flags = -1;
504 static int hf_lustre_mdt_body_rdev = -1;
505 static int hf_lustre_mdt_body_nlink = -1;
506 static int hf_lustre_mdt_body_generation = -1;
507 static int hf_lustre_mdt_body_suppgid = -1;
508 static int hf_lustre_mdt_body_eadatasize = -1;
509 static int hf_lustre_mdt_body_aclsize = -1;
510 static int hf_lustre_mdt_body_max_mdsize = -1;
511 static int hf_lustre_mdt_body_max_cookiesize = -1;
512 static int hf_lustre_mdt_body_uid_h = -1;
513 static int hf_lustre_mdt_body_gid_h = -1;
514 static int hf_lustre_mdt_body_padding_5 = -1;
515 static int hf_lustre_mdt_body_padding_6 = -1;
516 static int hf_lustre_mdt_body_padding_7 = -1;
517 static int hf_lustre_mdt_body_padding_8 = -1;
518 static int hf_lustre_mdt_body_padding_9 = -1;
519 static int hf_lustre_mdt_body_padding_10 = -1;
521 static int hf_lustre_mdt_rec_setattr = -1 ;
522 static int hf_lustre_mdt_rec_setattr_sa_opcode = -1;
523 static int hf_lustre_mdt_rec_setattr_sa_cap = -1;
524 static int hf_lustre_mdt_rec_setattr_sa_fsuid = -1;
525 static int hf_lustre_mdt_rec_setattr_sa_fsuid_h = -1;
526 static int hf_lustre_mdt_rec_setattr_sa_fsgid = -1;
527 static int hf_lustre_mdt_rec_setattr_sa_fsgid_h = -1;
528 static int hf_lustre_mdt_rec_setattr_sa_suppgid = -1;
529 static int hf_lustre_mdt_rec_setattr_sa_suppgid_h = -1;
530 static int hf_lustre_mdt_rec_setattr_sa_padding_1 = -1;
531 static int hf_lustre_mdt_rec_setattr_sa_padding_1_h = -1;
532 static int hf_lustre_mdt_rec_setattr_sa_fid = -1;
533 static int hf_lustre_mdt_rec_setattr_sa_valid = -1;
534 static int hf_lustre_mdt_rec_setattr_sa_uid = -1;
535 static int hf_lustre_mdt_rec_setattr_sa_gid = -1;
536 static int hf_lustre_mdt_rec_setattr_sa_size = -1;
537 static int hf_lustre_mdt_rec_setattr_sa_blocks = -1;
538 static int hf_lustre_mdt_rec_setattr_sa_mtime = -1;
539 static int hf_lustre_mdt_rec_setattr_sa_atime = -1;
540 static int hf_lustre_mdt_rec_setattr_sa_ctime = -1;
541 static int hf_lustre_mdt_rec_setattr_sa_attr_flags = -1;
542 static int hf_lustre_mdt_rec_setattr_sa_mode = -1;
543 static int hf_lustre_mdt_rec_setattr_sa_padding_2 = -1;
544 static int hf_lustre_mdt_rec_setattr_sa_padding_3 = -1;
545 static int hf_lustre_mdt_rec_setattr_sa_padding_4 = -1;
546 static int hf_lustre_mdt_rec_setattr_sa_padding_5 = -1;
548 static int hf_lustre_mdt_rec_create = -1 ;
549 static int hf_lustre_mdt_rec_create_cr_opcode = -1;
550 static int hf_lustre_mdt_rec_create_cr_cap = -1;
551 static int hf_lustre_mdt_rec_create_cr_fsuid = -1;
552 static int hf_lustre_mdt_rec_create_cr_fsuid_h = -1;
553 static int hf_lustre_mdt_rec_create_cr_fsgid = -1;
554 static int hf_lustre_mdt_rec_create_cr_fsgid_h = -1;
555 static int hf_lustre_mdt_rec_create_cr_suppgid1 = -1;
556 static int hf_lustre_mdt_rec_create_cr_suppgid1_h = -1;
557 static int hf_lustre_mdt_rec_create_cr_suppgid2 = -1;
558 static int hf_lustre_mdt_rec_create_cr_suppgid2_h = -1;
559 static int hf_lustre_mdt_rec_create_cr_fid1 = -1;
560 static int hf_lustre_mdt_rec_create_cr_fid2 = -1;
561 static int hf_lustre_mdt_rec_create_cr_old_handle = -1;
562 static int hf_lustre_mdt_rec_create_cr_time = -1;
563 static int hf_lustre_mdt_rec_create_cr_rdev = -1;
564 static int hf_lustre_mdt_rec_create_cr_ioepoch = -1;
565 static int hf_lustre_mdt_rec_create_cr_padding_1 = -1;
566 static int hf_lustre_mdt_rec_create_cr_mode = -1;
567 static int hf_lustre_mdt_rec_create_cr_bias = -1;
568 static int hf_lustre_mdt_rec_create_cr_flags_l = -1;
569 static int hf_lustre_mdt_rec_create_cr_flags_h = -1;
570 static int hf_lustre_mdt_rec_create_cr_umask = -1;
571 static int hf_lustre_mdt_rec_create_cr_padding_4 = -1;
573 static int hf_lustre_mdt_rec_link = -1 ;
574 static int hf_lustre_mdt_rec_link_lk_opcode = -1;
575 static int hf_lustre_mdt_rec_link_lk_cap = -1;
576 static int hf_lustre_mdt_rec_link_lk_fsuid = -1;
577 static int hf_lustre_mdt_rec_link_lk_fsuid_h = -1;
578 static int hf_lustre_mdt_rec_link_lk_fsgid = -1;
579 static int hf_lustre_mdt_rec_link_lk_fsgid_h = -1;
580 static int hf_lustre_mdt_rec_link_lk_suppgid1 = -1;
581 static int hf_lustre_mdt_rec_link_lk_suppgid1_h = -1;
582 static int hf_lustre_mdt_rec_link_lk_suppgid2 = -1;
583 static int hf_lustre_mdt_rec_link_lk_suppgid2_h = -1;
584 static int hf_lustre_mdt_rec_link_lk_fid1 = -1;
585 static int hf_lustre_mdt_rec_link_lk_fid2 = -1;
586 static int hf_lustre_mdt_rec_link_lk_time = -1;
587 static int hf_lustre_mdt_rec_link_lk_padding_1 = -1;
588 static int hf_lustre_mdt_rec_link_lk_padding_2 = -1;
589 static int hf_lustre_mdt_rec_link_lk_padding_3 = -1;
590 static int hf_lustre_mdt_rec_link_lk_padding_4 = -1;
591 static int hf_lustre_mdt_rec_link_lk_bias = -1;
592 static int hf_lustre_mdt_rec_link_lk_padding_5 = -1;
593 static int hf_lustre_mdt_rec_link_lk_padding_6 = -1;
594 static int hf_lustre_mdt_rec_link_lk_padding_7 = -1;
595 static int hf_lustre_mdt_rec_link_lk_padding_8 = -1;
596 static int hf_lustre_mdt_rec_link_lk_padding_9 = -1;
598 static int hf_lustre_mdt_rec_unlink = -1 ;
599 static int hf_lustre_mdt_rec_unlink_ul_opcode = -1;
600 static int hf_lustre_mdt_rec_unlink_ul_cap = -1;
601 static int hf_lustre_mdt_rec_unlink_ul_fsuid = -1;
602 static int hf_lustre_mdt_rec_unlink_ul_fsuid_h = -1;
603 static int hf_lustre_mdt_rec_unlink_ul_fsgid = -1;
604 static int hf_lustre_mdt_rec_unlink_ul_fsgid_h = -1;
605 static int hf_lustre_mdt_rec_unlink_ul_suppgid1 = -1;
606 static int hf_lustre_mdt_rec_unlink_ul_suppgid1_h = -1;
607 static int hf_lustre_mdt_rec_unlink_ul_suppgid2 = -1;
608 static int hf_lustre_mdt_rec_unlink_ul_suppgid2_h = -1;
609 static int hf_lustre_mdt_rec_unlink_ul_fid1 = -1;
610 static int hf_lustre_mdt_rec_unlink_ul_fid2 = -1;
611 static int hf_lustre_mdt_rec_unlink_ul_time = -1;
612 static int hf_lustre_mdt_rec_unlink_ul_padding_2 = -1;
613 static int hf_lustre_mdt_rec_unlink_ul_padding_3 = -1;
614 static int hf_lustre_mdt_rec_unlink_ul_padding_4 = -1;
615 static int hf_lustre_mdt_rec_unlink_ul_padding_5 = -1;
616 static int hf_lustre_mdt_rec_unlink_ul_bias = -1;
617 static int hf_lustre_mdt_rec_unlink_ul_mode = -1;
618 static int hf_lustre_mdt_rec_unlink_ul_padding_6 = -1;
619 static int hf_lustre_mdt_rec_unlink_ul_padding_7 = -1;
620 static int hf_lustre_mdt_rec_unlink_ul_padding_8 = -1;
621 static int hf_lustre_mdt_rec_unlink_ul_padding_9 = -1;
623 static int hf_lustre_mdt_rec_rename = -1 ;
624 static int hf_lustre_mdt_rec_rename_rn_opcode = -1;
625 static int hf_lustre_mdt_rec_rename_rn_cap = -1;
626 static int hf_lustre_mdt_rec_rename_rn_fsuid = -1;
627 static int hf_lustre_mdt_rec_rename_rn_fsuid_h = -1;
628 static int hf_lustre_mdt_rec_rename_rn_fsgid = -1;
629 static int hf_lustre_mdt_rec_rename_rn_fsgid_h = -1;
630 static int hf_lustre_mdt_rec_rename_rn_suppgid1 = -1;
631 static int hf_lustre_mdt_rec_rename_rn_suppgid1_h = -1;
632 static int hf_lustre_mdt_rec_rename_rn_suppgid2 = -1;
633 static int hf_lustre_mdt_rec_rename_rn_suppgid2_h = -1;
634 static int hf_lustre_mdt_rec_rename_rn_fid1 = -1;
635 static int hf_lustre_mdt_rec_rename_rn_fid2 = -1;
636 static int hf_lustre_mdt_rec_rename_rn_time = -1;
637 static int hf_lustre_mdt_rec_rename_rn_padding_1 = -1;
638 static int hf_lustre_mdt_rec_rename_rn_padding_2 = -1;
639 static int hf_lustre_mdt_rec_rename_rn_padding_3 = -1;
640 static int hf_lustre_mdt_rec_rename_rn_padding_4 = -1;
641 static int hf_lustre_mdt_rec_rename_rn_bias = -1;
642 static int hf_lustre_mdt_rec_rename_rn_mode = -1;
643 static int hf_lustre_mdt_rec_rename_rn_padding_5 = -1;
644 static int hf_lustre_mdt_rec_rename_rn_padding_6 = -1;
645 static int hf_lustre_mdt_rec_rename_rn_padding_7 = -1;
646 static int hf_lustre_mdt_rec_rename_rn_padding_8 = -1;
648 static int hf_lustre_mdt_rec_setxattr = -1 ;
649 static int hf_lustre_mdt_rec_setxattr_sx_opcode = -1;
650 static int hf_lustre_mdt_rec_setxattr_sx_cap = -1;
651 static int hf_lustre_mdt_rec_setxattr_sx_fsuid = -1;
652 static int hf_lustre_mdt_rec_setxattr_sx_fsuid_h = -1;
653 static int hf_lustre_mdt_rec_setxattr_sx_fsgid = -1;
654 static int hf_lustre_mdt_rec_setxattr_sx_fsgid_h = -1;
655 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1 = -1;
656 static int hf_lustre_mdt_rec_setxattr_sx_suppgid1_h = -1;
657 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2 = -1;
658 static int hf_lustre_mdt_rec_setxattr_sx_suppgid2_h = -1;
659 static int hf_lustre_mdt_rec_setxattr_sx_fid = -1;
660 static int hf_lustre_mdt_rec_setxattr_sx_padding_1 = -1;
661 static int hf_lustre_mdt_rec_setxattr_sx_padding_2 = -1;
662 static int hf_lustre_mdt_rec_setxattr_sx_padding_3 = -1;
663 static int hf_lustre_mdt_rec_setxattr_sx_valid = -1;
664 static int hf_lustre_mdt_rec_setxattr_sx_time = -1;
665 static int hf_lustre_mdt_rec_setxattr_sx_padding_5 = -1;
666 static int hf_lustre_mdt_rec_setxattr_sx_padding_6 = -1;
667 static int hf_lustre_mdt_rec_setxattr_sx_padding_7 = -1;
668 static int hf_lustre_mdt_rec_setxattr_sx_size = -1;
669 static int hf_lustre_mdt_rec_setxattr_sx_flags = -1;
670 static int hf_lustre_mdt_rec_setxattr_sx_padding_8 = -1;
671 static int hf_lustre_mdt_rec_setxattr_sx_padding_9 = -1;
672 static int hf_lustre_mdt_rec_setxattr_sx_padding_10 = -1;
673 static int hf_lustre_mdt_rec_setxattr_sx_padding_11 = -1;
675 static int hf_lustre_seq_opc = -1;
676 static int hf_lustre_seq_range = -1;
677 static int hf_lustre_seq_range_start = -1;
678 static int hf_lustre_seq_range_end = -1;
679 static int hf_lustre_seq_range_index = -1;
680 static int hf_lustre_seq_range_flags = -1;
682 static int hf_lustre_fld_opc = -1;
683 static int hf_lustre_fld_range = -1;
684 static int hf_lustre_fld_range_start = -1;
685 static int hf_lustre_fld_range_end = -1;
686 static int hf_lustre_fld_range_index = -1;
687 static int hf_lustre_fld_range_flags = -1;
689 static int hf_lustre_mdt_ioepoch = -1;
690 static int hf_lustre_mdt_ioepoch_handle = -1;
691 static int hf_lustre_mdt_ioepoch_ioepoch = -1;
692 static int hf_lustre_mdt_ioepoch_flags = -1;
693 static int hf_lustre_mdt_ioepoch_padding = -1;
695 static int hf_lustre_capa = -1;
696 static int hf_lustre_capa_fid = -1;
697 static int hf_lustre_capa_opc = -1;
698 static int hf_lustre_capa_uid = -1;
699 static int hf_lustre_capa_gid = -1;
700 static int hf_lustre_capa_flags = -1;
701 static int hf_lustre_capa_keyid = -1;
702 static int hf_lustre_capa_timeout = -1;
703 static int hf_lustre_capa_expiry = -1;
704 static int hf_lustre_capa_hmac = -1;
706 static int hf_lustre_acl = -1;
708 static int hf_lustre_lustre_handle_cookie = -1;
709 static int hf_lustre_ptlrpc_body_pb_last_committed = -1;
710 static int hf_lustre_ptlrpc_body_pb_version = -1;
711 static int hf_lustre_lustre_msg_v1_lm_bufcount = -1;
712 static int hf_lustre_obd_ioobj_ioo_id = -1;
713 static int hf_lustre_ptlrpc_body_pb_slv = -1;
714 static int hf_lustre_ptlrpc_body_pb_pre_version = -1;
715 static int hf_lustre_ptlrpc_body_pb_padding = -1;
716 static int hf_lustre_ptlrpc_body_pb_jobid = -1;
717 static int hf_lustre_lustre_msg_v1_lm_handle = -1;
718 static int hf_lustre_ost_lvb_lvb_atime = -1;
719 static int hf_lustre_ptlrpc_body_pb_timeout = -1;
720 static int hf_lustre_obd_statfs_os_bavail = -1;
721 static int hf_lustre_obd_statfs_os_bsize = -1;
722 static int hf_lustre_lustre_msg_v2_lm_repsize = -1;
723 static int hf_lustre_lov_mds_md_v1_lmm_stripe_size = -1;
724 static int hf_lustre_lustre_msg_v1_lm_last_xid = -1;
725 static int hf_lustre_ll_fid_f_type = -1;
726 static int hf_lustre_lustre_msg_v2_lm_cksum = -1;
727 static int hf_lustre_lustre_msg_v2_lm_buflens = -1;
728 static int hf_lustre_lustre_msg_v1_lm_status = -1;
729 static int hf_lustre_lustre_msg_v1_lm_type = -1;
730 static int hf_lustre_niobuf_remote_len = -1;
731 static int hf_lustre_lov_mds_md_v1_lmm_magic = -1;
732 static int hf_lustre_ptlrpc_body_pb_op_flags = -1;
733 static int hf_lustre_ost_lvb_lvb_ctime = -1;
734 static int hf_lustre_ptlrpc_body_pb_type = -1;
735 static int hf_lustre_obd_connect_data_ocd_nllg = -1;
736 static int hf_lustre_obd_connect_data_ocd_nllu = -1;
737 static int hf_lustre_ll_fid_generation = -1;
738 static int hf_lustre_ost_lvb_lvb_mtime = -1;
739 static int hf_lustre_obd_connect_data_ocd_ibits_known = -1;
740 static int hf_lustre_lustre_msg_v2_lm_padding_3 = -1;
741 static int hf_lustre_ptlrpc_body_pb_flags = -1;
742 static int hf_lustre_obd_statfs_os_spare4 = -1;
743 static int hf_lustre_obd_connect_data_ocd_group = -1;
744 static int hf_lustre_lov_ost_data_v1_l_object_seq = -1;
745 static int hf_lustre_lov_mds_md_v1_lmm_object_seq = -1;
746 static int hf_lustre_obd_connect_data_ocd_brw_size = -1;
747 static int hf_lustre_ptlrpc_body_pb_limit = -1;
748 static int hf_lustre_obd_statfs_os_maxbytes = -1;
749 static int hf_lustre_obd_statfs_os_spare5 = -1;
750 static int hf_lustre_lustre_msg_v2_lm_flags = -1;
751 static int hf_lustre_obd_statfs_os_ffree = -1;
752 static int hf_lustre_obd_statfs_os_files = -1;
753 static int hf_lustre_lov_mds_md_v1_lmm_stripe_count = -1;
754 static int hf_lustre_lustre_msg_v1_lm_flags = -1;
755 static int hf_lustre_lustre_msg_v1_lm_last_committed = -1;
756 static int hf_lustre_obd_statfs_os_spare9 = -1;
757 static int hf_lustre_obd_connect_data_ocd_index = -1;
758 static int hf_lustre_opnum = -1;
759 static int hf_lustre_lustre_msg_v1_lm_buflens = -1;
760 static int hf_lustre_obd_statfs_os_spare1 = -1;
761 static int hf_lustre_obd_statfs_os_spare8 = -1;
762 static int hf_lustre_lustre_msg_v1_lm_conn_cnt = -1;
763 static int hf_lustre_ptlrpc_body_pb_transno = -1;
764 static int hf_lustre_ptlrpc_body_pb_service_time = -1;
765 static int hf_lustre_ptlrpc_body_pb_conn_cnt = -1;
766 static int hf_lustre_ptlrpc_body_pb_opc = -1;
767 static int hf_lustre_obd_connect_data_ocd_connect_flags = -1;
768 static int hf_lustre_lov_ost_data_v1_l_object_id = -1;
769 static int hf_lustre_lov_ost_data_v1_l_ost_gen = -1;
770 static int hf_lustre_obd_statfs_os_bfree = -1;
771 static int hf_lustre_obd_connect_data_ocd_version = -1;
772 static int hf_lustre_lov_mds_md_v1_lmm_objects = -1;
773 static int hf_lustre_obd_statfs_os_namelen = -1;
774 static int hf_lustre_obd_statfs_os_blocks = -1;
775 static int hf_lustre_lustre_msg_v2_lm_secflvr = -1;
776 static int hf_lustre_lustre_msg_v1_lm_transno = -1;
777 static int hf_lustre_lov_mds_md_v1_lmm_pattern = -1;
778 static int hf_lustre_lustre_msg_v1_lm_opc = -1;
779 static int hf_lustre_obd_connect_data_ocd_grant = -1;
780 static int hf_lustre_obd_ioobj_ioo_bufcnt = -1;
781 static int hf_lustre_lustre_msg_v1_lm_version = -1;
782 static int hf_lustre_obd_statfs_os_spare7 = -1;
783 static int hf_lustre_obd_statfs_os_fsid = -1;
784 static int hf_lustre_obd_connect_data_ocd_cksum_types = -1;
785 static int hf_lustre_ost_lvb_lvb_size = -1;
786 static int hf_lustre_obd_statfs_os_type = -1;
787 static int hf_lustre_obd_statfs_os_spare6 = -1;
788 static int hf_lustre_obd_statfs_os_state = -1;
789 static int hf_lustre_obd_statfs_os_spare3 = -1;
790 static int hf_lustre_lustre_msg_v2_lm_magic = -1;
791 static int hf_lustre_lov_mds_md_v1_lmm_object_id = -1;
792 static int hf_lustre_ptlrpc_body_pb_last_seen = -1;
793 static int hf_lustre_obd_ioobj_ioo_max_brw = -1;
794 static int hf_lustre_ptlrpc_body_pb_last_xid = -1;
795 static int hf_lustre_ptlrpc_body_pb_status = -1;
796 static int hf_lustre_niobuf_remote_flags = -1;
797 static int hf_lustre_ll_fid_id = -1;
798 static int hf_lustre_ost_lvb_lvb_blocks = -1;
799 static int hf_lustre_lustre_msg_v2_lm_padding_2 = -1;
800 static int hf_lustre_obd_connect_data_padding1 = -1;
801 static int hf_lustre_lov_ost_data_v1_l_ost_idx = -1;
802 static int hf_lustre_obd_connect_data_padding2 = -1;
803 static int hf_lustre_obd_ioobj_ioo_seq = -1;
804 static int hf_lustre_niobuf_remote_offset=-1;
805 static int hf_lustre_obd_statfs_os_spare2 = -1;
806 static int hf_lustre_lustre_msg_v2_lm_bufcount = -1;
807 static int hf_lustre_ptlrpc_body_pb_handle = -1;
808 static int hf_lustre_obd_connect_data_ocd_transno = -1;
809 static int hf_lustre_lustre_msg_v1_lm_magic = -1;
810 static int hf_lustre_llog_unlink_rec_lur_tail = -1;
811 static int hf_lustre_llog_size_change_rec_lsc_io_epoch = -1;
812 static int hf_lustre_mgs_target_info_mti_flags = -1;
813 static int hf_lustre_ldlm_reply_lock_policy_res1 = -1;
814 static int hf_lustre_llogd_body_lgd_len = -1;
815 static int hf_lustre_qunit_data_old_qd_id = -1;
816 static int hf_lustre_llog_logid_rec_padding1 = -1;
817 static int hf_lustre_quota_adjust_qunit_padding1 = -1;
818 static int hf_lustre_llog_size_change_rec_lsc_fid = -1;
819 static int hf_lustre_llog_rec_hdr_padding = -1;
820 static int hf_lustre_obdo_o_nlink = -1;
821 static int hf_lustre_ldlm_extent_gid = -1;
822 static int hf_lustre_obdo_o_uid = -1;
823 static int hf_lustre_obdo_o_valid = -1;
824 static int hf_lustre_ldlm_reply_lock_flags = -1;
825 static int hf_lustre_obdo_o_misc = -1;
827 static int hf_lustre_ldlm_request_lock_handle = -1;
828 static int hf_lustre_llog_logid_lgl_oid = -1;
829 static int hf_lustre_ldlm_inodebits_bits = -1;
830 static int hf_lustre_llog_log_hdr_llh_count = -1;
831 static int hf_lustre_llog_gen_rec_lgr_tail = -1;
832 static int hf_lustre_llog_catid_lci_padding3 = -1;
833 static int hf_lustre_qunit_data_qd_qunit = -1;
834 static int hf_lustre_llog_setattr_rec_padding = -1;
835 static int hf_lustre_llog_cookie_lgc_lgl = -1;
836 static int hf_lustre_obd_quotactl_qc_dqinfo = -1;
837 static int hf_lustre_llog_log_hdr_llh_bitmap = -1;
838 static int hf_lustre_obd_quotactl_qc_stat = -1;
839 static int hf_lustre_qunit_data_old2_qd_id = -1;
840 static int hf_lustre_llog_logid_rec_padding2 = -1;
841 static int hf_lustre_llog_logid_rec_padding5 = -1;
842 static int hf_lustre_ldlm_intent_opc = -1;
843 static int hf_lustre_llog_rec_hdr_lrh_type = -1;
844 static int hf_lustre_llog_rec_hdr_lrh_len = -1;
845 static int hf_lustre_llog_setattr_rec_lsr_uid = -1;
846 static int hf_lustre_lov_desc_ld_padding_1 = -1;
847 static int hf_lustre_obdo_o_padding_4 = -1;
848 static int hf_lustre_mgs_target_info_padding = -1;
849 static int hf_lustre_obd_quotactl_qc_dqblk = -1;
850 static int hf_lustre_llogd_conn_body_lgdc_gen = -1;
851 static int hf_lustre_llog_log_hdr_llh_tail = -1;
852 static int hf_lustre_obdo_o_size = -1;
853 static int hf_lustre_ldlm_extent_start = -1;
854 static int hf_lustre_llog_size_change_rec_lsc_hdr = -1;
855 static int hf_lustre_llog_logid_lgl_oseq = -1;
856 static int hf_lustre_llog_cookie_lgc_padding = -1;
857 static int hf_lustre_qunit_data_old_qd_type = -1;
858 static int hf_lustre_ldlm_flock_blocking_export = -1;
859 static int hf_lustre_lov_desc_ld_pattern = -1;
860 static int hf_lustre_qunit_data_qd_id = -1;
861 static int hf_lustre_mgs_target_info_mti_fsname = -1;
862 static int hf_lustre_ldlm_request_lock_flags = -1;
863 static int hf_lustre_obdo_o_mode = -1;
864 static int hf_lustre_mgs_target_info_mti_svname = -1;
865 static int hf_lustre_llogd_body_lgd_logid = -1;
866 static int hf_lustre_llog_log_hdr_llh_size = -1;
867 static int hf_lustre_obdo_o_handle = -1;
868 static int hf_lustre_obdo_o_atime = -1;
869 static int hf_lustre_quota_adjust_qunit_qaq_id = -1;
870 static int hf_lustre_ldlm_lock_desc_l_policy_data = -1;
871 static int hf_lustre_obd_quotactl_qc_cmd = -1;
872 static int hf_lustre_qunit_data_padding = -1;
873 static int hf_lustre_quota_adjust_qunit_qaq_flags = -1;
874 static int hf_lustre_ldlm_lock_desc_l_granted_mode = -1;
875 static int hf_lustre_obdo_o_seq = -1;
876 static int hf_lustre_obdo_o_gid = -1;
877 static int hf_lustre_llog_catid_lci_logid = -1;
878 static int hf_lustre_llog_rec_tail_lrt_index = -1;
879 static int hf_lustre_lov_desc_ld_default_stripe_count = -1;
880 static int hf_lustre_ldlm_resource_desc_lr_padding = -1;
881 static int hf_lustre_cfg_marker_cm_vers = -1;
882 static int hf_lustre_llog_unlink_rec_lur_hdr = -1;
883 static int hf_lustre_llogd_body_lgd_index = -1;
884 static int hf_lustre_cfg_marker_cm_tgtname = -1;
885 static int hf_lustre_llog_setattr_rec_lsr_ogen = -1;
886 static int hf_lustre_llog_logid_rec_lid_hdr = -1;
887 static int hf_lustre_obdo_o_ioepoch = -1;
888 static int hf_lustre_ost_body_oa = -1;
889 static int hf_lustre_llog_logid_rec_padding3 = -1;
890 static int hf_lustre_llog_log_hdr_llh_flags = -1;
891 static int hf_lustre_llog_setattr_rec_lsr_oid = -1;
892 static int hf_lustre_llog_size_change_rec_padding = -1;
893 static int hf_lustre_mgs_target_info_mti_config_ver = -1;
894 static int hf_lustre_cfg_marker_cm_createtime = -1;
895 static int hf_lustre_qunit_data_old_qd_count = -1;
896 static int hf_lustre_llog_catid_lci_padding1 = -1;
897 static int hf_lustre_lov_desc_ld_active_tgt_count = -1;
898 static int hf_lustre_obdo_o_lcookie = -1;
899 static int hf_lustre_llog_gen_rec_lgr_gen = -1;
900 static int hf_lustre_obdo_o_id = -1;
901 static int hf_lustre_mgs_target_info_mti_uuid = -1;
902 static int hf_lustre_llog_rec_hdr_lrh_index = -1;
903 static int hf_lustre_llog_setattr_rec_lsr_hdr = -1;
904 static int hf_lustre_mgs_target_info_mti_stripe_index = -1;
905 static int hf_lustre_llog_gen_conn_cnt = -1;
906 static int hf_lustre_obdo_o_padding_6 = -1;
907 static int hf_lustre_llog_cookie_lgc_index = -1;
908 static int hf_lustre_lov_desc_ld_uuid = -1;
909 static int hf_lustre_ldlm_reply_lock_desc = -1;
910 static int hf_lustre_lov_desc_ld_padding_0 = -1;
911 static int hf_lustre_llog_unlink_rec_lur_ogen = -1;
912 static int hf_lustre_cfg_marker_cm_flags = -1;
913 static int hf_lustre_obdo_o_padding_3 = -1;
914 static int hf_lustre_ldlm_request_lock_desc = -1;
915 static int hf_lustre_obdo_o_flags = -1;
916 static int hf_lustre_mgs_target_info_mti_params = -1;
917 static int hf_lustre_llog_logid_lgl_ogen = -1;
918 static int hf_lustre_cfg_marker_cm_comment = -1;
919 static int hf_lustre_llog_unlink_rec_lur_oid = -1;
920 static int hf_lustre_qunit_data_qd_count = -1;
921 static int hf_lustre_obdo_o_mtime = -1;
922 static int hf_lustre_obdo_o_blksize = -1;
923 static int hf_lustre_ldlm_res_id_name = -1;
924 static int hf_lustre_ldlm_reply_lock_handle = -1;
925 static int hf_lustre_llogd_body_lgd_saved_index = -1;
926 static int hf_lustre_qunit_data_old_qd_isblk = -1;
927 static int hf_lustre_obdo_o_blocks = -1;
928 static int hf_lustre_lov_desc_ld_padding_2 = -1;
929 static int hf_lustre_llog_logid_rec_lid_tail = -1;
930 static int hf_lustre_obdo_o_grant = -1;
931 static int hf_lustre_obdo_o_uid_h = -1;
932 static int hf_lustre_obdo_o_gid_h = -1;
933 static int hf_lustre_quota_adjust_qunit_qaq_iunit_sz = -1;
934 static int hf_lustre_llog_unlink_rec_padding = -1;
935 static int hf_lustre_ldlm_lock_desc_l_req_mode = -1;
936 static int hf_lustre_ldlm_extent_end = -1;
937 static int hf_lustre_llog_gen_rec_lgr_hdr = -1;
938 static int hf_lustre_llogd_body_lgd_llh_flags = -1;
939 static int hf_lustre_llog_log_hdr_llh_cat_idx = -1;
940 static int hf_lustre_llog_log_hdr_llh_bitmap_offset=-1;
941 static int hf_lustre_ldlm_reply_lock_padding = -1;
942 static int hf_lustre_obd_quotactl_qc_id = -1;
943 static int hf_lustre_llog_logid_rec_padding4 = -1;
944 static int hf_lustre_llog_setattr_rec_lsr_gid = -1;
945 static int hf_lustre_obd_quotactl_qc_type = -1;
946 static int hf_lustre_cfg_marker_padding = -1;
947 static int hf_lustre_mgs_target_info_mti_nids = -1;
948 static int hf_lustre_obdo_o_stripe_idx = -1;
949 static int hf_lustre_llogd_conn_body_lgdc_logid = -1;
950 static int hf_lustre_ldlm_flock_blocking_pid = -1;
951 static int hf_lustre_lov_desc_ld_tgt_count = -1;
952 static int hf_lustre_llogd_body_lgd_cur_offset=-1;
953 static int hf_lustre_qunit_data_old2_qd_count = -1;
954 static int hf_lustre_qunit_data_old2_qd_flags = -1;
955 static int hf_lustre_ldlm_flock_start = -1;
956 static int hf_lustre_quota_adjust_qunit_qaq_bunit_sz = -1;
957 static int hf_lustre_ldlm_flock_pid = -1;
958 static int hf_lustre_lov_desc_ld_default_stripe_size = -1;
959 static int hf_lustre_llog_log_hdr_llh_tgtuuid = -1;
960 static int hf_lustre_cfg_marker_cm_step = -1;
961 static int hf_lustre_mgs_send_param_mgs_param = -1;
962 static int hf_lustre_lov_desc_ld_default_stripe_offset=-1;
963 static int hf_lustre_ldlm_resource_desc_lr_name = -1;
964 static int hf_lustre_llog_rec_tail_lrt_len = -1;
965 static int hf_lustre_llog_log_hdr_llh_timestamp = -1;
966 static int hf_lustre_llog_catid_lci_padding2 = -1;
967 static int hf_lustre_llogd_conn_body_lgdc_ctxt_idx = -1;
968 static int hf_lustre_cfg_marker_cm_canceltime = -1;
969 static int hf_lustre_mgs_target_info_mti_lustre_ver = -1;
970 static int hf_lustre_obdo_o_parent_ver = -1;
971 static int hf_lustre_qunit_data_qd_flags = -1;
972 static int hf_lustre_llog_logid_rec_lid_id = -1;
973 static int hf_lustre_obdo_o_parent_oid = -1;
974 static int hf_lustre_llog_gen_mnt_cnt = -1;
975 static int hf_lustre_llog_size_change_rec_lsc_tail = -1;
976 static int hf_lustre_obdo_o_padding_5 = -1;
977 static int hf_lustre_ldlm_lock_desc_l_resource = -1;
978 static int hf_lustre_obdo_o_parent_seq = -1;
979 static int hf_lustre_ldlm_request_lock_count = -1;
980 static int hf_lustre_ldlm_flock_end = -1;
981 static int hf_lustre_mgs_target_info_mti_nid_count = -1;
982 static int hf_lustre_obdo_o_ctime = -1;
983 static int hf_lustre_ldlm_reply_lock_policy_res2 = -1;
984 static int hf_lustre_llogd_body_lgd_ctxt_idx = -1;
985 static int hf_lustre_lov_desc_ld_qos_maxage = -1;
986 static int hf_lustre_ldlm_resource_desc_lr_type = -1;
987 static int hf_lustre_llog_setattr_rec_lsr_tail = -1;
988 static int hf_lustre_llog_cookie_lgc_subsys = -1;
989 static int hf_lustre_llog_log_hdr_llh_hdr = -1;
990 static int hf_lustre_llog_log_hdr_llh_reserved = -1;
992 /* Header field declarations for field from lustre_user.h*/
993 static int hf_lustre_obd_dqinfo_dqi_valid = -1;
994 static int hf_lustre_obd_dqblk_dqb_isoftlimit = -1;
995 static int hf_lustre_obd_dqblk_dqb_bhardlimit = -1;
996 static int hf_lustre_obd_dqblk_dqb_curspace = -1;
997 static int hf_lustre_obd_dqblk_dqb_itime = -1;
998 static int hf_lustre_obd_dqblk_dqb_valid = -1;
999 static int hf_lustre_obd_dqinfo_dqi_igrace = -1;
1000 static int hf_lustre_obd_dqinfo_dqi_bgrace = -1;
1001 static int hf_lustre_obd_dqblk_padding = -1;
1002 static int hf_lustre_obd_dqblk_dqb_curinodes = -1;
1003 static int hf_lustre_obd_dqblk_dqb_bsoftlimit = -1;
1004 static int hf_lustre_obd_dqinfo_dqi_flags = -1;
1005 static int hf_lustre_obd_dqblk_dqb_btime = -1;
1006 static int hf_lustre_obd_dqblk_dqb_ihardlimit = -1;
1007 static int hf_lustre_ldlm_intent_opc_open = -1 ;
1008 static int hf_lustre_ldlm_intent_opc_creat = -1;
1009 static int hf_lustre_ldlm_intent_opc_readdir = -1;
1010 static int hf_lustre_ldlm_intent_opc_getattr = -1;
1011 static int hf_lustre_ldlm_intent_opc_lookup = -1;
1012 static int hf_lustre_ldlm_intent_opc_unlink = -1;
1013 static int hf_lustre_ldlm_intent_opc_getxattr = -1;
1014 static int hf_lustre_ldlm_intent_opc_exec = -1;
1015 static int hf_lustre_ldlm_intent_opc_pin = -1;
1016 static int hf_lustre_llog_hdr_llh_flag_zap_when_empty = -1;
1017 static int hf_lustre_llog_hdr_llh_flag_is_cat = -1;
1018 static int hf_lustre_llog_hdr_llh_flag_is_play = -1;
1019 /* --------------------------------------------------------------------*/
1022 /* proto declaration */
1023 static gint proto_lustre = -1;
1028 static int ldlm_opcode_process(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_, guint64 intent_opc _U_) ;
1029 static int lustre_dissect_element_ldlm_lock_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, int hf_index _U_);
1030 static int add_extra_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree * tree _U_) ;
1033 /* ======================================================================== */
1034 /*the value_string*/
1035 const value_string lustre_ldlm_opcode[] = {
1036 { IT_OPEN , "IT_OPEN "},
1037 { IT_CREAT , "IT_CREAT "},
1038 { IT_READDIR , "IT_READDIR "},
1039 { IT_GETATTR , "IT_GETATTR "},
1040 { IT_LOOKUP , "IT_LOOKUP "},
1041 { IT_UNLINK , "IT_UNLINK "},
1042 { IT_GETXATTR, "IT_GETXATTR"},
1043 { IT_EXEC , "IT_EXEC "},
1044 { IT_PIN , "IT_PIN "},
1048 const value_string lustre_lov_magic[] = {
1049 { LOV_MAGIC_V1, "LOV_MAGIC_V1" },
1053 const value_string lustre_llog_op_type[] = {
1054 {LLOG_PAD_MAGIC ,"LLOG_PAD_MAGIC "},
1055 {OST_SZ_REC ,"OST_SZ_REC "},
1056 {OST_RAID1_REC ,"OST_RAID1_REC "},
1057 {MDS_UNLINK_REC ,"MDS_UNLINK_REC "},
1058 {MDS_SETATTR_REC ,"MDS_SETATTR_REC "},
1059 {OBD_CFG_REC ,"OBD_CFG_REC "},
1060 {PTL_CFG_REC ,"PTL_CFG_REC "},
1061 {LLOG_GEN_REC ,"LLOG_GEN_REC "},
1062 {LLOG_JOIN_REC ,"LLOG_JOIN_REC "},
1063 {LLOG_HDR_MAGIC ,"LLOG_HDR_MAGIC "},
1064 {LLOG_LOGID_MAGIC ,"LLOG_LOGID_MAGIC"},
1068 const value_string lustre_llog_hdr_llh_flags[]= {
1069 {LLOG_F_ZAP_WHEN_EMPTY , "LLOhdr_llh_G_F_ZAP_WHEN_EMPTY"},
1070 {LLOG_F_IS_CAT , "LLOhdr_llh_G_F_IS_CAT"},
1071 {LLOG_F_IS_PLAIN , "LLOG_F_IS_PLAIN"},
1075 const value_string lustre_mds_flags_vals[] = {
1076 {0x1, "LUSTRE_BFLAG_UNCOMMITTED_WRITES"},
1077 {0x80000000, "LUSTRE_BFLAG_EXT_FLAGS"}, /* == EXT3_RESERVED_FL */
1078 {0x00000008, "LUSTRE_SYNC_FL "}, /* Synchronous updates */
1079 {0x00000010, "LUSTRE_IMMUTABLE_FL "}, /* Immutable file */
1080 {0x00000020, "LUSTRE_APPEND_FL "}, /* writes to file may only append */
1081 {0x00000080, "LUSTRE_NOATIME_FL "}, /* do not update atime */
1082 {0x00010000, "LUSTRE_DIRSYNC_FL "}, /* dirsync behaviour (dir only) */
1086 const value_string lustre_mgs_config_body_types[] = {
1094 const value_string lustre_LMTypes[] = {
1095 { PTL_RPC_MSG_REQUEST, "request"},
1096 { PTL_RPC_MSG_ERR , "error"},
1097 { PTL_RPC_MSG_REPLY , "reply"},
1101 const value_string lustre_mds_reint_t_vals[] = {
1102 { REINT_SETATTR, "REINT_SETATTR" },
1103 { REINT_CREATE, "REINT_CREATE" },
1104 { REINT_LINK, "REINT_LINK" },
1105 { REINT_UNLINK, "REINT_UNLINK" },
1106 { REINT_RENAME, "REINT_RENAME" },
1107 { REINT_OPEN, "REINT_OPEN" },
1108 { REINT_SETXATTR, "REINT_SETXATTR" },
1111 const value_string lustre_op_codes[] = {
1114 {1 , "OST_GETATTR"},
1115 {2 , "OST_SETATTR"},
1119 {6 , "OST_DESTROY"},
1120 {7 , "OST_GET_INFO"},
1121 {8 , "OST_CONNECT"},
1122 {9 , "OST_DISCONNECT"},
1126 {13 , "OST_STATFS"},
1127 {14 , "OST_SAN_READ(deprecated)"},
1128 {15 , "OST_SAN_WRITE(deprecated)"},
1130 {17 , "OST_SET_INFO"},
1131 {18 , "OST_QUOTACHECK"},
1132 {19 , "OST_QUOTACTL"},
1133 {20 , "OST_LAST_OPC"},
1135 {33 , "MDS_GETATTR"},
1136 {34 , "MDS_GETATTR_NAME"},
1139 {37 , "MDS_READPAGE"},
1140 {38 , "MDS_CONNECT"},
1141 {39 , "MDS_DISCONNECT"},
1142 {40 , "MDS_GETSTATUS"},
1143 {41 , "MDS_STATFS"},
1147 {45 , "MDS_DONE_WRITING"},
1148 {46 , "MDS_SET_INFO"},
1149 {47 , "MDS_QUOTACHECK"},
1150 {48 , "MDS_QUOTACTL"},
1151 {49 , "MDS_GETXATTR"},
1152 {50 , "MDS_SETXATTR"},
1153 {51 , "MDS_LAST_OPC"},
1155 {101 , "LDLM_ENQUEUE"},
1156 {102 , "LDLM_CONVERT"},
1157 {103 , "LDLM_CANCEL"},
1158 {104 , "LDLM_BL_CALLBACK"},
1159 {105 , "LDLM_CP_CALLBACK"},
1160 {106 , "LDLM_GL_CALLBACK"},
1161 {107 , "LDLM_LAST_OPC"},
1163 {250 , "MGS_CONNECT"},
1164 {251 , "MGS_DISCONNECT"},
1165 {252 , "MGS_EXCEPTION"},
1166 {253 , "MGS_TARGET_REG"},
1167 {254 , "MGS_TARGET_DEL"},
1168 {255 , "MGS_SET_INFO"},
1169 {256 , "MGS_CONFIG_READ"},
1170 {257 , "MGS_LAST_OPC"},
1173 {401 , "OBD_LOG_CANCEL"},
1174 {402 , "OBD_QC_CALLBACK"},
1175 {403 , "OBD_LAST_OPC"},
1177 { 501, "LLOG_ORIGIN_HANDLE_CREATE"},
1178 { 502, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK"},
1179 { 503, "LLOG_ORIGIN_HANDLE_READ_HEADER"},
1180 { 504, "LLOG_ORIGIN_HANDLE_WRITE_REC"},
1181 { 505, "LLOG_ORIGIN_HANDLE_CLOSE"},
1182 { 506, "LLOG_ORIGIN_CONNECT"},
1183 { 507, "LLOG_CATINFO"},
1184 { 508, "LLOG_ORIGIN_HANDLE_PREV_BLOCK"},
1185 { 509, "LLOG_ORIGIN_HANDLE_DESTROY"},
1186 /* SEQ RPC opcodes */
1187 { 700, "SEQ_QUERY"},
1188 { 701, "SEQ_LAST_OPC"},
1189 /* FLD RPC opcodes */
1190 { 900, "FLD_QUERY"},
1191 { 901, "FLD_LAST_OPC"},
1194 /*const value_string lustre_ldlm_mode_t_vals[] = {*/
1195 /* { LCK_MINMODE, "MINMODE" },*/
1196 /* { LCK_EX, "EX" },*/
1197 /* { LCK_PW, "PW" },*/
1198 /* { LCK_PR, "PR" },*/
1199 /* { LCK_CW, "CW" },*/
1200 /* { LCK_CR, "CR" },*/
1201 /* { LCK_NL, "NL" },*/
1202 /* { LCK_GROUP, "GROUP" },*/
1206 /* detailled version the information came from : http://wiki.lustre.org/images/e/e5/LustreInternals_Architecture.pdf */
1207 const value_string lustre_ldlm_mode_t_vals[] = {
1208 { LCK_MINMODE, "MINMODE" },
1209 { LCK_EX, "Exclusive" },
1210 { LCK_PW, "Protected Write" },
1211 { LCK_PR, "Protected Read" },
1212 { LCK_CW, "Concurrent Write" },
1213 { LCK_CR, "Concurrent Read" },
1215 { LCK_GROUP, "GROUP" },
1219 const value_string lustre_ldlm_type_t_vals[] = {
1220 { LDLM_PLAIN, "LDLM_PLAIN" },
1221 { LDLM_EXTENT,"LDLM_EXTENT" },
1222 { LDLM_FLOCK, "LDLM_FLOCK" },
1223 { LDLM_IBITS, "LDLM_IBITS" },
1228 const value_string lustre_llog_cmd_t_vals[] = {
1229 { LLOG_ORIGIN_HANDLE_CREATE, "LLOG_ORIGIN_HANDLE_CREATE" },
1230 { LLOG_ORIGIN_HANDLE_NEXT_BLOCK, "LLOG_ORIGIN_HANDLE_NEXT_BLOCK" },
1231 { LLOG_ORIGIN_HANDLE_READ_HEADER, "LLOG_ORIGIN_HANDLE_READ_HEADER" },
1232 { LLOG_ORIGIN_HANDLE_WRITE_REC, "LLOG_ORIGIN_HANDLE_WRITE_REC" },
1233 { LLOG_ORIGIN_HANDLE_CLOSE, "LLOG_ORIGIN_HANDLE_CLOSE" },
1234 { LLOG_ORIGIN_CONNECT, "LLOG_ORIGIN_CONNECT" },
1235 { LLOG_CATINFO, "LLOG_CATINFO" },
1236 { LLOG_ORIGIN_HANDLE_PREV_BLOCK, "LLOG_ORIGIN_HANDLE_PREV_BLOCK" },
1237 { LLOG_ORIGIN_HANDLE_DESTROY, "LLOG_ORIGIN_HANDLE_DESTROY" },
1241 #ifndef ENABLE_STATIC
1242 const gchar version[] = VERSION;
1244 /* Start the functions we need for the plugin stuff */
1247 plugin_register(void)
1249 extern void proto_register_dcerpc_lustre(void);
1251 proto_register_dcerpc_lustre();
1255 plugin_reg_handoff(void)
1257 extern void proto_reg_handoff_lustre(void);
1259 proto_reg_handoff_lustre();
1264 /* ------------------------------------------------------------------- */
1265 /* display functions */
1266 /* ------------------------------------------------------------------- */
1267 /* display str in left corner and in COL */
1268 /* TODO : do we need to use inline here ?*/
1269 /* @gint col : the col where we add the information */
1270 inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
1273 proto_item_append_text(pi, str);
1276 if (check_col(cinfo, col))
1277 col_append_str(cinfo, col, str);
1281 * Need to be (re)written
1283 static void display_info_fstr(proto_item *pi, column_info *cinfo, gint col, const char* format, const gchar * str){
1286 //va_start(ap, format);
1287 proto_item_append_text(pi, format, str);
1292 if (check_col(cinfo, col)){
1294 // va_start(ap, format);
1295 col_append_fstr(cinfo, col, format, str);
1302 /* ------------------------------ basic dissect functions ------------------------ */
1305 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1307 proto_tree_add_item(tree, hfindex, tvb, offset, 8, TRUE);
1313 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1315 proto_tree_add_item(tree, hfindex, tvb, offset, 4, TRUE);
1321 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1323 proto_tree_add_item(tree, hfindex, tvb, offset, 2, TRUE);
1329 (tvbuff_t *tvb, gint offset, packet_info *pinfo _U_, proto_tree *tree, int hfindex)
1331 proto_tree_add_item(tree, hfindex, tvb, offset, 1, TRUE);
1334 /* ------------------------------------------------------------------------- */
1336 /* dissect raw data */
1338 lustre_dissect_element_data(tvbuff_t *tvb _U_, int offset _U_,
1339 packet_info *pinfo _U_, proto_tree *parent_tree _U_,
1340 int hf_index _U_, guint32 buf_num)
1342 proto_item *item = NULL;
1347 old_offset = offset;
1349 data_len = LUSTRE_BUFFER_LEN(buf_num);
1353 proto_tree_add_item(parent_tree, hf_index, tvb, offset, data_len, TRUE);
1356 proto_item_set_len(item, offset-old_offset);
1357 offset = add_extra_padding(tvb, offset, pinfo, parent_tree);
1363 lustre_dissect_struct_hmac(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1364 proto_tree *parent_tree _U_, int hf_index _U_, int max_length)
1368 proto_item *item = NULL;
1370 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 0, TRUE);
1371 for (i=0; i < max_length; ++i) {
1372 val = tvb_get_guint8(tvb, offset+i);
1373 proto_item_append_text(item, (i) ? "%02x" : ": %#02x", val);
1376 offset += max_length;
1377 proto_item_set_len(item, max_length);
1381 /* ------------------------------------------------------------------------ */
1385 /* IDL: struct lustre_handle { */
1386 /* IDL: uint64 cookie; */
1390 lustre_dissect_element_handle_cookie(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1392 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lustre_handle_cookie);
1398 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_)
1400 proto_item *item = NULL;
1401 proto_tree *tree = NULL;
1407 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1408 tree = proto_item_add_subtree(item, ett_lustre_lustre_handle_cookie);
1411 offset=lustre_dissect_element_handle_cookie(tvb, offset, pinfo, tree);
1414 proto_item_set_len(item, offset-old_offset);
1419 /* IDL: struct obd_connect_data { */
1420 /* IDL: uint64 ocd_connect_flags; */
1421 /* IDL: uint32 ocd_version; */
1422 /* IDL: uint32 ocd_grant; */
1423 /* IDL: uint32 ocd_index; */
1424 /* IDL: uint32 ocd_brw_size; */
1425 /* IDL: uint64 ocd_ibits_known; */
1426 /* IDL: uint32 ocd_nllu; */
1427 /* IDL: uint32 ocd_nllg; */
1428 /* IDL: uint64 ocd_transno; */
1429 /* IDL: uint32 ocd_group; */
1430 /* IDL: uint32 ocd_cksum_types; */
1431 /* IDL: uint64 padding1; */
1432 /* IDL: uint64 padding2; */
1436 lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1438 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_connect_flags);
1444 lustre_dissect_element_obd_connect_data_ocd_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1446 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_version);
1452 lustre_dissect_element_obd_connect_data_ocd_grant(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1454 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_grant);
1460 lustre_dissect_element_obd_connect_data_ocd_index(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1462 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_index);
1468 lustre_dissect_element_obd_connect_data_ocd_brw_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1470 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_brw_size);
1476 lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1478 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_ibits_known);
1484 lustre_dissect_element_obd_connect_data_ocd_nllu(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1486 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllu);
1492 lustre_dissect_element_obd_connect_data_ocd_nllg(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1494 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_nllg);
1500 lustre_dissect_element_obd_connect_data_ocd_transno(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1502 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_transno);
1508 lustre_dissect_element_obd_connect_data_ocd_group(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1510 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_group);
1516 lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1518 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_ocd_cksum_types);
1524 lustre_dissect_element_obd_connect_data_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1526 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding1);
1532 lustre_dissect_element_obd_connect_data_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1534 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_connect_data_padding2);
1540 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_)
1542 proto_item *item = NULL;
1543 proto_tree *tree = NULL;
1551 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1552 tree = proto_item_add_subtree(item, ett_lustre_obd_connect_data);
1555 offset=lustre_dissect_element_obd_connect_data_ocd_connect_flags(tvb, offset, pinfo, tree);
1557 offset=lustre_dissect_element_obd_connect_data_ocd_version(tvb, offset, pinfo, tree);
1559 offset=lustre_dissect_element_obd_connect_data_ocd_grant(tvb, offset, pinfo, tree);
1561 offset=lustre_dissect_element_obd_connect_data_ocd_index(tvb, offset, pinfo, tree);
1563 offset=lustre_dissect_element_obd_connect_data_ocd_brw_size(tvb, offset, pinfo, tree);
1565 offset=lustre_dissect_element_obd_connect_data_ocd_ibits_known(tvb, offset, pinfo, tree);
1567 offset=lustre_dissect_element_obd_connect_data_ocd_nllu(tvb, offset, pinfo, tree);
1569 offset=lustre_dissect_element_obd_connect_data_ocd_nllg(tvb, offset, pinfo, tree);
1571 offset=lustre_dissect_element_obd_connect_data_ocd_transno(tvb, offset, pinfo, tree);
1573 offset=lustre_dissect_element_obd_connect_data_ocd_group(tvb, offset, pinfo, tree);
1575 offset=lustre_dissect_element_obd_connect_data_ocd_cksum_types(tvb, offset, pinfo, tree);
1577 offset=lustre_dissect_element_obd_connect_data_padding1(tvb, offset, pinfo, tree);
1579 offset=lustre_dissect_element_obd_connect_data_padding2(tvb, offset, pinfo, tree);
1582 proto_item_set_len(item, offset-old_offset);
1588 /* IDL: struct lov_ost_data_v1 { */
1589 /* IDL: uint64 l_object_id; */
1590 /* IDL: uint64 l_object_seq; */
1591 /* IDL: uint32 l_ost_gen; */
1592 /* IDL: uint32 l_ost_idx; */
1596 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_)
1598 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_id);
1604 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_)
1606 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_object_seq);
1612 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_)
1614 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_gen);
1620 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_)
1622 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_ost_data_v1_l_ost_idx);
1628 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_)
1630 proto_item *item = NULL;
1631 proto_tree *tree = NULL;
1639 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1640 tree = proto_item_add_subtree(item, ett_lustre_lov_ost_data_v1);
1643 offset=lustre_dissect_element_lov_ost_data_v1_l_object_id(tvb, offset, pinfo, tree);
1645 offset=lustre_dissect_element_lov_ost_data_v1_l_object_seq(tvb, offset, pinfo, tree);
1647 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_gen(tvb, offset, pinfo, tree);
1649 offset=lustre_dissect_element_lov_ost_data_v1_l_ost_idx(tvb, offset, pinfo, tree);
1652 proto_item_set_len(item, offset-old_offset);
1657 /* IDL: struct lov_mds_md_v1 { */
1658 /* IDL: uint32 lmm_magic; */
1659 /* IDL: uint32 lmm_pattern; */
1660 /* IDL: uint64 lmm_object_id; */
1661 /* IDL: uint64 lmm_object_seq; */
1662 /* IDL: uint32 lmm_stripe_size; */
1663 /* IDL: uint32 lmm_stripe_count; */
1664 /* IDL: struct lov_ost_data_v1 { */
1665 /* IDL: } lmm_objects[0]; <-- en fait on en a lmm_stripe_count */
1669 lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1671 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_magic);
1677 lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1679 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_pattern);
1685 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_)
1687 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_id);
1693 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_)
1695 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_object_seq);
1701 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_)
1703 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_size);
1709 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_)
1711 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_lov_mds_md_v1_lmm_stripe_count);
1717 lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1719 offset=lustre_dissect_struct_lov_ost_data_v1(tvb,offset,pinfo,tree,hf_lustre_lov_mds_md_v1_lmm_objects);
1724 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)
1727 /*g_print("num = %d", num);*/
1728 for (i = 0; i < num; i++){
1729 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects_(tvb, offset, pinfo, tree);
1738 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_)
1740 proto_item *item = NULL;
1741 proto_tree *tree = NULL;
1744 guint32 stripe_count ;
1750 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1751 tree = proto_item_add_subtree(item, ett_lustre_lov_mds_md_v1);
1754 offset=lustre_dissect_element_lov_mds_md_v1_lmm_magic(tvb, offset, pinfo, tree);
1756 offset=lustre_dissect_element_lov_mds_md_v1_lmm_pattern(tvb, offset, pinfo, tree);
1758 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_id(tvb, offset, pinfo, tree);
1760 offset=lustre_dissect_element_lov_mds_md_v1_lmm_object_seq(tvb, offset, pinfo, tree);
1762 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_size(tvb, offset, pinfo, tree);
1764 stripe_count = tvb_get_letohl(tvb,offset);
1765 offset=lustre_dissect_element_lov_mds_md_v1_lmm_stripe_count(tvb, offset, pinfo, tree);
1767 offset=lustre_dissect_element_lov_mds_md_v1_lmm_objects(tvb, offset, pinfo, tree, stripe_count);
1770 proto_item_set_len(item, offset-old_offset);
1776 lustre_dissect_struct_lov_mds_md(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
1777 proto_tree *parent_tree _U_,
1778 int hf_index _U_, int buff_num _U_)
1782 if(LUSTRE_BUFFER_LEN(buff_num) == 0)
1785 magic=tvb_get_letohl(tvb, offset); /* TODO : replace this with a macro */
1788 offset=lustre_dissect_struct_lov_mds_md_v1(tvb,offset,pinfo,parent_tree,
1792 offset=lustre_dissect_element_data(tvb, offset, pinfo, parent_tree,
1793 hf_lustre_extra_padding, buff_num);
1802 /* IDL: struct obd_statfs { */
1803 /* IDL: uint64 os_type; */
1804 /* IDL: uint64 os_blocks; */
1805 /* IDL: uint64 os_bfree; */
1806 /* IDL: uint64 os_bavail; */
1807 /* IDL: uint64 os_files; */
1808 /* IDL: uint64 os_ffree; */
1809 /* IDL: uint8 os_fsid[40]; */
1810 /* IDL: uint32 os_bsize; */
1811 /* IDL: uint32 os_namelen; */
1812 /* IDL: uint64 os_maxbytes; */
1813 /* IDL: uint32 os_state; */
1814 /* IDL: uint32 os_spare1; */
1815 /* IDL: uint32 os_spare2; */
1816 /* IDL: uint32 os_spare3; */
1817 /* IDL: uint32 os_spare4; */
1818 /* IDL: uint32 os_spare5; */
1819 /* IDL: uint32 os_spare6; */
1820 /* IDL: uint32 os_spare7; */
1821 /* IDL: uint32 os_spare8; */
1822 /* IDL: uint32 os_spare9; */
1826 lustre_dissect_element_obd_statfs_os_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1828 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_type);
1834 lustre_dissect_element_obd_statfs_os_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1836 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_blocks);
1842 lustre_dissect_element_obd_statfs_os_bfree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1844 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bfree);
1850 lustre_dissect_element_obd_statfs_os_bavail(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1852 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bavail);
1858 lustre_dissect_element_obd_statfs_os_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1860 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_files);
1866 lustre_dissect_element_obd_statfs_os_ffree(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1868 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_ffree);
1874 lustre_dissect_element_obd_statfs_os_fsid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1876 offset=dissect_uint8(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_fsid);
1882 lustre_dissect_element_obd_statfs_os_fsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1885 for (i = 0; i < 40; i++)
1886 offset=lustre_dissect_element_obd_statfs_os_fsid_(tvb, offset, pinfo, tree);
1894 lustre_dissect_element_obd_statfs_os_bsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1896 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_bsize);
1902 lustre_dissect_element_obd_statfs_os_namelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1904 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_namelen);
1910 lustre_dissect_element_obd_statfs_os_maxbytes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1912 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_maxbytes);
1918 lustre_dissect_element_obd_statfs_os_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1920 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_state);
1926 lustre_dissect_element_obd_statfs_os_spare1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1928 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare1);
1934 lustre_dissect_element_obd_statfs_os_spare2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1936 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare2);
1942 lustre_dissect_element_obd_statfs_os_spare3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1944 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare3);
1950 lustre_dissect_element_obd_statfs_os_spare4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1952 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare4);
1958 lustre_dissect_element_obd_statfs_os_spare5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1960 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare5);
1966 lustre_dissect_element_obd_statfs_os_spare6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1968 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare6);
1974 lustre_dissect_element_obd_statfs_os_spare7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1976 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare7);
1982 lustre_dissect_element_obd_statfs_os_spare8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1984 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare8);
1990 lustre_dissect_element_obd_statfs_os_spare9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
1992 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_statfs_os_spare9);
1998 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_)
2000 proto_item *item = NULL;
2001 proto_tree *tree = NULL;
2009 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2010 tree = proto_item_add_subtree(item, ett_lustre_obd_statfs);
2013 offset=lustre_dissect_element_obd_statfs_os_type(tvb, offset, pinfo, tree);
2015 offset=lustre_dissect_element_obd_statfs_os_blocks(tvb, offset, pinfo, tree);
2017 offset=lustre_dissect_element_obd_statfs_os_bfree(tvb, offset, pinfo, tree);
2019 offset=lustre_dissect_element_obd_statfs_os_bavail(tvb, offset, pinfo, tree);
2021 offset=lustre_dissect_element_obd_statfs_os_files(tvb, offset, pinfo, tree);
2023 offset=lustre_dissect_element_obd_statfs_os_ffree(tvb, offset, pinfo, tree);
2025 offset=lustre_dissect_element_obd_statfs_os_fsid(tvb, offset, pinfo, tree);
2027 offset=lustre_dissect_element_obd_statfs_os_bsize(tvb, offset, pinfo, tree);
2029 offset=lustre_dissect_element_obd_statfs_os_namelen(tvb, offset, pinfo, tree);
2031 offset=lustre_dissect_element_obd_statfs_os_maxbytes(tvb, offset, pinfo, tree);
2033 offset=lustre_dissect_element_obd_statfs_os_state(tvb, offset, pinfo, tree);
2035 offset=lustre_dissect_element_obd_statfs_os_spare1(tvb, offset, pinfo, tree);
2037 offset=lustre_dissect_element_obd_statfs_os_spare2(tvb, offset, pinfo, tree);
2039 offset=lustre_dissect_element_obd_statfs_os_spare3(tvb, offset, pinfo, tree);
2041 offset=lustre_dissect_element_obd_statfs_os_spare4(tvb, offset, pinfo, tree);
2043 offset=lustre_dissect_element_obd_statfs_os_spare5(tvb, offset, pinfo, tree);
2045 offset=lustre_dissect_element_obd_statfs_os_spare6(tvb, offset, pinfo, tree);
2047 offset=lustre_dissect_element_obd_statfs_os_spare7(tvb, offset, pinfo, tree);
2049 offset=lustre_dissect_element_obd_statfs_os_spare8(tvb, offset, pinfo, tree);
2051 offset=lustre_dissect_element_obd_statfs_os_spare9(tvb, offset, pinfo, tree);
2054 proto_item_set_len(item, offset-old_offset);
2059 /* IDL: struct obd_ioobj { */
2060 /* IDL: uint64 ioo_id; */
2061 /* IDL: uint64 ioo_seq; */
2062 /* IDL: uint32 ioo_max_brw; */
2063 /* IDL: uint32 ioo_bufcnt; */
2067 lustre_dissect_element_obd_ioobj_ioo_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2069 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_id);
2075 lustre_dissect_element_obd_ioobj_ioo_seq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2077 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_seq);
2083 lustre_dissect_element_obd_ioobj_ioo_max_brw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2085 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_max_brw);
2091 lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2093 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_ioobj_ioo_bufcnt);
2099 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_)
2101 proto_item *item = NULL;
2102 proto_tree *tree = NULL;
2110 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2111 tree = proto_item_add_subtree(item, ett_lustre_obd_ioobj);
2114 offset=lustre_dissect_element_obd_ioobj_ioo_id(tvb, offset, pinfo, tree);
2116 offset=lustre_dissect_element_obd_ioobj_ioo_seq(tvb, offset, pinfo, tree);
2118 offset=lustre_dissect_element_obd_ioobj_ioo_max_brw(tvb, offset, pinfo, tree);
2120 offset=lustre_dissect_element_obd_ioobj_ioo_bufcnt(tvb, offset, pinfo, tree);
2123 proto_item_set_len(item, offset-old_offset);
2128 /* IDL: struct niobuf_remote { */
2129 /* IDL: uint64 offset; */
2130 /* IDL: uint32 len; */
2131 /* IDL: uint32 flags; */
2135 lustre_dissect_element_niobuf_remote_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2137 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_offset);
2143 lustre_dissect_element_niobuf_remote_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2145 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_len);
2151 lustre_dissect_element_niobuf_remote_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2153 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_niobuf_remote_flags);
2159 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_)
2161 proto_item *item = NULL;
2162 proto_tree *tree = NULL;
2170 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2171 tree = proto_item_add_subtree(item, ett_lustre_niobuf_remote);
2174 offset=lustre_dissect_element_niobuf_remote_offset(tvb, offset, pinfo, tree);
2176 offset=lustre_dissect_element_niobuf_remote_len(tvb, offset, pinfo, tree);
2178 offset=lustre_dissect_element_niobuf_remote_flags(tvb, offset, pinfo, tree);
2181 proto_item_set_len(item, offset-old_offset);
2186 /* IDL: struct ost_lvb { */
2187 /* IDL: uint64 lvb_size; */
2188 /* IDL: uint64 lvb_mtime; */
2189 /* IDL: uint64 lvb_atime; */
2190 /* IDL: uint64 lvb_ctime; */
2191 /* IDL: uint64 lvb_blocks; */
2195 lustre_dissect_element_ost_lvb_lvb_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2197 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_size);
2203 lustre_dissect_element_ost_lvb_lvb_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2207 ns.secs = tvb_get_letohl(tvb,offset);
2209 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_mtime, tvb, offset, 8, &ns );
2215 lustre_dissect_element_ost_lvb_lvb_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2219 ns.secs = tvb_get_letohl(tvb,offset);
2221 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_atime, tvb, offset, 8, &ns );
2228 lustre_dissect_element_ost_lvb_lvb_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2232 ns.secs = tvb_get_letohl(tvb,offset);
2234 proto_tree_add_time(tree, hf_lustre_ost_lvb_lvb_ctime, tvb, offset, 8, &ns );
2241 lustre_dissect_element_ost_lvb_lvb_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2243 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ost_lvb_lvb_blocks);
2249 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_)
2251 proto_item *item = NULL;
2252 proto_tree *tree = NULL;
2260 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2261 tree = proto_item_add_subtree(item, ett_lustre_ost_lvb);
2264 offset=lustre_dissect_element_ost_lvb_lvb_size(tvb, offset, pinfo, tree);
2266 offset=lustre_dissect_element_ost_lvb_lvb_mtime(tvb, offset, pinfo, tree);
2268 offset=lustre_dissect_element_ost_lvb_lvb_atime(tvb, offset, pinfo, tree);
2270 offset=lustre_dissect_element_ost_lvb_lvb_ctime(tvb, offset, pinfo, tree);
2272 offset=lustre_dissect_element_ost_lvb_lvb_blocks(tvb, offset, pinfo, tree);
2275 proto_item_set_len(item, offset-old_offset);
2281 /* IDL: struct ll_fid { */
2282 /* IDL: uint64 id; */
2283 /* IDL: uint32 generation; */
2284 /* IDL: uint32 f_type; */
2288 lustre_dissect_element_ll_fid_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2290 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_ll_fid_id);
2296 lustre_dissect_element_ll_fid_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2298 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_generation);
2304 lustre_dissect_element_ll_fid_f_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2306 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_ll_fid_f_type);
2312 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_)
2314 proto_item *item = NULL;
2315 proto_tree *tree = NULL;
2321 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2322 tree = proto_item_add_subtree(item, ett_lustre_ll_fid);
2325 offset=lustre_dissect_element_ll_fid_id(tvb, offset, pinfo, tree);
2327 offset=lustre_dissect_element_ll_fid_generation(tvb, offset, pinfo, tree);
2329 offset=lustre_dissect_element_ll_fid_f_type(tvb, offset, pinfo, tree);
2332 proto_item_set_len(item, offset-old_offset);
2337 /* IDL: struct obd_dqinfo { */
2338 /* IDL: uint64 dqi_bgrace; */
2339 /* IDL: uint64 dqi_igrace; */
2340 /* IDL: uint32 dqi_flags; */
2341 /* IDL: uint32 dqi_valid; */
2345 lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2347 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_bgrace);
2353 lustre_dissect_element_obd_dqinfo_dqi_igrace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2355 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_igrace);
2361 lustre_dissect_element_obd_dqinfo_dqi_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2363 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_flags);
2369 lustre_dissect_element_obd_dqinfo_dqi_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2371 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqinfo_dqi_valid);
2377 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_)
2379 proto_item *item = NULL;
2380 proto_tree *tree = NULL;
2385 old_offset = offset;
2388 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2389 tree = proto_item_add_subtree(item, ett_lustre_obd_dqinfo);
2392 offset = lustre_dissect_element_obd_dqinfo_dqi_bgrace(tvb, offset, pinfo, tree);
2394 offset = lustre_dissect_element_obd_dqinfo_dqi_igrace(tvb, offset, pinfo, tree);
2396 offset = lustre_dissect_element_obd_dqinfo_dqi_flags(tvb, offset, pinfo, tree);
2398 offset = lustre_dissect_element_obd_dqinfo_dqi_valid(tvb, offset, pinfo, tree);
2401 proto_item_set_len(item, offset-old_offset);
2406 /* IDL: struct obd_dqblk { */
2407 /* IDL: uint64 dqb_bhardlimit; */
2408 /* IDL: uint64 dqb_bsoftlimit; */
2409 /* IDL: uint64 dqb_curspace; */
2410 /* IDL: uint64 dqb_ihardlimit; */
2411 /* IDL: uint64 dqb_isoftlimit; */
2412 /* IDL: uint64 dqb_curinodes; */
2413 /* IDL: uint64 dqb_btime; */
2414 /* IDL: uint64 dqb_itime; */
2415 /* IDL: uint32 dqb_valid; */
2416 /* IDL: uint32 padding; */
2420 lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2422 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bhardlimit);
2428 lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2430 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_bsoftlimit);
2436 lustre_dissect_element_obd_dqblk_dqb_curspace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2438 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curspace);
2444 lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2446 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_ihardlimit);
2452 lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2454 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_isoftlimit);
2460 lustre_dissect_element_obd_dqblk_dqb_curinodes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2462 offset = dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_curinodes);
2468 lustre_dissect_element_obd_dqblk_dqb_btime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2473 ns.secs = tvb_get_letohl(tvb,offset);
2475 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_btime, tvb, offset, 8, &ns );
2481 lustre_dissect_element_obd_dqblk_dqb_itime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2485 ns.secs = tvb_get_letohl(tvb,offset);
2487 proto_tree_add_time(tree, hf_lustre_obd_dqblk_dqb_itime, tvb, offset, 8, &ns );
2494 lustre_dissect_element_obd_dqblk_dqb_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2496 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_dqb_valid);
2502 lustre_dissect_element_obd_dqblk_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2504 offset = dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_dqblk_padding);
2510 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_)
2512 proto_item *item = NULL;
2513 proto_tree *tree = NULL;
2518 old_offset = offset;
2521 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2522 tree = proto_item_add_subtree(item, ett_lustre_obd_dqblk);
2525 offset = lustre_dissect_element_obd_dqblk_dqb_bhardlimit(tvb, offset, pinfo, tree);
2527 offset = lustre_dissect_element_obd_dqblk_dqb_bsoftlimit(tvb, offset, pinfo, tree);
2529 offset = lustre_dissect_element_obd_dqblk_dqb_curspace(tvb, offset, pinfo, tree);
2531 offset = lustre_dissect_element_obd_dqblk_dqb_ihardlimit(tvb, offset, pinfo, tree);
2533 offset = lustre_dissect_element_obd_dqblk_dqb_isoftlimit(tvb, offset, pinfo, tree);
2535 offset = lustre_dissect_element_obd_dqblk_dqb_curinodes(tvb, offset, pinfo, tree);
2537 offset = lustre_dissect_element_obd_dqblk_dqb_btime(tvb, offset, pinfo, tree);
2539 offset = lustre_dissect_element_obd_dqblk_dqb_itime(tvb, offset, pinfo, tree);
2541 offset = lustre_dissect_element_obd_dqblk_dqb_valid(tvb, offset, pinfo, tree);
2543 offset = lustre_dissect_element_obd_dqblk_padding(tvb, offset, pinfo, tree);
2546 proto_item_set_len(item, offset-old_offset);
2552 /* IDL: struct obd_quotactl { */
2553 /* IDL: uint32 qc_cmd; */
2554 /* IDL: uint32 qc_type; */
2555 /* IDL: uint32 qc_id; */
2556 /* IDL: uint32 qc_stat; */
2557 /* IDL: struct obd_dqinfo { */
2558 /* IDL: } qc_dqinfo; */
2559 /* IDL: struct obd_dqblk { */
2560 /* IDL: } qc_dqblk; */
2564 lustre_dissect_element_obd_quotactl_qc_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2566 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_cmd);
2572 lustre_dissect_element_obd_quotactl_qc_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2574 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_type);
2580 lustre_dissect_element_obd_quotactl_qc_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2582 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_id);
2588 lustre_dissect_element_obd_quotactl_qc_stat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2590 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_obd_quotactl_qc_stat);
2598 lustre_dissect_element_obd_quotactl_qc_dqblk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2600 offset=lustre_dissect_struct_obd_dqblk(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqblk);
2605 lustre_dissect_element_obd_quotactl_qc_dqinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2607 offset=lustre_dissect_struct_obd_dqinfo(tvb,offset,pinfo,tree,hf_lustre_obd_quotactl_qc_dqinfo);
2612 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_)
2614 proto_item *item = NULL;
2615 proto_tree *tree = NULL;
2621 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2622 tree = proto_item_add_subtree(item, ett_lustre_obd_quotactl);
2625 offset=lustre_dissect_element_obd_quotactl_qc_cmd(tvb, offset, pinfo, tree);
2627 offset=lustre_dissect_element_obd_quotactl_qc_type(tvb, offset, pinfo, tree);
2629 offset=lustre_dissect_element_obd_quotactl_qc_id(tvb, offset, pinfo, tree);
2631 offset=lustre_dissect_element_obd_quotactl_qc_stat(tvb, offset, pinfo, tree);
2633 offset=lustre_dissect_element_obd_quotactl_qc_dqinfo(tvb, offset, pinfo, tree);
2635 offset=lustre_dissect_element_obd_quotactl_qc_dqblk(tvb, offset, pinfo, tree);
2638 proto_item_set_len(item, offset-old_offset);
2644 /* IDL: struct quota_adjust_qunit { */
2645 /* IDL: uint32 qaq_flags; */
2646 /* IDL: uint32 qaq_id; */
2647 /* IDL: uint64 qaq_bunit_sz; */
2648 /* IDL: uint64 qaq_iunit_sz; */
2649 /* IDL: uint64 padding1; */
2653 lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2655 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_flags);
2661 lustre_dissect_element_quota_adjust_qunit_qaq_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2663 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_id);
2669 lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2671 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_bunit_sz);
2677 lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2679 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_qaq_iunit_sz);
2685 lustre_dissect_element_quota_adjust_qunit_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2687 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_quota_adjust_qunit_padding1);
2693 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_)
2695 proto_item *item = NULL;
2696 proto_tree *tree = NULL;
2704 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2705 tree = proto_item_add_subtree(item, ett_lustre_quota_adjust_qunit);
2708 offset=lustre_dissect_element_quota_adjust_qunit_qaq_flags(tvb, offset, pinfo, tree);
2710 offset=lustre_dissect_element_quota_adjust_qunit_qaq_id(tvb, offset, pinfo, tree);
2712 offset=lustre_dissect_element_quota_adjust_qunit_qaq_bunit_sz(tvb, offset, pinfo, tree);
2714 offset=lustre_dissect_element_quota_adjust_qunit_qaq_iunit_sz(tvb, offset, pinfo, tree);
2716 offset=lustre_dissect_element_quota_adjust_qunit_padding1(tvb, offset, pinfo, tree);
2719 proto_item_set_len(item, offset-old_offset);
2724 /* IDL: struct mdt_body { */
2725 /* IDL: struct lu_fid { */
2727 /* IDL: struct lu_fid { */
2729 /* IDL: struct lustre_handle { */
2730 /* IDL: } handle; */
2731 /* IDL: uint64 valid; */
2732 /* IDL: uint64 size; */
2733 /* IDL: uint64 mtime; */
2734 /* IDL: uint64 atime; */
2735 /* IDL: uint64 ctime; */
2736 /* IDL: uint64 blocks; */
2737 /* IDL: uint64 ioepoch; */
2738 /* IDL: uint64 ino; */
2739 /* IDL: uint32 fsuid; */
2740 /* IDL: uint32 fsgid; */
2741 /* IDL: uint32 capability; */
2742 /* IDL: uint32 mode; */
2743 /* IDL: uint32 uid; */
2744 /* IDL: uint32 gid; */
2745 /* IDL: uint32 flags; */
2746 /* IDL: uint32 rdev; */
2747 /* IDL: uint32 nlink; */
2748 /* IDL: uint32 generation; */
2749 /* IDL: uint32 suppgid; */
2750 /* IDL: uint32 eadatasize; */
2751 /* IDL: uint32 aclsize; */
2752 /* IDL: uint32 max_mdsize; */
2753 /* IDL: uint32 max_cookiesize; */
2754 /* IDL: uint32 uid_h; */
2755 /* IDL: uint32 gid_h; */
2756 /* IDL: uint32 padding_5; */
2757 /* IDL: uint64 padding_6; */
2758 /* IDL: uint64 padding_7; */
2759 /* IDL: uint64 padding_8; */
2760 /* IDL: uint64 padding_9; */
2761 /* IDL: uint64 padding_10; */
2765 lustre_dissect_element_mdt_body_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2767 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid1);
2772 lustre_dissect_element_mdt_body_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2774 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_body_fid2);
2779 lustre_dissect_element_mdt_body_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2781 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_body_handle);
2787 lustre_dissect_element_mdt_body_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2789 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_valid);
2795 lustre_dissect_element_mdt_body_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2797 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_size);
2803 lustre_dissect_element_mdt_body_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2807 ns.secs = tvb_get_letohl(tvb,offset);
2809 proto_tree_add_time(tree, hf_lustre_mdt_body_mtime, tvb, offset, 8, &ns );
2815 lustre_dissect_element_mdt_body_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2819 ns.secs = tvb_get_letohl(tvb,offset);
2821 proto_tree_add_time(tree, hf_lustre_mdt_body_atime, tvb, offset, 8, &ns );
2828 lustre_dissect_element_mdt_body_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2832 ns.secs = tvb_get_letohl(tvb,offset);
2834 proto_tree_add_time(tree, hf_lustre_mdt_body_ctime, tvb, offset, 8, &ns );
2840 lustre_dissect_element_mdt_body_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2842 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_blocks);
2848 lustre_dissect_element_mdt_body_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2850 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ioepoch);
2856 lustre_dissect_element_mdt_body_ino(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2858 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_ino);
2864 lustre_dissect_element_mdt_body_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2866 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsuid);
2872 lustre_dissect_element_mdt_body_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2874 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_fsgid);
2880 lustre_dissect_element_mdt_body_capability(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2882 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_capability);
2888 lustre_dissect_element_mdt_body_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2890 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_mode);
2896 lustre_dissect_element_mdt_body_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2898 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid);
2904 lustre_dissect_element_mdt_body_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2906 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid);
2912 lustre_dissect_element_mdt_body_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2914 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_flags);
2920 lustre_dissect_element_mdt_body_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2922 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_rdev);
2928 lustre_dissect_element_mdt_body_nlink(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2930 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_nlink);
2936 lustre_dissect_element_mdt_body_generation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2938 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_generation);
2944 lustre_dissect_element_mdt_body_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2946 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_suppgid);
2952 lustre_dissect_element_mdt_body_eadatasize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2954 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_eadatasize);
2960 lustre_dissect_element_mdt_body_aclsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2962 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_aclsize);
2968 lustre_dissect_element_mdt_body_max_mdsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2970 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_mdsize);
2976 lustre_dissect_element_mdt_body_max_cookiesize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2978 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_max_cookiesize);
2984 lustre_dissect_element_mdt_body_uid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2986 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_uid_h);
2992 lustre_dissect_element_mdt_body_gid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
2994 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_gid_h);
3000 lustre_dissect_element_mdt_body_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3002 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_5);
3008 lustre_dissect_element_mdt_body_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3010 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_6);
3016 lustre_dissect_element_mdt_body_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3018 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_7);
3024 lustre_dissect_element_mdt_body_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3026 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_8);
3032 lustre_dissect_element_mdt_body_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3034 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_9);
3040 lustre_dissect_element_mdt_body_padding_10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3042 offset= dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_body_padding_10);
3048 lustre_dissect_struct_mdt_body(tvbuff_t *tvb _U_, int offset _U_,
3049 packet_info *pinfo _U_,
3050 proto_tree *parent_tree _U_,
3053 proto_item *item = NULL;
3054 proto_tree *tree = NULL;
3061 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3062 tree = proto_item_add_subtree(item, ett_lustre_mdt_body);
3065 offset=lustre_dissect_element_mdt_body_fid1(tvb, offset, pinfo, tree);
3067 offset=lustre_dissect_element_mdt_body_fid2(tvb, offset, pinfo, tree);
3069 offset=lustre_dissect_element_mdt_body_handle(tvb, offset, pinfo, tree);
3071 offset=lustre_dissect_element_mdt_body_valid(tvb, offset, pinfo, tree);
3073 offset=lustre_dissect_element_mdt_body_size(tvb, offset, pinfo, tree);
3075 offset=lustre_dissect_element_mdt_body_mtime(tvb, offset, pinfo, tree);
3077 offset=lustre_dissect_element_mdt_body_atime(tvb, offset, pinfo, tree);
3079 offset=lustre_dissect_element_mdt_body_ctime(tvb, offset, pinfo, tree);
3081 offset=lustre_dissect_element_mdt_body_blocks(tvb, offset, pinfo, tree);
3083 offset=lustre_dissect_element_mdt_body_ioepoch(tvb, offset, pinfo, tree);
3085 offset=lustre_dissect_element_mdt_body_ino(tvb, offset, pinfo, tree);
3087 offset=lustre_dissect_element_mdt_body_fsuid(tvb, offset, pinfo, tree);
3089 offset=lustre_dissect_element_mdt_body_fsgid(tvb, offset, pinfo, tree);
3091 offset=lustre_dissect_element_mdt_body_capability(tvb, offset, pinfo, tree);
3093 offset=lustre_dissect_element_mdt_body_mode(tvb, offset, pinfo, tree);
3095 offset=lustre_dissect_element_mdt_body_uid(tvb, offset, pinfo, tree);
3097 offset=lustre_dissect_element_mdt_body_gid(tvb, offset, pinfo, tree);
3099 offset=lustre_dissect_element_mdt_body_flags(tvb, offset, pinfo, tree);
3101 offset=lustre_dissect_element_mdt_body_rdev(tvb, offset, pinfo, tree);
3103 offset=lustre_dissect_element_mdt_body_nlink(tvb, offset, pinfo, tree);
3105 offset=lustre_dissect_element_mdt_body_generation(tvb, offset, pinfo, tree);
3107 offset=lustre_dissect_element_mdt_body_suppgid(tvb, offset, pinfo, tree);
3109 offset=lustre_dissect_element_mdt_body_eadatasize(tvb, offset, pinfo, tree);
3111 offset=lustre_dissect_element_mdt_body_aclsize(tvb, offset, pinfo, tree);
3113 offset=lustre_dissect_element_mdt_body_max_mdsize(tvb, offset, pinfo, tree);
3115 offset=lustre_dissect_element_mdt_body_max_cookiesize(tvb, offset, pinfo, tree);
3117 offset=lustre_dissect_element_mdt_body_uid_h(tvb, offset, pinfo, tree);
3119 offset=lustre_dissect_element_mdt_body_gid_h(tvb, offset, pinfo, tree);
3121 offset=lustre_dissect_element_mdt_body_padding_5(tvb, offset, pinfo, tree);
3123 offset=lustre_dissect_element_mdt_body_padding_6(tvb, offset, pinfo, tree);
3125 offset=lustre_dissect_element_mdt_body_padding_7(tvb, offset, pinfo, tree);
3127 offset=lustre_dissect_element_mdt_body_padding_8(tvb, offset, pinfo, tree);
3129 offset=lustre_dissect_element_mdt_body_padding_9(tvb, offset, pinfo, tree);
3131 offset=lustre_dissect_element_mdt_body_padding_10(tvb, offset, pinfo, tree);
3134 proto_item_set_len(item, offset-old_offset);
3139 /* I don't find where this struct appear on wire.. need to search mdc_setattr_pack() */
3140 /* IDL: struct mdt_rec_setattr { */
3141 /* IDL: uint32 sa_opcode; */
3142 /* IDL: uint32 sa_cap; */
3143 /* IDL: uint32 sa_fsuid; */
3144 /* IDL: uint32 sa_fsuid_h; */
3145 /* IDL: uint32 sa_fsgid; */
3146 /* IDL: uint32 sa_fsgid_h; */
3147 /* IDL: uint32 sa_suppgid; */
3148 /* IDL: uint32 sa_suppgid_h; */
3149 /* IDL: uint32 sa_padding_1; */
3150 /* IDL: uint32 sa_padding_1_h; */
3151 /* IDL: struct lu_fid { */
3152 /* IDL: } sa_fid; */
3153 /* IDL: uint64 sa_valid; */
3154 /* IDL: uint32 sa_uid; */
3155 /* IDL: uint32 sa_gid; */
3156 /* IDL: uint64 sa_size; */
3157 /* IDL: uint64 sa_blocks; */
3158 /* IDL: uint64 sa_mtime; */
3159 /* IDL: uint64 sa_atime; */
3160 /* IDL: uint64 sa_ctime; */
3161 /* IDL: uint32 sa_attr_flags; */
3162 /* IDL: uint32 sa_mode; */
3163 /* IDL: uint32 sa_padding_2; */
3164 /* IDL: uint32 sa_padding_3; */
3165 /* IDL: uint32 sa_padding_4; */
3166 /* IDL: uint32 sa_padding_5; */
3170 lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3172 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_opcode);
3178 lustre_dissect_element_mdt_rec_setattr_sa_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3180 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_cap);
3186 lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3188 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid);
3194 lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3196 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsuid_h);
3202 lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3204 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid);
3210 lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3212 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_fsgid_h);
3218 lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3220 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid);
3226 lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3228 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_suppgid_h);
3234 lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3236 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1);
3242 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_)
3244 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_1_h);
3250 lustre_dissect_element_mdt_rec_setattr_sa_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3252 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_setattr_sa_fid);
3258 lustre_dissect_element_mdt_rec_setattr_sa_valid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3260 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_valid);
3266 lustre_dissect_element_mdt_rec_setattr_sa_uid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3268 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_uid);
3274 lustre_dissect_element_mdt_rec_setattr_sa_gid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3276 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_gid);
3282 lustre_dissect_element_mdt_rec_setattr_sa_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3284 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_size);
3290 lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3292 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_blocks);
3298 lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3303 ns.secs = tvb_get_letohl(tvb,offset);
3305 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_mtime, tvb, offset, 8, &ns );
3311 lustre_dissect_element_mdt_rec_setattr_sa_atime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3315 ns.secs = tvb_get_letohl(tvb,offset);
3317 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_atime, tvb, offset, 8, &ns );
3323 lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3327 ns.secs = tvb_get_letohl(tvb,offset);
3329 proto_tree_add_time(tree, hf_lustre_mdt_rec_setattr_sa_ctime, tvb, offset, 8, &ns );
3335 lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3337 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_attr_flags);
3343 lustre_dissect_element_mdt_rec_setattr_sa_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3345 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_mode);
3351 lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3353 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_2);
3359 lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3361 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_3);
3367 lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3369 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_4);
3375 lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3377 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_setattr_sa_padding_5);
3383 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_)
3385 proto_item *item = NULL;
3386 proto_tree *tree = NULL;
3395 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3396 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_setattr);
3398 sa_opcode=tvb_get_letohl(tvb,offset);
3399 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(sa_opcode, lustre_mds_reint_t_vals, "Unknown sa_opc"));
3401 offset=lustre_dissect_element_mdt_rec_setattr_sa_opcode(tvb, offset, pinfo, tree);
3403 offset=lustre_dissect_element_mdt_rec_setattr_sa_cap(tvb, offset, pinfo, tree);
3405 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid(tvb, offset, pinfo, tree);
3407 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsuid_h(tvb, offset, pinfo, tree);
3409 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid(tvb, offset, pinfo, tree);
3411 offset=lustre_dissect_element_mdt_rec_setattr_sa_fsgid_h(tvb, offset, pinfo, tree);
3413 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid(tvb, offset, pinfo, tree);
3415 offset=lustre_dissect_element_mdt_rec_setattr_sa_suppgid_h(tvb, offset, pinfo, tree);
3417 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1(tvb, offset, pinfo, tree);
3419 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_1_h(tvb, offset, pinfo, tree);
3421 offset=lustre_dissect_element_mdt_rec_setattr_sa_fid(tvb, offset, pinfo, tree);
3423 offset=lustre_dissect_element_mdt_rec_setattr_sa_valid(tvb, offset, pinfo, tree);
3425 offset=lustre_dissect_element_mdt_rec_setattr_sa_uid(tvb, offset, pinfo, tree);
3427 offset=lustre_dissect_element_mdt_rec_setattr_sa_gid(tvb, offset, pinfo, tree);
3429 offset=lustre_dissect_element_mdt_rec_setattr_sa_size(tvb, offset, pinfo, tree);
3431 offset=lustre_dissect_element_mdt_rec_setattr_sa_blocks(tvb, offset, pinfo, tree);
3433 offset=lustre_dissect_element_mdt_rec_setattr_sa_mtime(tvb, offset, pinfo, tree);
3435 offset=lustre_dissect_element_mdt_rec_setattr_sa_atime(tvb, offset, pinfo, tree);
3437 offset=lustre_dissect_element_mdt_rec_setattr_sa_ctime(tvb, offset, pinfo, tree);
3439 offset=lustre_dissect_element_mdt_rec_setattr_sa_attr_flags(tvb, offset, pinfo, tree);
3441 offset=lustre_dissect_element_mdt_rec_setattr_sa_mode(tvb, offset, pinfo, tree);
3443 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_2(tvb, offset, pinfo, tree);
3445 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_3(tvb, offset, pinfo, tree);
3447 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_4(tvb, offset, pinfo, tree);
3449 offset=lustre_dissect_element_mdt_rec_setattr_sa_padding_5(tvb, offset, pinfo, tree);
3452 proto_item_set_len(item, offset-old_offset);
3457 /* IDL: struct mdt_rec_create { */
3458 /* IDL: uint32 cr_opcode; */
3459 /* IDL: uint32 cr_cap; */
3460 /* IDL: uint32 cr_fsuid; */
3461 /* IDL: uint32 cr_fsuid_h; */
3462 /* IDL: uint32 cr_fsgid; */
3463 /* IDL: uint32 cr_fsgid_h; */
3464 /* IDL: uint32 cr_suppgid1; */
3465 /* IDL: uint32 cr_suppgid1_h; */
3466 /* IDL: uint32 cr_suppgid2; */
3467 /* IDL: uint32 cr_suppgid2_h; */
3468 /* IDL: struct lu_fid { */
3469 /* IDL: } cr_fid1; */
3470 /* IDL: struct lu_fid { */
3471 /* IDL: } cr_fid2; */
3472 /* IDL: struct lustre_handle { */
3473 /* IDL: } cr_old_handle; */
3474 /* IDL: uint64 cr_time; */
3475 /* IDL: uint64 cr_rdev; */
3476 /* IDL: uint64 cr_ioepoch; */
3477 /* IDL: uint64 cr_padding_1; */
3478 /* IDL: uint32 cr_mode; */
3479 /* IDL: uint32 cr_bias; */
3480 /* IDL: uint32 cr_flags_l; */
3481 /* IDL: uint32 cr_flags_h; */
3482 /* IDL: uint32 cr_umask; */
3483 /* IDL: uint32 cr_padding_4; */
3487 lustre_dissect_element_mdt_rec_create_cr_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3489 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_opcode);
3495 lustre_dissect_element_mdt_rec_create_cr_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3497 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_cap);
3503 lustre_dissect_element_mdt_rec_create_cr_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3505 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid);
3511 lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3513 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsuid_h);
3519 lustre_dissect_element_mdt_rec_create_cr_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3521 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid);
3527 lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3529 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_fsgid_h);
3535 lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3537 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1);
3543 lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3545 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid1_h);
3551 lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3553 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2);
3559 lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3561 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_suppgid2_h);
3567 lustre_dissect_element_mdt_rec_create_cr_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3569 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid1);
3574 lustre_dissect_element_mdt_rec_create_cr_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3576 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_fid2);
3581 lustre_dissect_element_mdt_rec_create_cr_old_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3583 offset=lustre_dissect_struct_handle_cookie(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_create_cr_old_handle);
3588 lustre_dissect_element_mdt_rec_create_cr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3592 ns.secs = tvb_get_letohl(tvb,offset);
3594 proto_tree_add_time(tree, hf_lustre_mdt_rec_create_cr_time, tvb, offset, 8, &ns );
3601 lustre_dissect_element_mdt_rec_create_cr_rdev(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3603 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_rdev);
3609 lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3611 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_ioepoch);
3617 lustre_dissect_element_mdt_rec_create_cr_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3619 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_1);
3625 lustre_dissect_element_mdt_rec_create_cr_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3627 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_mode);
3633 lustre_dissect_element_mdt_rec_create_cr_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3635 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_bias);
3641 lustre_dissect_element_mdt_rec_create_cr_flags_l(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3643 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_l);
3649 lustre_dissect_element_mdt_rec_create_cr_flags_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3651 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_flags_h);
3657 lustre_dissect_element_mdt_rec_create_cr_umask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3659 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_umask);
3665 lustre_dissect_element_mdt_rec_create_cr_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3667 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_create_cr_padding_4);
3673 lustre_dissect_struct_mdt_rec_create(tvbuff_t *tvb _U_, int offset _U_,
3674 packet_info *pinfo _U_,
3675 proto_tree *parent_tree _U_,
3678 proto_item *item = NULL;
3679 proto_tree *tree = NULL;
3686 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3687 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_create);
3689 cr_opcode=tvb_get_letohl(tvb,offset);
3690 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(cr_opcode, lustre_mds_reint_t_vals, "Unknown cr_opc"));
3692 offset=lustre_dissect_element_mdt_rec_create_cr_opcode(tvb, offset, pinfo, tree);
3694 offset=lustre_dissect_element_mdt_rec_create_cr_cap(tvb, offset, pinfo, tree);
3696 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid(tvb, offset, pinfo, tree);
3698 offset=lustre_dissect_element_mdt_rec_create_cr_fsuid_h(tvb, offset, pinfo, tree);
3700 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid(tvb, offset, pinfo, tree);
3702 offset=lustre_dissect_element_mdt_rec_create_cr_fsgid_h(tvb, offset, pinfo, tree);
3704 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1(tvb, offset, pinfo, tree);
3706 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid1_h(tvb, offset, pinfo, tree);
3708 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2(tvb, offset, pinfo, tree);
3710 offset=lustre_dissect_element_mdt_rec_create_cr_suppgid2_h(tvb, offset, pinfo, tree);
3712 offset=lustre_dissect_element_mdt_rec_create_cr_fid1(tvb, offset, pinfo, tree);
3714 offset=lustre_dissect_element_mdt_rec_create_cr_fid2(tvb, offset, pinfo, tree);
3716 offset=lustre_dissect_element_mdt_rec_create_cr_old_handle(tvb, offset, pinfo, tree);
3718 offset=lustre_dissect_element_mdt_rec_create_cr_time(tvb, offset, pinfo, tree);
3720 offset=lustre_dissect_element_mdt_rec_create_cr_rdev(tvb, offset, pinfo, tree);
3722 offset=lustre_dissect_element_mdt_rec_create_cr_ioepoch(tvb, offset, pinfo, tree);
3724 offset=lustre_dissect_element_mdt_rec_create_cr_padding_1(tvb, offset, pinfo, tree);
3726 offset=lustre_dissect_element_mdt_rec_create_cr_mode(tvb, offset, pinfo, tree);
3728 offset=lustre_dissect_element_mdt_rec_create_cr_bias(tvb, offset, pinfo, tree);
3730 offset=lustre_dissect_element_mdt_rec_create_cr_flags_l(tvb, offset, pinfo, tree);
3732 offset=lustre_dissect_element_mdt_rec_create_cr_flags_h(tvb, offset, pinfo, tree);
3734 offset=lustre_dissect_element_mdt_rec_create_cr_umask(tvb, offset, pinfo, tree);
3736 offset=lustre_dissect_element_mdt_rec_create_cr_padding_4(tvb, offset, pinfo, tree);
3738 proto_item_set_len(item, offset-old_offset);
3743 /* TODO : find where this structure appear ! */
3744 /* IDL: struct mdt_rec_link { */
3745 /* IDL: uint32 lk_opcode; */
3746 /* IDL: uint32 lk_cap; */
3747 /* IDL: uint32 lk_fsuid; */
3748 /* IDL: uint32 lk_fsuid_h; */
3749 /* IDL: uint32 lk_fsgid; */
3750 /* IDL: uint32 lk_fsgid_h; */
3751 /* IDL: uint32 lk_suppgid1; */
3752 /* IDL: uint32 lk_suppgid1_h; */
3753 /* IDL: uint32 lk_suppgid2; */
3754 /* IDL: uint32 lk_suppgid2_h; */
3755 /* IDL: struct lu_fid { */
3756 /* IDL: } lk_fid1; */
3757 /* IDL: struct lu_fid { */
3758 /* IDL: } lk_fid2; */
3759 /* IDL: uint64 lk_time; */
3760 /* IDL: uint64 lk_padding_1; */
3761 /* IDL: uint64 lk_padding_2; */
3762 /* IDL: uint64 lk_padding_3; */
3763 /* IDL: uint64 lk_padding_4; */
3764 /* IDL: uint32 lk_bias; */
3765 /* IDL: uint32 lk_padding_5; */
3766 /* IDL: uint32 lk_padding_6; */
3767 /* IDL: uint32 lk_padding_7; */
3768 /* IDL: uint32 lk_padding_8; */
3769 /* IDL: uint32 lk_padding_9; */
3773 lustre_dissect_element_mdt_rec_link_lk_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3775 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_opcode);
3781 lustre_dissect_element_mdt_rec_link_lk_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3783 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_cap);
3789 lustre_dissect_element_mdt_rec_link_lk_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3791 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid);
3797 lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3799 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsuid_h);
3805 lustre_dissect_element_mdt_rec_link_lk_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3807 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid);
3813 lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3815 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_fsgid_h);
3821 lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3823 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1);
3829 lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3831 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid1_h);
3837 lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3839 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2);
3845 lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3847 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_suppgid2_h);
3853 lustre_dissect_element_mdt_rec_link_lk_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3855 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid1);
3860 lustre_dissect_element_mdt_rec_link_lk_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3862 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_link_lk_fid2);
3867 lustre_dissect_element_mdt_rec_link_lk_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3871 ns.secs = tvb_get_letohl(tvb,offset);
3873 proto_tree_add_time(tree, hf_lustre_mdt_rec_link_lk_time, tvb, offset, 8, &ns );
3879 lustre_dissect_element_mdt_rec_link_lk_padding_1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3881 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_1);
3887 lustre_dissect_element_mdt_rec_link_lk_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3889 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_2);
3895 lustre_dissect_element_mdt_rec_link_lk_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3897 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_3);
3903 lustre_dissect_element_mdt_rec_link_lk_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3905 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_4);
3911 lustre_dissect_element_mdt_rec_link_lk_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3913 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_bias);
3919 lustre_dissect_element_mdt_rec_link_lk_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3921 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_5);
3927 lustre_dissect_element_mdt_rec_link_lk_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3929 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_6);
3935 lustre_dissect_element_mdt_rec_link_lk_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3937 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_7);
3943 lustre_dissect_element_mdt_rec_link_lk_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3945 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_8);
3951 lustre_dissect_element_mdt_rec_link_lk_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
3953 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_link_lk_padding_9);
3959 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_)
3961 proto_item *item = NULL;
3962 proto_tree *tree = NULL;
3971 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3972 tree = proto_item_add_subtree(item, ett_lustre_mdt_rec_link);
3974 lk_opcode=tvb_get_letohl(tvb,offset);
3975 display_info_fstr(parent_tree->parent, pinfo->cinfo, COL_INFO, "[%s]", val_to_str(lk_opcode, lustre_mds_reint_t_vals, "Unknown lk_opc"));
3977 offset=lustre_dissect_element_mdt_rec_link_lk_opcode(tvb, offset, pinfo, tree);
3979 offset=lustre_dissect_element_mdt_rec_link_lk_cap(tvb, offset, pinfo, tree);
3981 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid(tvb, offset, pinfo, tree);
3983 offset=lustre_dissect_element_mdt_rec_link_lk_fsuid_h(tvb, offset, pinfo, tree);
3985 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid(tvb, offset, pinfo, tree);
3987 offset=lustre_dissect_element_mdt_rec_link_lk_fsgid_h(tvb, offset, pinfo, tree);
3989 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1(tvb, offset, pinfo, tree);
3991 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid1_h(tvb, offset, pinfo, tree);
3993 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2(tvb, offset, pinfo, tree);
3995 offset=lustre_dissect_element_mdt_rec_link_lk_suppgid2_h(tvb, offset, pinfo, tree);
3997 offset=lustre_dissect_element_mdt_rec_link_lk_fid1(tvb, offset, pinfo, tree);
3999 offset=lustre_dissect_element_mdt_rec_link_lk_fid2(tvb, offset, pinfo, tree);
4001 offset=lustre_dissect_element_mdt_rec_link_lk_time(tvb, offset, pinfo, tree);
4003 offset=lustre_dissect_element_mdt_rec_link_lk_padding_1(tvb, offset, pinfo, tree);
4005 offset=lustre_dissect_element_mdt_rec_link_lk_padding_2(tvb, offset, pinfo, tree);
4007 offset=lustre_dissect_element_mdt_rec_link_lk_padding_3(tvb, offset, pinfo, tree);
4009 offset=lustre_dissect_element_mdt_rec_link_lk_padding_4(tvb, offset, pinfo, tree);
4011 offset=lustre_dissect_element_mdt_rec_link_lk_bias(tvb, offset, pinfo, tree);
4013 offset=lustre_dissect_element_mdt_rec_link_lk_padding_5(tvb, offset, pinfo, tree);
4015 offset=lustre_dissect_element_mdt_rec_link_lk_padding_6(tvb, offset, pinfo, tree);
4017 offset=lustre_dissect_element_mdt_rec_link_lk_padding_7(tvb, offset, pinfo, tree);
4019 offset=lustre_dissect_element_mdt_rec_link_lk_padding_8(tvb, offset, pinfo, tree);
4021 offset=lustre_dissect_element_mdt_rec_link_lk_padding_9(tvb, offset, pinfo, tree);
4024 proto_item_set_len(item, offset-old_offset);
4029 /* IDL: struct mdt_rec_unlink { */
4030 /* IDL: uint32 ul_opcode; */
4031 /* IDL: uint32 ul_cap; */
4032 /* IDL: uint32 ul_fsuid; */
4033 /* IDL: uint32 ul_fsuid_h; */
4034 /* IDL: uint32 ul_fsgid; */
4035 /* IDL: uint32 ul_fsgid_h; */
4036 /* IDL: uint32 ul_suppgid1; */
4037 /* IDL: uint32 ul_suppgid1_h; */
4038 /* IDL: uint32 ul_suppgid2; */
4039 /* IDL: uint32 ul_suppgid2_h; */
4040 /* IDL: struct lu_fid { */
4041 /* IDL: } ul_fid1; */
4042 /* IDL: struct lu_fid { */
4043 /* IDL: } ul_fid2; */
4044 /* IDL: uint64 ul_time; */
4045 /* IDL: uint64 ul_padding_2; */
4046 /* IDL: uint64 ul_padding_3; */
4047 /* IDL: uint64 ul_padding_4; */
4048 /* IDL: uint64 ul_padding_5; */
4049 /* IDL: uint32 ul_bias; */
4050 /* IDL: uint32 ul_mode; */
4051 /* IDL: uint32 ul_padding_6; */
4052 /* IDL: uint32 ul_padding_7; */
4053 /* IDL: uint32 ul_padding_8; */
4054 /* IDL: uint32 ul_padding_9; */
4058 lustre_dissect_element_mdt_rec_unlink_ul_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4060 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_opcode);
4066 lustre_dissect_element_mdt_rec_unlink_ul_cap(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4068 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_cap);
4074 lustre_dissect_element_mdt_rec_unlink_ul_fsuid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4076 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid);
4082 lustre_dissect_element_mdt_rec_unlink_ul_fsuid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4084 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsuid_h);
4090 lustre_dissect_element_mdt_rec_unlink_ul_fsgid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4092 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid);
4098 lustre_dissect_element_mdt_rec_unlink_ul_fsgid_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4100 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_fsgid_h);
4106 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4108 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1);
4114 lustre_dissect_element_mdt_rec_unlink_ul_suppgid1_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4116 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid1_h);
4122 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4124 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2);
4130 lustre_dissect_element_mdt_rec_unlink_ul_suppgid2_h(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4132 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_suppgid2_h);
4138 lustre_dissect_element_mdt_rec_unlink_ul_fid1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4140 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid1);
4145 lustre_dissect_element_mdt_rec_unlink_ul_fid2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4147 offset=lustre_dissect_struct_lu_fid(tvb,offset,pinfo,tree,hf_lustre_mdt_rec_unlink_ul_fid2);
4152 lustre_dissect_element_mdt_rec_unlink_ul_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4156 ns.secs = tvb_get_letohl(tvb,offset);
4158 proto_tree_add_time(tree,hf_lustre_mdt_rec_unlink_ul_time , tvb, offset, 8, &ns );
4164 lustre_dissect_element_mdt_rec_unlink_ul_padding_2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4166 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_2);
4172 lustre_dissect_element_mdt_rec_unlink_ul_padding_3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4174 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_3);
4180 lustre_dissect_element_mdt_rec_unlink_ul_padding_4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4182 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_4);
4188 lustre_dissect_element_mdt_rec_unlink_ul_padding_5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4190 offset=dissect_uint64(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_5);
4196 lustre_dissect_element_mdt_rec_unlink_ul_bias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4198 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_bias);
4204 lustre_dissect_element_mdt_rec_unlink_ul_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4206 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_mode);
4212 lustre_dissect_element_mdt_rec_unlink_ul_padding_6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4214 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_6);
4220 lustre_dissect_element_mdt_rec_unlink_ul_padding_7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4222 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_7);
4228 lustre_dissect_element_mdt_rec_unlink_ul_padding_8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4230 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_8);
4236 lustre_dissect_element_mdt_rec_unlink_ul_padding_9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
4238 offset=dissect_uint32(tvb, offset, pinfo, tree, hf_lustre_mdt_rec_unlink_ul_padding_9);
4244 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_)
4246 proto_item *item = NULL;