]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: remove old lua packet methods
authorVictor Julien <vjulien@oisf.net>
Tue, 11 Feb 2025 10:05:48 +0000 (11:05 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 12 Feb 2025 16:08:32 +0000 (17:08 +0100)
doc/userguide/lua/lua-functions.rst

index 92473d52c35ed01c604baadbb32b53fab59ffacf..3d0116de82f6f69080237468ca5ea2a6a14f5efd 100644 (file)
@@ -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
 ----