diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2017-11-13 10:22:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-14 16:26:34 +0900 |
commit | 6d88207fcfddc002afe3e2e4a455e5201089d5d9 (patch) | |
tree | 0dc92897c5bb2e06890eeae311feacbd3293a468 /include/net | |
parent | 61ef6da622aa7b66bf92991bd272490eea6c712e (diff) | |
download | linux-6d88207fcfddc002afe3e2e4a455e5201089d5d9.tar.bz2 |
tls: Add function to update the TLS socket configuration
The tx configuration is now stored in ctx->tx_conf.
And sk->sk_prot is updated trough a function
This will simplify things when we add rx
and support for different possible
tx and rx cross configurations.
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/tls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tls.h b/include/net/tls.h index b89d397dd62f..f058a6e08eaa 100644 --- a/include/net/tls.h +++ b/include/net/tls.h @@ -83,6 +83,8 @@ struct tls_context { void *priv_ctx; + u8 tx_conf:2; + u16 prepend_size; u16 tag_size; u16 overhead_size; |