From: Stephen Hemminger Date: Fri, 17 Jun 2022 03:14:23 +0000 (-0700) Subject: uapi: change name for zerocopy sendfile in tls X-Git-Tag: v5.19.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703f2de6f59f97d40a7028350061c72d36d9d5bd;p=thirdparty%2Fiproute2.git uapi: change name for zerocopy sendfile in tls Signed-off-by: Stephen Hemminger --- diff --git a/include/uapi/linux/tls.h b/include/uapi/linux/tls.h index 83a3cea46..15a628235 100644 --- a/include/uapi/linux/tls.h +++ b/include/uapi/linux/tls.h @@ -39,7 +39,7 @@ /* TLS socket options */ #define TLS_TX 1 /* Set transmit parameters */ #define TLS_RX 2 /* Set receive parameters */ -#define TLS_TX_ZEROCOPY_SENDFILE 3 /* transmit zerocopy sendfile */ +#define TLS_TX_ZEROCOPY_RO 3 /* TX zerocopy (only sendfile now) */ /* Supported versions */ #define TLS_VERSION_MINOR(ver) ((ver) & 0xFF) @@ -161,7 +161,7 @@ enum { TLS_INFO_CIPHER, TLS_INFO_TXCONF, TLS_INFO_RXCONF, - TLS_INFO_ZC_SENDFILE, + TLS_INFO_ZC_RO_TX, __TLS_INFO_MAX, }; #define TLS_INFO_MAX (__TLS_INFO_MAX - 1)