MINOR: action: define enum for timeout type of the set-timeout rule

This enum is used to specify the timeout targetted by a set-timeout
rule.
This commit is contained in:
Amaury Denoyelle 2020-12-10 13:43:50 +01:00 committed by Christopher Faulet
parent 82635a0fc1
commit 5a9fc2d10f

View File

@ -93,6 +93,12 @@ enum act_name {
ACT_TCP_CLOSE, /* close at the sender's */
};
/* Timeout name valid for a set-timeout rule */
enum act_timeout_name {
ACT_TIMEOUT_SERVER,
ACT_TIMEOUT_TUNNEL,
};
/* NOTE: if <.action_ptr> is defined, the referenced function will always be
* called regardless the action type. */
struct act_rule {