11.15.1. Global Functions
Gets a string of the Wireshark version.
11.15.1.2. format_date(timestamp)
Formats an absolute timestamp into a human readable date.
- timestamp
A timestamp value to convert.
A string with the formated date
11.15.1.3. format_time(timestamp)
Formats a relative timestamp in a human readable form.
- timestamp
A timestamp value to convert.
A string with the formated time
11.15.1.4. report_failure(text)
Reports a failure to the user.
- text
Message text to report.
Will add a log entry with critical severity.
- ...
Objects to be printed
Will add a log entry with warn severity.
- ...
Objects to be printed
Will add a log entry with message severity.
- ...
Objects to be printed
Will add a log entry with info severity.
- ...
Objects to be printed
Will add a log entry with debug severity.
- ...
Objects to be printed
11.15.1.10. loadfile(filename)
Lua's loadfile() has been modified so that if a file does not exist
in the current directory it will look for it in wireshark's user and system directories.
- filename
Name of the file to be loaded.
11.15.1.11. dofile(filename)
Lua's dofile() has been modified so that if a file does not exist
in the current directory it will look for it in wireshark's user and system directories.
- filename
Name of the file to be run.
11.15.1.12. register_stat_cmd_arg(argument, [action])
Register a function to handle a -z option
- argument
Argument
- action (optional)
Action