On Sat, Aug 25, 2012 at 6:47 AM, Erik Tews <[email protected]> wrote: > Hi > > I would like to write a script, which should generate a kind of > histogramm of the packet lengths of some packets. The filter expression > should be derived from the currently selected packet in the GUI. Is it > possible to access the currently selected packet in the GUI, and perhaps > add the script to a right-click menu on that packet, using a lua script? > If not, what would be the best option to add such a feature?
One way to do this would be to add support to Lua for adding menu items to any named menu ... I think you can easily do this sort of thing with tshark by the way, since you can do filtering in tshark and can extract the packet length field, etc. -- Regards, Richard Sharpe (何以解憂?唯有杜康。--曹操) ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
