Lines Matching refs:TLS_SW

278 	if (ctx->tx_conf == TLS_SW) {  in tls_sk_proto_cleanup()
288 if (ctx->rx_conf == TLS_SW) { in tls_sk_proto_cleanup()
304 if (ctx->tx_conf == TLS_SW) in tls_sk_proto_close()
321 if (ctx->tx_conf == TLS_SW) in tls_sk_proto_close()
323 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
325 if (ctx->rx_conf == TLS_SW) in tls_sk_proto_close()
557 conf = TLS_SW; in do_tls_setsockopt_conf()
571 conf = TLS_SW; in do_tls_setsockopt_conf()
678 prot[TLS_SW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
679 prot[TLS_SW][TLS_BASE].sendmsg = tls_sw_sendmsg; in build_protos()
680 prot[TLS_SW][TLS_BASE].sendpage = tls_sw_sendpage; in build_protos()
682 prot[TLS_BASE][TLS_SW] = prot[TLS_BASE][TLS_BASE]; in build_protos()
683 prot[TLS_BASE][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
684 prot[TLS_BASE][TLS_SW].sock_is_readable = tls_sw_sock_is_readable; in build_protos()
685 prot[TLS_BASE][TLS_SW].close = tls_sk_proto_close; in build_protos()
687 prot[TLS_SW][TLS_SW] = prot[TLS_SW][TLS_BASE]; in build_protos()
688 prot[TLS_SW][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
689 prot[TLS_SW][TLS_SW].sock_is_readable = tls_sw_sock_is_readable; in build_protos()
690 prot[TLS_SW][TLS_SW].close = tls_sk_proto_close; in build_protos()
697 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW]; in build_protos()
698 prot[TLS_HW][TLS_SW].sendmsg = tls_device_sendmsg; in build_protos()
699 prot[TLS_HW][TLS_SW].sendpage = tls_device_sendpage; in build_protos()
701 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW]; in build_protos()
703 prot[TLS_SW][TLS_HW] = prot[TLS_SW][TLS_SW]; in build_protos()
705 prot[TLS_HW][TLS_HW] = prot[TLS_HW][TLS_SW]; in build_protos()