doc: add SCPacketTimestamp Lua function

Signed-off-by: Nicolas Thill <ntl@p1sec.com>
pull/2353/head
Nicolas Thill 9 years ago committed by Victor Julien
parent e95e6ccded
commit 3750c15632

@ -99,6 +99,18 @@ Initialize with:
return needs
end
SCPacketTimestamp
~~~~~~~~~~~~~~~~~
Get packets timestamp as 2 numbers: seconds & microseconds elapsed since
1970-01-01 00:00:00 UTC.
::
function log(args)
local sec, usec = SCPacketTimestamp()
end
SCPacketTimeString
~~~~~~~~~~~~~~~~~~

Loading…
Cancel
Save