From 9c89bc80d07cd5dbc5fddf30222a0bd5076eb093 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sat, 14 Aug 2021 23:08:01 +0200 Subject: [PATCH] flow: document FlowBypassedTimeout Main point is to document it is interacting with the capture layer. --- src/flow-manager.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/flow-manager.c b/src/flow-manager.c index 40654f813e..2abc8c817f 100644 --- a/src/flow-manager.c +++ b/src/flow-manager.c @@ -208,6 +208,16 @@ static int FlowManagerFlowTimeout(Flow *f, struct timeval *ts, int32_t *next_ts, return 1; } +/** \internal + * \brief check timeout of captured bypassed flow by querying capture method + * + * \param f Flow + * \param ts timestamp + * \param counters Flow timeout counters + * + * \retval 0 not timeout + * \retval 1 timeout (or not capture bypassed) + */ static inline int FlowBypassedTimeout(Flow *f, struct timeval *ts, FlowTimeoutCounters *counters) {