about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-10-08 15:45:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-10-10 10:28:04 -0300
commite850abd8d897279b7aa21d25fb2bbf13b9d9b71c (patch)
tree694b75761dbc1319537b6bbeff02d118145246a1 /inet
parent5ffc903216901914dc2ad9715088d3fe9d1ef205 (diff)
downloadglibc-e850abd8d897279b7aa21d25fb2bbf13b9d9b71c.tar.gz
glibc-e850abd8d897279b7aa21d25fb2bbf13b9d9b71c.tar.xz
glibc-e850abd8d897279b7aa21d25fb2bbf13b9d9b71c.zip
Add IPPROTO_SMC from Linux 6.11 to netinet/in.h
Linux 6.11 adds a define IPPROTO_SMC to its include/uapi/linux/in.h
(commit d25a92ccae6b).

Checked on x86_64-linux-gnu.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'inet')
-rw-r--r--inet/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index f684be5beb..29fdd9b85e 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -93,6 +93,8 @@ enum
 #define IPPROTO_ETHERNET	IPPROTO_ETHERNET
     IPPROTO_RAW = 255,	   /* Raw IP packets.  */
 #define IPPROTO_RAW		IPPROTO_RAW
+    IPPROTO_SMC = 256,	   /* Shared Memory Communications.  */
+#define IPPROTO_SMC		IPPROTO_SMC
     IPPROTO_MPTCP = 262,   /* Multipath TCP connection.  */
 #define IPPROTO_MPTCP		IPPROTO_MPTCP
     IPPROTO_MAX