Add IP_LOCAL_PORT_RANGE from Linux 6.3 to bits/in.h
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
Linux 6.3 adds a new constant IP_LOCAL_PORT_RANGE. Add it to the
corresponding bits/in.h in glibc.
Tested for x86_64.
Comments
Ping. This patch
<https://sourceware.org/pipermail/libc-alpha/2023-May/148237.html> is
pending review.
* Joseph Myers:
> Linux 6.3 adds a new constant IP_LOCAL_PORT_RANGE. Add it to the
> corresponding bits/in.h in glibc.
>
> Tested for x86_64.
>
> diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
> index 9f6f0f182e..6bf2fded21 100644
> --- a/sysdeps/unix/sysv/linux/bits/in.h
> +++ b/sysdeps/unix/sysv/linux/bits/in.h
> @@ -128,6 +128,7 @@
> #define IP_MSFILTER 41
> #define IP_MULTICAST_ALL 49
> #define IP_UNICAST_IF 50
> +#define IP_LOCAL_PORT_RANGE 51
>
> /* To select the IP level. */
> #define SOL_IP 0
Okay.
Thanks,
Florian
@@ -128,6 +128,7 @@
#define IP_MSFILTER 41
#define IP_MULTICAST_ALL 49
#define IP_UNICAST_IF 50
+#define IP_LOCAL_PORT_RANGE 51
/* To select the IP level. */
#define SOL_IP 0