From: Victor Julien Date: Tue, 11 Feb 2025 10:05:48 +0000 (+0100) Subject: doc: remove old lua packet methods X-Git-Tag: suricata-8.0.0-beta1~447 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd2f56cfec3bc13589f49b36e4b84ee91cd01ba;p=thirdparty%2Fsuricata.git doc: remove old lua packet methods --- 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 ----