Home
last modified time | relevance | path

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

/Linux-v6.1/include/net/
Dtls.h381 static inline struct tls_context *tls_get_ctx(const struct sock *sk) in tls_get_ctx() function
411 struct tls_context *ctx = tls_get_ctx(sk); in tls_sw_has_ctx_tx()
420 struct tls_context *ctx = tls_get_ctx(sk); in tls_sw_has_ctx_rx()
445 return __tls_driver_ctx(tls_get_ctx(sk), direction); in tls_driver_ctx()
453 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_request()
463 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_start()
475 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_end()
485 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_set_type()
493 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_tx_resync_pending()
512 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()
/Linux-v6.1/net/tls/
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()
Dtls_sw.c192 tls_ctx = tls_get_ctx(sk); in tls_decrypt_done()
229 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_do_decryption()
265 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_trim_both_msgs()
278 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_alloc_encrypted_msg()
288 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_clone_plaintext_msg()
312 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_get_rec()
351 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_free_open_rec()
363 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_tx_records()
424 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_encrypt_done()
670 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_push_record()
[all …]
Dtls_main.c178 struct tls_context *ctx = tls_get_ctx(sk); in tls_handle_open_record()
247 struct tls_context *ctx = tls_get_ctx(sk); in tls_write_space()
321 struct tls_context *ctx = tls_get_ctx(sk); in tls_sk_proto_close()
358 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_getsockopt_conf()
586 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_getsockopt_tx_zc()
606 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_getsockopt_no_pad()
660 struct tls_context *ctx = tls_get_ctx(sk); in tls_getsockopt()
674 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_setsockopt_conf()
822 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_setsockopt_tx_zc()
842 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_setsockopt_no_pad()
[all …]
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()
438 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_push_data()
570 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_sendmsg()
595 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_sendpage()
794 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_rx_resync_new_rec()
1074 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_set_device_offload()
1329 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_offload_cleanup_rx()
Dtls_device_fallback.c398 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_sw_fallback()
449 if (dev == rcu_dereference_bh(tls_get_ctx(sk)->netdev) || in tls_validate_xmit_skb()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c467 priv_rx = mlx5e_get_ktls_rx_priv_ctx(tls_get_ctx(sk)); in resync_queue_get_psv()
547 priv_rx = mlx5e_get_ktls_rx_priv_ctx(tls_get_ctx(sk)); in mlx5e_ktls_rx_resync()
617 tls_ctx = tls_get_ctx(sk); in mlx5e_ktls_add_rx()
Dktls_tx.c475 tls_ctx = tls_get_ctx(sk); in mlx5e_ktls_add_tx()
851 tls_ctx = tls_get_ctx(skb->sk); in mlx5e_ktls_handle_tx_skb()
/Linux-v6.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_main.c481 struct tls_context *ctx = tls_get_ctx(sk); in chtls_getsockopt()
572 struct tls_context *ctx = tls_get_ctx(sk); in chtls_setsockopt()
Dchtls_cm.c1216 ctx = tls_get_ctx(lsk); in chtls_recv_sock()
/Linux-v6.1/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c418 struct tls_context *tls_ctx = tls_get_ctx(sk); in chcr_ktls_dev_add()
688 tls_ctx = tls_get_ctx(tx_info->sk); in chcr_ktls_cpl_act_open_rpl()
1948 tls_ctx = tls_get_ctx(skb->sk); in chcr_ktls_xmit()
/Linux-v6.1/drivers/net/bonding/
Dbond_main.c5379 struct net_device *tls_netdev = rcu_dereference(tls_get_ctx(skb->sk)->netdev); in bond_tls_device_xmit()