Wireshark
4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
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
*/
40
typedef
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;
46
} isis_data_t;
47
48
extern
int
hf_isis_clv_key_id;
49
50
extern
const
range_string
isis_mtid_strings[];
51
52
#endif
/* _PACKET_ISIS_H */
53
54
/*
55
* Editor modelines - https://www.wireshark.org/tools/modelines.html
56
*
57
* Local variables:
58
* c-basic-offset: 4
59
* tab-width: 8
60
* indent-tabs-mode: nil
61
* End:
62
*
63
* vi: set shiftwidth=4 tabstop=8 expandtab:
64
* :indentSize=4:tabSize=8:noTabs=true:
65
*/
proto_item
proto_node proto_item
Definition
proto.h:927
expert_field
Pairs an expert info index with its associated header field index for registration and display.
Definition
expert.h:41
isis_data
Definition
packet-isis.h:40
range_string
struct _range_string range_string
Maps an inclusive numeric range to a string value, used for table-driven range-to-string lookups.
Generated by
1.15.0