Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-diffserv-mpls-common.h
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)
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12 #ifndef __PACKET_DSMPLS_H__
13 #define __PACKET_DSMPLS_H__
14
15 #define PHBID_DSCP_MASK 0xFC00
16 #define PHBID_CODE_MASK 0xFFF0
17 #define PHBID_BIT14_MASK 2
18 #define PHBID_BIT15_MASK 1
19
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"
28
29
30 extern const value_string phbid_bit14_vals[];
31
32 extern const value_string phbid_bit15_vals[];
33
34 void
35 dissect_diffserv_mpls_common(tvbuff_t *tvb, proto_tree *tree, int type,
36 int offset, int **hfindexes, gint **etts);
37
38 #endif
tvbuff
Definition: tvbuff-int.h:35
_value_string
Definition: value_string.h:24
_proto_node
Definition: proto.h:759