options.c: add DSCP code LE Least Effort
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sat, 8 Jan 2022 23:42:27 +0000 (23:42 +0000)
committerRui Salvaterra <rsalvaterra@gmail.com>
Sun, 9 Jan 2022 23:33:32 +0000 (23:33 +0000)
RFC-8622 implements a low priority DSCP marking called 'Least Effort' or
'LE'  Instead of prioritising traffic in varying degrees, this defines a
scum class of packet that really is the lowest of the low and you may
consider forwarding if you really have nothing better to do.

This patch adds LE class support to firewall3.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
options.c

index 61317860308d09e4ac0d14e2b3f309930d5a9cd0..2f419a3a9b45b63e88f1a739050fe3ba82841967 100644 (file)
--- a/options.c
+++ b/options.c
@@ -146,6 +146,7 @@ static const struct { const char *name; uint8_t dscp; } dscp_classes[] = {
        { "CS6",  0x30 },
        { "CS7",  0x38 },
        { "BE",   0x00 },
+       { "LE",   0x01 },
        { "AF11", 0x0a },
        { "AF12", 0x0c },
        { "AF13", 0x0e },