Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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 ([email protected])
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
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
30extern const value_string phbid_bit14_vals[];
31
32extern const value_string phbid_bit15_vals[];
33
34void
35dissect_diffserv_mpls_common(tvbuff_t *tvb, proto_tree *tree, int type,
36 int offset, int **hfindexes, int **etts);
37
38#endif
Definition proto.h:901
Definition value_string.h:25
Definition tvbuff-int.h:35