2 * Defines and such for core isis protcol decode.
5 * Stuart Stanley <stuarts@mxmail.net>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef _PACKET_ISIS_H
27 #define _PACKET_ISIS_H
30 * The version we support is 1
32 #define ISIS_REQUIRED_VERSION 1
35 * ISIS type field values
37 #define ISIS_TYPE_L1_HELLO 15
38 #define ISIS_TYPE_L2_HELLO 16
39 #define ISIS_TYPE_PTP_HELLO 17
40 #define ISIS_TYPE_L1_LSP 18
41 #define ISIS_TYPE_L2_LSP 20
42 #define ISIS_TYPE_L1_CSNP 24
43 #define ISIS_TYPE_L2_CSNP 25
44 #define ISIS_TYPE_L1_PSNP 26
45 #define ISIS_TYPE_L2_PSNP 27
47 #define ISIS_TYPE_MASK 0x1f
48 #define ISIS_R8_MASK 0x80
49 #define ISIS_R7_MASK 0x40
50 #define ISIS_R6_MASK 0x20
53 * published API functions
56 extern char *isis_address_to_string(tvbuff_t
*tvb
, int offset
, int len
);
57 extern void isis_dissect_unknown(tvbuff_t
*tvb
, proto_tree
*tree
, int offset
,
58 const char *fmat
, ...);
60 #endif /* _PACKET_ISIS_H */