]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow: introduce function to generate flow id
authorVictor Julien <victor@inliniac.net>
Wed, 31 Aug 2016 13:04:58 +0000 (15:04 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 1 Sep 2016 07:05:52 +0000 (09:05 +0200)
commit78b4db8a954f5937d07ec494e7113e292228e189
tree87d9b77af9b1c85e70d1e0e585cde9971f4c4316
parent666bba8121155292c5fcab97b0630af5d537c2c7
flow: introduce function to generate flow id

The flow id itself is not stored in the flow, but generated based on
properties that do not change during the lifetime of the flow.

As it's meant for use with the json output, it is limited to a signed
64 bit integer (int64_t) because that is the time json_integer_t uses.
src/flow.h