forked from osmocom/wireshark
7749263be6
Source Fix: Trailing Whitespace (Reported by Graham Bloice). Dissection Fix: ProtocolVer needed to be split up into two fields to display the protocol version correct during device registration Segfault Fix: Null Pointer Check required after returning from tvb_memdup, before calling strlen (Reported by Evan Huus) Fix: Whitespace (again) Bug: 10409 Change-Id: Ib253ea843363792f678f2e724359f83f12ebfadc Reviewed-on: https://code.wireshark.org/review/3844 Reviewed-by: Evan Huus <eapache@gmail.com>
69 lines
2.4 KiB
C
69 lines
2.4 KiB
C
/* Do not modify this file. Changes will be overwritten */
|
|
/* Generated Automatically */
|
|
/* packet-skinny.h */
|
|
|
|
/* packet-skinny.h
|
|
* Dissector for the Skinny Client Control Protocol
|
|
* (The "D-Channel"-Protocol for Cisco Systems' IP-Phones)
|
|
*
|
|
* Author: Diederik de Groot <ddegroot@user.sf.net>, Copyright 2014
|
|
* Rewritten to support newer skinny protocolversions (V0-V22)
|
|
* Based on previous versions/contributions:
|
|
* - Joerg Mayer <jmayer@loplof.de>, Copyright 2001
|
|
* - Paul E. Erkkila (pee@erkkila.org) - fleshed out the decode
|
|
* skeleton to report values for most message/message fields.
|
|
* Much help from Guy Harris on figuring out the wireshark api.
|
|
* - packet-aim.c by Ralf Hoelzer <ralf@well.com>, Copyright 2000
|
|
* - Wireshark - Network traffic analyzer,
|
|
* By Gerald Combs <gerald@wireshark.org>, Copyright 1998
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
/* [[[cog
|
|
#
|
|
# Using Cog.py Inplace Code Generator
|
|
#
|
|
# Dependencies:
|
|
# - python
|
|
# - cog.py: http://nedbatchelder.com/code/cog/
|
|
# - python.xml
|
|
# - python.xml.sax
|
|
#
|
|
cog.out('/*\n')
|
|
cog.out(' * Generated Automatically Using (from wireshark base directory):\n')
|
|
cog.out(' * cog.py -D xmlfile=tools/SkinnyProtocolOptimized.xml -d -c -o epan/dissectors/packet-skinny.c epan/dissectors/packet-skinny.c.in\n')
|
|
cog.out(' */\n')
|
|
/*]]]*/
|
|
/*[[[end]]]*/
|
|
|
|
/* Container for tapping relevant data */
|
|
typedef struct _skinny_info_t
|
|
{
|
|
guint32 messId;
|
|
guint32 maxProtocolVersion;
|
|
guint32 lineId;
|
|
guint32 callId;
|
|
guint32 passThruId;
|
|
const gchar *messageName;
|
|
guint32 callState;
|
|
gchar *callingParty;
|
|
gchar *calledParty;
|
|
gboolean hasCallInfo;
|
|
guint openreceiveStatus;
|
|
guint startmediatransmisionStatus;
|
|
} skinny_info_t;
|
|
|