Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
epan
dissectors
packet-protobuf.h
1
/* packet-protobuf.h
2
* Routines for Google Protocol Buffers dissection
3
* Copyright 2017, Huang Qiangxiong <qiangxiong.huang@qq.com>
4
*
5
* Wireshark - Network traffic analyzer
6
* By Gerald Combs <gerald@wireshark.org>
7
* Copyright 1998 Gerald Combs
8
*
9
* SPDX-License-Identifier: GPL-2.0-or-later
10
*/
11
12
#ifndef __PACKET_PROTOBUF_H__
13
#define __PACKET_PROTOBUF_H__
14
15
/* Protobuf wire type. Must be kept in sync with WireType of protobuf wire_format_lite.h
16
0 used for int32, int64, uint32, uint64, sint32, sint64, bool, enum
17
1 used for fixed64, sfixed64, double
18
2 used for string, bytes, embedded messages, packed repeated fields
19
3 used for groups (deprecated)
20
4 used for groups (deprecated)
21
5 used for fixed32, sfixed32, float
22
*/
23
#define protobuf_wire_type_VALUE_STRING_LIST(XXX) \
24
XXX(PROTOBUF_WIRETYPE_VARINT, 0, "varint") \
25
XXX(PROTOBUF_WIRETYPE_FIXED64, 1, "64-bit") \
26
XXX(PROTOBUF_WIRETYPE_LENGTH_DELIMITED, 2, "Length-delimited") \
27
XXX(PROTOBUF_WIRETYPE_START_GROUP, 3, "Start group (deprecated)") \
28
XXX(PROTOBUF_WIRETYPE_END_GROUP, 4, "End group (deprecated)") \
29
XXX(PROTOBUF_WIRETYPE_FIXED32, 5, "32-bit")
30
31
VALUE_STRING_ENUM(protobuf_wire_type);
32
VALUE_STRING_ARRAY_GLOBAL_DCL(protobuf_wire_type);
33
34
#endif
35
36
/*
37
* Editor modelines - https://www.wireshark.org/tools/modelines.html
38
*
39
* Local variables:
40
* c-basic-offset: 4
41
* tab-width: 8
42
* indent-tabs-mode: nil
43
* End:
44
*
45
* vi: set shiftwidth=4 tabstop=8 expandtab:
46
* :indentSize=4:tabSize=8:noTabs=true:
47
*/
Generated by
1.9.8