forked from osmocom/wireshark
![Anders Broman](/assets/img/avatar_default.png)
Changes: o Implemented CRC and SHA-1 (sort operations are still missing) o After state acccess, the execution start is not necessarily the beginning of the bytecode; start IP is now a new parameter to decompress_sigcomp_message() o Removed some hard-coded assumptions about bytecode starting at offset 128 svn path=/trunk/; revision=15531
50 lines
1.8 KiB
C
50 lines
1.8 KiB
C
/* udvm.h
|
|
* Routines making up the Univerasl Decompressor Virtual Machine (UDVM) used for
|
|
* Signaling Compression (SigComp) dissection.
|
|
* Copyright 2004, Anders Broman <anders.broman@ericsson.com>
|
|
*
|
|
* $Id$
|
|
*
|
|
* Ethereal - Network traffic analyzer
|
|
* By Gerald Combs <gerald@ethereal.com>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* 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.
|
|
* References:
|
|
* http://www.ietf.org/rfc/rfc3320.txt?number=3320
|
|
* http://www.ietf.org/rfc/rfc3321.txt?number=3321
|
|
* Useful links :
|
|
* http://www.ietf.org/internet-drafts/draft-ietf-rohc-sigcomp-impl-guide-02.txt
|
|
* http://www.ietf.org/internet-drafts/draft-ietf-rohc-sigcomp-sip-01.txt
|
|
*/
|
|
|
|
#ifndef SIGCOMP_UDVM_H
|
|
#define SIGCOMP_UDVM_H
|
|
|
|
#define UDVM_MEMORY_SIZE 65536
|
|
|
|
extern tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo,
|
|
proto_tree *tree, gint destination,
|
|
gint print_flags, gint hf_id, gint header_len,
|
|
gint byte_code_state_len, gint byte_code_id_len,
|
|
gint udvm_start_ip);
|
|
|
|
|
|
|
|
/* example: extern const value_string q931_cause_location_vals[]; */
|
|
#endif
|
|
/* SIGCOMP_UDVM_H */
|
|
|