]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
QoS: Use the two right hand bytes to mark packets
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Sep 2021 14:16:47 +0000 (15:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Sep 2021 14:16:47 +0000 (15:16 +0100)
commita84fc34743ba759d9efefcd4a372eac77361872a
tree2e3b427d0c0b49129b62c211be65ae008daede03
parente7cde5392597776487cb82a1edce6f30271a8584
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>
config/qos/makeqosscripts.pl