Skip to content

Commit

Permalink
Add Voice Admit DSCP code point from RFC 5865
Browse files Browse the repository at this point in the history
  • Loading branch information
rpigott committed Mar 24, 2023
1 parent 8aaa205 commit 28817b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dscp.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ const char * iptos2str(int iptos);
#ifndef IPTOS_DSCP_EF
# define IPTOS_DSCP_EF 0xb8
#endif /* IPTOS_DSCP_EF */
#ifdef IPTOS_DSCP_VA
# define IPTOS_DSCP_VA 0xb0
#endif /* IPTOS_DSCP_VA */

static const struct {
const char *name;
Expand All @@ -116,6 +119,7 @@ static const struct {
{ "cs6", IPTOS_DSCP_CS6 },
{ "cs7", IPTOS_DSCP_CS7 },
{ "ef", IPTOS_DSCP_EF },
{ "va", IPTOS_DSCP_VA },
{ "lowdelay", IPTOS_LOWDELAY },
{ "throughput", IPTOS_THROUGHPUT },
{ "reliability", IPTOS_RELIABILITY },
Expand Down

0 comments on commit 28817b0

Please sign in to comment.