Message ID | 04be849a69b445f8d3d9f6582248fb462211d626.1725935420.git.lucien.xin@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | net: implement the QUIC protocol in linux kernel | expand |
diff --git a/include/linux/socket.h b/include/linux/socket.h index df9cdb8bbfb8..e9db28c55a37 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -385,6 +385,7 @@ struct ucred { #define SOL_MCTP 285 #define SOL_SMC 286 #define SOL_VSOCK 287 +#define SOL_QUIC 288 /* IPX options */ #define IPX_TYPE 1 diff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h index 5d32d53508d9..63f900290b96 100644 --- a/include/uapi/linux/in.h +++ b/include/uapi/linux/in.h @@ -83,6 +83,8 @@ enum { #define IPPROTO_RAW IPPROTO_RAW IPPROTO_SMC = 256, /* Shared Memory Communications */ #define IPPROTO_SMC IPPROTO_SMC + IPPROTO_QUIC = 261, /* A UDP-Based Multiplexed and Secure Transport */ +#define IPPROTO_QUIC IPPROTO_QUIC IPPROTO_MPTCP = 262, /* Multipath TCP connection */ #define IPPROTO_MPTCP IPPROTO_MPTCP IPPROTO_MAX