forked from osmocom/wireshark
add some of the DCE/RPC functions to the plugin API
svn path=/trunk/; revision=13010
This commit is contained in:
parent
949338af56
commit
80d0151d6c
|
@ -75,6 +75,7 @@
|
|||
#include <epan/xdlc.h>
|
||||
#include <epan/crc16.h>
|
||||
#include "report_err.h"
|
||||
#include <epan/dissectors/packet-dcerpc.h>
|
||||
#include "plugins/plugin_table.h"
|
||||
static plugin_address_table_t patable = {
|
||||
/* file generated by plugin_gen.py */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* This file is generated by ./plugin_gen.py, do not edit. */
|
||||
/* This file is generated by plugin_gen.py, do not edit. */
|
||||
|
||||
check_col, col_clear, col_add_fstr, col_append_fstr, col_prepend_fstr,
|
||||
col_add_str, col_append_str, col_set_str, register_init_routine,
|
||||
|
@ -91,4 +91,6 @@ proto_tree_add_float_format, tvb_get_ntohieee_float, tvb_get_ntohieee_double,
|
|||
tvb_get_letohieee_float, tvb_get_letohieee_double, proto_tree_add_debug_text,
|
||||
rtp_add_address, rtcp_add_address, register_tap_listener, get_datafile_dir,
|
||||
proto_registrar_get_abbrev, proto_registrar_get_byname, fvalue_get_floating,
|
||||
fvalue_to_string_repr, fvalue_get_integer,
|
||||
fvalue_to_string_repr, fvalue_get_integer, dissect_dcerpc_uint8,
|
||||
dissect_dcerpc_uint16, dissect_dcerpc_uint32, dissect_dcerpc_uuid_t,
|
||||
dcerpc_init_uuid, dissect_ndr_uint32,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* This file is generated by ./plugin_gen.py, do not edit. */
|
||||
/* This file is generated by plugin_gen.py, do not edit. */
|
||||
|
||||
p_check_col = pat->p_check_col;
|
||||
p_col_clear = pat->p_col_clear;
|
||||
|
@ -311,3 +311,9 @@ p_proto_registrar_get_byname = pat->p_proto_registrar_get_byname;
|
|||
p_fvalue_get_floating = pat->p_fvalue_get_floating;
|
||||
p_fvalue_to_string_repr = pat->p_fvalue_to_string_repr;
|
||||
p_fvalue_get_integer = pat->p_fvalue_get_integer;
|
||||
p_dissect_dcerpc_uint8 = pat->p_dissect_dcerpc_uint8;
|
||||
p_dissect_dcerpc_uint16 = pat->p_dissect_dcerpc_uint16;
|
||||
p_dissect_dcerpc_uint32 = pat->p_dissect_dcerpc_uint32;
|
||||
p_dissect_dcerpc_uuid_t = pat->p_dissect_dcerpc_uuid_t;
|
||||
p_dcerpc_init_uuid = pat->p_dcerpc_init_uuid;
|
||||
p_dissect_ndr_uint32 = pat->p_dissect_ndr_uint32;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* This file is generated by ./plugin_gen.py, do not edit. */
|
||||
/* This file is generated by plugin_gen.py, do not edit. */
|
||||
|
||||
#define check_col (*p_check_col)
|
||||
#define col_clear (*p_col_clear)
|
||||
|
@ -311,3 +311,9 @@
|
|||
#define fvalue_get_floating (*p_fvalue_get_floating)
|
||||
#define fvalue_to_string_repr (*p_fvalue_to_string_repr)
|
||||
#define fvalue_get_integer (*p_fvalue_get_integer)
|
||||
#define dissect_dcerpc_uint8 (*p_dissect_dcerpc_uint8)
|
||||
#define dissect_dcerpc_uint16 (*p_dissect_dcerpc_uint16)
|
||||
#define dissect_dcerpc_uint32 (*p_dissect_dcerpc_uint32)
|
||||
#define dissect_dcerpc_uuid_t (*p_dissect_dcerpc_uuid_t)
|
||||
#define dcerpc_init_uuid (*p_dcerpc_init_uuid)
|
||||
#define dissect_ndr_uint32 (*p_dissect_ndr_uint32)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* This file is generated by ./plugin_gen.py, do not edit. */
|
||||
/* This file is generated by plugin_gen.py, do not edit. */
|
||||
|
||||
addr_check_col p_check_col;
|
||||
addr_col_clear p_col_clear;
|
||||
|
@ -311,3 +311,9 @@ addr_proto_registrar_get_byname p_proto_registrar_get_byname;
|
|||
addr_fvalue_get_floating p_fvalue_get_floating;
|
||||
addr_fvalue_to_string_repr p_fvalue_to_string_repr;
|
||||
addr_fvalue_get_integer p_fvalue_get_integer;
|
||||
addr_dissect_dcerpc_uint8 p_dissect_dcerpc_uint8;
|
||||
addr_dissect_dcerpc_uint16 p_dissect_dcerpc_uint16;
|
||||
addr_dissect_dcerpc_uint32 p_dissect_dcerpc_uint32;
|
||||
addr_dissect_dcerpc_uuid_t p_dissect_dcerpc_uuid_t;
|
||||
addr_dcerpc_init_uuid p_dcerpc_init_uuid;
|
||||
addr_dissect_ndr_uint32 p_dissect_ndr_uint32;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* This file is generated by ./plugin_gen.py, do not edit. */
|
||||
/* This file is generated by plugin_gen.py, do not edit. */
|
||||
|
||||
typedef gint (*addr_check_col) (column_info *, gint);
|
||||
typedef void (*addr_col_clear) (column_info *, gint);
|
||||
|
@ -311,3 +311,9 @@ typedef header_field_info *(*addr_proto_registrar_get_byname) (const char *);
|
|||
typedef double (*addr_fvalue_get_floating) (fvalue_t *);
|
||||
typedef char *(*addr_fvalue_to_string_repr) (fvalue_t *, ftrepr_t, char *);
|
||||
typedef guint32 (*addr_fvalue_get_integer) (fvalue_t *);
|
||||
typedef int (*addr_dissect_dcerpc_uint8) (tvbuff_t *, gint, packet_info *, proto_tree *, guint8 *, int, guint8 *);
|
||||
typedef int (*addr_dissect_dcerpc_uint16) (tvbuff_t *, gint, packet_info *, proto_tree *, guint8 *, int, guint16 *);
|
||||
typedef int (*addr_dissect_dcerpc_uint32) (tvbuff_t *, gint, packet_info *, proto_tree *, guint8 *, int, guint32 *);
|
||||
typedef int (*addr_dissect_dcerpc_uuid_t) (tvbuff_t *, gint, packet_info *, proto_tree *, char *, int, e_uuid_t *);
|
||||
typedef void (*addr_dcerpc_init_uuid) (int, int, e_uuid_t *, guint16, dcerpc_sub_dissector *, int);
|
||||
typedef int (*addr_dissect_ndr_uint32) (tvbuff_t *, gint, packet_info *, proto_tree *, guint8 *, int, guint32 *);
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
#include <epan/crc16.h>
|
||||
#include "epan/except.h"
|
||||
#include "epan/filesystem.h"
|
||||
#include "epan/dissectors/packet-dcerpc.h"
|
||||
|
||||
#endif /* PLUGINS_NEED_ADDRESS_TABLE */
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <epan/except.h>
|
||||
#include <epan/prefs.h>
|
||||
#include "reassemble.h"
|
||||
#include <epan/dissectors/packet-dcerpc.h>
|
||||
#include <epan/dissectors/packet-giop.h>
|
||||
#include <epan/dissectors/packet-per.h>
|
||||
#include <epan/dissectors/packet-ber.h>
|
||||
|
@ -507,3 +508,20 @@ header_field_info* proto_registrar_get_byname(const char *field_name);
|
|||
double fvalue_get_floating(fvalue_t *fv);
|
||||
char *fvalue_to_string_repr(fvalue_t *fv, ftrepr_t rtype, char *buf);
|
||||
guint32 fvalue_get_integer(fvalue_t *fv);
|
||||
|
||||
int dissect_dcerpc_uint8 (tvbuff_t *tvb, gint offset, packet_info *pinfo,
|
||||
proto_tree *tree, guint8 *drep,
|
||||
int hfindex, guint8 *pdata);
|
||||
int dissect_dcerpc_uint16 (tvbuff_t *tvb, gint offset, packet_info *pinfo,
|
||||
proto_tree *tree, guint8 *drep,
|
||||
int hfindex, guint16 *pdata);
|
||||
int dissect_dcerpc_uint32 (tvbuff_t *tvb, gint offset, packet_info *pinfo,
|
||||
proto_tree *tree, guint8 *drep,
|
||||
int hfindex, guint32 *pdata);
|
||||
int dissect_dcerpc_uuid_t (tvbuff_t *tvb, gint offset, packet_info *pinfo,
|
||||
proto_tree *tree, char *drep,
|
||||
int hfindex, e_uuid_t *pdata);
|
||||
void dcerpc_init_uuid (int proto, int ett, e_uuid_t *uuid, guint16 ver, dcerpc_sub_dissector *procs, int opnum_hf);
|
||||
int dissect_ndr_uint32 (tvbuff_t *tvb, gint offset, packet_info *pinfo,
|
||||
proto_tree *tree, guint8 *drep,
|
||||
int hfindex, guint32 *pdata);
|
||||
|
|
Loading…
Reference in New Issue