Wireshark 4.5.0
The Wireshark network protocol analyzer
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
packet-e2ap.h
1/* Do not modify this file. Changes will be overwritten. */
2/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3/* packet-e2ap.h */
4/* asn2wrs.py -p e2ap -c ./e2ap.cnf -s ./packet-e2ap-template -D . -O ../.. E2AP-CommonDataTypes.asn E2AP-Constants.asn E2AP-Containers.asn E2AP-IEs.asn E2AP-PDU-Contents.asn E2AP-PDU-Descriptions.asn e2sm-kpm-v1.asn */
5
6/* Input file: packet-e2ap-template.h */
7
8#line 1 "./asn1/e2ap/packet-e2ap-template.h"
9/* packet-e2ap.h
10 * Routines for NG-RAN NG Application Protocol (NGAP) packet dissection
11 *
12 * Wireshark - Network traffic analyzer
13 * By Gerald Combs <gerald@wireshark.org>
14 * Copyright 1998 Gerald Combs
15 *
16 * SPDX-License-Identifier: GPL-2.0-or-later
17 */
18
19#ifndef PACKET_E2AP_H
20#define PACKET_E2AP_H
21
22
23/*--- Included file: packet-e2ap-exp.h ---*/
24#line 1 "./asn1/e2ap/packet-e2ap-exp.h"
25
26/*--- End of included file: packet-e2ap-exp.h ---*/
27#line 15 "./asn1/e2ap/packet-e2ap-template.h"
28
29typedef int (*pdu_dissector_t)(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data);
30
31/* Function pointers for a RANFunction */
32typedef struct {
33 pdu_dissector_t ran_function_definition_dissector;
34
35 pdu_dissector_t ric_control_header_dissector;
36 pdu_dissector_t ric_control_message_dissector;
37 pdu_dissector_t ric_control_outcome_dissector;
38 /* new for v3 */
39 pdu_dissector_t ric_query_outcome_dissector;
40 pdu_dissector_t ric_query_definition_dissector;
41 pdu_dissector_t ric_query_header_dissector;
42
43 pdu_dissector_t ran_action_definition_dissector;
44 pdu_dissector_t ran_indication_message_dissector;
45 pdu_dissector_t ran_indication_header_dissector;
46 pdu_dissector_t ran_callprocessid_dissector;
47 pdu_dissector_t ran_event_trigger_dissector;
49
50typedef enum {
51 MIN_RANFUNCTIONS,
52 KPM_RANFUNCTIONS=0,
53 RC_RANFUNCTIONS,
54 NI_RANFUNCTIONS,
55 CCC_RANFUNCTIONS,
56 LLC_RANFUNCTIONS,
57 MAX_RANFUNCTIONS
58} ran_function_t;
59
60#define MAX_OID_LEN 1001
61
62typedef struct {
63 const char* name;
64 char oid[MAX_OID_LEN]; /* i.e., this dissector */
65 uint8_t major_version; /* these are currently not used.. */
66 uint8_t minor_version;
69
70void register_e2ap_ran_function_dissector(ran_function_t ran_function, ran_function_dissector_t *dissector);
71
72void e2ap_store_ran_function_mapping(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, const char *name);
73void e2ap_update_ran_function_mapping(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, const char *oid);
74
75
76#endif /* PACKET_E2AP_H */
77
78/*
79 * Editor modelines
80 *
81 * Local Variables:
82 * c-basic-offset: 2
83 * tab-width: 8
84 * indent-tabs-mode: nil
85 * End:
86 *
87 * ex: set shiftwidth=2 tabstop=8 expandtab:
88 * :indentSize=2:tabSize=8:noTabs=true:
89 */
Definition packet_info.h:43
Definition proto.h:906
Definition packet-e2ap.h:62
Definition packet-e2ap.h:32
Definition tvbuff-int.h:35