diff options
Diffstat (limited to 'epan/dissectors/packet-ypserv.c')
-rw-r--r-- | epan/dissectors/packet-ypserv.c | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/epan/dissectors/packet-ypserv.c b/epan/dissectors/packet-ypserv.c index c9c2f1bb..a8258f39 100644 --- a/epan/dissectors/packet-ypserv.c +++ b/epan/dissectors/packet-ypserv.c @@ -21,26 +21,26 @@ void proto_register_ypserv(void); void proto_reg_handoff_ypserv(void); -static int proto_ypserv = -1; -static int hf_ypserv_procedure_v1 = -1; -static int hf_ypserv_procedure_v2 = -1; -static int hf_ypserv_domain = -1; -static int hf_ypserv_servesdomain = -1; -static int hf_ypserv_map = -1; -static int hf_ypserv_key = -1; -static int hf_ypserv_peer = -1; -static int hf_ypserv_more = -1; -static int hf_ypserv_ordernum = -1; -static int hf_ypserv_transid = -1; -static int hf_ypserv_prog = -1; -static int hf_ypserv_port = -1; -static int hf_ypserv_value = -1; -static int hf_ypserv_status = -1; -static int hf_ypserv_map_parms = -1; -static int hf_ypserv_xfrstat = -1; - -static gint ett_ypserv = -1; -static gint ett_ypserv_map_parms = -1; +static int proto_ypserv; +static int hf_ypserv_procedure_v1; +static int hf_ypserv_procedure_v2; +static int hf_ypserv_domain; +static int hf_ypserv_servesdomain; +static int hf_ypserv_map; +static int hf_ypserv_key; +static int hf_ypserv_peer; +static int hf_ypserv_more; +static int hf_ypserv_ordernum; +static int hf_ypserv_transid; +static int hf_ypserv_prog; +static int hf_ypserv_port; +static int hf_ypserv_value; +static int hf_ypserv_status; +static int hf_ypserv_map_parms; +static int hf_ypserv_xfrstat; + +static int ett_ypserv; +static int ett_ypserv_map_parms; static const value_string ypstat[] = { @@ -80,9 +80,9 @@ static const value_string xfrstat[] = }; static int -dissect_ypserv_status(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, gint32 *rstatus) +dissect_ypserv_status(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int32_t *rstatus) { - gint32 status; + int32_t status; const char *err; status=tvb_get_ntohl(tvb, offset); @@ -180,7 +180,7 @@ dissect_match_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void static int dissect_match_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { - gint32 status; + int32_t status; const char *str; int offset = 0; @@ -392,7 +392,7 @@ dissect_master_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, voi static int dissect_all_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { - guint32 more; + uint32_t more; int offset = 0; proto_item_append_text(tree, " ALL reply"); @@ -429,7 +429,7 @@ dissect_master_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* static int dissect_order_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { - guint32 num; + uint32_t num; int offset = 0; proto_item_append_text(tree, " ORDER reply"); @@ -618,7 +618,7 @@ proto_register_ypserv(void) "Xfrstat", "ypserv.xfrstat", FT_INT32, BASE_DEC, VALS(xfrstat), 0, NULL, HFILL }}, }; - static gint *ett[] = { + static int *ett[] = { &ett_ypserv, &ett_ypserv_map_parms, }; |