[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190321142902.10298-1-borisp@mellanox.com>
Date: Thu, 21 Mar 2019 16:29:02 +0200
From: Boris Pismenny <borisp@...lanox.com>
To: davejwatson@...com, borisp@...lanox.com, aviadye@...lanox.com,
john.fastabend@...il.com, daniel@...earbox.net,
netdev@...r.kernel.org
Subject: [PATCH net-next v2] tls: Add SOL_TLS to uapi
User applications are forced to define the SOL_TLS manually at the
moment, which is inappropriate. Add SOL_TLS to the uapi.
Other protocols handle this similarly. For example see SOL_TIPC.
Signed-off-by: Boris Pismenny <borisp@...lanox.com>
---
v1: update commit message
---
include/uapi/linux/tls.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/tls.h b/include/uapi/linux/tls.h
index 401d6f0..000a99e 100644
--- a/include/uapi/linux/tls.h
+++ b/include/uapi/linux/tls.h
@@ -36,6 +36,10 @@
#include <linux/types.h>
+#ifndef SOL_TLS
+#define SOL_TLS 282
+#endif
+
/* TLS socket options */
#define TLS_TX 1 /* Set transmit parameters */
#define TLS_RX 2 /* Set receive parameters */
--
1.8.3.1
Powered by blists - more mailing lists