Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2025 13:17:11 +0000
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 190c1f3d9326 - main - pfctl: allow network programs select DSCP_VA for network ToS
Message-ID:  <6953d0d7.3d21f.ecdf8cc@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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 },


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6953d0d7.3d21f.ecdf8cc>