Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-gre.h
1
/* packet-gre.h
2
* Routines and data exported by the dissection code for the
3
* Generic Routing Encapsulation (GRE) protocol
4
*
5
* Wireshark - Network traffic analyzer
6
* By Gerald Combs <
[email protected]
>
7
* Copyright 1998 Gerald Combs
8
*
9
* SPDX-License-Identifier: GPL-2.0-or-later
10
*/
11
12
/* bit positions for flags in header */
13
#define GRE_CHECKSUM 0x8000
14
#define GRE_ROUTING 0x4000
15
#define GRE_KEY 0x2000
16
#define GRE_SEQUENCE 0x1000
17
#define GRE_STRICTSOURCE 0x0800
18
#define GRE_RECURSION 0x0700
19
#define GRE_ACK 0x0080
/* only in special PPTPized GRE header */
20
#define GRE_RESERVED_PPP 0x0078
/* only in special PPTPized GRE header */
21
#define GRE_RESERVED 0x00F8
22
#define GRE_VERSION 0x0007
23
24
/* GRE type values that aren't also Ethernet type values */
25
#define GRE_KEEPALIVE 0x0000
26
#define GRE_CISCO_CDP 0x2000
27
#define GRE_NHRP 0x2001
28
#define GRE_WCCP 0x883E
29
#define GRE_ERSPAN_88BE 0x88BE
30
#define GRE_ERSPAN_22EB 0x22EB
31
#define GRE_MIKROTIK_EOIP 0x6400
32
#define GRE_AIROHIVE 0xFEAE
33
#define GRE_GREBONDING 0xB7EA
34
/* ************************************************************************* */
35
/* Aruba GRE Encapsulation ID */
36
/* ************************************************************************* */
37
#define GRE_ARUBA_8200 0x8200
38
#define GRE_ARUBA_8210 0x8210
39
#define GRE_ARUBA_8220 0x8220
40
#define GRE_ARUBA_8230 0x8230
41
#define GRE_ARUBA_8240 0x8240
42
#define GRE_ARUBA_8250 0x8250
43
#define GRE_ARUBA_8260 0x8260
44
#define GRE_ARUBA_8270 0x8270
45
#define GRE_ARUBA_8280 0x8280
46
#define GRE_ARUBA_8290 0x8290
47
#define GRE_ARUBA_82A0 0x82A0
48
#define GRE_ARUBA_82B0 0x82B0
49
#define GRE_ARUBA_82C0 0x82C0
50
#define GRE_ARUBA_82D0 0x82D0
51
#define GRE_ARUBA_82E0 0x82E0
52
#define GRE_ARUBA_82F0 0x82F0
53
#define GRE_ARUBA_8300 0x8300
54
#define GRE_ARUBA_8310 0x8310
55
#define GRE_ARUBA_8320 0x8320
56
#define GRE_ARUBA_8330 0x8330
57
#define GRE_ARUBA_8340 0x8340
58
#define GRE_ARUBA_8350 0x8350
59
#define GRE_ARUBA_8360 0x8360
60
#define GRE_ARUBA_8370 0x8370
61
#define GRE_ARUBA_9000 0x9000
62
#define GRE_ARUBA_9100 0x9100
63
#define GRE_ARUBA_9110 0x9110
64
#define GRE_ARUBA_9120 0x9120
65
#define GRE_ARUBA_9130 0x9130
66
#define GRE_ARUBA_9140 0x9140
67
#define GRE_ARUBA_9150 0x9150
68
#define GRE_ARUBA_9160 0x9160
69
#define GRE_ARUBA_9170 0x9170
70
#define GRE_ARUBA_9180 0x9180
71
#define GRE_ARUBA_9190 0x9190
72
#define GRE_ARUBA_91A0 0x91A0
73
#define GRE_ARUBA_91B0 0x91B0
74
#define GRE_ARUBA_91C0 0x91C0
75
#define GRE_ARUBA_91D0 0x91D0
76
#define GRE_ARUBA_91E0 0x91E0
77
#define GRE_ARUBA_91F0 0x91F0
78
79
80
extern
const
value_string
gre_typevals[];
81
82
typedef
struct
gre_hdr_info
{
83
uint16_t flags_and_ver;
84
uint32_t key;
85
}
gre_hdr_info_t
;
_value_string
Mapping between a 32-bit integer value and its string representation.
Definition
value_string.h:33
gre_hdr_info
Definition
packet-gre.h:82
Generated by
1.9.8