diff options
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c index 5d1292e5f3..8647a5c78e 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -199,6 +199,18 @@ epan_dissect_run(epan_dissect_t *edt, struct wtap_pkthdr *phdr, } void +epan_dissect_run_with_taps(epan_dissect_t *edt, struct wtap_pkthdr *phdr, + const guint8* data, frame_data *fd, column_info *cinfo) +{ + /* free all memory allocated during previous packet */ + ep_free_all(); + + tap_queue_init(edt); + dissect_packet(edt, phdr, data, fd, cinfo); + tap_push_tapped_queue(edt); +} + +void epan_dissect_reset(epan_dissect_t *edt) { /* epan_dissect_cleanup(edt) without freeing tree */ |