Lines Matching refs:ntls
272 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_add() local
386 ntls = tls_driver_ctx(sk, direction); in nfp_net_tls_add()
387 memcpy(ntls->fw_handle, reply->handle, sizeof(ntls->fw_handle)); in nfp_net_tls_add()
389 ntls->next_seq = start_offload_tcp_sn; in nfp_net_tls_add()
414 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_del() local
418 ntls = __tls_driver_ctx(tls_ctx, direction); in nfp_net_tls_del()
419 nfp_net_tls_del_fw(nn, ntls->fw_handle); in nfp_net_tls_del()
427 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_resync() local
439 ntls = tls_driver_ctx(sk, direction); in nfp_net_tls_resync()
444 memcpy(req->handle, ntls->fw_handle, sizeof(ntls->fw_handle)); in nfp_net_tls_resync()
453 ntls->next_seq = seq; in nfp_net_tls_resync()
476 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_rx_resync_req() local
524 ntls = tls_driver_ctx(sk, TLS_OFFLOAD_CTX_DIR_RX); in nfp_net_tls_rx_resync_req()
527 memcmp(&req->fw_handle, &ntls->fw_handle, sizeof(ntls->fw_handle))) in nfp_net_tls_rx_resync_req()