diff --git a/man/man8/tc-flower.8 b/man/man8/tc-flower.8 index f7336b62..4541d937 100644 --- a/man/man8/tc-flower.8 +++ b/man/man8/tc-flower.8 @@ -391,6 +391,8 @@ rpl - The packet is in the reply direction, meaning that it is in the opposite d .TP inv - The state is invalid. The packet couldn't be associated to a connection. .TP +rel - The packet is related to an existing connection. +.TP Example: +trk+est .RE .TP diff --git a/tc/f_flower.c b/tc/f_flower.c index 53822a95..29db2e23 100644 --- a/tc/f_flower.c +++ b/tc/f_flower.c @@ -94,7 +94,7 @@ static void explain(void) " LSE := lse depth DEPTH { label LABEL | tc TC | bos BOS | ttl TTL }\n" " FILTERID := X:Y:Z\n" " MASKED_LLADDR := { LLADDR | LLADDR/MASK | LLADDR/BITS }\n" - " MASKED_CT_STATE := combination of {+|-} and flags trk,est,new\n" + " MASKED_CT_STATE := combination of {+|-} and flags trk,est,new,rel\n" " ACTION-SPEC := ... look at individual actions\n" "\n" "NOTE: CLASSID, IP-PROTO are parsed as hexadecimal input.\n" @@ -345,6 +345,7 @@ static struct flower_ct_states { { "trk", TCA_FLOWER_KEY_CT_FLAGS_TRACKED }, { "new", TCA_FLOWER_KEY_CT_FLAGS_NEW }, { "est", TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED }, + { "rel", TCA_FLOWER_KEY_CT_FLAGS_RELATED }, { "inv", TCA_FLOWER_KEY_CT_FLAGS_INVALID }, { "rpl", TCA_FLOWER_KEY_CT_FLAGS_REPLY }, };