Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-skinny.h
1 /* Do not modify this file. Changes will be overwritten */
2 /* Generated Automatically */
3 /* packet-skinny.h */
4
5 /* packet-skinny.h
6 * Dissector for the Skinny Client Control Protocol
7 * (The "D-Channel"-Protocol for Cisco Systems' IP-Phones)
8 *
9 * Author: Diederik de Groot <ddegroot@user.sf.net>, Copyright 2014
10 * Rewritten to support newer skinny protocolversions (V0-V22)
11 * Based on previous versions/contributions:
12 * - Joerg Mayer <jmayer@loplof.de>, Copyright 2001
13 * - Paul E. Erkkila (pee@erkkila.org) - fleshed out the decode
14 * skeleton to report values for most message/message fields.
15 * Much help from Guy Harris on figuring out the wireshark api.
16 * - packet-aim.c by Ralf Hoelzer <ralf@well.com>, Copyright 2000
17 * - Wireshark - Network traffic analyzer,
18 * By Gerald Combs <gerald@wireshark.org>, Copyright 1998
19 *
20 * SPDX-License-Identifier: GPL-2.0-or-later
21 */
22
23 /*
24 * Generated Automatically Using (from wireshark base directory):
25 * cog.py -D xmlfile=tools/SkinnyProtocolOptimized.xml -d -c -o epan/dissectors/packet-skinny.h epan/dissectors/packet-skinny.h.in
26 */
27
28 #include <epan/wmem/wmem.h>
29
30 /* request response tracking */
31 typedef struct _skinny_req_resp_t {
32 guint32 request_frame;
33 guint32 response_frame;
34 nstime_t request_time;
35 } skinny_req_resp_t;
36
37 /* begin conversaton info*/
38 typedef enum _skinny_message_type_t {
39 SKINNY_MSGTYPE_EVENT = 0,
40 SKINNY_MSGTYPE_REQUEST = 1,
41 SKINNY_MSGTYPE_RESPONSE = 2,
42 } skinny_message_type_t;
43
44 typedef struct _skinny_conv_info_t {
45 skinny_message_type_t mtype;
46 wmem_map_t * pending_req_resp;
47 wmem_map_t * requests;
48 wmem_map_t * responses;
49 gint32 lineId;
50 //guint32 callId;
51 //guint32 passThruId;
52 //guint32 transactionId;
53 //guint32 callState;
54 } skinny_conv_info_t;
55 /* end conversation info */
56
57 /* Containers for tapping relevant data */
58 /* WIP: will be (partially) replaced in favor of conversionation, dependents: ui/voip_calls.c */
59 typedef struct _skinny_info_t
60 {
61 guint32 messId;
62 guint32 maxProtocolVersion;
63 gint32 lineId;
64 guint32 callId;
65 guint32 passThroughPartyId;
66 const gchar * messageName;
67 guint32 callState;
68 gboolean hasCallInfo;
69 gchar * callingParty;
70 gchar * calledParty;
71 gint32 mediaReceptionStatus;
72 gint32 mediaTransmissionStatus;
73 gint32 multimediaReceptionStatus;
74 gint32 multimediaTransmissionStatus;
75 gint32 multicastReceptionStatus;
76 //skinny_conv_info_t * skinny_conv;
77 } skinny_info_t;
78
79 /*
80 * Editor modelines - http://www.wireshark.org/tools/modelines.html
81 *
82 * Local variables:
83 * c-basic-offset: 2
84 * tab-width: 8
85 * indent-tabs-mode: nil
86 * End:
87 *
88 * vi: set shiftwidth=2 tabstop=8 expandtab:
89 * :indentSize=2:tabSize=8:noTabs=true:
90 */
_wmem_map_t
Definition: wmem_map.c:44
_skinny_req_resp_t
Definition: packet-skinny.h:31
nstime_t
Definition: nstime.h:27
_skinny_conv_info_t
Definition: packet-skinny.h:44
_skinny_info_t
Definition: packet-skinny.h:59