This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi, I've got a dissector in LUA for my own protocol and a TAP to calculate other values : for example number of packets send :

function tap.packet(pinfo, buffer)
counter = counter + 1 
end

function tap.draw(t)
window:append("number of packets : " .. counter .. "\n")
end

Is it possible to plot the counter value in the wireshark I/O Graph tool ? I guess I need to put counter in a field but I don't find how to do that.

Thanks,

asked 09 Feb '17, 07:30

Schafer's gravatar image

Schafer
6112
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×637
×40
×25

question asked: 09 Feb '17, 07:30

question was seen: 588 times

last updated: 09 Feb '17, 07:30

p​o​w​e​r​e​d by O​S​Q​A