diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-20 07:47:42 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-20 07:47:42 +0000 |
commit | 9069bca01e42bc9c4fee156ff2f2d47650c2148a (patch) | |
tree | b48298bf69c26818cad94b1fb2f30d2ed57057d5 /smb.h | |
parent | 6af3235c9329cc67844655d1e403563b82348a4c (diff) |
Dissect the rest of the named pipe protocol. Export from "packet-smb.c"
routines used for that.
Rename some named pipe functions as per the SNIA CIFS spec.
Label the "number of files moved" field of the reply to a Move SMB as
such, rather than as an unspecified "Count".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4229 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'smb.h')
-rw-r--r-- | smb.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -2,7 +2,7 @@ * Defines for smb packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: smb.h,v 1.24 2001/11/20 06:24:20 guy Exp $ + * $Id: smb.h,v 1.25 2001/11/20 07:47:42 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -671,9 +671,21 @@ typedef struct smb_info { } smb_info_t; /* + * Show file data for a read or write. + */ +extern int dissect_file_data(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree, int offset, guint16 bc, guint16 datalen); + +/* * Add a FID to the protocol tree and the Info column. */ extern void add_fid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int len, guint16 fid); +/* + * Dissect named pipe state information. + */ +extern int dissect_ipc_state(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *parent_tree, int offset, gboolean setstate); + #endif |