Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-sapepp.h
1/* Shared EPP decoding for SAP Diag and classic RFC.
2 * Callers retain their protocol-specific registered fields and expert info.
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5#ifndef PACKET_SAPEPP_H
6#define PACKET_SAPEPP_H
7
8#define SAP_EPP_MAGIC 0x2a54482aU
9
10typedef struct {
11 int magic;
12 int version;
13 int length;
14 int trace_flags;
15 int component;
16 int service;
17 int user;
18 int action;
19 int action_type;
20 int previous_component;
21 int transaction_id;
22 int client;
23 int component_type;
24 int root_context_id;
25 int connection_id;
26 int connection_counter;
27 int variable_part_count;
28 int variable_part_offset;
29 int variable_part;
30 int variable_part_length;
31 int variable_part_last;
32 int variable_part_id;
33 int item_count;
34 int item;
35 int item_key;
36 int item_application;
37 int item_type;
38 int item_length;
39 int item_value;
40 int trailer;
41 int ett_variable_part;
42 int ett_item;
43 expert_field *malformed;
45
46extern const value_string sap_epp_version_vals[];
47extern const value_string sap_epp_item_type_vals[];
48
49uint16_t dissect_sap_epp(tvbuff_t *tvb, packet_info *pinfo, proto_item *item,
50 proto_tree *tree, uint32_t offset, uint32_t item_length,
51 const sap_epp_fields_t *fields);
52
53#endif /* PACKET_SAPEPP_H */
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
proto_node proto_item
Definition proto.h:927
Pairs an expert info index with its associated header field index for registration and display.
Definition expert.h:41
Definition packet-sapepp.h:10
struct _value_string value_string
Mapping between a 32-bit integer value and its string representation.