pfctl: Add missing 'va' code point name

Add the 'va' (voice-admit, RFC5865) symbolic name.

Reviewed by:	rgrimes, gbe (man page)
MFC after:	2 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D29069
This commit is contained in:
Kristof Provost 2021-03-04 13:50:28 +01:00
parent 6a3095aa6d
commit b4e3f3c2de
2 changed files with 4 additions and 1 deletions

View File

@ -6342,7 +6342,8 @@ map_tos(char *s, int *val)
{ "lowdelay", IPTOS_LOWDELAY }, { "lowdelay", IPTOS_LOWDELAY },
{ "netcontrol", IPTOS_PREC_NETCONTROL }, { "netcontrol", IPTOS_PREC_NETCONTROL },
{ "reliability", IPTOS_RELIABILITY }, { "reliability", IPTOS_RELIABILITY },
{ "throughput", IPTOS_THROUGHPUT } { "throughput", IPTOS_THROUGHPUT },
{ "va", IPTOS_DSCP_VA }
}; };
const struct keywords *p; const struct keywords *p;

View File

@ -681,6 +681,7 @@ given as one of
.Ar reliability , .Ar reliability ,
or one of the DiffServ Code Points: or one of the DiffServ Code Points:
.Ar ef , .Ar ef ,
.Ar va ,
.Ar af11 No ... Ar af43 , .Ar af11 No ... Ar af43 ,
.Ar cs0 No ... Ar cs7 ; .Ar cs0 No ... Ar cs7 ;
or as either hex or decimal. or as either hex or decimal.
@ -1737,6 +1738,7 @@ given as one of
.Ar reliability , .Ar reliability ,
or one of the DiffServ Code Points: or one of the DiffServ Code Points:
.Ar ef , .Ar ef ,
.Ar va ,
.Ar af11 No ... Ar af43 , .Ar af11 No ... Ar af43 ,
.Ar cs0 No ... Ar cs7 ; .Ar cs0 No ... Ar cs7 ;
or as either hex or decimal. or as either hex or decimal.