Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] Lua dissector can't create new Tvbs

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Becker, Matthew J." <matthew.becker@xxxxxxx>
Date: Mon, 8 Dec 2008 10:45:39 -0600

Title: Lua dissector can't create new Tvbs

In working with Lua custom dissectors, if I pass the current dissector's 'buffer' variable to another dissector that I am calling for a specific subrange of the data, the 'buffer' variable is destroyed when the second dissector finishes and is no longer available to the first dissector.

To work around this I wanted to create a new Tvb (using a range from the original Tvb buffer) to pass to the second dissector.  The Tvb calls 'new_real' and 'tvb' don't seem to be recognized though.  Are these calls supposed to be available or is there some other reason they can't be called using Lua?

Thanks,
Matt

  • Prev by Date: [Wireshark-dev] How to mark packets in MEGACO protocol in dissector
  • Next by Date: [Wireshark-dev] buildbot failure in Wireshark (release) on Windows-XP-x86
  • Previous by thread: [Wireshark-dev] How to mark packets in MEGACO protocol in dissector
  • Next by thread: [Wireshark-dev] Windows buildbot stalled - last build wireshark-win32-1.1.2-SVN-26897.exe 01-Dec-2008 15:43
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation