Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-camel.h
Go to the documentation of this file.
1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-camel.h */
4 /* asn2wrs.py -b -L -p camel -c ./camel.cnf -s ./packet-camel-template -D . -O ../.. CAP-object-identifiers.asn CAP-classes.asn CAP-datatypes.asn CAP-errorcodes.asn CAP-errortypes.asn CAP-operationcodes.asn CAP-GPRS-ReferenceNumber.asn CAP-gsmSCF-gsmSRF-ops-args.asn CAP-gsmSSF-gsmSCF-ops-args.asn CAP-gprsSSF-gsmSCF-ops-args.asn CAP-SMS-ops-args.asn CAP-U-ABORT-Data.asn CamelV2diff.asn ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn */
5 
6 /* Input file: packet-camel-template.h */
7 
8 #line 1 "./asn1/camel/packet-camel-template.h"
9 /* packet-camel-template.h
10  * Routines for Camel
11  * Copyright 2004, Tim Endean <endeant@hotmail.com>
12  * Copyright 2005, Olivier Jacques <olivier.jacques@hp.com>
13  * Built from the gsm-map dissector Copyright 2004, Anders Broman <anders.broman@ericsson.com>
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * SPDX-License-Identifier: GPL-2.0-or-later
20  * References: ETSI 300 374
21  */
22 /*
23  * Indentation logic: this file is indented with 2 spaces indentation.
24  * there are no tabs.
25  */
26 
27 
28 #ifndef PACKET_CAMEL_H
29 #define PACKET_CAMEL_H
30 
31 #include "ws_symbol_export.h"
32 
33 void proto_reg_handoff_camel(void);
34 void proto_register_camel(void);
35 
36 /* Defines for the camel taps */
37 #define camel_MAX_NUM_OPR_CODES 256
38 
39 WS_DLL_PUBLIC const value_string camel_opr_code_strings[];
40 /* #include "packet-camel-exp.h"*/
41 
44 #define NB_CAMELSRT_CATEGORY 9+1
45 /* for example TC_BEGIN with InitalDP, and TC_CONT with RequestReportBCSMEvent
46  is a category, we want to measure the delay between the two messages */
47 
48 #define CAMELSRT_SESSION 1
49 
50 #define CAMELSRT_VOICE_INITIALDP 2
51 #define CAMELSRT_VOICE_ACR1 3
52 #define CAMELSRT_VOICE_ACR2 4
53 #define CAMELSRT_VOICE_ACR3 5
54 #define CAMELSRT_VOICE_DISC 6
55 
56 #define CAMELSRT_GPRS_INITIALDP 7
57 #define CAMELSRT_GPRS_REPORT 8
58 
59 #define CAMELSRT_SMS_INITIALDP 9
60 
61 WS_DLL_PUBLIC const value_string camelSRTtype_naming[];
62 
67 struct camelsrt_category_t {
68  guint32 req_num;
69  guint32 rsp_num;
71  gboolean responded;
72 };
73 
79 struct camelsrt_call_t {
80  guint32 session_id;
81  struct tcaphash_context_t * tcap_context;
82  struct camelsrt_category_t category[NB_CAMELSRT_CATEGORY];
83 };
84 
85 
90  guint32 SessionIdKey;
91 };
92 
98 struct camelsrt_msginfo_t {
99  gboolean request_available;
100  gboolean is_duplicate;
101  gboolean is_delta_time;
103  nstime_t delta_time;
104 };
105 
108 struct camelsrt_info_t {
109  guint32 tcap_session_id;
110  void * tcap_context;
111  guint8 opcode;
112  guint8 bool_msginfo[NB_CAMELSRT_CATEGORY];
113  struct camelsrt_msginfo_t msginfo[NB_CAMELSRT_CATEGORY];
114 };
115 
120 struct camelsrt_info_t * camelsrt_razinfo(void);
121 
129  packet_info * pinfo _U_,
130  proto_tree *tree,
131  struct camelsrt_info_t * p_camel_info);
132 
133 WS_DLL_PUBLIC gboolean gcamel_StatSRT;
134 
135 #endif /* PACKET_camel_H */
Definition: packet-camel-template.h:71
gboolean responded
Definition: packet-camel-template.h:63
Definition: packet_info.h:44
struct camelsrt_info_t * camelsrt_razinfo(void)
Definition: packet-camel-template.c:1029
void camelsrt_call_matching(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, struct camelsrt_info_t *p_camel_info)
Definition: tvbuff-int.h:35
Definition: nstime.h:27
guint32 req_num
Definition: packet-camel-template.h:60
nstime_t req_time
Definition: packet-camel-template.h:62
Definition: packet-camel-template.h:81
Definition: packet-camel-template.h:59
Definition: packet-tcap-template.h:67
Definition: packet-camel-template.h:90
Definition: packet-camel-template.h:100
#define NB_CAMELSRT_CATEGORY
Definition: packet-camel.h:44
Definition: value_string.h:24
Definition: proto.h:759
guint32 rsp_num
Definition: packet-camel-template.h:61