A Listener, is called once for every packet that matches a certain filter or has a certain tap. It can read the tree, the packet's Tvb eventually the tapped data but it cannot add elements to the tree.
Creates a new Listener listener
The name of this tap
A filter that when matches the tap.packet function gets called (use nil to be called for every packet)
A function that will be called once every packet matches the Listener listener filter. function tap.packet(pinfo,tvb,userdata) ... end
A function that will be called once every few seconds to redraw the gui objects in tshark this funtion is called oly at the very end of the capture file. function tap.draw(userdata) ... end