Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-camel-template.h
Go to the documentation of this file.
1 /* packet-camel-template.h
2  * Routines for Camel
3  * Copyright 2004, Tim Endean <endeant@hotmail.com>
4  * Copyright 2005, Olivier Jacques <olivier.jacques@hp.com>
5  * Built from the gsm-map dissector Copyright 2004, Anders Broman <anders.broman@ericsson.com>
6  *
7  * Wireshark - Network traffic analyzer
8  * By Gerald Combs <gerald@wireshark.org>
9  * Copyright 1998 Gerald Combs
10  *
11  * SPDX-License-Identifier: GPL-2.0-or-later
12  * References: ETSI 300 374
13  */
14 /*
15  * Indentation logic: this file is indented with 2 spaces indentation.
16  * there are no tabs.
17  */
18 
19 
20 #ifndef PACKET_CAMEL_H
21 #define PACKET_CAMEL_H
22 
23 #include "ws_symbol_export.h"
24 
25 void proto_reg_handoff_camel(void);
26 void proto_register_camel(void);
27 
28 /* Defines for the camel taps */
29 #define camel_MAX_NUM_OPR_CODES 256
30 
31 WS_DLL_PUBLIC const value_string camel_opr_code_strings[];
32 /* #include "packet-camel-exp.h"*/
33 
36 #define NB_CAMELSRT_CATEGORY 9+1
37 /* for example TC_BEGIN with InitalDP, and TC_CONT with RequestReportBCSMEvent
38  is a category, we want to measure the delay between the two messages */
39 
40 #define CAMELSRT_SESSION 1
41 
42 #define CAMELSRT_VOICE_INITIALDP 2
43 #define CAMELSRT_VOICE_ACR1 3
44 #define CAMELSRT_VOICE_ACR2 4
45 #define CAMELSRT_VOICE_ACR3 5
46 #define CAMELSRT_VOICE_DISC 6
47 
48 #define CAMELSRT_GPRS_INITIALDP 7
49 #define CAMELSRT_GPRS_REPORT 8
50 
51 #define CAMELSRT_SMS_INITIALDP 9
52 
53 WS_DLL_PUBLIC const value_string camelSRTtype_naming[];
54 
60  guint32 req_num;
61  guint32 rsp_num;
63  gboolean responded;
64 };
65 
72  guint32 session_id;
73  struct tcaphash_context_t * tcap_context;
75 };
76 
77 
82  guint32 SessionIdKey;
83 };
84 
91  gboolean request_available;
92  gboolean is_duplicate;
93  gboolean is_delta_time;
95  nstime_t delta_time;
96 };
97 
101  guint32 tcap_session_id;
102  void * tcap_context;
103  guint8 opcode;
104  guint8 bool_msginfo[NB_CAMELSRT_CATEGORY];
106 };
107 
112 struct camelsrt_info_t * camelsrt_razinfo(void);
113 
121  packet_info * pinfo _U_,
122  proto_tree *tree,
123  struct camelsrt_info_t * p_camel_info);
124 
125 WS_DLL_PUBLIC gboolean gcamel_StatSRT;
126 
127 #endif /* PACKET_camel_H */
Definition: packet-camel-template.h:71
guint8 opcode
Definition: packet-camel-template.h:103
gboolean responded
Definition: packet-camel-template.h:63
Definition: packet_info.h:44
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
#define NB_CAMELSRT_CATEGORY
Definition: packet-camel-template.h:36
struct camelsrt_info_t * camelsrt_razinfo(void)
Definition: packet-camel-template.c:1029
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
guint32 session_id
Definition: packet-camel-template.h:72
Definition: value_string.h:24
Definition: proto.h:759
guint32 rsp_num
Definition: packet-camel-template.h:61