User Guide

Lua Support in Wireshark
180
11.9.2.5.1. Arguments
text The text to prepend to the Column
11.9.3. Columns
The Columns of the packet list.
11.9.3.1. columns:__tostring()
11.9.3.1.1. Returns
The string "Columns", no real use, just for debugging purposes.
11.9.3.2. columns:__newindex(column, text)
Sets the text of a specific column
11.9.3.2.1. Arguments
column The name of the column to set
text The text for the column
11.9.4. NSTime
NSTime represents a nstime_t. This is an object with seconds and nano seconds.
11.9.4.1. NSTime.new([seconds], [nseconds])
Creates a new NSTime object
11.9.4.1.1. Arguments
seconds (optional) Seconds
nseconds (optional) Nano seconds
11.9.4.1.2. Returns
The new NSTime object.
11.9.4.2. nstime:__tostring()
11.9.4.2.1. Returns
The string representing the nstime.
11.9.4.3. nstime:__add()
Calculates the sum of two NSTimes
11.9.4.4. nstime:__sub()
Calculates the diff of two NSTimes