]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/qos/makeqosscripts.pl
QoS: Use the two right hand bytes to mark packets
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Oct 2021 17:52:18 +0000 (18:52 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 13 Oct 2021 11:46:06 +0000 (11:46 +0000)
commit45329c0a66d2f1f7bf4d215489ece6bc1714dfe3
tree97d3ba12634591acc6b89ed2f9529e9f53b7aa9e
parentce31144c629354d32fcb41ea69f0dbc5e426eea7
QoS: Use the two right hand bytes to mark packets

In order to not deal with any marks from NAT and the IPS, this patch
adds masks to all places where packets are being marked for individual
QoS classes.

Instead of being able to use the "fw" match in tc, we have to use the
u32 to apply the mask.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/qos/makeqosscripts.pl