]> git.ipfire.org Git - thirdparty/suricata.git/commit
time: Add TIMEVAL_EARLIER and TIMEVAL_DIFF_SEC macros.
authorTodd Mortimer <todd@opennet.ca>
Mon, 30 Mar 2020 23:38:24 +0000 (23:38 +0000)
committerVictor Julien <victor@inliniac.net>
Tue, 7 Apr 2020 05:40:51 +0000 (07:40 +0200)
commit9fafc1031c0c9c11e5d98a286535b6b18af7cd3d
tree65c5f4c34b1a339401eef4adc80033a9a69d8a4e
parente945dea244ca2ab5ca2774ef838dab8c1ffb4abc
time: Add TIMEVAL_EARLIER and TIMEVAL_DIFF_SEC macros.

Make it easy to compare 'struct timeval's and get their difference.
src/util-time.h