git: 190c1f3d9326 - main - pfctl: allow network programs select DSCP_VA for network ToS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Dec 2025 13:17:11 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=190c1f3d9326afbc1eabd48e5cb3fe96043508c9
commit 190c1f3d9326afbc1eabd48e5cb3fe96043508c9
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-12-29 09:52:39 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-12-30 13:16:52 +0000
pfctl: allow network programs select DSCP_VA for network ToS
OK stsp@
Obtained from: OpenBSD, phessler <phessler@openbsd.org>, f8a2f73b65
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sbin/pfctl/parse.y | 1 +
1 file changed, 1 insertion(+)
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 127e2c257d69..c52eb3f86c60 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -7604,6 +7604,7 @@ map_tos(char *s, int *val)
{ "cs6", IPTOS_DSCP_CS6 },
{ "cs7", IPTOS_DSCP_CS7 },
{ "ef", IPTOS_DSCP_EF },
+ { "va", IPTOS_DSCP_VA },
{ "inetcontrol", IPTOS_PREC_INTERNETCONTROL },
{ "lowdelay", IPTOS_LOWDELAY },
{ "netcontrol", IPTOS_PREC_NETCONTROL },