Skip to content

the role of --enable-flow-dynamic flag #379

Answered by tbarbette
hamidgh09 asked this question in Q&A
Discussion options

You must be logged in to vote

You understand correctly the "normal" mode, indeed.

The missing use-case is when you want to handle differently the FCB than using a global timer. For instance, if you want to prevent the release of a certain flow, typically because the other direction of the TCP flow is waiting for a FIN ACK. Or some flows need a longer timeout, or...
The solution is --enable-flow-dynamic that will add (atomic if --enable-flow-atomic) usage counter for all FCBs. Then your element does a fcb_acquire() that will prevent releasing the current flow until your element does a fcb_release().

That flag is needed for the context sub-system (CTX elements, --enable-ctx) that come from the MiddleClick paper to read …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hamidgh09
Comment options

Answer selected by hamidgh09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants