}
static int
-dissect_empty(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
+dissect_empty(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
{
guint8 wc;
guint16 bc;
}
static int
-dissect_rename_file_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
+dissect_rename_file_response(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
{
guint8 wc;
guint16 bc;
}
static int
-dissect_move_copy_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
+dissect_move_copy_response(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
{
int fn_len;
const char *fn;
static int
dissect_file_data_dcerpc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
- proto_tree *top_tree, int offset, guint16 bc, guint16 datalen, guint16 fid, smb_info_t *smb_priv)
+ proto_tree *top_tree, int offset, guint16 bc, guint16 datalen, guint16 fid)
{
int tvblen;
tvbuff_t *dcerpc_tvb;
}
tvblen = tvb_length_remaining(tvb, offset);
dcerpc_tvb = tvb_new_subset(tvb, offset, tvblen, bc);
- dissect_pipe_dcerpc(dcerpc_tvb, pinfo, top_tree, tree, fid, smb_priv);
+ dissect_pipe_dcerpc(dcerpc_tvb, pinfo, top_tree, tree, fid);
if (bc > tvblen)
offset += tvblen;
else
if ( (si->sip && (si->sip->flags & SMB_SIF_TID_IS_IPC)) && (ofs == 0) ) {
/* dcerpc call */
return dissect_file_data_dcerpc(tvb, pinfo, tree,
- top_tree, offset, bc, datalen, fid, si);
+ top_tree, offset, bc, datalen, fid);
} else {
/* ordinary file data */
return dissect_file_data(tvb, tree, offset, bc, datalen);
}
static int
-dissect_search_resume_key(tvbuff_t *tvb, packet_info *pinfo,
+dissect_search_resume_key(tvbuff_t *tvb, packet_info *pinfo _U_,
proto_tree *parent_tree, int offset, guint16 *bcp, gboolean *trunc,
gboolean has_find_id, smb_info_t *si)
{
static int
dissect_search_find_request(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si,
+ proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si,
gboolean has_find_id)
{
int fn_len;
}
static int
-dissect_nt_trans_setup_response(tvbuff_t *tvb, packet_info *pinfo,
+dissect_nt_trans_setup_response(tvbuff_t *tvb, packet_info *pinfo _U_,
int offset, proto_tree *parent_tree,
int len, nt_trans_data *ntd _U_, smb_info_t *si)
{
};
static int
-dissect_open_print_file_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
+dissect_open_print_file_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, proto_tree *smb_tree _U_, smb_info_t *si)
{
int fn_len;
const char *fn;
}
static int
-dissect_print_queue_element(tvbuff_t *tvb, packet_info *pinfo,
+dissect_print_queue_element(tvbuff_t *tvb, packet_info *pinfo _U_,
proto_tree *parent_tree, int offset, guint16 *bcp, gboolean *trunc, smb_info_t *si)
{
proto_item *item = NULL;
/* dfs inconsistency data (4.4.2)
*/
static int
-dissect_dfs_inconsistency_data(tvbuff_t *tvb, packet_info *pinfo,
+dissect_dfs_inconsistency_data(tvbuff_t *tvb, packet_info *pinfo _U_,
proto_tree *tree, int offset, guint16 *bcp, smb_info_t *si)
{
int fn_len;
/* get dfs referral data (4.4.1)
*/
int
-dissect_get_dfs_referral_data(tvbuff_t *tvb, packet_info *pinfo,
+dissect_get_dfs_referral_data(tvbuff_t *tvb, packet_info *pinfo _U_,
proto_tree *tree, int offset, guint16 *bcp, gboolean unicode)
{
guint16 numref;
as described in 4.2.16.3
*/
static int
-dissect_4_2_16_3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+dissect_4_2_16_3(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
int offset, guint16 *bcp, gboolean *trunc, smb_info_t *si)
{
int fn_len;
rather than the long name
*/
int
-dissect_qfi_SMB_FILE_NAME_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+dissect_qfi_SMB_FILE_NAME_INFO(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
int offset, guint16 *bcp, gboolean *trunc, gboolean unicode)
{
int fn_len;
/* 4.2.16.13 - SMB_QUERY_FILE_UNIX_LINK */
static int
-dissect_4_2_16_13(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+dissect_4_2_16_13(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
int offset, guint16 *bcp, gboolean *trunc, smb_info_t *si)
{
const char *fn;
};
static int
-dissect_rename_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+dissect_rename_info(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
int offset, guint16 *bcp, gboolean *trunc, smb_info_t *si)
{
const char *fn;
}
static int
-dissect_disposition_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+dissect_disposition_info(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
int offset, guint16 *bcp, gboolean *trunc, smb_info_t *si)
{
#if 0
}
int
-dissect_sfi_SMB_FILE_PIPE_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+dissect_sfi_SMB_FILE_PIPE_INFO(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
int offset, guint16 *bcp, gboolean *trunc)
{
/* pipe info flag */