Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-lnet.h
blob218c3075ed707c3a5b7b54d5897de5919fa1fbcd
1 /* packet-lnet.h
2 * Copyright (c) 2017 Intel Corporation.
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10 #ifndef __PACKET_LNET_H__
11 #define __PACKET_LNET_H__
13 #include <epan/packet.h>
15 #define portal_index_VALUE_STRING_LIST(XXX) \
16 XXX(LNET_RESERVED_PORTAL, 0) \
17 XXX(CONNMGR_REQUEST_PORTAL, 1) \
18 XXX(CONNMGR_REPLY_PORTAL, 2) \
19 XXX(OSC_REQUEST_PORTAL, 3) \
20 XXX(OSC_REPLY_PORTAL, 4) \
21 XXX(OSC_BULK_PORTAL, 5) \
22 XXX(OST_IO_PORTAL, 6) \
23 XXX(OST_CREATE_PORTAL, 7) \
24 XXX(OST_BULK_PORTAL, 8) \
25 XXX(MDC_REQUEST_PORTAL, 9) \
26 XXX(MDC_REPLY_PORTAL, 10) \
27 XXX(MDC_BULK_PORTAL, 11) \
28 XXX(MDS_REQUEST_PORTAL, 12) \
29 XXX(MDS_REPLY_PORTAL, 13) \
30 XXX(MDS_BULK_PORTAL, 14) \
31 XXX(LDLM_CB_REQUEST_PORTAL, 15) \
32 XXX(LDLM_CB_REPLY_PORTAL, 16) \
33 XXX(LDLM_CANCEL_REQUEST_PORTAL, 17) \
34 XXX(LDLM_CANCEL_REPLY_PORTAL, 18) \
35 XXX(PTLBD_REQUEST_PORTAL, 19) \
36 XXX(PTLBD_REPLY_PORTAL, 20) \
37 XXX(PTLBD_BULK_PORTAL, 21) \
38 XXX(MDS_SETATTR_PORTAL, 22) \
39 XXX(MDS_READPAGE_PORTAL, 23) \
40 XXX(MDS_MDS_PORTAL, 24) \
41 XXX(MGC_REPLY_PORTAL, 25) \
42 XXX(MGS_REQUEST_PORTAL, 26) \
43 XXX(MGS_REPLY_PORTAL, 27) \
44 XXX(OST_REQUEST_PORTAL, 28) \
45 XXX(FLD_REQUEST_PORTAL, 29) \
46 XXX(SEQ_METADATA_PORTAL, 30) \
47 XXX(SEQ_DATA_PORTAL, 31) \
48 XXX(SEQ_CONTROLLER_PORTAL, 32) \
49 XXX(MGS_BULK_PORTAL, 33)
50 VALUE_STRING_ENUM2(portal_index);
51 //VALUE_STRING_ARRAY2(portal_index);
53 struct lnet_trans_info {
54 uint64_t match_bits;
57 int lnet_dissect_struct_nid(tvbuff_t *tvb, proto_tree *parent_tree, int offset, int hf_index);
59 #endif