doc: remove old lua packet methods

pull/12569/head
Victor Julien 3 weeks ago committed by Victor Julien
parent 48ef7aab64
commit cdd2f56cfe

@ -45,42 +45,6 @@ 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
~~~~~~~~~~~~~~~~~~
Use ``SCPacketTimeString`` to get the packet's time string in the format:
11/24/2009-18:57:25.179869
::
function log(args)
ts = SCPacketTimeString()
SCPacketTuple
~~~~~~~~~~~~~
::
ipver, srcip, dstip, proto, sp, dp = SCPacketTuple()
SCPacketPayload
~~~~~~~~~~~~~~~
::
p = SCPacketPayload()
flow
----

Loading…
Cancel
Save