summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2022-01-08 23:42:27 +0000
committerRui Salvaterra <rsalvaterra@gmail.com>2022-01-09 23:33:32 +0000
commit0f16ea5f055722a532d4e68c7ba34ed084b48b37 (patch)
tree85a23a9de92a1372a1bb793797eb5d0645c918a3
parent24ba465b8a6793588d116297a017aefbf6f339d3 (diff)
downloadfirewall3-0f16ea5f055722a532d4e68c7ba34ed084b48b37.tar.gz
options.c: add DSCP code LE Least Effort
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>
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index 6131786..2f419a3 100644
--- 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 },