diff options
author | Uwe Girlich <Uwe.Girlich@philosys.de> | 2002-04-03 13:24:13 +0000 |
---|---|---|
committer | Uwe Girlich <Uwe.Girlich@philosys.de> | 2002-04-03 13:24:13 +0000 |
commit | 2ca7ff7848e7ae3941ccf9db264a78893994fae5 (patch) | |
tree | 6be846e703c823a55cac0a1175540549331dca30 /packet-bootparams.c | |
parent | 78216336d8346a51172ba190f9b8159b4f7c1863 (diff) | |
download | wireshark-2ca7ff7848e7ae3941ccf9db264a78893994fae5.tar.gz |
Removed many senseless pinfo parameters in RPC dissection and the layers above.
svn path=/trunk/; revision=5090
Diffstat (limited to 'packet-bootparams.c')
-rw-r--r-- | packet-bootparams.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/packet-bootparams.c b/packet-bootparams.c index 8eb3495190..1a18b586ac 100644 --- a/packet-bootparams.c +++ b/packet-bootparams.c @@ -1,7 +1,7 @@ /* packet-bootparams.c * Routines for bootparams dissection * - * $Id: packet-bootparams.c,v 1.19 2001/06/18 02:17:45 guy Exp $ + * $Id: packet-bootparams.c,v 1.20 2002/04/03 13:24:12 girlich Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -61,7 +61,7 @@ static const value_string addr_type[] = }; static int -dissect_bp_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hfindex) +dissect_bp_address(tvbuff_t *tvb, int offset, proto_tree *tree, int hfindex) { guint32 type; guint32 ipaddr; @@ -69,7 +69,7 @@ dissect_bp_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr type = tvb_get_ntohl(tvb, offset); - offset = dissect_rpc_uint32(tvb, pinfo, tree, hf_bootparams_addresstype, offset); + offset = dissect_rpc_uint32(tvb, tree, hf_bootparams_addresstype, offset); switch(type){ case 1: @@ -91,49 +91,49 @@ dissect_bp_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr static int -dissect_getfile_call(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_getfile_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { if ( tree ) { - offset = dissect_rpc_string(tvb, pinfo, tree, hf_bootparams_host, offset, NULL); - offset = dissect_rpc_string(tvb, pinfo, tree, hf_bootparams_fileid, offset, NULL); + offset = dissect_rpc_string(tvb, tree, hf_bootparams_host, offset, NULL); + offset = dissect_rpc_string(tvb, tree, hf_bootparams_fileid, offset, NULL); } return offset; } static int -dissect_getfile_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_getfile_reply(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { if ( tree ) { - offset = dissect_rpc_string(tvb, pinfo, tree, hf_bootparams_host, offset, NULL); - offset = dissect_bp_address(tvb, offset, pinfo, tree, hf_bootparams_hostaddr); - offset = dissect_rpc_string(tvb, pinfo, tree, hf_bootparams_filepath, offset, NULL); + offset = dissect_rpc_string(tvb, tree, hf_bootparams_host, offset, NULL); + offset = dissect_bp_address(tvb, offset, tree, hf_bootparams_hostaddr); + offset = dissect_rpc_string(tvb, tree, hf_bootparams_filepath, offset, NULL); } return offset; } static int -dissect_whoami_call(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_whoami_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { if ( tree ) { - offset = dissect_bp_address(tvb, offset, pinfo, tree, hf_bootparams_hostaddr); + offset = dissect_bp_address(tvb, offset, tree, hf_bootparams_hostaddr); } return offset; } static int -dissect_whoami_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_whoami_reply(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { if ( tree ) { - offset = dissect_rpc_string(tvb, pinfo, tree, hf_bootparams_host, offset, NULL); - offset = dissect_rpc_string(tvb, pinfo, tree, hf_bootparams_domain, offset, NULL); - offset = dissect_bp_address(tvb, offset, pinfo, tree, hf_bootparams_routeraddr); + offset = dissect_rpc_string(tvb, tree, hf_bootparams_host, offset, NULL); + offset = dissect_rpc_string(tvb, tree, hf_bootparams_domain, offset, NULL); + offset = dissect_bp_address(tvb, offset, tree, hf_bootparams_routeraddr); } return offset; |