diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-20 07:47:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-20 07:47:42 +0000 |
commit | f7496cc67414b6e63571210fd82dc4fd9fd7cef4 (patch) | |
tree | b48298bf69c26818cad94b1fb2f30d2ed57057d5 /smb.h | |
parent | 7cd2bc5659d76ce8975105b2924a6c2ca06cc9ad (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".
svn path=/trunk/; revision=4229
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 |