Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-xml.h
1
/* packet-xml.h
2
* wireshark's xml dissector .
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <gerald@wireshark.org>
6
* Copyright 1998 Gerald Combs
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
#ifndef __PACKET_XML_H__
11
#define __PACKET_XML_H__
12
13
#include "ws_symbol_export.h"
14
15
#define XML_FRAME_ROOT 0
16
#define XML_FRAME_TAG 1
17
#define XML_FRAME_XMPLI 2
18
#define XML_FRAME_DTD_DOCTYPE 3
19
#define XML_FRAME_ATTRIB 4
20
#define XML_FRAME_CDATA 5
21
22
struct
_xml_ns_t
;
23
typedef
struct
_xml_ns_t
xml_ns_t
;
24
25
typedef
struct
_xml_frame_t
{
26
int
type;
27
struct
_xml_frame_t
* parent;
28
struct
_xml_frame_t
* first_child;
29
struct
_xml_frame_t
* last_child;
30
struct
_xml_frame_t
* prev_sibling;
31
struct
_xml_frame_t
* next_sibling;
32
const
char
*name;
33
const
char
*name_orig_case;
34
tvbuff_t
*value;
35
proto_tree
* tree;
36
proto_item
* item;
37
proto_item
* last_item;
38
struct
_xml_ns_t
* ns;
39
int
start_offset;
40
int
length;
41
packet_info
* pinfo;
42
wmem_map_t
*decryption_keys;
43
}
xml_frame_t
;
44
45
WS_DLL_PUBLIC
46
xml_frame_t
*xml_get_tag(
xml_frame_t
*frame,
const
char
*name);
47
WS_DLL_PUBLIC
48
xml_frame_t
*xml_get_attrib(
xml_frame_t
*frame,
const
char
*name);
49
WS_DLL_PUBLIC
50
xml_frame_t
*xml_get_cdata(
xml_frame_t
*frame);
51
52
#endif
/* __PACKET_XML_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
*/
_packet_info
Represents the metadata and indexing information for a single captured frame.
Definition
packet_info.h:43
_proto_node
Definition
proto.h:909
_wmem_map_t
Definition
wmem_map.c:60
_xml_frame_t
Definition
packet-xml.h:25
_xml_ns_t
Definition
packet-xml.c:82
tvbuff
Core tvbuff (testy virtual buffer) structure representing a region of packet data,...
Definition
tvbuff-int.h:95
Generated by
1.9.8