Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-skinny.h.in
blobb862a6065346ba201b3cd429caef39bdba228130
1 /* Do not modify this file. Changes will be overwritten */
2 /* Generated Automatically */
3 /* packet-skinny.h */
5 /* packet-skinny.h
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
23 /* [[[cog
25 # Using Cog.py Inplace Code Generator
27 # Dependencies:
28 # - python2.x
29 # - cog.py: (pip install cogapp / http://nedbatchelder.com/code/cog/)
30 # - python.xml
31 # - python.xml.sax
33 cog.out('/*\n')
34 cog.out(' * Generated automatically Using (from wireshark base directory):\n')
35 cog.out(' * cog.py -D xmlfile=tools/SkinnyProtocolOptimized.xml -d -c -o epan/dissectors/packet-skinny.h epan/dissectors/packet-skinny.h.in\n')
36 cog.out(' */\n')
37 /*]]]*/
38 /*[[[end]]]*/
40 #include <epan/wmem_scopes.h>
42 /* request response tracking */
43 typedef struct _skinny_req_resp_t {
44 uint32_t request_frame;
45 uint32_t response_frame;
46 nstime_t request_time;
47 } skinny_req_resp_t;
49 /* begin conversation info*/
50 typedef enum _skinny_message_type_t {
51 SKINNY_MSGTYPE_EVENT = 0,
52 SKINNY_MSGTYPE_REQUEST = 1,
53 SKINNY_MSGTYPE_RESPONSE = 2,
54 } skinny_message_type_t;
56 typedef struct _skinny_conv_info_t {
57 skinny_message_type_t mtype;
58 wmem_map_t * pending_req_resp;
59 wmem_map_t * requests;
60 wmem_map_t * responses;
61 int32_t lineId;
62 //uint32_t callId;
63 //uint32_t passThruId;
64 //uint32_t transactionId;
65 //uint32_t callState;
66 } skinny_conv_info_t;
67 /* end conversation info */
69 /* Containers for tapping relevant data */
70 /* WIP: will be (partially) replaced in favor of conversation, dependents: ui/voip_calls.c */
71 typedef struct _skinny_info_t
73 uint32_t messId;
74 uint32_t maxProtocolVersion;
75 int32_t lineId;
76 uint32_t callId;
77 uint32_t passThroughPartyId;
78 const char * messageName;
79 uint32_t callState;
80 bool hasCallInfo;
81 char * callingParty;
82 char * calledParty;
83 int32_t mediaReceptionStatus;
84 int32_t mediaTransmissionStatus;
85 int32_t multimediaReceptionStatus;
86 int32_t multimediaTransmissionStatus;
87 int32_t multicastReceptionStatus;
88 //skinny_conv_info_t * skinny_conv;
89 char * additionalInfo;
90 } skinny_info_t;
93 * Editor modelines - https://www.wireshark.org/tools/modelines.html
95 * Local variables:
96 * c-basic-offset: 2
97 * tab-width: 8
98 * indent-tabs-mode: nil
99 * End:
101 * vi: set shiftwidth=2 tabstop=8 expandtab:
102 * :indentSize=2:tabSize=8:noTabs=true: