aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls.h
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2023-07-27 17:35:23 +0000
committerJakub Kicinski <[email protected]>2023-07-28 21:07:59 +0000
commit6a7eccef47b205ae66371a26d36dfb2529835075 (patch)
tree2b07375ce4f68411d51943f2d92aeaa01e3136f2 /net/tls/tls.h
parentLinux 6.5-rc3 (diff)
downloadkernel-6a7eccef47b205ae66371a26d36dfb2529835075.tar.gz
kernel-6a7eccef47b205ae66371a26d36dfb2529835075.zip
net/tls: Move TLS protocol elements to a separate header
Kernel TLS consumers will need definitions of various parts of the TLS protocol, but often do not need the function declarations and other infrastructure provided in <net/tls.h>. Break out existing standardized protocol elements into a separate header, and make room for a few more elements in subsequent patches. Signed-off-by: Chuck Lever <[email protected]> Link: https://lore.kernel.org/r/169047931374.5241.7713175865185969309.stgit@oracle-102.nfsv4bat.org Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tls/tls.h')
-rw-r--r--net/tls/tls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tls/tls.h b/net/tls/tls.h
index 86cef1c68e03..26a0358f6f49 100644
--- a/net/tls/tls.h
+++ b/net/tls/tls.h
@@ -39,6 +39,7 @@
#include <linux/types.h>
#include <linux/skmsg.h>
#include <net/tls.h>
+#include <net/tls_prot.h>
#define TLS_PAGE_ORDER (min_t(unsigned int, PAGE_ALLOC_COSTLY_ORDER, \
TLS_MAX_PAYLOAD_SIZE >> PAGE_SHIFT))