![Guy Harris](/assets/img/avatar_default.png)
dissector - including the ONC RPC-over-TCP record marking code, which is also used by NDMP. That means that the NDMP dissector can, like the ONC RPC dissector, put into the Info column items for all the NDMP messages dissected for a frame; make it do so. svn path=/trunk/; revision=7516
44 lines
1.6 KiB
C
44 lines
1.6 KiB
C
/* rpc_defrag.h
|
|
* Declarations for RPC defragmentation
|
|
*
|
|
* $Id: rpc_defrag.h,v 1.5 2003/04/21 08:13:18 guy Exp $
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef __RPC_DEFRAG_H__
|
|
#define __RPC_DEFRAG_H__
|
|
|
|
/*
|
|
* RPC-over-TCP fragmentation.
|
|
*/
|
|
#define RPC_RM_LASTFRAG 0x80000000L
|
|
#define RPC_RM_FRAGLEN 0x7fffffffL
|
|
|
|
typedef gboolean (*rec_dissector_t)(tvbuff_t *, packet_info *, proto_tree *,
|
|
tvbuff_t *, fragment_data *, gboolean, guint32, gboolean);
|
|
|
|
extern void show_rpc_fraginfo(tvbuff_t *tvb, tvbuff_t *frag_tvb,
|
|
proto_tree *tree, guint32 rpc_rm, fragment_data *ipfd_head, packet_info *pinfo);
|
|
extern int dissect_rpc_fragment(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
|
proto_tree *tree, rec_dissector_t dissector, gboolean is_heur,
|
|
int proto, int ett, gboolean defragment, gboolean first_pdu);
|
|
|
|
#endif /* __RPC_DEFRAG_H__ */
|