Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] LUA development highlighting bytefield display with LUA

From: "Rowswell, Brent" <brent.rowswell@xxxxxxxx>
Date: Mon, 16 Jun 2008 07:37:05 -0600
Title: LUA development highlighting bytefield display with LUA

Hey there,

I was wondering if there was a way to make my LUA dissector highlight specific bytes in the bytefield display so that they stand out easily, such as the various portions of my header and attach these to the subtrees that explain what they are.  I know something that does this is already built into wireshark and that it works very well for predefined message types, for instance it dissects TCP headers is a very readable way so that you can actually see which bytes correspond to the source and destination addresses.  I would like to do something similar on my own message type, so that the specific portions of my message are easily readable after dissection.  Is there any way to do this inside my LUA script?

Brent Rowswell