Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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 <[email protected]>, Copyright 2014
10 * Rewritten to support newer skinny protocolversions (V0-V22)
11 * Based on previous versions/contributions:
12 * - Joerg Mayer <[email protected]>, Copyright 2001
13 * - Paul E. Erkkila ([email protected]) - 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 <[email protected]>, Copyright 2000
17 * - Wireshark - Network traffic analyzer,
18 * By Gerald Combs <[email protected]>, 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_scopes.h>
29
30/* request response tracking */
31typedef struct _skinny_req_resp_t {
32 uint32_t request_frame;
33 uint32_t response_frame;
34 nstime_t request_time;
36
37/* begin conversation info*/
38typedef 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
44typedef 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 int32_t lineId;
50 //uint32_t callId;
51 //uint32_t passThruId;
52 //uint32_t transactionId;
53 //uint32_t callState;
55/* end conversation info */
56
57/* Containers for tapping relevant data */
58/* WIP: will be (partially) replaced in favor of conversation, dependents: ui/voip_calls.c */
59typedef struct _skinny_info_t
60{
61 uint32_t messId;
62 uint32_t maxProtocolVersion;
63 int32_t lineId;
64 uint32_t callId;
65 uint32_t passThroughPartyId;
66 const char * messageName;
67 uint32_t callState;
68 bool hasCallInfo;
69 char * callingParty;
70 char * calledParty;
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;
79
80/*
81 * Editor modelines - https://www.wireshark.org/tools/modelines.html
82 *
83 * Local variables:
84 * c-basic-offset: 2
85 * tab-width: 8
86 * indent-tabs-mode: nil
87 * End:
88 *
89 * vi: set shiftwidth=2 tabstop=8 expandtab:
90 * :indentSize=2:tabSize=8:noTabs=true:
91 */
Definition packet-skinny.h:44
Definition packet-skinny.h:60
Definition packet-skinny.h:31
Definition wmem_map.c:44
Definition nstime.h:26
Definition packet-cp2179.c:206