From e850abd8d897279b7aa21d25fb2bbf13b9d9b71c Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 8 Oct 2024 15:45:30 -0300 Subject: [PATCH] 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 --- inet/netinet/in.h | 2 ++ 1 file changed, 2 insertions(+) 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