User Guide

10.4.3.3.2. register_menu(name, action, [group])
Register a menu item in one of the main menus.
10.4.3.3.2.1. Arguments
name The name of the menu item. The submenus are to be separated by '/'s.
(string)
action The function to be called when the menu item is invoked. (function taking
no arguments and returning nothing)
group (optional) The menu group into which the menu item is to be inserted. If omitted,
defaults to MENU_STAT_GENERIC. One of MENU_STAT (Statistics),
MENU_STAT_GENERIC (Statistics, first section),
MENU_STAT_CONVERSATION (Statistics/Conversation List),
MENU_STAT_ENDPOINT (Statistics/Endpoint List),
MENU_STAT_RESPONSE (Statistics/Service Response Time),
MENU_STAT_TELEPHONY (Statistics, third section),
MENU_ANALYZE (Analyze), MENU_ANALYZE_CONVERSATION
(Analyze/Conversation Filter), MENU_TOOLS (Tools). (number)
10.4.3.3.3. new_dialog(title, action, ...)
Pops up a new dialog
10.4.3.3.3.1. Arguments
title Title of the dialog's window.
action Action to be performed when OKd.
... A series of strings to be used as labels of the dialog's fields
10.4.3.3.3.2. Errors
at least one field required
all fields must be strings
10.4.3.3.4. retap_packets()
Rescan all packets and just run taps - don't reconstruct the display.
10.4.3.3.5. copy_to_clipboard(text)
copy a string into the clipboard
10.4.3.3.5.1. Arguments
text The string to be copied into the clipboard.
10.4.3.3.6. open_capture_file(filename, filter)
open and display a capture file
Lua Support in Wireshark
204