2 * Defines and such for core isis protcol decode.
4 * Stuart Stanley <stuarts@mxmail.net>
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef _PACKET_ISIS_H
14 #define _PACKET_ISIS_H
17 * The version we support is 1
19 #define ISIS_REQUIRED_VERSION 1
22 * ISIS type field values
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
34 #define ISIS_TYPE_MASK 0x1f
35 #define ISIS_TYPE_RESERVED_MASK 0xe0
38 * Data given to subdissectors
40 typedef struct isis_data
{
41 uint8_t header_length
;
42 uint8_t system_id_len
;
44 proto_item
*header_length_item
;
45 expert_field
*ei_bad_header_length
;
48 extern int hf_isis_clv_key_id
;
50 #endif /* _PACKET_ISIS_H */
53 * Editor modelines - https://www.wireshark.org/tools/modelines.html
58 * indent-tabs-mode: nil
61 * vi: set shiftwidth=4 tabstop=8 expandtab:
62 * :indentSize=4:tabSize=8:noTabs=true: