1 /* Do not modify this file. Changes will be overwritten */
2 /* Generated Automatically */
6 * Dissector for the Skinny Client Control Protocol
7 * (The "D-Channel"-Protocol for Cisco Systems' IP-Phones)
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
20 * SPDX-License-Identifier: GPL-2.0-or-later
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
28 #include <epan/wmem_scopes.h>
30 /* request response tracking */
31 typedef struct _skinny_req_resp_t
{
32 uint32_t request_frame
;
33 uint32_t response_frame
;
34 nstime_t request_time
;
37 /* begin conversation 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
;
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
;
51 //uint32_t passThruId;
52 //uint32_t transactionId;
55 /* end conversation info */
57 /* Containers for tapping relevant data */
58 /* WIP: will be (partially) replaced in favor of conversation, dependents: ui/voip_calls.c */
59 typedef struct _skinny_info_t
62 uint32_t maxProtocolVersion
;
65 uint32_t passThroughPartyId
;
66 const char * messageName
;
71 int32_t mediaReceptionStatus
;
72 int32_t mediaTransmissionStatus
;
73 int32_t multimediaReceptionStatus
;
74 int32_t multimediaTransmissionStatus
;
75 int32_t multicastReceptionStatus
;
76 //skinny_conv_info_t * skinny_conv;
77 char * additionalInfo
;
81 * Editor modelines - https://www.wireshark.org/tools/modelines.html
86 * indent-tabs-mode: nil
89 * vi: set shiftwidth=2 tabstop=8 expandtab:
90 * :indentSize=2:tabSize=8:noTabs=true: