Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-isis.h
1/* packet-isis.h
2 * Defines and such for core isis protcol decode.
3 *
4 * Stuart Stanley <[email protected]>
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <[email protected]>
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 */
40typedef struct isis_data {
41 uint8_t header_length;
42 uint8_t system_id_len;
43 uint16_t pdu_length;
44 proto_item *header_length_item;
45 expert_field *ei_bad_header_length;
47
48extern int hf_isis_clv_key_id;
49
50#endif /* _PACKET_ISIS_H */
51
52/*
53 * Editor modelines - https://www.wireshark.org/tools/modelines.html
54 *
55 * Local variables:
56 * c-basic-offset: 4
57 * tab-width: 8
58 * indent-tabs-mode: nil
59 * End:
60 *
61 * vi: set shiftwidth=4 tabstop=8 expandtab:
62 * :indentSize=4:tabSize=8:noTabs=true:
63 */
Definition proto.h:901
Definition expert.h:39
Definition packet-isis.h:40