Home
last modified time | relevance | path

Searched refs:tls_get_ctx (Results 1 – 12 of 12) sorted by relevance

/linux/include/net/
H A Dtls.h363 static inline struct tls_context *tls_get_ctx(const struct sock *sk) in tls_get_ctx() function
398 ctx = tls_get_ctx(sk); in tls_sw_has_ctx_tx()
411 ctx = tls_get_ctx(sk); in tls_sw_has_ctx_rx()
435 return __tls_driver_ctx(tls_get_ctx(sk), direction); in tls_driver_ctx()
443 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_request()
453 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_start()
465 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_end()
475 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_set_type()
483 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_tx_resync_pending()
502 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()
/linux/net/tls/
H A Dtls_toe.c49 struct tls_context *ctx = tls_get_ctx(sk); in tls_toe_sk_destruct()
86 struct tls_context *ctx = tls_get_ctx(sk); in tls_toe_unhash()
105 struct tls_context *ctx = tls_get_ctx(sk); in tls_toe_hash()
H A Dtls_sw.c216 tls_ctx = tls_get_ctx(sk); in tls_decrypt_done()
260 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_do_decryption()
309 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_trim_both_msgs()
322 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_alloc_encrypted_msg()
332 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_clone_plaintext_msg()
356 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_get_rec()
397 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_free_open_rec()
409 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_tx_records()
482 tls_ctx = tls_get_ctx(sk); in tls_encrypt_done()
727 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_push_record()
[all …]
H A Dtls_main.c230 struct tls_context *ctx = tls_get_ctx(sk); in tls_handle_open_record()
299 struct tls_context *ctx = tls_get_ctx(sk); in tls_write_space()
371 struct tls_context *ctx = tls_get_ctx(sk); in tls_sk_proto_close()
422 tls_ctx = tls_get_ctx(sk); in tls_sk_poll()
442 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_getsockopt_conf()
501 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_getsockopt_tx_zc()
521 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_getsockopt_no_pad()
578 struct tls_context *ctx = tls_get_ctx(sk); in tls_getsockopt()
617 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_setsockopt_conf()
723 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_setsockopt_tx_zc()
[all …]
H A Dtls_device.c162 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_icsk_clean_acked()
197 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_sk_destruct()
216 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_free_resources_tx()
223 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_tx_resync_request()
423 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_push_data()
565 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_sendmsg()
592 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_splice_eof()
767 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_rx_resync_new_rec()
1069 ctx = tls_get_ctx(sk); in tls_set_device_offload()
1265 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_offload_cleanup_rx()
H A Dtls_device_fallback.c386 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_sw_fallback()
437 if (dev == rcu_dereference_bh(tls_get_ctx(sk)->netdev) || in tls_validate_xmit_skb()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_rx.c466 priv_rx = mlx5e_get_ktls_rx_priv_ctx(tls_get_ctx(sk)); in resync_queue_get_psv()
546 priv_rx = mlx5e_get_ktls_rx_priv_ctx(tls_get_ctx(sk)); in mlx5e_ktls_rx_resync()
616 tls_ctx = tls_get_ctx(sk); in mlx5e_ktls_add_rx()
H A Dktls_tx.c464 tls_ctx = tls_get_ctx(sk); in mlx5e_ktls_add_tx()
846 tls_ctx = tls_get_ctx(skb->sk); in mlx5e_ktls_handle_tx_skb()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c482 struct tls_context *ctx = tls_get_ctx(sk); in chtls_getsockopt()
573 struct tls_context *ctx = tls_get_ctx(sk); in chtls_setsockopt()
H A Dchtls_cm.c1216 ctx = tls_get_ctx(lsk); in chtls_recv_sock()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c417 struct tls_context *tls_ctx = tls_get_ctx(sk); in chcr_ktls_dev_add()
684 tls_ctx = tls_get_ctx(tx_info->sk); in chcr_ktls_cpl_act_open_rpl()
1942 tls_ctx = tls_get_ctx(skb->sk); in chcr_ktls_xmit()
/linux/drivers/net/bonding/
H A Dbond_main.c5545 struct net_device *tls_netdev = rcu_dereference(tls_get_ctx(skb->sk)->netdev); in bond_tls_device_xmit()