Auto reset epan session
authorHessam Jalali <hessam.jalali@gmail.com>
Mon, 24 Apr 2017 13:01:00 +0000 (17:31 +0430)
committerMichael Mann <mmann78@netscape.net>
Fri, 5 May 2017 00:51:58 +0000 (00:51 +0000)
commitdd884611ac69f1c671bf11a8c57267dd629fd803
tree6894b418f60171305655592a0822bd002d90f1b1
parent8e52cfb891aa5de7b20f5dbd8471609e6c6ca40d
Auto reset epan session

Automatically resets intarnal epan session after reaching to
specified number of packets, for example
-M 1000
will reset the session every 1000 packets.

this is more like a proposal since the usage is very specific
it is useful for 24/7 live capture with dissection and sending
data directly to another application.

example:

tshark -Y "gtp" -M 100000 -T fields -e gtp.message -e gtp.teid

Change-Id: I8ee8b0380017c684120a93cb3fb43f41615a9c04
Reviewed-on: https://code.wireshark.org/review/21312
Reviewed-by: Evan Huus <eapache@gmail.com>
Petri-Dish: Evan Huus <eapache@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
doc/tshark.pod
tshark.c