Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-netmon.h
1 /* packet-netmon.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef PACKET_NETMON_H
11 #define PACKET_NETMON_H
12 
13 #define EVENT_HEADER_FLAG_EXTENDED_INFO 0x0001
14 #define EVENT_HEADER_FLAG_PRIVATE_SESSION 0x0002
15 #define EVENT_HEADER_FLAG_STRING_ONLY 0x0004
16 #define EVENT_HEADER_FLAG_TRACE_MESSAGE 0x0008
17 #define EVENT_HEADER_FLAG_NO_CPUTIME 0x0010
18 #define EVENT_HEADER_FLAG_32_BIT_HEADER 0x0020
19 #define EVENT_HEADER_FLAG_64_BIT_HEADER 0x0040
20 #define EVENT_HEADER_FLAG_CLASSIC_HEADER 0x0100
21 
22 /* Dissector data for Provider ID dissector table */
24 {
25  guint32 event_id;
26  guint16 event_flags;
27  guint8 event_version;
28  guint64 keyword;
29  guint8 opcode;
30 };
31 
32 
33 void netmon_etl_field(proto_tree *tree, tvbuff_t *tvb, int* offset, int hf, guint16 flags);
34 void netmon_sid_field(proto_tree *tree, tvbuff_t *tvb, int* offset, packet_info *pinfo,
35  int hf_revision, int hf_subauthority_count, int hf_sid_id, int hf_sid_authority,
36  expert_field* invalid_sid, gboolean conformant);
37 
38 
39 #endif /* PACKET_NETMON_H */
40 
41 /*
42  * Editor modelines - https://www.wireshark.org/tools/modelines.html
43  *
44  * Local variables:
45  * c-basic-offset: 4
46  * tab-width: 8
47  * indent-tabs-mode: nil
48  * End:
49  *
50  * vi: set shiftwidth=4 tabstop=8 expandtab:
51  * :indentSize=4:tabSize=8:noTabs=true:
52  */
Definition: packet_info.h:44
Definition: proto.h:904
Definition: expert.h:39
Definition: packet-netmon.h:24
Definition: tvbuff-int.h:35