From Olivier Biot:
* Use function reference arrays for header parse function lookup (avoids switch()) * Use macros for the common parts of the header parse functions * Use macros for identical header dissection functions * Implement many missing header parse functions * Automatic header parse error notification * Some minor edits * Add HTTP equivalents to WSP status codes svn path=/trunk/; revision=8865
This commit is contained in:
parent
fe76df1f83
commit
12e8688326
1
AUTHORS
1
AUTHORS
|
@ -729,6 +729,7 @@ Inoue <inoue[AT]ainet.or.jp> {
|
|||
|
||||
Olivier Biot <Olivier.Biot[AT]siemens.com> {
|
||||
Various WTP fixes and enhancements
|
||||
Rewrite of much of WSP
|
||||
WBXML/WMLC support
|
||||
README.win32 updates for Cygwin
|
||||
UDH dissection in SMPP
|
||||
|
|
6273
packet-wsp.c
6273
packet-wsp.c
File diff suppressed because it is too large
Load Diff
16
packet-wsp.h
16
packet-wsp.h
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* Declarations for disassembly of WSP component of WAP traffic.
|
||||
*
|
||||
* $Id: packet-wsp.h,v 1.8 2003/09/02 22:47:58 guy Exp $
|
||||
* $Id: packet-wsp.h,v 1.9 2003/11/03 10:16:00 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -30,16 +30,6 @@
|
|||
#ifndef __PACKET_WSP_H__
|
||||
#define __PACKET_WSP_H__
|
||||
|
||||
/* Implementation Status:
|
||||
*
|
||||
* Most PDUs decoded.
|
||||
* Some headers decoded.
|
||||
*
|
||||
* TODO:
|
||||
* Capability encoding
|
||||
* Remaining headers (perhaps a place holder for those yet to be implemented)
|
||||
* Remaining PDUs
|
||||
*/
|
||||
|
||||
/* These reason codes are used in the WTP dissector as the WTP user is
|
||||
* assumed to be WSP */
|
||||
|
@ -53,7 +43,9 @@ extern const value_string vals_status[];
|
|||
* exported functionality
|
||||
*/
|
||||
void add_post_data (proto_tree *, tvbuff_t *, guint, const char *);
|
||||
guint add_content_type (proto_tree *, tvbuff_t *, guint, guint *, const char **);
|
||||
guint32 add_content_type (proto_tree *tree, tvbuff_t *tvb,
|
||||
guint32 val_start,
|
||||
guint32 *well_known_content, const char **textual_content);
|
||||
|
||||
/* statistics */
|
||||
typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */
|
||||
|
|
Loading…
Reference in New Issue