From cdd2f56cfec3bc13589f49b36e4b84ee91cd01ba Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 11 Feb 2025 11:05:48 +0100 Subject: [PATCH] doc: remove old lua packet methods --- doc/userguide/lua/lua-functions.rst | 36 ----------------------------- 1 file changed, 36 deletions(-) diff --git a/doc/userguide/lua/lua-functions.rst b/doc/userguide/lua/lua-functions.rst index 92473d52c3..3d0116de82 100644 --- a/doc/userguide/lua/lua-functions.rst +++ b/doc/userguide/lua/lua-functions.rst @@ -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 ----