]> git.ipfire.org Git - thirdparty/suricata.git/commit
lua: add SCFlowTimestamps function
authorMats Klepsland <mats.klepsland@gmail.com>
Fri, 10 Mar 2017 06:07:09 +0000 (07:07 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 28 Mar 2017 12:42:52 +0000 (14:42 +0200)
commit365aa1f3e5a149e74ef4cd18f3c755dea68f9a92
tree0916f11e7d767058fa3274ace19ac3eb20319f93
parent3b233876640afa8efa9a2a2798535f256d63ed4d
lua: add SCFlowTimestamps function

Add SCFlowTimestamps() to return startts and lastts as seconds and
microseconds from flow.

Examples:

  startts, lastts = SCFlowTimestamps()
  startts_s, lastts_s, startts_us, lastts_us = SCFlowTimestamps()
src/util-lua-common.c