Add voice-admit DSCP code point from RFC-5865
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
---
sysdeps/generic/netinet/ip.h | 5 +++++
1 file changed, 5 insertions(+)
Comments
* Ronan Pigott via Libc-alpha:
> ---
> sysdeps/generic/netinet/ip.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/sysdeps/generic/netinet/ip.h b/sysdeps/generic/netinet/ip.h
> index 32236dc1ce53..6bdb31b65e99 100644
> --- a/sysdeps/generic/netinet/ip.h
> +++ b/sysdeps/generic/netinet/ip.h
> @@ -186,6 +186,11 @@ struct ip_timestamp
> #define IPTOS_DSCP_AF43 0x98
> #define IPTOS_DSCP_EF 0xb8
>
> +/*
> + * Voice-Admit DSCP code point from RFC-5865, Section 4.
> + */
> +#define IPTOS_DSCP_VA 0xb0
> +
> /*
> * In RFC 2474, Section 4.2.2.1, the Class Selector Codepoints subsume
> * the old ToS Precedence values.
This matches the FreeBSD definition, and it follows the style of the
surrounding code (although it's not GNU style). I've pushed it.
Thanks,
Florian
@@ -186,6 +186,11 @@ struct ip_timestamp
#define IPTOS_DSCP_AF43 0x98
#define IPTOS_DSCP_EF 0xb8
+/*
+ * Voice-Admit DSCP code point from RFC-5865, Section 4.
+ */
+#define IPTOS_DSCP_VA 0xb0
+
/*
* In RFC 2474, Section 4.2.2.1, the Class Selector Codepoints subsume
* the old ToS Precedence values.