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-ypbind.c | |
parent | 78216336d8346a51172ba190f9b8159b4f7c1863 (diff) |
Removed many senseless pinfo parameters in RPC dissection and the layers above.
svn path=/trunk/; revision=5090
Diffstat (limited to 'packet-ypbind.c')
-rw-r--r-- | packet-ypbind.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/packet-ypbind.c b/packet-ypbind.c index 4a41cd798c..c80859f464 100644 --- a/packet-ypbind.c +++ b/packet-ypbind.c @@ -1,7 +1,7 @@ /* packet-ypbind.c * Routines for ypbind dissection * - * $Id: packet-ypbind.c,v 1.10 2002/04/02 01:32:46 guy Exp $ + * $Id: packet-ypbind.c,v 1.11 2002/04/03 13:24:13 girlich Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -51,10 +51,10 @@ static gint ett_ypbind = -1; static int -dissect_ypbind_domain_v2_request(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_ypbind_domain_v2_request(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { /* domain */ - offset = dissect_rpc_string(tvb, pinfo, tree, + offset = dissect_rpc_string(tvb, tree, hf_ypbind_domain, offset, NULL); return offset; @@ -79,13 +79,13 @@ static const value_string error_vals[] = { }; static int -dissect_ypbind_domain_v2_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_ypbind_domain_v2_reply(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { guint32 type; /* response type */ type=tvb_get_ntohl(tvb, offset); - offset = dissect_rpc_uint32(tvb, pinfo, tree, hf_ypbind_resp_type, offset); + offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_resp_type, offset); switch(type){ case YPBIND_RESP_TYPE_SUCC_VAL: @@ -95,13 +95,13 @@ dissect_ypbind_domain_v2_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, pr offset += 4; /* port */ - offset = dissect_rpc_uint32(tvb, pinfo, tree, + offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_port, offset); break; case YPBIND_RESP_TYPE_FAIL_VAL: /* error */ - offset = dissect_rpc_uint32(tvb, pinfo, tree, + offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_resp_type, offset); break; } @@ -110,10 +110,10 @@ dissect_ypbind_domain_v2_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, pr } static int -dissect_ypbind_setdomain_v2_request(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_ypbind_setdomain_v2_request(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { /* domain */ - offset = dissect_rpc_string(tvb, pinfo, tree, + offset = dissect_rpc_string(tvb, tree, hf_ypbind_domain, offset, NULL); /* ip address */ @@ -122,11 +122,11 @@ dissect_ypbind_setdomain_v2_request(tvbuff_t *tvb, int offset, packet_info *pinf offset += 4; /* port */ - offset = dissect_rpc_uint32(tvb, pinfo, tree, + offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_port, offset); /* version */ - offset = dissect_rpc_uint32(tvb, pinfo, tree, + offset = dissect_rpc_uint32(tvb, tree, hf_ypbind_setdom_version, offset); return offset; |