Add IP_LOCAL_PORT_RANGE from Linux 6.3 to bits/in.h

Joseph Myers joseph@codesourcery.com
Wed May 17 22:32:00 GMT 2023


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

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list