git: 6f996120e374 - stable/13 - ipfw: Add missing 'va' code point name

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Fri, 27 Jan 2023 09:41:53 UTC
The branch stable/13 has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=6f996120e374ca115fa230ea83ea24642707909a

commit 6f996120e374ca115fa230ea83ea24642707909a
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2023-01-13 20:19:34 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-01-27 09:41:26 +0000

    ipfw: Add missing 'va' code point name
    
    Per RFC 5865, add the 'va' (VOICE-ADMIT, 101100) symbolic name.
    
    Reviewed By: melifaro, pauamma
    Differential Revision: https://reviews.freebsd.org/D37508
    MFC after:      2 weeks
    
    (cherry picked from commit bdd60b224fa461a5849f60575afdb458613f4ccd)
---
 sbin/ipfw/ipfw.8  | 2 ++
 sbin/ipfw/ipfw2.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 5aa9f6eb1804..3c5308b29821 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1180,6 +1180,8 @@ Supported values are:
 .Pq Dv 100100 ,
 .Cm af43
 .Pq Dv 100110 ,
+.Cm va
+.Pq Dv 101100 ,
 .Cm ef
 .Pq Dv 101110 ,
 .Cm be
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 7d820698a25d..ccd89d3f545c 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -190,6 +190,7 @@ struct _s_x f_ipdscp[] = {
 	{ "af42", IPTOS_DSCP_AF42 >> 2 },	/* 100100 */
 	{ "af43", IPTOS_DSCP_AF43 >> 2 },	/* 100110 */
 	{ "be", IPTOS_DSCP_CS0 >> 2 }, 	/* 000000 */
+	{ "va", IPTOS_DSCP_VA >> 2 },	/* 101100 */
 	{ "ef", IPTOS_DSCP_EF >> 2 },	/* 101110 */
 	{ "cs0", IPTOS_DSCP_CS0 >> 2 },	/* 000000 */
 	{ "cs1", IPTOS_DSCP_CS1 >> 2 },	/* 001000 */