forked from osmocom/wireshark
![Richard van der Hoff](/assets/img/avatar_default.png)
can see which fields belong to which bit. Also make sure that we can filter on the fields in the rfc2190 dissector by actually parsing them even when tree=NULL. svn path=/trunk/; revision=25046
55 lines
1.8 KiB
C
55 lines
1.8 KiB
C
/* packet-h263.h
|
|
*
|
|
* Common variables for H.263 dissectors
|
|
*
|
|
* Copyright 2003 Niklas ™gren <niklas.ogren@7l.se>
|
|
* Seven Levels Consultants AB
|
|
*
|
|
* Copyright 2008 Richard van der Hoff, MX Telecom
|
|
* <richardv@mxtelecom.com>
|
|
*
|
|
* $Id$
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* Copied structure from packet-h261.c
|
|
*
|
|
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __PACKET_H263_H__
|
|
#define __PACKET_H263_H__
|
|
|
|
/* Source format types */
|
|
#define H263_SRCFORMAT_FORB 0 /* forbidden */
|
|
#define H263_SRCFORMAT_SQCIF 1
|
|
#define H263_SRCFORMAT_QCIF 2
|
|
#define H263_SRCFORMAT_CIF 3
|
|
#define H263_SRCFORMAT_4CIF 4
|
|
#define H263_SRCFORMAT_16CIF 5
|
|
#define H263_PLUSPTYPE 7
|
|
|
|
extern const value_string h263_srcformat_vals[];
|
|
|
|
/* XXX: these ought to be reworked to use the normal call_dissector interface. */
|
|
int dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint length, gboolean is_rfc4626);
|
|
int dissect_h263_group_of_blocks_layer( tvbuff_t *tvb, proto_tree *tree, gint offset, gboolean is_rfc4626);
|
|
|
|
|
|
#endif
|
|
|