#include <epan/tap.h>
#include <epan/stat_tap_ui.h>
#include <epan/rtd_table.h>
+#include "packet-frame.h"
#include "packet-tpkt.h"
#include "packet-per.h"
#include "packet-h225.h"
return h225ras_call;
}
+static void
+h225_frame_end(void)
+{
+ /* next_tvb pointers are allocated in packet scope, clear it. */
+ next_tvb_init(&h245_list);
+ next_tvb_init(&tp_list);
+}
+
static int
dissect_h225_H323UserInformation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
h225_pi->msg_type = H225_CS;
p_add_proto_data(pinfo->pool, pinfo, proto_h225, 0, h225_pi);
+ register_frame_end_routine(pinfo, h225_frame_end);
next_tvb_init(&h245_list);
next_tvb_init(&tp_list);
h225_pi->msg_type = H225_RAS;
p_add_proto_data(pinfo->pool, pinfo, proto_h225, 0, h225_pi);
+ register_frame_end_routine(pinfo, h225_frame_end);
+
col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
it=proto_tree_add_protocol_format(tree, proto_h225, tvb, offset, -1, PSNAME" RAS");
#include <epan/tap.h>
#include <epan/stat_tap_ui.h>
#include <epan/rtd_table.h>
+#include "packet-frame.h"
#include "packet-tpkt.h"
#include "packet-per.h"
#include "packet-h225.h"
static int hf_h225_notAvailable = -1; /* NULL */
/*--- End of included file: packet-h225-hf.c ---*/
-#line 128 "./asn1/h225/packet-h225-template.c"
+#line 129 "./asn1/h225/packet-h225-template.c"
/* Initialize the subtree pointers */
static gint ett_h225 = -1;
static gint ett_h225_T_result = -1;
/*--- End of included file: packet-h225-ett.c ---*/
-#line 132 "./asn1/h225/packet-h225-template.c"
+#line 133 "./asn1/h225/packet-h225-template.c"
/* Preferences */
static guint h225_tls_port = TLS_PORT_CS;
/*--- End of included file: packet-h225-fn.c ---*/
-#line 248 "./asn1/h225/packet-h225-template.c"
+#line 249 "./asn1/h225/packet-h225-template.c"
/* Forward declaration we need below */
void proto_reg_handoff_h225(void);
return h225ras_call;
}
+static void
+h225_frame_end(void)
+{
+ /* next_tvb pointers are allocated in packet scope, clear it. */
+ next_tvb_init(&h245_list);
+ next_tvb_init(&tp_list);
+}
+
static int
dissect_h225_H323UserInformation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
h225_pi->msg_type = H225_CS;
p_add_proto_data(pinfo->pool, pinfo, proto_h225, 0, h225_pi);
+ register_frame_end_routine(pinfo, h225_frame_end);
next_tvb_init(&h245_list);
next_tvb_init(&tp_list);
h225_pi->msg_type = H225_RAS;
p_add_proto_data(pinfo->pool, pinfo, proto_h225, 0, h225_pi);
+ register_frame_end_routine(pinfo, h225_frame_end);
+
col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
it=proto_tree_add_protocol_format(tree, proto_h225, tvb, offset, -1, PSNAME" RAS");
NULL, HFILL }},
/*--- End of included file: packet-h225-hfarr.c ---*/
-#line 812 "./asn1/h225/packet-h225-template.c"
+#line 824 "./asn1/h225/packet-h225-template.c"
};
/* List of subtrees */
&ett_h225_T_result,
/*--- End of included file: packet-h225-ettarr.c ---*/
-#line 818 "./asn1/h225/packet-h225-template.c"
+#line 830 "./asn1/h225/packet-h225-template.c"
};
static tap_param h225_stat_params[] = {