Ask Your Question
0

Is it possible to change the rate in which the draw function of a tap is called?

asked 2019-10-16 06:35:10 +0000

MeisterBob gravatar image

I am developing a plugin which generates some statistics and displays them in a TextWindow. The draw function which updates the TextWindow is called every 3 seconds. Is it possible to increase/decrease the rate in which the draw function is called.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-16 14:59:29 +0000

cmaynard gravatar image

The tap update interval is dictated by the value of TAP_UPDATE_DEFAULT_INTERVAL, currently defined in epan/prefs.h as 3000 (i.e., 3 seconds). If you want a different update interval, then currently you would have to modify that value and then recompile Wireshark yourself to make use of the new interval.

If you want to be able to dynamically change the tap interval, then you may wish to open a Wireshark bug report asking for this capability, and if it's feasible and someone is willing/able to make this change, then it might get implemented.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-10-16 06:35:10 +0000

Seen: 32 times

Last updated: Oct 16