git: bdd60b224fa4 - main - ipfw: Add missing 'va' code point name
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 20:22:58 UTC
The branch main has been updated by melifaro:
URL: https://cgit.FreeBSD.org/src/commit/?id=bdd60b224fa461a5849f60575afdb458613f4ccd
commit bdd60b224fa461a5849f60575afdb458613f4ccd
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-13 20:21:27 +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
---
sbin/ipfw/ipfw.8 | 4 +++-
sbin/ipfw/ipfw2.c | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index dbc551042859..c635c2742956 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 17, 2022
+.Dd January 13, 2023
.Dt IPFW 8
.Os
.Sh NAME
@@ -1186,6 +1186,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 698e0d147669..4ef724160625 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 */