User Guide

Lua Support in Wireshark
177
11.7.3.6.1. Arguments
filename The name of the file to be opened.
filter A filter to be applied as the file gets opened.
11.7.3.7. set_filter(text)
Set the main filter text
11.7.3.7.1. Arguments
text The filter's text.
11.7.3.8. set_color_filter_slot(row, text)
Set packet-coloring rule for the current session
11.7.3.8.1. Arguments
row The index of the desired color in the temporary coloring rules list
text Display filter for selecting packets to be colorized
11.7.3.9. apply_filter()
Apply the filter in the main filter box
11.7.3.10. reload()
Reload the current capture file
11.7.3.11. browser_open_url(url)
Open an url in a browser
11.7.3.11.1. Arguments
url The url.
11.7.3.12. browser_open_data_file(filename)
Open an file in a browser
11.7.3.12.1. Arguments
filename The url.
11.8. Post-dissection packet analysis
11.8.1. Listener
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.