Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-isis.h
1 /* packet-isis.h
2  * Defines and such for core isis protcol decode.
3  *
4  * Stuart Stanley <stuarts@mxmail.net>
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12 
13 #ifndef _PACKET_ISIS_H
14 #define _PACKET_ISIS_H
15 
16 /*
17  * The version we support is 1
18  */
19 #define ISIS_REQUIRED_VERSION 1
20 
21 /*
22  * ISIS type field values
23  */
24 #define ISIS_TYPE_L1_HELLO 15
25 #define ISIS_TYPE_L2_HELLO 16
26 #define ISIS_TYPE_PTP_HELLO 17
27 #define ISIS_TYPE_L1_LSP 18
28 #define ISIS_TYPE_L2_LSP 20
29 #define ISIS_TYPE_L1_CSNP 24
30 #define ISIS_TYPE_L2_CSNP 25
31 #define ISIS_TYPE_L1_PSNP 26
32 #define ISIS_TYPE_L2_PSNP 27
33 
34 #define ISIS_TYPE_MASK 0x1f
35 #define ISIS_TYPE_RESERVED_MASK 0xe0
36 
37 /*
38  * Data given to subdissectors
39  */
40 typedef struct isis_data {
41  guint8 header_length;
42  guint8 system_id_len;
43 } isis_data_t;
44 
45 extern int hf_isis_clv_key_id;
46 
47 #endif /* _PACKET_ISIS_H */
48 
49 /*
50  * Editor modelines - http://www.wireshark.org/tools/modelines.html
51  *
52  * Local variables:
53  * c-basic-offset: 4
54  * tab-width: 8
55  * indent-tabs-mode: nil
56  * End:
57  *
58  * vi: set shiftwidth=4 tabstop=8 expandtab:
59  * :indentSize=4:tabSize=8:noTabs=true:
60  */
Definition: packet-isis.h:40