Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-diffserv-mpls-common.h
blob2041155ba34dfd63f0c2ab431b1e99e255b8c135
1 /* packet-diffserv-mpls-common.h
2 * Routines for the common part of Diffserv MPLS signaling protocols
3 * Author: Endoh Akira (endoh@netmarks.co.jp)
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __PACKET_DSMPLS_H__
13 #define __PACKET_DSMPLS_H__
15 #define PHBID_DSCP_MASK 0xFC00
16 #define PHBID_CODE_MASK 0xFFF0
17 #define PHBID_BIT14_MASK 2
18 #define PHBID_BIT15_MASK 1
20 #define MAPNB_DESCRIPTION "Number of MAP entries"
21 #define MAP_DESCRIPTION "MAP entry"
22 #define EXP_DESCRIPTION "EXP bit code"
23 #define PHBID_DESCRIPTION "PHBID"
24 #define PHBID_DSCP_DESCRIPTION "DSCP"
25 #define PHBID_CODE_DESCRIPTION "PHB id code"
26 #define PHBID_BIT14_DESCRIPTION "Bit 14"
27 #define PHBID_BIT15_DESCRIPTION "Bit 15"
30 extern const value_string phbid_bit14_vals[];
32 extern const value_string phbid_bit15_vals[];
34 void
35 dissect_diffserv_mpls_common(tvbuff_t *tvb, proto_tree *tree, int type,
36 int offset, int **hfindexes, int **etts);
38 #endif