* [PATCH] Add voice-admit DSCP code point from RFC-5865
@ 2023-04-16 0:51 Ronan Pigott
2023-05-22 20:15 ` Florian Weimer
0 siblings, 1 reply; 2+ messages in thread
From: Ronan Pigott @ 2023-04-16 0:51 UTC (permalink / raw)
To: libc-alpha; +Cc: Ronan Pigott
---
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.
--
2.40.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Add voice-admit DSCP code point from RFC-5865
2023-04-16 0:51 [PATCH] Add voice-admit DSCP code point from RFC-5865 Ronan Pigott
@ 2023-05-22 20:15 ` Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2023-05-22 20:15 UTC (permalink / raw)
To: Ronan Pigott via Libc-alpha; +Cc: Ronan Pigott
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-22 20:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-16 0:51 [PATCH] Add voice-admit DSCP code point from RFC-5865 Ronan Pigott
2023-05-22 20:15 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).