doc: tls: socket needs to be established to enable ulp
Subsystems (4)
PATCH 1/1 doc: tls: socket needs to be established to enable ulp
To enable TLS ulp socket needs to be in established state. This was added in d91c3e17f75f218022140dee18cf515292184a8f
Signed-off-by Ulrich Weber <[email protected]>
--- Documentation/networking/tls.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/networking/tls.rst +3 -1
@@ -16,11 +16,13 @@ User interface Creating a TLS connection ------------------------- -First create a new TCP socket and set the TLS ULP. +First create a new TCP socket and once the connection is established set the +TLS ULP. .. code-block:: c sock = socket(AF_INET, SOCK_STREAM, 0); + connect(sock, addr, addrlen); setsockopt(sock, SOL_TCP, TCP_ULP, "tls", sizeof("tls")); Setting the TLS ULP allows us to set/get TLS socket options. Currently
Signature · 1 line
2.43.0
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Thu, 26 Jun 2025 16:56:18 +0200 you wrote:
To enable TLS ulp socket needs to be in established state. This was added in
d91c3e17f75f218022140dee18cf515292184a8fSigned-off-by Ulrich Weber <[email protected]>--- Documentation/networking/tls.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Here is the summary with links:
- doc: tls: socket needs to be established to enable ulp
https://git.kernel.org/netdev/net/c/ba2f83eecd2b
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html