Lua uses the very same API that dissectors use. For protocol tree items created with Lua (when they are given a tvbRange) the bytes in the hex dump pane get highlighted as with any other dissector.
On Mon, Jun 16, 2008 at 3:37 PM, Rowswell, Brent <[EMAIL PROTECTED]> wrote: > 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 > > _______________________________________________ > Wireshark-dev mailing list > Wireshark-dev@wireshark.org > https://wireshark.org/mailman/listinfo/wireshark-dev > > -- This information is top security. When you have read it, destroy yourself. -- Marshall McLuhan _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org https://wireshark.org/mailman/listinfo/wireshark-dev