Thread (4 messages) flat view 4 messages, 3 authors, 2021-02-05

Re: [PATCH iproute2/net-next] tc: flower: Add support for ct_state reply flag

From: Paul Blakey <hidden>
Date: 2021-02-03 07:57:05


On Tue, 2 Feb 2021, Marcelo Ricardo Leitner wrote:
On Tue, Feb 02, 2021 at 02:24:42PM +0200, Paul Blakey wrote:
quoted
Matches on conntrack rpl ct_state.

Example:
$ tc filter add dev ens1f0_0 ingress prio 1 chain 1 proto ip flower \
  ct_state +trk+est+rpl \
  action mirred egress redirect dev ens1f0_1
$ tc filter add dev ens1f0_1 ingress prio 1 chain 1 proto ip flower \
  ct_state +trk+est-rpl \
  action mirred egress redirect dev ens1f0_0

Signed-off-by: Paul Blakey <redacted>
---
 man/man8/tc-flower.8 | 2 ++
 tc/f_flower.c        | 1 +
 2 files changed, 3 insertions(+)
iproute has a header copy, include/uapi/linux/pkt_cls.h.
I think it needs updating as well.

  Marcelo
Hi,

Commit 1e6190218050 ("Update kernel headers") from 02/02/2021 updated the
headers to include the relevant flag.

Thanks,
Paul.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help